I appreciate the clarification. Thanks to you all for a great product!

-JPH

Andrew Beekhof wrote:
On Dec 7, 2007 7:27 PM, Jeff Humes <[EMAIL PROTECTED]> wrote:
I figure out this issue just after I compile this email.
the second node did not have the link in /etc/init.d for the lsb script.

All seems to be working now.

I am confused a little about this this works though.  When I start a
resource on one node, does it automatically run the stop of that
resource on the other nodes?

Not quite.

We check to make sure its not already running before we start it anywhere.
In your case, this check would have failed (since the script didn't
exist) and then the stop would have failed... etc etc

-JPH


Andrew Beekhof wrote:
On Dec 7, 2007, at 4:55 AM, Jeff Humes wrote:

I have created a  simple heartbeat cluster:

2 Centos 4.5 nodes

HB version:
heartbeat-pils-2.1.2-3.el4.centos
heartbeat-stonith-2.1.2-3.el4.centos
heartbeat-gui-2.1.2-3.el4.centos
heartbeat-2.1.2-3.el4.centos


Here is the issue I see, and I dont know what I am doing wrong.
I have a simple group (*"GROUP_knworks_assp"*) setup.  It is
colocated and ordered.
the issue is that I can get the IP address to work, but the LSB init
script will not work.

I have followed the document:
  http://www.linux-ha.org/LSBResourceAgent
it meets all of the requirements and passes all the correct return
codes to be LSB Compliant.

The IP address is on node1, and the LSB script says: unmanaged and
failed.

crm_mon -1 output:
Resource Group: GROUP_knworks_assp
  knworks_assp_ip     (heartbeat::ocf:IPaddr2):       Started asknmapr01
  knworks_assp_initscript     (lsb:knworks_assp_init_script.sh):
Started asknmapr02 (unmanaged) FAILED

Failed actions:
  knworks_assp_initscript_monitor_0 (node=asknmapr02, call=77,
rc=254): Error
  knworks_assp_initscript_stop_0 (node=asknmapr02, call=78, rc=254):
Error

254?  that can't be good - especially since thats supposed to be the
massaged rc value (the raw rc is mapped to one of the entries in the
UNIFORM_RET_EXECRA enum).

what do the logs say?

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to