Quote:
Originally Posted by tooreply
We are using SLES 12. We have a custom application which doesn't have daemon / Resource Agent.
To Start the Application
runuser -l bnp -c 'start_biom'
To Stop the Application
runuser -l bnp -c 'stop_biom'
To Monitor the Application
ps -ef | grep biom
|
Ok, so have you read the documentation on pacemaker, or contacted SuSE support, since you're paying for SLES? SuSE support can point you to many resources in their knowledgebase (which you're paying for access to), that tell you how to configure things in pacemaker. Please read the "Question Guidelines" link in my posting signature; you should do basic research first before posting.
Pacemaker uses resource agents, which are typically not much more than bash or python scripts. There is an "Anything" resource agent you can find and download from github, which has examples on how to configure it.