Re: $OCF_ERR_CONFIGURED - recovers service on another cluster node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




The first thing you can do is stop your cluster service
go to the node where you found the problem and using rg_test test /etc/cluster/cluster.conf start put_the_name_of_the_service

like that you can see what it's wrong

2012/1/27 Parvez Shaikh <parvez.h.shaikh@xxxxxxxxx>
Hi guys,

I am using Red Hat Cluster Suite which comes with RHEL 5.5 -

cman_tool version
>>6.2.0 config xxx

Now I have a script resource in which I return $OCF_ERR_CONFIGURED; in case of a Fatal irrecoverable error, hoping that my service would not start on another cluster node.

But I see that cluster, relocates it to another cluster node and attempts to start it.

I referred error code documentation from http://www.linux-ha.org/doc/dev-guides/_return_codes.html

Is there any return code which makes RHCS to give up on recovering service?

Thanks


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Corosync Cluster Engine]     [Linux RAID]     [Fedora Users]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]

Add to Google Powered by Linux