[Linux-cluster] postgres cluster with RHEL5

Terry td3201 at gmail.com
Fri Feb 1 05:10:15 UTC 2008


Good evening,

I am trying to get an active-passive postgres cluster going.  I have a
shared storage with NFS.  I just can't get it going.  I am using luci
to configure this which, from what I have been reading, is somewhat
buggy in the postgres-8 arena.  My first question is what components
of postgres should live on the shared storage?

Here are the relevant parts of my config:

                <resources>
                        <ip address="192.168.100.207" monitor_link="1"/>
                        <fs device="/dev/sdc1" force_fsck="0"
force_unmount="1" fsid="42585" fstype="ext3" mountpoint="/db00"
name="db00" self_fence="1"/>
                        <postgres-8
config_file="/etc/postgresql/postgresql.conf" name="dssystem2"
postmaster_user="postgres" shutdown_wait="0"/>
                </resources>
           <service autostart="1" domain="failover00" exclusive="0"
name="database" recovery="relocate">
                        <postgres-8 ref="dssystem2">
                                <fs ref="db00"/>
                                <ip ref="192.168.100.207"/>
                        </postgres-8>
                </service>




More information about the Linux-cluster mailing list