From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | anj patnaik <patna73(at)gmail(dot)com>, Scott Mead <scottm(at)openscg(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: 2 questions |
Date: | 2015-12-01 18:01:06 |
Message-ID: | 565DE062.9070200@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/01/2015 09:16 AM, anj patnaik wrote:
> Thanks for the info Scott.
>
> Can I setup a primary server called A that uses the Postgres
> installation on a nfs mounted filesystem and then A does a daily backup
> of database A and restores to database B on same filesystem.
>
> Then I have server B acting as cold standby and if server A goes down,
> then B would make the backup DB active?
>
> In this case, both server A and B have the same NFS mount, but B is not
> always writing to the data.
>
> The target environment I am moving to is a RAID5 system with mirrored
> discs. I will be getting a VM on a physical server and the mirrored
> disks will store the database. I would like to setup a primary and
> secondary as cold standby.
>
> I am fairly new to PG so asking these questions.
>
> Please advise. Thank you.
Advice, read these pages:
http://www.postgresql.org/docs/9.4/interactive/tutorial-arch.html
http://www.postgresql.org/docs/9.4/interactive/creating-cluster.html
http://www.postgresql.org/docs/9.4/interactive/warm-standby.html
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-12-01 18:13:27 | Re: plperlu stored procedure seems to freeze for a minute |
Previous Message | Peter J. Holzer | 2015-12-01 17:58:31 | Re: plperlu stored procedure seems to freeze for a minute |