[Pacemaker] Reg. violate uniqueness for parameter

emmanuel segura emi2fast at gmail.com
Wed Dec 11 15:51:44 UTC 2013


read this
http://www.sebastien-han.fr/blog/2012/09/16/pacemaker-load-balancing-with-clone/


2013/12/11 ESWAR RAO <eswar7028 at gmail.com>

> Hi Emmanuel,
>
> I have IPVS running on node3 which does tcp load balancing.
> The IPVS is configured with direct routing so the same VIP address should
> be present in loopback interfaces of other two nodes which are real backend
> servers for IPVS.
>
> Thanks
> Eswar
>
>
>
> On Wed, Dec 11, 2013 at 8:04 PM, emmanuel segura <emi2fast at gmail.com>wrote:
>
>> why you have cluster-ip and nvp_vip primitivies with same ip address and
>> after that you cloned nvp_vip, what would you archive?
>>
>>
>> 2013/12/11 ESWAR RAO <eswar7028 at gmail.com>
>>
>>> small update.
>>> I could enforce changes using -F option so that I could get rid of " Do
>>> you still want to commit?"
>>>
>>>
>>> On Wed, Dec 11, 2013 at 11:04 AM, ESWAR RAO <eswar7028 at gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> When I ran below configuration on a 3 node HB+pacemaker setup I am
>>>> getting
>>>> WARNING: Resources cluster-ip,nvp_vip violate uniqueness for parameter
>>>> "ip": "192.168.101.205"
>>>> Do you still want to commit? y
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>>
>>>> # crm configure primitive cluster-ip ocf:IPaddr2 params
>>>> ip=192.168.101.205 cidr_netmask=32 nic=eth1 op monitor interval=30s
>>>> # crm configure location nvp_prefer_node1 cluster-ip 500: oc-vm
>>>> # crm configure location nvp_prefer_node2 cluster-ip 50: oc-vm2
>>>> # crm configure location nvp_prefer_node3 cluster-ip 25: oc-vm1
>>>>
>>>> sleep 2
>>>>
>>>> #  crm configure primitive nvp_vip ocf:IPaddr2 params
>>>> ip=192.168.101.205 cidr_netmask=32 nic=lo op monitor interval=30s
>>>> #  crm configure clone nvp_vip_clone nvp_vip meta clone-max="2"
>>>> globally-unique="false"
>>>> # crm configure location nvp_vip_prefer_node nvp_vip_clone -inf: oc-vm
>>>>
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>>
>>>> I assume cluster-ip should first get assigned on oc-vm and nvp_vip on
>>>> oc-vm2 and oc-vm1.
>>>>
>>>> Is there any way I can get rid of " Do you still want to commit?"
>>>>
>>>> Thanks
>>>> Eswar
>>>>
>>>
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at 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
>>>
>>>
>>
>>
>> --
>> esta es mi vida e me la vivo hasta que dios quiera
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at 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 at 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
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131211/4ecb62f8/attachment.htm>


More information about the Pacemaker mailing list