On Fri, Nov 21, 2008 at 13:51, Tobias Appel <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-21 at 13:04 +0100, Michael Schwartzkopff wrote: >> Am Freitag, 21. November 2008 12:39 schrieb Tobias Appel: >> > Hi, >> > >> > sorry for asking so many newbie questions but I just started out with >> > Heartbeat V2. After reading through all the documentation and even >> > watching the presentation from Linux.Conf.Au in 2007 I wanted to start >> > adding my first resource to the cluster. >> > But every time I get the following error: >> > >> > Call cib_replace failed (-47): Update does not conform to the configured >> > schema/DTD >> > <null> >> > >> > >> > I tried to copy & stuff from the Novell Documentation here: >> > http://www.novell.com/documentation/sles10/heartbeat/index.html?page=/docum >> >entation/sles10/heartbeat/data/heartbeat.html >> > >> > Or from the slides of the Linux.Conf.Au presentation. I tried simple >> > examples like this: >> > >> > <primitive id="WebIP" class="ocf" >> > type="IPaddr" provider="heartbeat"> >> > <instance_attributes> >> > <attributes> >> > <nvpair >> > name="ip" >> > value="192.168.224.5"/> >> > </attributes> >> > </instance_attributes> >> > </primitive> >> >> The <nvpair name="ip" ...> does not have an id. Add it. >> > > I think I need even more. I played around with the GUI for a bid and > then once I finally got it to accept my input I extracted my > configuration to an xml and it looks more like this: > > <primitive class="ocf" description="vip" id="primitive" > provider="heartbea > t" type="IPaddr"> > <instance_attributes id="vip-instance_attributes"> > <nvpair id="nvpair-7e39b1b0-4930-4855-b66c-e01756185d4c" > name="ip" val > ue="192.168.1.130"/> > </instance_attributes> > <meta_attributes id="primitive-meta_attributes"> > <nvpair id="primitive-meta_attributes-target-role" > name="target-role" > value="started"/> > </meta_attributes> > </primitive> > > So we have instance and meta attributes now, and not just an attributes > section. Just adding an ID to nvpair didn't do the trick. > That's why I was asking for updated documentation.
http://clusterlabs.org/mw/Image:Configuration_Explained.pdf _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
