From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a4460c2fa8e92007 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-13 04:01:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!south.jnrs.ja.net!server2.netnews.ja.net!ral!usenet From: Matthew Wild Newsgroups: comp.unix.tru64 Subject: Re: Postgresql don't works in caa Date: Mon, 13 Jan 2003 12:01:02 +0000 Organization: Rutherford Appleton Laboratory Message-ID: References: Reply-To: M.Wild@rl.ac.uk NNTP-Posting-Host: wdcc1b.bnsc.rl.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.7.1 Xref: archiver1.google.com comp.unix.tru64:9372 Craig Hulett wrote: > Snip3r wrote: >> Hi, >> >> i made this post some time ago, excuse me but i can't find a solution. >> >> On a trucluster 5.1 environment with 2 node i'm trying >> to put postgresql db server in high availibility using the >> example script for ORACLE, but it don't migrate or restart >> and require always 'human intervention' . >> >> >> The error in the syslog is exactly : >> >> "postgresql on member node1 has experienced an unrecoverable failure. >> Human Intervention required to resume its availability." >> >> The script works when launched by hand and works when launched the >> first time via sysman, in the caa section. But it don't work when >> happens a failure. >> >> After the failure this is the result of the command 'caa_stat' : >> >> NAME=pgsql >> TYPE=application >> TARGET=ONLINE >> STATE=UNKNOWN on node1 >> >> It's in an UNKNOW state. >> >> All other resource in caa are working well. >> >> Any idea is welcomed. >> >> Thanks. >> >> S. > > Well... I'm certainly no *expert* on caa, but we do run a number of large > 24x7 Oracle databases under caa with no issues. AFAIK, all that UNKNOWN > means it what you said - there has been a failure and the database is > neither ONLINE nor OFFLINE. What you need to do is ensure that your > 'check' section of the caa 'pgsql_scr' script for this is written so that > it can recognize the fact that there has been a failure, and then caa will > attempt to 'start' it on the other node. > > Do you have caa_stop and caa_start working for the database? I believe > that you should be able to do a caa_stop and get the instance down to an > OFFLINE > target and state. > > -craig I've also had problems using the caa scripts for PostgreSQL. Once it is in the UNKKNOWN state, caa_stop/caa_start do not do anything useful and you have to spend time killing all the processes and removing lock files or reboot. Matthew -- Matthew Wild Tel.: +44 (0)1235 445173 M.Wild@rl.ac.uk URL http://www.wdc.rl.ac.uk/ World Data Centre - Solar-Terrestrial Physics, Chilton Rutherford Appleton Laboratory, Chilton, Didcot, Oxon, OX11 0QX