Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users
maintenance on 2 nodes in a ha linux cluster
 

Index | Next | Previous | View Flat


Jonathan.Ilroy at smals

Jul 2, 2009, 7:45 AM


Views: 285
Permalink
maintenance on 2 nodes in a ha linux cluster

Hi,

I am puzzled by a strange behavior of HA (version 1 with 2 nodes, simple
configuration).
Here's the scenario : 2 nodes (servera and serverb) are running HA on
Linux Debian 5.0.2. All software installed with versions provided by
Debian.
HA is working correctly when one node is made unavailable and brought
back.
However, in this scenario :

1) servera is shutdown (say, for maintenance)
2) serverb is shutdown (again, for maintenance, intentionally creating a
loss of availability)
3) restarting servera (at this point, HA on servera is not restarted, no
heartbeat, no resource, etc. --> ????)
4) restarting serverb (at this point HA, heartbeat is restarted on both
nodes and the cluster works correctly again.)

It is strange that after point 3) HA is not restarted and the resources
are not made available on servera even if serverb is not yet available. As
soon as one node is up it should start the resources. I have also noted
that restarting manually heartbeat after point 3) works. Only the
automatic restart of heartbeat does not work. Of course heartbeat is
configured to start automatically.

Is this a normal behavior of HA v1 ?

Here's ha.cf :
debugfile /var/log/ha-debug
logfile /var/log/ha-log
keepalive 1
deadtime 10
warntime 2
initdead 30
udpport 694
ucast eth1 192.168.2.2
auto_failback on
stonith_host servera.mydomain.com external/xen serverb.mydomain.com
xen-stonith[at]10.32.2.31
stonith_host serverb.mydomain.com external/xen servera.mydomain.com
xen-stonith[at]10.32.2.30
node servera.mydomain.com
node serverb.mydomain.com

And here's haresources :

servera.mydomain.com IPaddr::10.32.2.29/26/eth0 drbddisk::r0 iscsitarget



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

Subject User Time
maintenance on 2 nodes in a ha linux cluster Jonathan.Ilroy at smals Jul 2, 2009, 7:45 AM
    Re: maintenance on 2 nodes in a ha linux cluster dejanmm at fastmail Jul 2, 2009, 7:52 AM
    Re: maintenance on 2 nodes in a ha linux cluster Jonathan.Ilroy at smals Jul 3, 2009, 3:08 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.