Hello Vijay: it seems you may want to consider developing custom Resource Agents. Take a look at the following guide: http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html
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() Good luck! On Fri, Feb 17, 2017 at 8:22 AM, vijay singh rathore < vijayrathore.rji...@gmail.com> wrote: > Hi Team, > > Good Morning everyone, hope you all are doing great. > > First of all I would like to apologise, if I have created inconvenience > for team members by sending this mail. > > I have a question and i have tried almost all possible forums and googled > a lot before reaching to this group for help. > > 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 > > How can i add these applications for high availability in HA cluster using > pcs/pacemaker/corosync. > > 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. > > 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. > > Thanks a lot in advance, have a great day and time ahead. > > Best Regards > Vijay Singh > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > > -- Kindest Regards, Chad Cravens (843) 291-8340 [image: http://www.ossys.com] <http://www.ossys.com> [image: http://www.linkedin.com/company/open-source-systems-llc] <http://www.linkedin.com/company/open-source-systems-llc> [image: https://www.facebook.com/OpenSrcSys] <https://www.facebook.com/OpenSrcSys> [image: https://twitter.com/OpenSrcSys] <https://twitter.com/OpenSrcSys> [image: http://www.youtube.com/OpenSrcSys] <http://www.youtube.com/OpenSrcSys> [image: http://www.ossys.com/feed] <http://www.ossys.com/feed> [image: cont...@ossys.com] <cont...@ossys.com> Chad Cravens (843) 291-8340 chad.crav...@ossys.com http://www.ossys.com
_______________________________________________ Users mailing list: Users@clusterlabs.org http://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org