[ClusterLabs] creating a resource on a specific node

Vijay Partha vijaysarathy94 at gmail.com
Sat Oct 3 15:21:00 UTC 2015


is it possible with pcs command?  I am not making use of crm .
On 3 Oct 2015 20:40, "Jorge Fábregas" <jorge.fabregas at gmail.com> wrote:

> 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"
>
>
> --
> Jorge
>
> _______________________________________________
> Users mailing list: Users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20151003/c49b7236/attachment.htm>


More information about the Users mailing list