This output kind of shows it all... I can configure the cluster, put nodes in standby and back online, move resources from one to the other, etc., but if any rule references a node in the configuration, then 'crm configure verify' fails saying the node doesn't exist. This is a freshly-started cluster, and both nodes have entries in /etc/hosts giving their shortname and fqdn (shortname first, if it matters):<br>
<br>[root@kvm2 ~]# crm<br>crm(live)# configure show<br>node $id="1023518912" kvm1<br>node $id="1040296128" kvm2 \<br> attributes standby="off"<br>primitive winsrv1 ocf:heartbeat:VirtualDomain \<br>
params config="/etc/kvm-configs/winsrv1.xml" \<br> meta allow-migrate="true" \<br> op start interval="0" timeout="90s" \<br> op stop interval="0" timeout="180s" \<br>
op monitor interval="15s" timeout="30s" \<br> op migrate_to interval="0" timeout="240s" \<br> op migrate_from interval="0" timeout="240s" \<br>
utilization cpu="2" hv_memory="4096"<br>location cli-prefer-winsrv1 winsrv1 \<br> rule $id="cli-prefer-rule-winsrv1" inf: #uname eq kvm1<br>property $id="cib-bootstrap-options" \<br>
dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \<br> cluster-infrastructure="corosync" \<br> stonith-enabled="false" \<br> last-lrm-refresh="1344975603"<br>
crm(live)# configure verify<br>WARNING: cli-prefer-winsrv1: referenced node kvm1 does not exist<br>crm(live)# node show<br>kvm1(1023518912): normal<br>kvm2(1040296128): normal<br> standby: off<br>crm(live)# node standby kvm2<br>
crm(live)# status<br>============<br>Last updated: Tue Aug 14 15:29:26 2012<br>Last change: Tue Aug 14 15:27:26 2012 via crm_resource on kvm2<br>Stack: corosync<br>Current DC: kvm1 (1023518912) - partition with quorum<br>
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff<br>2 Nodes configured, unknown expected votes<br>1 Resources configured.<br>============<br><br>Node kvm2 (1040296128): standby<br>Online: [ kvm1 ]<br><br> winsrv1 (ocf::heartbeat:VirtualDomain): Started kvm1<br>
crm(live)# node online kvm2<br>crm(live)# resource unmove winsrv1<br>crm(live)# resource move winsrv1 kvm2<br>crm(live)# configure show<br>node $id="1023518912" kvm1<br>node $id="1040296128" kvm2 \<br>
attributes standby="off"<br>primitive winsrv1 ocf:heartbeat:VirtualDomain \<br> params config="/etc/kvm-configs/winsrv1.xml" \<br> meta allow-migrate="true" \<br> op start interval="0" timeout="90s" \<br>
op stop interval="0" timeout="180s" \<br> op monitor interval="15s" timeout="30s" \<br> op migrate_to interval="0" timeout="240s" \<br> op migrate_from interval="0" timeout="240s" \<br>
utilization cpu="2" hv_memory="4096"<br>location cli-prefer-winsrv1 winsrv1 \<br> rule $id="cli-prefer-rule-winsrv1" inf: #uname eq kvm2<br>property $id="cib-bootstrap-options" \<br>
dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \<br> cluster-infrastructure="corosync" \<br> stonith-enabled="false" \<br> last-lrm-refresh="1344975603"<br>
crm(live)# configure verify<br>WARNING: cli-prefer-winsrv1: referenced node kvm2 does not exist<br>crm(live)# <br><br><br>Did I miss something obvious?<br><br>Thanks for any pointers,<br>Mark<br>