[Linux-HA] pgsql, nfs, HAv2

Andrew Beekhof beekhof at gmail.com
Fri Nov 10 07:05:49 MST 2006


On 11/10/06, Serge Dubrouski <sergeyfd at gmail.com> wrote:
> The pgctl script in 2.0.7 and 2.0.6 isn't compatible with PostgreSQL
> 8. I submitted a patch a cople of month ago. The patch is somwhere in
> Andrew's repository, as far as I know he didn't apply it to the stable
> branch.

its this patch here: http://hg.beekhof.net/lha/community/rev/aa0b36caa635

>
> On 11/10/06, Andre van der Vlies <andre at vandervlies.xs4all.nl> wrote:
> >
> > Goodmorning,
> > Are there examples of a working setup with HAv2, NFS and pgsql??
> > I have got NFS working, two 'cluster' IPaddress and pingd to a switch
> > outside the network.
> >
> > If I try to bring up postgres the cluster start 'flipping' from one node
> > to the other an eventually (10 times or so) gives up...
> >
> > I have no idea what's wrong...
> >
> > I've the following parameters in my pgsql resource:
> >
> > pgctl     - /dba/postgres/8.1.4/bin/pg_ctl
> > start_opt - ""
> > psql      - /dba/postgres/8.1.4/bin/psql
> > pgdata    - /dba/postgres/here/data
> > pgdba     - postgres
> > pgdb      - here
> > logfile   - /dba/postgres/here/data/pg_log/HA.log
> >
> > Should I alter de operations values?? Now the defaults are used:
> >
> > <actions>
> > <action name="start" timeout="120" />
> > <action name="stop" timeout="120" />
> > <action name="status" timeout="60" />
> > <action name="monitor" depth="0" timeout="30" interval="30"
> > start-delay="10" />
> > <action name="meta-data" timeout="5" />
> > <action name="methods" timeout="5" />
> > </actions>
> >
> >
> > Some examples would be nice....
> >
> > --
> >               Andre van der Vlies <andre at vandervlies.xs4all.nl>
> >               Certifiable UNIX engineer
> >               Homepage: http://vandervlies.xs4all.nl/~andre
> > Key fingerprint = 397C 7479 67DB 9306 23DC B423 7B58 CD5A 6EFF 5CF8
> > --
> >    "Programming isn't a craft, it's an art."
> >    ()  ascii ribbon campaign - against html e-mail
> >    /\                        - against microsoft attachments
> >                              ^[^#]
> > --
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list