From: | Silvio Brandani <silvio(dot)brandani(at)tech(dot)sdb(dot)it> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | multiple standby configuration |
Date: | 2010-08-31 09:36:31 |
Message-ID: | 4C7CCD1F.6010503@tech.sdb.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Is it possible to have multiple host destinations in the archive_command
parameter of postgresql.conf to be able to mantain 2 standby datbase
with write ahead log???
Can we use something like:
archive_command = '/usr/bin/scp -Cv "%p"
host_standby1:/var/lib/pgsql/archivelog/"%f" && /usr/bin/scp -Cv "%p"
host_standby2:/var/lib/pgsql/archivelog/"%f" '
But in this case if the first scp fail, will skip the second scp command ???
Morevoer,
is it possible to architect a cascading standby , that means a
secondary standby with the archivelog shipped by the first standby
primary-> standby1->standby2
Thanks a lot
Silvio B.
---
Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalità amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/news/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
--
From | Date | Subject | |
---|---|---|---|
Next Message | Jens Wilke | 2010-08-31 10:50:21 | Re: multiple standby configuration |
Previous Message | Mark Rostron | 2010-08-31 01:44:51 | Re: plpgsql syntax question |