[ClusterLabs] creating a resource on a specific node

Jorge Fábregas jorge.fabregas at gmail.com
Sat Oct 3 11:10:03 EDT 2015

On 10/03/2015 10:56 AM, Vijay Partha wrote:
> can I set target-role along with create command? after I give create
> command the resource starts. after create command only I am able to set
> target-role property.

I use the crm shell & indeed you can specify it.  Eg:

primitive clusterIP ocf:heartbeat:IPaddr2 \
        params ip="IP_ADDRESS" \
        op monitor interval="30s" \
        meta target-role="Started"


More information about the Users mailing list