Example of my problem:I build a 2-node cluster (web1 and web2), for a web server ( DRBD + Virtual IP + APACHE service )
Here web1 is DC, active/master node and start all resources.
[QUOTE]Last updated: Mon Jun 25 16:25:13 2012
Last change: Thu Jun 21 18:03:33 2012 by root via crm_attribute on web1
Current DC: web1 - partition with quorum
2 Nodes configured, 2 expected votes
5 Resources configured.
Online: [ web2 web1 ]
fs (ocf:Filesystem): Started web1
Resource Group: webname
virtual-ip (ocf:IPaddr2): Started web1
lampp (lsb:my_service): Started web1
Master/Slave Set: ms_drbd [drbd]
Masters: [ web1 ]
Slaves: [ web2 ]
I have noticed, that when I stop web2 (node which is passive), all resources on web1 are OK.
When I re-start the web2 server (or cluster openais service), all resources on web1 are restarted ( so no web access during 1sec)
This “ressource restart” is unnecessary …can I prevent it ? It’s not for 1sec, but it’s seems weird for me.
Thanks for future answers.