Mailing List Archive

doubt when cloning a resource
Hello all

we are trying to have in a 2 node cluster one resource TEST (LSB type)
cloned but we woul like to have it running in the 2 nodes and be able to
stop and start it on each independently
then we would like to associate to it some virtual iP type OCF using a
location or something like that

but when trying to do that using gloal-unique, i get an error and seems
the system is not working well.
crm configure clone TEST-clone TEST meta globally-unique="true"
Warnings found during check: config may not be valid
Do you still want to commit (y/n)? n


and if i create the clone normally, then if i stop the resource in one
node, it stops also in the other

do you please have any clue to perform this?

thanks a lot and regards
david
Re: doubt when cloning a resource [ In reply to ]
> On 15 Nov 2014, at 3:17 am, david escartin <descartin@systemonenoc.com> wrote:
>
> Hello all
>
> we are trying to have in a 2 node cluster one resource TEST (LSB type) cloned

Thats your problem.
LSB resources cannot be cloned with globally-unique="true"

Why do you think you need globally-unique="true" ?

> but we woul like to have it running in the 2 nodes and be able to stop and start it on each independently
> then we would like to associate to it some virtual iP type OCF using a location or something like that
>
> but when trying to do that using gloal-unique, i get an error and seems the system is not working well.
> crm configure clone TEST-clone TEST meta globally-unique="true"
> Warnings found during check: config may not be valid
> Do you still want to commit (y/n)? n
>
>
> and if i create the clone normally, then if i stop the resource in one node, it stops also in the other
>
> do you please have any clue to perform this?
>
> thanks a lot and regards
> david
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org