<div dir="ltr">Hello Community,<div><br></div><div>I have an resource group (ctm_service) comprise of various resources. Now the requirement is when one of its resource stops for soem time (10-20) seconds, I want entire group will be stopped.</div><div><br></div><div>Is it possible to achieve this in pacemaker. Please help!</div><div><br></div><div>__________________________________________________________________________</div><div><br></div><div><div> Resource Group: ctm_service</div><div> FSCheck (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/FsCheckAgent.py): (target-role:Stopped) Stopped</div><div> NTW_IF (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/NtwIFAgent.py): (target-role:Stopped) Stopped</div><div> CTM_RSYNC (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/RsyncAgent.py): (target-role:Stopped) Stopped</div><div> REPL_IF (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ODG_IFAgent.py): (target-role:Stopped) Stopped</div><div> ORACLE_REPLICATOR (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ODG_ReplicatorAgent.py): (target-role:Stopped) Stopped</div><div> CTM_SID (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/OracleAgent.py): (target-role:Stopped) Stopped</div><div> CTM_SRV (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/CtmAgent.py): (target-role:Stopped) Stopped</div><div> CTM_APACHE (lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ApacheAgent.py): (target-role:Stopped) Stopped</div><div>_____________________________________________________________________________</div><div><br></div><div><br></div><div>This is resource and resource group properties:</div><div><br></div><div>_______________________________________________________________________________</div><div><br></div><div><div>pcs -f cib.xml.geo resource create FSCheck lsb:../../..//cisco/PrimeOpticalServer/HA/bin/FsCheckAgent.py op monitor id=FSCheck-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create NTW_IF lsb:../../..//cisco/PrimeOpticalServer/HA/bin/NtwIFAgent.py op monitor id=NtwIFAgent-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create CTM_RSYNC lsb:../../..//cisco/PrimeOpticalServer/HA/bin/RsyncAgent.py op monitor id=CTM_RSYNC-OP-monitor name=monitor interval=30s on-fail=ignore stop id=CTM_RSYNC-OP-stop interval=0 on-fail=stop</div><div>pcs -f cib.xml.geo resource create REPL_IF lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ODG_IFAgent.py op monitor id=REPL_IF-OP-monitor name=monitor interval=30 on-fail=ignore stop id=REPL_IF-OP-stop interval=0 on-fail=stop</div><div>pcs -f cib.xml.geo resource create ORACLE_REPLICATOR lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ODG_ReplicatorAgent.py op monitor id=ORACLE_REPLICATOR-OP-monitor name=monitor interval=30s on-fail=ignore stop id=ORACLE_REPLICATOR-OP-stop interval=0 on-fail=stop</div><div>pcs -f cib.xml.geo resource create CTM_SID lsb:../../..//cisco/PrimeOpticalServer/HA/bin/OracleAgent.py op monitor id=CTM_SID-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create CTM_SRV lsb:../../..//cisco/PrimeOpticalServer/HA/bin/CtmAgent.py op monitor id=CTM_SRV-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create CTM_APACHE lsb:../../..//cisco/PrimeOpticalServer/HA/bin/ApacheAgent.py op monitor id=CTM_APACHE-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create CTM_HEARTBEAT lsb:../../..//cisco/PrimeOpticalServer/HA/bin/HeartBeat.py op monitor id=CTM_HEARTBEAT-OP-monitor name=monitor interval=30s</div><div>pcs -f cib.xml.geo resource create FLASHBACK lsb:../../..//cisco/PrimeOpticalServer/HA/bin/FlashBackMonitor.py op monitor id=FLASHBACK-OP-monitor name=monitor interval=30s</div></div><div><br></div><div><br></div><div>pcs -f cib.xml.geo resource group add ctm_service FSCheck NTW_IF CTM_RSYNC REPL_IF ORACLE_REPLICATOR CTM_SID CTM_SRV CTM_APACHE<br></div><div><br></div><div><div>pcs -f cib.xml.geo resource meta ctm_service migration-threshold=1 failure-timeout=10 target-role=stopped</div></div><div><br></div><div>________________________________________________________________________________</div><div><br></div><div><br></div><div><br></div><div>Any help will be highly appreciated!</div><div><br></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<br>Jaspal Singla<br></div></div></div>
</div></div>