[ClusterLabs] creating a resource on a specific node
    Jorge Fábregas 
    jorge.fabregas at gmail.com
       
    Sat Oct  3 14:46:11 UTC 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
Hi,
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).
HTH,
Jorge
    
    
More information about the Users
mailing list