On Mon, Sep 8, 2008 at 21:52, Serge Dubrouski <[EMAIL PROTECTED]> wrote: > Is there a list of changes in cib syntax between Pacemaker 0.6 and > 0.7?
There is some notes in the "whats changed" section of: http://clusterlabs.org/mw/Image:Configuration_Explained_1.0.pdf But the easiest way is to take your 0.6 configuration, upgrade it (as explained in the document) and compare the two > I've just upgraded to 0.7 and now can't make my old cib work. strange. you should be able to use the old syntax as well. > In > 0.6 for example I was able to run cibadmin -R -x ip.xml where ip.xml > looks like this: > > <resources> > <primitive class="ocf" type="IPaddr" provider="heartbeat" id="myIP"> > <instance_attributes id="myIP_attributes"> > <nvpair id="myIP_ip" name="ip" value="192.168.1.130"/> > </instance_attributes> > <operations> > <op id="63460aec-8759-4a35-a41c-0e402d5409a0" > name="monitor" interval="30s" timeout="30s"/> > <op id="75bb6f39-b41c-4837-8714-9fc2305fa4c0" > name="start" interval="0s" timeout="30s"/> > <op id="9c694b65-9c32-43d5-8df2-615dd9dbe56e" name="stop" > interval="0s" timeout="30s"/> > </operations> > </primitive> > </resources> > > And pacemaker was able to add it. Now in 0.7 I'm getting following error: > > $cibadmin -VR -x ip.xml > cibadmin[10714]: 2008/09/08_15:51:26 info: main: Starting mainloop > cibadmin[10714]: 2008/09/08_15:51:28 WARN: cibadmin_op_callback: Call > cib_replace failed (-47): Update does not conform to the configured > schema/DTD > Call cib_replace failed (-47): Update does not conform to the > configured schema/DTD > <null> > > And honestly I'm a bit lazy to parse it through DTD. > > -- > Serge Dubrouski. > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
