how to configure cluster to do not run resources simultaneously

Muhammad Sharfuddin <[email protected]> Fri, 06 Feb 2015 10:28:36 +0500
Newsgroups gmane.linux.highavailability.user
Message-ID <[email protected]>
pacemaker-1.1.11-0.7.53
corosync-1.4.7-0.19.6

resource 'app2' depends on 'app1', i.e without app1, app2 can't run.

resource 'app1' is configured to run on node1, while app2 is configured 
to run on node2 via location rules.

cluster is configured to never start the app2 atop node1.

I don't want to run both the resources on node2 simultaneously. How can 
I configure the cluster to do not run
the app2 on the node2 when cluster has to run the app1 atop node2(due to 
failure/unavailability of node1)

Help me how can I achieve this.

-- 
Regards,

Muhammad Sharfuddin


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems