Hi Sufyan Does your status function return 0 or 1 if database is up or down respectively (i.e. have you tested it works outside script_db.sh) when run as "root"?
On Thu, May 12, 2011 at 12:52 PM, Sufyan Khan <[email protected]> wrote: > First of all thanks for you quick response. > > Secondly please note: the working "cluster.conf" file is attached here, > the > previous file was not correct. > Yes the orainfra is the user name. > > Any othere clue please. > > sufyan > > > > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Jankowski, Chris > Sent: Thursday, May 12, 2011 9:44 AM > To: linux clustering > Subject: Re: [Linux-cluster] oracle DB is not failing over on killin PMON > deamon > > Sufyan, > > What username does the instance of Oracle DB run as? Is this "orainfra" or > some other username? > > The scripts assume a user named "orainfra". > If you use a different username then you need to modify the scripts > accordingly. > > Regards, > > Chris Jankowski > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Sufyan Khan > Sent: Thursday, 12 May 2011 16:27 > To: 'linux clustering' > Subject: [Linux-cluster] oracle DB is not failing over on killin PMON > deamon > > Dear All > > I need to setup HA cluster for mu oracle dabase. > I have setup two node cluster using "System-Config-Cluster .." on RHEL 5.5 > I > created RG a shared file system "/emc01" ext3 , shared IP and DB script to > monitor the DB. > My cluster starts perfectly and fail over on shutting down primary node, > also stopping shared IP fails node to failover node. > But on kill PMON , or LSNR process the node does not fails and keep showing > the status services running on primary node. > > I JUST NEED TO KNOW WHERE IS THE PROBLEM. > > ATTACHED IS DB scripts and "cluster.conf" file. > > Thanks in advance for help. > > Sufyan > > > > > -- > Linux-cluster mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/linux-cluster > > -- > Linux-cluster mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/linux-cluster >
-- Linux-cluster mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-cluster
