<div dir="ltr">Thanks Tomas,<br>That was it.<div>Appreciate your help.<br></div><div><br></div><div>-Ayman</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 22, 2021 at 3:01 AM Tomas Jelinek <<a href="mailto:tojeline@redhat.com">tojeline@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
It seems to me that you defined <br>
"virtualip-instance_attributes-secondary_ip_address" id twice. That is <br>
not allowed, IDs must be unique.<br>
<br>
Also note that multiple instance attributes with rules are not supported <br>
by pcs. Your CIB will work in general, just don't use pcs to update your <br>
'virtualip' resource instance attributes.<br>
<br>
Regards,<br>
Tomas<br>
<br>
<br>
Dne 22. 02. 21 v 3:51 AM. E. napsal(a):<br>
> Hi,<br>
> I am using version 1.1.18 of pacemaker on my linux ubuntu 16.04.<br>
> I am trying to push cib after updating and I keep getting the error below:<br>
> <br>
> $ sudo pcs cluster cib-push cib_temp<br>
> Error: unable to push cib<br>
> Call cib_replace failed (-203): Update does not conform to the <br>
> configured schema<br>
> <br>
> What I have added was the sections in bold (I am trying to implement <br>
> multi subnet deployment)<br>
> <primitive class="ocf" id="virtualip" provider="heartbeat" <br>
> type="awsvip"><br>
> <instance_attributes id="virtualip-instance_attributes"><br>
> *<rule id="Subnet1-IP" score="INFINITY"><br>
> <expression id="Subnet1-Node" attribute="#uname" operation="eq" <br>
> value="ag1"/><br>
> </rule>*<br>
> <nvpair <br>
> id="virtualip-instance_attributes-secondary_ip_address" <br>
> name="secondary_ip_address" value="10.45.54.47"/><br>
> </instance_attributes><br>
> <instance_attributes id="virtualip-instance_attributes2"><br>
> *<rule id="Subnet2-IP" score="INFINITY"><br>
> <expression id="Subnet2-Node" attribute="#uname" operation="eq" <br>
> value="ag2"/><br>
> </rule>*<br>
> <nvpair <br>
> id="virtualip-instance_attributes-secondary_ip_address" <br>
> name="secondary_ip_address" value="10.45.54.147"/><br>
> </instance_attributes><br>
> <br>
> Did I violate the schema ? I saw a post at <br>
> <a href="https://www.drware.com/configure-multiple-subnet-alwayson-availability-groups-by-modifying-cib/" rel="noreferrer" target="_blank">https://www.drware.com/configure-multiple-subnet-alwayson-availability-groups-by-modifying-cib/</a> <br>
> <<a href="https://www.drware.com/configure-multiple-subnet-alwayson-availability-groups-by-modifying-cib/" rel="noreferrer" target="_blank">https://www.drware.com/configure-multiple-subnet-alwayson-availability-groups-by-modifying-cib/</a>><br>
> Where the same portion was updated and there was no such issue?<br>
> <br>
> I am using this version<br>
> $ pacemakerd --version<br>
> Pacemaker 1.1.14<br>
> <br>
> Any insights?<br>
> Thanks<br>
> Ayman Els<br>
> <br>
> _______________________________________________<br>
> Manage your subscription:<br>
> <a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
> <br>
> ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
> <br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div>