On Tue, Apr 1, 2008 at 8:21 AM, ?? <[EMAIL PROTECTED]> wrote:
> Hello,
>  Today, I create three virtual machine (Guest OS = redhat enterprise 4u4) 
> with vmware workstation 6 on winxp. Then, I install heartbeat-2.1.3 on each 
> vm by src packet. each guest os hava two ethernet card(eth0 and eth1), which 
> was used as heartbeat medium.  "crm on" was added to the endpoint of ha.cf, 
> and "autojoin" didn't appear in ha.cf.
>  Once heartbeat configured success, I start it at all three nodes(named as 
> "node2" "master" and "slave").
>  Heartbeat on each node is OK.
>  What i want to do is to test hb_addnode and hb_delnode.
>  Test steps will be described  below:
>  *STEP 1 First, i execute command "hb_delnode master" on node "slave". Then 
> "" appeared in logfile.

I'm pretty sure you have to run that command on all the remaining nodes
Which would explain why some nodes think there are 3 cluster members
and other think there are two (ie. the first 3 errors)

>  *STEP 2 So, i have to stopped the heartbeat software running on master 
> (/etc/init.d/heartbeat stop), then hb_delnode succeed on node slave.
>  It can be confirmed by hb_gui.
>  *STEP 3 Let node "master" to rejoin the cluster. When I run "hb_delnode 
> master" on node "slave", I failed. and node "node2" rebooted !!!
>   I can't find enough document about dynamic-node-management.  Does anybody 
> know how to use them ?   Thanks!
>
>
>  Log at "node2" likes below:
>  
> //////////////////////////////////////////////////////////////////////////////////////////
>  heartbeat[4767]: 2008/03/31_19:08:17 info: hb_add_one_node: Adding new 
> node[master] to configuration.
>  ccm[4806]: 2008/03/31_19:08:38 ERROR: ccm_control_process: Node count from 
> node slave does not agree: local count=2, count in message=3
>  ccm[4806]: 2008/03/31_19:08:38 ERROR: Please make sure ha.cf files on all 
> nodes have same nodes list or add "autojoin any" to ha.cf
>  ccm[4806]: 2008/03/31_19:08:38 info: If this problem persists, check the 
> heartbeat 'hostcache' files in the cluster to look for problems.
_______________________________________________
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