[ClusterLabs] creating a resource on a specific node
jorge.fabregas at gmail.com
Sat Oct 3 10:46:11 EDT 2015
On 10/03/2015 10:27 AM, Vijay Partha wrote:
> any command while adding a resource to a node to make it run only on a
> particular node
I don't think there's such a thing (specify a location at creation
time). Since you can't create a location constraint for a resource that
doesn't exist, what I would do in a running cluster is:
- create the resource with a target-role of "Stopped"
- create the location constraint for it
- change resource taget-role to "Started" (and it should start where you
indicated in the constraint).
More information about the Users