<div dir="ltr"><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">Hi,</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">i'm using CentOS release 6.8 (Final) as a KVM and i configured 3 nodes(PM1.local,PM2.local and PM3.local), and using CMAN clustering. Resources running at two nodes as Active node then another one node is for Fail-over resource as a Standby node. Configured resources are groupA and groupB, 5 resources are configured in each resource group. groupA is Basically run at PM1.local and groupB at PM2.local. If fail any resource group it'll fail-over at PM3.local. On PM3.local can run only one Resource group at a time. groupA should not run at PM2.local and groupB should not run at PM1.local. groupA or groupB resources not move back on own nodes from PM3.local automatically, if need to move back on own nodes, can move by manually.someone pease help me.</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">version information:</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">CentOS release 6.8 (Final) (KVM)</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">Pacemaker 1.1.14-8.el6_8.1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">Cman Version: 6.2.0</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">I want to be sure that my configuration will work properly or not.</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">my Cluster configuration and crm_configuration are on below:</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">cluster.conf:</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px"><?xml version="1.0"?></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px"><cluster config_version="23" name="clusterpm666"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        <fence_daemon/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        <clusternodes></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <clusternode name="pm1.local" nodeid="1"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                <method name="pcmk-redirect"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                        <device name="pcmk" port="pm1.local"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                </method></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        </fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <altname name="192.168.14.210"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                </clusternode></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <clusternode name="pm2.local" nodeid="2"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                <method name="pcmk-redirect"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                        <device name="pcmk" port="pm2.local"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                </method></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        </fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <altname name="192.168.14.211"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                </clusternode></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <clusternode name="pm3.local" nodeid="3"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                <method name="pcmk-redirect"></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                        <device name="pcmk" port="pm3.local"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                                </method></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        </fence></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                        <altname name="192.168.14.212"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                </clusternode></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        </clusternodes></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        <fencedevices></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <fencedevice agent="fence_pcmk" name="pcmk"/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        </fencedevices></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        <rm></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <failoverdomains/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">                <resources/></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">        </rm></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px"></cluster></p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">crm_configuration:</p><p class="gmail-m_-8129523399022320968gmail-p2" style="font-size:12.8px"><br></p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">node pm1.local \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">attributes \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">utilization capacity=1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">node pm2.local \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">attributes \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">utilization capacity=1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">node pm3.local \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">attributes \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">utilization capacity=1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive asteriskA asterisk \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params binary="/usr/sbin/asterisk" canary_binary=astcanary additional_parameters="-vvvg -I" config="/etc/asteri</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">sk_pm1/asterisk.conf" user=root group=root additional_parameters="-vvvg -I" realtime=true maxfiles=32768 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta migration-threshold=2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=20s start-delay=5s timeout=30s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive asteriskB asterisk \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params binary="/usr/sbin/asterisk" canary_binary=astcanary additional_parameters="-vvvg -I" config="/etc/asteri</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">sk_pm2/asterisk.conf" user=root group=root additional_parameters="-vvvg -I" realtime=true maxfiles=32768 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta migration-threshold=2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=20s start-delay=5s timeout=30s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive changeSrcIpA ocf:pacemaker:changeSrcIp \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params vip=192.168.12.215 mask=23 device=eth0 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s timeout=0 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=10s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive changeSrcIpB ocf:pacemaker:changeSrcIp \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params vip=192.168.12.216 mask=23 device=eth0 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s timeout=0 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=10s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive cronA lsb:crond \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta migration-threshold=2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=20s start-delay=5s timeout=15s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive cronB lsb:crond \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta migration-threshold=2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=20s start-delay=5s timeout=15s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive vip-local-checkA VIPcheck \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params target_ip=192.168.12.215 count=1 wait=5 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s on-fail=restart timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=10s timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">utilization capacity=1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive vip-local-checkB VIPcheck \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params target_ip=192.168.12.216 count=1 wait=5 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s on-fail=restart timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=10s timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore timeout=60s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">utilization capacity=1</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive vip-localA IPaddr2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params ip=192.168.12.215 cidr_netmask=23 nic=eth0 iflabel=0 broadcast=192.168.13.255 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s timeout=20s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=5s timeout=20s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">primitive vip-localB IPaddr2 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">params ip=192.168.12.216 cidr_netmask=23 nic=eth0 iflabel=0 broadcast=192.168.13.255 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op start interval=0s timeout=20s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op monitor interval=5s timeout=20s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">op stop interval=0s on-fail=ignore</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">group groupA vip-local-checkA vip-localA changeSrcIpA cronA asteriskA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta target-role=Started</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">group groupB vip-local-checkB vip-localB changeSrcIpB cronB asteriskB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">meta</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupA-avoid-failed-<wbr>node groupA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-local-checkA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-localA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-changeSrcIpA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-cronA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-asteriskA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-local-checkB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-localB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-changeSrcIpB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-cronB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-asteriskB</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupA-pm1.local-<wbr>10000 groupA 10000: pm1.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupA-pm2.local--inf groupA resource-discovery=never -inf: pm2.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupA-pm3.local-1000 groupA 1000: pm3.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupB-avoid-failed-<wbr>node groupB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-local-checkA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-localA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-changeSrcIpA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-cronA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-asteriskA \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-local-checkB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-vip-localB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-changeSrcIpB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-cronB \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rule -inf: defined fail-count-asteriskB</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupB-pm1.local--inf groupB resource-discovery=never -inf: pm1.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupB-pm2.local-<wbr>10000 groupB 10000: pm2.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">location location-groupB-pm3.local-1000 groupB 1000: pm3.local</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">property cib-bootstrap-options: \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">have-watchdog=false \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">dc-version=1.1.14-8.el6_8.1-<wbr>70404b0 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">cluster-infrastructure=cman \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">stonith-enabled=false \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">no-quorum-policy=ignore \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">enable-startup-probes=true \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">maintenance-mode=false \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">startup-fencing=false \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">dc-deadtime=20s \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">last-lrm-refresh=1475445380 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">placement-strategy=balanced</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">rsc_defaults rsc_defaults-options: \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">migration-threshold=1 \</p><p class="gmail-m_-8129523399022320968gmail-p1" style="font-size:12.8px">resource-stickiness=INFINITY</p><div><br></div></div>