[ClusterLabs] Passing and binding to virtual IP in my service
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Jan 7 16:29:25 UTC 2016
Hi,
On Thu, Jan 07, 2016 at 02:14:17PM +0300, Andrei Borzenkov wrote:
> 07.01.2016 13:09, Kristoffer Grönlund пишет:
> > Nikhil Utane <nikhil.subscribed at gmail.com> writes:
> >
> >> Of course, one way is to pass the same virtual IP configuration to my
> >> resource agent:
> >> "<nvpair id="ClusterIP-instance_attributes-ip" name="ip"
> >> value="10.206.1.253"/>"
> >> But this will be duplicate information and error-prone.
> >> There ought to be a better way. :)
> >>
> >
> > Hi,
> >
> > You can use attribute references to avoid having to configure the same
> > value twice. It is documented here for the crmsh syntax:
> >
> > http://crmsh.github.io/man/#topics_Features_AttributeReferences
> >
>
>
> Is it crmsh-script only or it is also stored in CIB?
Everything ends in the CIB.
> How would it look
> like in CIB then?
Normally, you don't need to know. I don't :)
Thanks,
Dejan
>
> _______________________________________________
> 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
More information about the Users
mailing list