[ClusterLabs] RGManager: no migration on kernel panic
Stanislav Kopp
staskopp at gmail.com
Tue Sep 1 15:55:45 UTC 2015
Hi all,
I'm testing now "corosync+cman+rgmanager" on Debian Jessie (since
Pacemaker is not in repos), I'm running two nodes cluster with simple
VIP resource. Resource migration work pretty well if I gracefully
shutdown the active node, but if try to kill the node with simulated
kernel panic (echo c > /proc/sysrq-trigger) the VIP resource will not
be migrated even if "clustat" says the node is "offline". I've fome
some errors in fenced.log
"fence rgmanager02 dev 0.0 agent none result: error no method"
So if I understand it right, since fencing is not working rgmanager
does nothing in order to not make it worse, is that correct? If yes,
can I force it do not care about fencing? (I know that is general not
a good idea)
My cluster.conf for more information:
########################################
<?xml version="1.0"?>
<cluster name="mycluster" config_version="15">
<cman two_node="1" expected_votes="1" transport="udpu"/>
<clusternodes>
<clusternode name="rgmanager01" nodeid="1">
<fence/>
</clusternode>
<clusternode name="rgmanager02" nodeid="2">
<fence/>
</clusternode>
</clusternodes>
<fencedevices/>
<rm>
<failoverdomains>
<failoverdomain name="domainarg" ordered="0" restricted="0">
<failoverdomainnode name="rgmanager02" priority="1"/>
<failoverdomainnode name="rgmanager02" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="192.168.122.10" monitor_link="1"/>
</resources>
<service autostart="1" domain="domainarg" exclusive="1" name="HA_IP"
recovery="relocate">
<ip ref="192.168.122.10"/>
</service>
</rm>
</cluster>
################################################
Thanks,
Stan
More information about the Users
mailing list