Hello, I'm testing an new configuration for our next cluster. The command "crm resource migrate apache-group bgstxenserver02" should switch the resourcegroup apache-group from node1 to node2, but it doesn't work. When I shutdown node1 or stop heartbeat, it works. OS: CentOS 5.3 32bit, Cluster-Software from http://download.opensuse.org/repositories/server:/ha-clustering/CentOS_5/i386/
My config: [r...@bgstxenserver02 ~]# crm crm(live)# configure crm(live)configure# show node $id="4a72e3b2-4292-4a05-b6a9-6821b672b597" bgstxenserver01 node $id="f298df25-c642-4ea3-a6e1-39062ca625a1" bgstxenserver02 primitive drbd0 ocf:heartbeat:drbd \ params drbd_resource="drbd0" \ op monitor interval="59s" role="Master" timeout="30s" \ op monitor interval="60s" role="Slave" timeout="30s" primitive fs0 ocf:heartbeat:Filesystem \ params fstype="ext3" directory="/data" device="/dev/drbd0" primitive mail ocf:heartbeat:MailTo \ params email="andreas.resc...@behrgroup.com" \ params subject="Cluster Failover" primitive virtual-ip ocf:heartbeat:IPaddr \ params ip="10.20.92.203" \ op monitor interval="10s" timeout="10s" nic="eth2:0" primitive webserver lsb:httpd \ op monitor interval="10s" timeout="10s" group apache-group fs0 webserver virtual-ip mail ms ms-drbd0 drbd0 \ meta clone-max="2" notify="true" globally-unique="false" target-role="Started" location cli-prefer-apache-group apache-group \ rule $id="cli-prefer-rule-apache-group" inf: #uname eq bgstxenserver01 and #uname eq bgstxenserver02 location ms-drbd0-master-on-bgstxenserver01 ms-drbd0 \ rule $id="ms-drbd0-master-on-bgstxenserver01-rule" $role="master" 100: #uname eq bgstxenserver01 colocation apache-group-on-ms-drbd0 inf: apache-group ms-drbd0:Master order ms-drbd0-before-apache-group inf: ms-drbd0:promote apache-group:start property $id="cib-bootstrap-options" \ dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \ cluster-infrastructure="Heartbeat" \ no-quorum-policy="ignore" \ stonith-enabled="false" \ default-resource-stickiness="1000" crm(live)configure# bye bye Whats wrong? Gruß Andreas Reschke ________________________________________________________________ BG-IM173 Unix/Linux-Administration Behr GmbH & Co. KG ST B29, 3.OG Tel.: +49 711 896-4598 Fax: ++49 711-8902-4598 Mobil: 0173-3197397 andreas.resc...@behrgroup.com _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems