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 <eswar7...@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@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