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

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux