<div dir="ltr"><div><div><div>Hello Vijay:<br><br></div>it seems you may want to consider developing custom Resource Agents. Take a look at the following guide: <a href="http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html">http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html</a><br><br></div>I have created several, it is pretty straightforward and has always worked as expected. I would say one of the most important parts of creating a custom RA script is to make sure you have a good method for determining the state of a resource with monitor()<br><br></div>Good luck!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 8:22 AM, vijay singh rathore <span dir="ltr"><<a href="mailto:vijayrathore.rjit88@gmail.com" target="_blank">vijayrathore.rjit88@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div>Good Morning everyone, hope you all are doing great.</div><div><br></div><div>First of all I would like to apologise, if I have created inconvenience for team members by sending this mail.  </div><div><br></div><div>I have a question and i have tried almost all possible forums and googled a lot before reaching to this group for help.</div><div><br></div><div>I want to create HA cluster for applications/services which are not in tomcat or related to Apache or MySQL. Let's say they are written in different languages such as java, node js, c++, and deployed in certain path i.e. /home/xyz</div><div><br></div><div>How can i add these applications for high availability in HA cluster using pcs/pacemaker/corosync.</div><div><br></div><div>If I have to create resource for these applications how to create and if i have to use some other way, how can i implement it.</div><div><br></div><div>Requesting you to please provide me some suggestions or reference documents or links or anything which can help me in completing this task and to test fail over for these applications.</div><div><br></div><div>Thanks a lot in advance, have a great day and time ahead.</div><div><br></div><div>Best Regards</div><span class="HOEnZb"><font color="#888888"><div>Vijay Singh</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.clusterlabs.org/<wbr>mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/<wbr>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="2"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><span style="background-color:rgb(255,255,255)">Kindest Regards,<br></span></span></span></font></div><div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><font size="1"><font size="2"><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif">Chad Cravens<br>(843) 291-8340</span></span></font><br></font></span></span></div><div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><font size="1"><br><a href="http://www.ossys.com" target="_blank"><img alt="http://www.ossys.com" src="http://www.ossys.com/wp-content/uploads/2014/01/logo_sm.png"></a><br><a href="http://www.linkedin.com/company/open-source-systems-llc" target="_blank"><img alt="http://www.linkedin.com/company/open-source-systems-llc" src="http://www.ossys.com/wp-content/uploads/2014/01/linkedin_icon_sm.png"></a>   <a href="https://www.facebook.com/OpenSrcSys" target="_blank"><img alt="https://www.facebook.com/OpenSrcSys" src="http://www.ossys.com/wp-content/uploads/2014/01/facebook_icon_sm.png"></a>   <a href="https://twitter.com/OpenSrcSys" target="_blank"><img alt="https://twitter.com/OpenSrcSys" src="http://www.ossys.com/wp-content/uploads/2014/01/twitter_icon_sm.png"></a>   <img src="http://www.ossys.com/wp-content/uploads/2014/01/googleplus_icon.png">   <a href="http://www.youtube.com/OpenSrcSys" target="_blank"><img alt="http://www.youtube.com/OpenSrcSys" src="http://www.ossys.com/wp-content/uploads/2014/01/youtube_icon_sm.png"></a>   <a href="http://www.ossys.com/feed" target="_blank"><img alt="http://www.ossys.com/feed" src="http://www.ossys.com/wp-content/uploads/2014/01/rss_icon_sm.png"></a>   <a href="mailto:contact@ossys.com" target="_blank"><img alt="contact@ossys.com" src="http://www.ossys.com/wp-content/uploads/2014/01/email_icon_sm.png"></a><br>Chad Cravens<br>(843) 291-8340<br></font></span></span></div><div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><font size="1"><a href="mailto:chad.cravens@ossys.com" target="_blank">chad.cravens@ossys.com</a><br></font></span></span></div><div><font size="1"><span style="background-color:rgb(153,153,153)"><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><a href="http://www.ossys.com" target="_blank">http://www.ossys.com</a></span></span></span></font><br></div></div></div></div></div>
</div>