<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't find similarities configuring same resources (created in CMAN's cluster.conf file) to Pacemaker.</div><div><br></div><div><br></div><div><br></div><div>I'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><?xml version="1.1"?><br></div><div><cluster config_version="1" name="HA1-105_CLUSTER"></div><div>        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/></div><div>        <clusternodes></div><div>                <clusternode name="<a href="http://ha1-105.test.com">ha1-105.test.com</a>" nodeid="1" votes="1"></div><div>                        <fence/></div><div>                </clusternode></div><div>        </clusternodes></div><div>        <cman/></div><div>        <fencedevices/></div><div>        <rm log_facility="local4" log_level="7"></div><div>                <failoverdomains></div><div>                        <failoverdomain name="Ha1-105_Domain" nofailback="0" ordered="0" restricted="0"/></div><div>                </failoverdomains></div><div>                <resources></div><div>                        <script file="/data/Product/HA/bin/ODG_IFAgent.py" name="REPL_IF"/></div><div>                        <script file="/data/Product/HA/bin/ODG_ReplicatorAgent.py" name="ORACLE_REPLICATOR"/></div><div>                        <script file="/data/Product/HA/bin/OracleAgent.py" name="CTM_SID"/></div><div>                        <script file="/data/Product/HA/bin/NtwIFAgent.py" name="NTW_IF"/></div><div>                        <script file="/data/Product/HA/bin/FsCheckAgent.py" name="FSCheck"/></div><div>                        <script file="/data/Product/HA/bin/ApacheAgent.py" name="CTM_APACHE"/></div><div>                        <script file="/data/Product/HA/bin/CtmAgent.py" name="CTM_SRV"/></div><div>                        <script file="/data/Product/HA/bin/RsyncAgent.py" name="CTM_RSYNC"/></div><div>                        <script file="/data/Product/HA/bin/HeartBeat.py" name="CTM_HEARTBEAT"/></div><div>                        <script file="/data/Product/HA/bin/FlashBackMonitor.py" name="FLASHBACK"/></div><div>                </resources></div><div>                <service autostart="0" domain="Ha1-105_Domain" exclusive="0" name="ctm_service" recovery="disable"></div><div>                        <script ref="FSCheck"/></div><div>                        <script ref="NTW_IF"/></div><div>                        <script __independent_subtree="2" __max_restarts="20" __restart_expire_time="900" ref="CTM_RSYNC"/></div><div>                        <script __independent_subtree="2" __max_restarts="10" __restart_expire_time="900" ref="REPL_IF"/></div><div>                        <script __independent_subtree="2" ref="ORACLE_REPLICATOR"/></div><div>                        <script ref="CTM_SID"></div><div>                                <script ref="CTM_SRV"></div><div>                                        <script ref="CTM_APACHE"/></div><div>                                </script></div><div>                        </script></div><div>                </service></div><div>                <service autostart="1" exclusive="0" max_restarts="3" name="ctm_heartbeat" recovery="restart" restart_expire_time="900"></div><div>                        <script ref="CTM_HEARTBEAT"/></div><div>                </service></div><div>                <service autostart="1" exclusive="0" max_restarts="3" name="ctm_monitoring" recovery="restart" restart_expire_time="900"></div><div>                        <script ref="FLASHBACK"/></div><div>                </service></div><div>        </rm></div><div></cluster></div><div><br></div><div>###############################################</div><div><br></div><div><br></div><div><b><u> Quries/concerns:</u></b></div><div><br></div><div>-> How can I specifically mentioned above 10 resources through Pacemaker?</div><div>-> the services being used in <service> 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>-> How do I create failover domains in pacemaker and link resources to it?</div><div>-> By default there are several pre-defined resource API's given in Pacemaker and we can use them if our requirements match with pre-defined API'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>