<div dir="ltr"><div>Hello Everyone,</div><div><br></div><div><br></div><div>I desperately need some help in order to migrate my cluster configuration from CMAN (RHEL-6.5) to PACEMAKER (RHEL-7.1).</div><div><br></div><div><br></div><div>I have tried to explore a lot but couldn&#39;t find similarities configuring same resources (created in CMAN&#39;s cluster.conf file) to Pacemaker.</div><div><br></div><div><br></div><div><br></div><div>I&#39;d like to share cluster.conf of RHEL-6.5 and want to achieve the same thing through Pacemaker. Any help would be greatly appreciable!!</div><div><br></div><div><br></div><div><br></div><div><b>Cluster.conf file</b></div><div><br></div><div>######################################################################</div><div><br></div><div>&lt;?xml version=&quot;1.1&quot;?&gt;<br></div><div>&lt;cluster config_version=&quot;1&quot; name=&quot;HA1-105_CLUSTER&quot;&gt;</div><div>        &lt;fence_daemon clean_start=&quot;0&quot; post_fail_delay=&quot;0&quot; post_join_delay=&quot;3&quot;/&gt;</div><div>        &lt;clusternodes&gt;</div><div>                &lt;clusternode name=&quot;<a href="http://ha1-105.test.com">ha1-105.test.com</a>&quot; nodeid=&quot;1&quot; votes=&quot;1&quot;&gt;</div><div>                        &lt;fence/&gt;</div><div>                &lt;/clusternode&gt;</div><div>        &lt;/clusternodes&gt;</div><div>        &lt;cman/&gt;</div><div>        &lt;fencedevices/&gt;</div><div>        &lt;rm log_facility=&quot;local4&quot; log_level=&quot;7&quot;&gt;</div><div>                &lt;failoverdomains&gt;</div><div>                        &lt;failoverdomain name=&quot;Ha1-105_Domain&quot; nofailback=&quot;0&quot; ordered=&quot;0&quot; restricted=&quot;0&quot;/&gt;</div><div>                &lt;/failoverdomains&gt;</div><div>                &lt;resources&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/ODG_IFAgent.py&quot; name=&quot;REPL_IF&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/ODG_ReplicatorAgent.py&quot; name=&quot;ORACLE_REPLICATOR&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/OracleAgent.py&quot; name=&quot;CTM_SID&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/NtwIFAgent.py&quot; name=&quot;NTW_IF&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/FsCheckAgent.py&quot; name=&quot;FSCheck&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/ApacheAgent.py&quot; name=&quot;CTM_APACHE&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/CtmAgent.py&quot; name=&quot;CTM_SRV&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/RsyncAgent.py&quot; name=&quot;CTM_RSYNC&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/HeartBeat.py&quot; name=&quot;CTM_HEARTBEAT&quot;/&gt;</div><div>                        &lt;script file=&quot;/data/Product/HA/bin/FlashBackMonitor.py&quot; name=&quot;FLASHBACK&quot;/&gt;</div><div>                &lt;/resources&gt;</div><div>                &lt;service autostart=&quot;0&quot; domain=&quot;Ha1-105_Domain&quot; exclusive=&quot;0&quot; name=&quot;ctm_service&quot; recovery=&quot;disable&quot;&gt;</div><div>                        &lt;script ref=&quot;FSCheck&quot;/&gt;</div><div>                        &lt;script ref=&quot;NTW_IF&quot;/&gt;</div><div>                        &lt;script __independent_subtree=&quot;2&quot; __max_restarts=&quot;20&quot; __restart_expire_time=&quot;900&quot; ref=&quot;CTM_RSYNC&quot;/&gt;</div><div>                        &lt;script __independent_subtree=&quot;2&quot; __max_restarts=&quot;10&quot; __restart_expire_time=&quot;900&quot; ref=&quot;REPL_IF&quot;/&gt;</div><div>                        &lt;script __independent_subtree=&quot;2&quot; ref=&quot;ORACLE_REPLICATOR&quot;/&gt;</div><div>                        &lt;script ref=&quot;CTM_SID&quot;&gt;</div><div>                                &lt;script ref=&quot;CTM_SRV&quot;&gt;</div><div>                                        &lt;script ref=&quot;CTM_APACHE&quot;/&gt;</div><div>                                &lt;/script&gt;</div><div>                        &lt;/script&gt;</div><div>                &lt;/service&gt;</div><div>                &lt;service autostart=&quot;1&quot; exclusive=&quot;0&quot; max_restarts=&quot;3&quot; name=&quot;ctm_heartbeat&quot; recovery=&quot;restart&quot; restart_expire_time=&quot;900&quot;&gt;</div><div>                        &lt;script ref=&quot;CTM_HEARTBEAT&quot;/&gt;</div><div>                &lt;/service&gt;</div><div>                &lt;service autostart=&quot;1&quot; exclusive=&quot;0&quot; max_restarts=&quot;3&quot; name=&quot;ctm_monitoring&quot; recovery=&quot;restart&quot; restart_expire_time=&quot;900&quot;&gt;</div><div>                        &lt;script ref=&quot;FLASHBACK&quot;/&gt;</div><div>                &lt;/service&gt;</div><div>        &lt;/rm&gt;</div><div>&lt;/cluster&gt;</div><div><br></div><div>###############################################</div><div><br></div><div><br></div><div><b><u> Quries/concerns:</u></b></div><div><br></div><div>-&gt; How can I specifically mentioned above 10 resources through Pacemaker?</div><div>-&gt; the services being used in &lt;service&gt; section are not init.d services, these services uses script reference of above defined resources. So, how could I do the same thing in Pacemaker?</div><div>Couple of concerns I have:</div><div>-&gt; How do I create failover domains in pacemaker and link resources to it?</div><div>-&gt; By default there are several pre-defined resource API&#39;s given in Pacemaker and we can use them if our requirements match with pre-defined API&#39;s like IPADDR2, Apache etc. But what if I have some python scripts and want to use those scripts as resources? Is their any way to do that?</div><div><br></div><div><br></div><div>Please Please help me to get this sorted.</div><div><br></div><div> <br></div><div><div class="gmail_signature"><div dir="ltr">Thanks,<br>Jaspal Singla<br></div></div></div>
</div>