[Linux-cluster] Advice on setting up Resources for Postgres

Lon Hohberger lhh at redhat.com
Fri Mar 30 16:55:51 UTC 2007


On Mon, Mar 12, 2007 at 08:12:05PM +0700, Fajar Priyanto wrote:
> Hi All,
> I'd like to setup RHCS for Postgres on 2-nodes cluster.
> What is the best way to setup the resources? No GFS.
> - Do I need to setup a script for postgres init.d? Or should I just let it on 
> on both server from chkconfig?

There's a postgres resource agent in CVS here:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/?cvsroot=cluster

... which should help some :)

Otherwise, don't use chkconfig -- use the <script> facility in rgmanager
to reference /etc/init.d/[script] instead.  It should be chkconfig'd
off.

-- Lon

-- 
Lon Hohberger - Software Engineer - Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070330/ffb2d345/attachment.sig>


More information about the Linux-cluster mailing list