Re: [Linux-cluster] $OCF_ERR_CONFIGURED - recovers service on another cluster node

2012-02-08 Thread Lon Hohberger
On 01/27/2012 04:03 AM, Parvez Shaikh wrote: 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

Re: [Linux-cluster] $OCF_ERR_CONFIGURED - recovers service on another cluster node

2012-01-27 Thread Parvez Shaikh
Hi, Requirement is to "Fail" service, not to fail over it on another node in case of certain issues, which would be detected by my service(automatically/programmatically) while it starts (if it doesn't find prerequisite) it will "Fail", to do so which error code should I use in my "start" function

Re: [Linux-cluster] $OCF_ERR_CONFIGURED - recovers service on another cluster node

2012-01-27 Thread emmanuel segura
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 > Hi guys, > > I am using Red Hat Cluster Suite whi

[Linux-cluster] $OCF_ERR_CONFIGURED - recovers service on another cluster node

2012-01-27 Thread Parvez Shaikh
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 c