Re: Init script for multiple postmasters - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Init script for multiple postmasters
Date
Msg-id 20060522123345.GB8586@surnet.cl
Whole thread Raw
In response to Init script for multiple postmasters  ("Nicola Mauri" <Nicola.Mauri@saga.it>)
Responses Re: Init script for multiple postmasters
List pgsql-admin
Nicola Mauri wrote:

> In this scenario the cluster manager cannot determine wether a single
> instance is running or down.
> I'm going to modify initscripts and use a differente approach to probe
> postmasters status, but I'm not sure if this is good:
>
> ps ax | grep postmaster | grep /var/lib/pgsql2/data2
> ps ax | grep postmaster | grep /var/lib/pgsql/data
>
> What would you suggest?

pg_ctl -d /var/lib/pgsql2/data2 status

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-admin by date:

Previous
From: "Nicola Mauri"
Date:
Subject: Init script for multiple postmasters
Next
From: Ola Sandbu
Date:
Subject: Re: Init script for multiple postmasters