On Wed, Aug 5, 2015 at 9:23 AM, Vijay Partha <vijaysarath...@gmail.com> wrote: > Hi, > > I have 2 doubts. > > 1.) If i disable a resource and reboot the node, will the pacemaker restart > the service?
What exactly "disable" means? There is no such operation in pacemaker. > Or how can i stop the service and after rebooting the service > should be started automatically by pacemaker > Unfortunately pacemaker does not really provide any way to temporary stop resource. You can set target role to Stopped which will trigger resource stop. Then resource won't be started after reboot, because you told it to remain Stopped. Same applies to is-managed=false. If I'm wrong and it is possible I would be very interested to learn it. > 2.) how to create apache instances in such a way that 1 instance runs in 1 > node and another instance runs on the second node. > Just define two resources and set location constraints for each. _______________________________________________ Users mailing list: Users@clusterlabs.org http://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