[ClusterLabs] Passing and binding to virtual IP in my service

Andrei Borzenkov arvidjaar at gmail.com
Thu Jan 7 11:14:17 UTC 2016


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? How would it look
like in CIB then?




More information about the Users mailing list