From: Karl DeBisschop <kdebisschop@range.infoplease.com>
To: lamar.owen@wgcr.org
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] Is it possible to run multiple postmasters?h
Date: Mon, 3 Jan 2000 16:08:00 -0500
Message-ID: <200001032108.QAA28365@skillet.infoplease.com> (raw)
In-Reply-To: <38710D7C.850A8232@wgcr.org>
References: <200001032001.PAA24974@candle.pha.pa.us>
<200001032033.PAA27539@skillet.infoplease.com>
<38710D7C.850A8232@wgcr.org>
> As a note, the RedHat init scripts shipped with the RPM's are not
> intended for 'special' applications such as this one -- however, I am
> working on a more generalized setup in the RPM's where multiple
> postmasters, etc, could be started.
Yup. I had to do slightly more than trivial mods to get the init
script to work for the second postmaster.
> That rm -f is for cleanup purposes -- assuming a single postmaster, it
> works correctly. For multiple postmasters, it would need to be changed
> (assuming PGPORT= postmaster listen port):
> rm -f /tmp/.s.PGSQL.$(PGPORT) > /dev/null
Once I saw it, it's purpose was relatively clear - One big plus about the
redhat scripts is that their logic is pretty understandable.
> This way, the init script allows a postmaster to startup even if the
> restart is due to a system crash that would leave the .s.PGSQL.* files
> laying around.
Yup.
> I'm assuming that you have all the paths set correctly for each copy of
> the postmaster, so that the 6.5.1 postmaster isn't trying to start a
> 6.5.3 backend, right?
Hmmm. Very good point. Thanks.
Karl DeBisschop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kdebisschop@range.infoplease.com, lamar.owen@wgcr.org
Subject: Re: [ADMIN] Is it possible to run multiple postmasters?h
In-Reply-To: <200001032108.QAA28365@skillet.infoplease.com>
References: <200001032001.PAA24974@candle.pha.pa.us> <200001032033.PAA27539@skillet.infoplease.com> <38710D7C.850A8232@wgcr.org> <200001032108.QAA28365@skillet.infoplease.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox