Warm/hot backup server question

Warm/hot backup server question

am 07.10.2007 22:22:55 von faber

Hi,

I've been given the job of creating a hot/warm backup server
for a live Postgresql server. The problem is two-fold: 1) it's version
7.4.9 and an upgrade is not feasible at this time and b) there are
multiple instances of postgresql running on the box; not multiple
databases, multiple *servers*, each listening on a different port (it
was a business requirement from what I've been told).

I plan on using heartbeat and mon to monitor the primary server for
non-availability and fail over.

I thought about DRBD, but that would require repartitioning the live
server and I want to touch it as little as possible.

I've read the docs for WAL and the 8.2 version sounds perfect for what
I want but, as I said, an upgrade is out of the question for now. I
see that 7.4 has WAL, but I didn't see mention of the warm backups as
mentioned in the 8.2 docs. Can 7.4 do the same magic as 8.2 wrt to
WAL?

Is SLONY/replication my only choice? Remember, I can't/don't want to
rebuild the existing servers.

TIA!

--

Regards,

Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701

http://www.linuxnj.com




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Re: Warm/hot backup server question

am 08.10.2007 03:42:53 von Tom Lane

"Faber J. Fedor" writes:
> I've been given the job of creating a hot/warm backup server
> for a live Postgresql server. The problem is two-fold: 1) it's version
> 7.4.9 and an upgrade is not feasible at this time and b) there are
> multiple instances of postgresql running on the box; not multiple
> databases, multiple *servers*, each listening on a different port (it
> was a business requirement from what I've been told).

If they won't let you update to 7.4.18 (the current release in that
branch), you would be best advised to resign at once, before you get
blamed for the train wreck that is inevitably in this system's future.
7.4.9 is two years old, and I count at least six fixes since then for
data-loss bugs of the *will*-bite-you-eventually type; plus a couple
more that you might be at risk for depending on which features you use.
Also, the choice to run separate servers sounds a whole lot like they
are serving clients that they don't trust 100%, which means there are
also half a dozen security fixes that they should be worried about.

> Can 7.4 do the same magic as 8.2 wrt to WAL?

No. Slony is your best bet --- not least because it may simplify a live
upgrade to a newer version.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Re: Warm/hot backup server question

am 08.10.2007 05:07:00 von Scott Marlowe

On 10/7/07, Tom Lane wrote:
> "Faber J. Fedor" writes:
> > I've been given the job of creating a hot/warm backup server
> > for a live Postgresql server. The problem is two-fold: 1) it's version
> > 7.4.9 and an upgrade is not feasible at this time and b) there are
> > multiple instances of postgresql running on the box; not multiple
> > databases, multiple *servers*, each listening on a different port (it
> > was a business requirement from what I've been told).
>
> If they won't let you update to 7.4.18 (the current release in that
> branch), you would be best advised to resign at once, before you get
> blamed for the train wreck that is inevitably in this system's future.
> 7.4.9 is two years old, and I count at least six fixes since then for
> data-loss bugs of the *will*-bite-you-eventually type; plus a couple
> more that you might be at risk for depending on which features you use.

I agree. Although I'd set up your new job first if possible.

I also agree that Slony is your best bet. Note only the older
versions of slony run on 7.4, so make sure you download the version of
slony that works with 7.4. I think it's 1.0, could be 1.1 or so.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Re: Warm/hot backup server question

am 09.10.2007 03:34:10 von faber

On 07/10/07 21:42 -0400, Tom Lane wrote:
> If they won't let you update to 7.4.18 (the current release in that
> branch), you would be best advised to resign at once, before you get
> blamed for the train wreck that is inevitably in this system's future.

Done.

Now, how are you on giving advice to improve my love life? :-)

--

Regards,

Faber Fedor
President
Linux New Jersey, Inc.
908-320-0357
800-706-0701

http://www.linuxnj.com




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Re: Warm/hot backup server question

am 09.10.2007 03:38:08 von Joshua Drake

--Sig_/5pyLSbtyjOf02Wk.qW5fc+J
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 8 Oct 2007 21:34:10 -0400
"Faber J. Fedor" wrote:

> On 07/10/07 21:42 -0400, Tom Lane wrote:
> > If they won't let you update to 7.4.18 (the current release in that
> > branch), you would be best advised to resign at once, before you get
> > blamed for the train wreck that is inevitably in this system's
> > future.
>=20
> Done.
>=20
> Now, how are you on giving advice to improve my love life? :-)

Don't spend your time reading and replying to open source mailing lists?
;)

Joshua D. Drake


>=20


--=20

===3D The PostgreSQL Company: Command Prompt, Inc. ===3D
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


--Sig_/5pyLSbtyjOf02Wk.qW5fc+J
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHCtuDATb/zqfZUUQRAiuXAJ0cQCfu5D+xwhK2en29VD0HT3PsjgCg mbEo
yUdJrfuS8plMcCCGVVpiHI8=
=Bmzg
-----END PGP SIGNATURE-----

--Sig_/5pyLSbtyjOf02Wk.qW5fc+J--