[Linux-HA] Learning the CIB
vini.bill at gmail.com
vini.bill at gmail.com
Mon Jan 8 09:49:45 MST 2007
sorry, really sorry. forgot to send the weird_output file.
Vinicius Menezes
On 1/8/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
>
> Well... I've got one more question. I created a example file and seems to
> be correct ( it's the cib_vini.xml ). But when I try to verify it with
> "crm_verify --xml-file" I get really weird erros ( it's in the
> weird_output.txt ). I think it's weird because it says ( at the very first
> line ):
>
> "crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Expected:
> nvpair"
>
> But it's impossible to define a operation with nvpair. What's wrong with
> it? Am I misunderstanding something?
>
> Vinicius Menezes
>
>
> But when I use the crm_verify I get really weird erros ( such as
>
> On 1/8/07, Andrew Beekhof < beekhof at gmail.com> wrote:
> >
> > On 1/8/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> > > Hi guys.
> > >
> > > Sorry for not sending anything ( my home HD died and I had to replace
> > it ),
> > > this weekend. Fortunantely what I had made untill now was a basic
> > > reorganization of this page:
> > > http://www.linux-ha.org/ClusterResourceManager/DTD1.0/Annotated , and
> > not
> > > soo important.
> > >
> > > Now I intend to document parts of the CIB configuration options that
> > are
> > > somehow obscure throughout the Linux-HA documentation. So... my
> > questions
> > > is:
> > >
> > > - In the primitve directive we have a "type" property which should
> > receive
> > > some expected values. Wich are these values? I'm looking everywhere on
> > the
> > > Linux-HA site and still haven't found anything.
> >
> > its the "type" of resource you want. ie. IPaddr, FileSystem, etc.
> > there is no complete list because people can write their own
> >
> > when class=ocf: anything in /usr/lib/ocf/resource.d//$provider/
> > when class=lsb: anything in /etc/init.d
> > when class=heartbeat anything in /etc/ha.d/resource.d
> >
> > >
> > > Today I`ll probably ask more about the constraints, rules ans
> > expressions
> > > options.
> > >
> > > Vinicius Menezes
> > >
> > >
> > > On 1/6/07, Andrew Beekhof < beekhof at gmail.com> wrote:
> > > >
> > > > On 1/5/07, Pavol Gono <palo.gono at gmail.com> wrote:
> > > > > Hi
> > > > >
> > > > > Nice reading is in source tree:
> > > > > crm/crm-1.0.dtd
> > > > > crm/crm.txt (chapter 5)
> > > > > Just take the latest sources from http://hg.linux-ha.org/dev/. Web
> > > > > page
> > http://www.linux-ha.org/ClusterResourceManager/DTD1.0/Annotated
> > > > > is maybe not quite up-to-date.
> > > > >
> > > > > I'll answer what is simple to answer :)
> > > > >
> > > > >
> > > > > On 1/5/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> > > > > > Hi guys.
> > > > > >
> > > > > > As I said in a previous mail, I'm Writing a document
> > teaching how
> > > > to use
> > > > > > the CIB Tags, how to place them, what they mean and something
> > more
> > > > that I
> > > > > > haven't foreseen. I intend to contribute it back to the project.
> > I'd
> > > > like to
> > > > > > discuss some topics that I haven't understood very well so as I
> > can
> > > > write
> > > > > > about them. I'll also make some minor comparsions with XHTML to
> > make
> > > > things
> > > > > > a bit clearer to me but I won't make these on the final text.
> > > > > >
> > > > > > Today, before leaving work I'll seek somewhere to post it so
> > you
> > > > can
> > > > > > take a look at my progress. It`ll be in a Wiki format since I`m
> > going
> > > > to
> > > > > > publish it on the wiki we have here and to make easier to add to
> > the
> > > > main
> > > > > > documentation.
> > > > > >
> > > > > > 1) Is there any directive that isn't contained on the <cib>
> > </cib> ?
> > > > Can I
> > > > > > create groups of configurations ( if yes, what would be the
> > necessity
> > > > to
> > > > > > have it? ) ?
> > > >
> > > > i dont understand the question
> > > >
> > > > > >
> > > > > > 2) There are only 4 configuration tags: (1) constraints, (2)
> > > > crm_config and
> > > > > > (3) resources and the (4) nodes. Is that right ?
> > > > >
> > > > > yes
> > > >
> > > > correct. and how do we know this?
> > > > we know this because the DTD says so:
> > > > <!ELEMENT configuration (crm_config, nodes, resources,
> > constraints)>
> > > >
> > > > I suggest starting with wikipedia's entry on DTDs:
> > > > http://en.wikipedia.org/wiki/Document_Type_Definition
> > > >
> > > > >
> > > > > >
> > > > > > 3) What does the empty <nodes/> tag mean? The CRM daemon will
> > fill in
> > > > every
> > > > > > node automagically ?
> > > > >
> > > > > yes, user doesn't need to fill in nodes tag.
> > > > >
> > > > > >
> > > > > > 4) What do operations do in a primitive?
> > > > >
> > > > > e.g. you can tell heartbeat to monitor your resource
> > > >
> > > > or override various defaults... like what action to take if a start
> > > > action fails (or how long to wait before deciding that it failed)
> > > >
> > > > >
> > > > > >
> > > > > > 5) What is the difference between <atributes> and
> > <instance_atributes>
> > > > ??
> > > >
> > > > more information?
> > > >
> > > > > > 6) Is there any tag missing on this page (
> > > > > > http://www.linux-ha.org/ClusterResourceManager/DTD1.0/Annotated) that
> > > > I
> > > > > > should look for by myself ?
> > > > >
> > > > > See crm/crm-1.0.dtd
> > > >
> > > > correct, the online version seems to be somewhat out of date
> > > >
> > > > > > 7) What does the empty <status/> tag mean?
> > > > >
> > > > > status tag is filled in by heartbeat at runtime, user shouldn't
> > write
> > > > > to it. The command "cibadmin -Ql" is good for reading this tag.
> > > > _______________________________________________
> > > > Linux-HA mailing list
> > > > Linux-HA at lists.linux-ha.org
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > > See also: http://linux-ha.org/ReportingProblems
> > > >
> > >
> > >
> > >
> > > --
> > > ... Vinicius Menezes ...
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA at lists.linux-ha.org
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
>
>
>
> --
> ... Vinicius Menezes ...
>
--
... Vinicius Menezes ...
-------------- next part --------------
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Expected: nvpair
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: Mismatching close tag
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: </atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: <nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: <atributes>
<nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: <instance_atributes>
<atributes>
<nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: <primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before:
<group id="DB01">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error parsing token: error parsing child
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: parse_xml:xml.c Error at or before: >
<resources>
<group id="DB01">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_1_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB01_IPaddr_stop_1" name="stop" timeout="3s"/>
<op id="DB01_IPaddr_start_1" name="start" timeout="5s"/>
<op id="DB01_IPaddr_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_1" name="stop" timeout="10s">
<op id="mysql_start_1" name="start" timeout="20s">
<op id="mysql_monitor_1" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_1" name="stop" timeout="60s"/>
<op id="filesystem_start_1" name="start" timeout="30s"/>
<op id="filesystem_monitor_1" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_1" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_1" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_1" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
<group id="DB02">
<primitive class="ocf" provider="hertbeat">
<instance_atributes>
<atributes>
<nvpair id="IPaddr_2_ip" value="192.168.0.143" name="DB02_IPaddr">
</atributes>
</instance_atributes>
<operations>
<op id="DB02_IPaddr_stop_2" name="stop" timeout="3s"/>
<op id="DB02_IPaddr_start_2" name="start" timeout="5s"/>
<op id="DB02_IPaddr_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
</primitive>
<!--
<primitive class="ocf" provider="heartbeat" type="mysql">
<operations>
<op id="mysql_stop_2" name="stop" timeout="10s">
<op id="mysql_start_2" name="start" timeout="20s">
<op id="mysql_monitor_2" name="monitor" interval="60s" timeout="10s">
</operations>
</primitive>
-->
<primitive class="ocf" id="filesystem_1" provider="heartbeat" type="Filesystem">
<operations>
<op id="filesystem_stop_2" name="stop" timeout="60s"/>
<op id="filesystem_start_2" name="start" timeout="30s"/>
<op id="filesystem_monitor_2" name="monitor" interval="10s" timeout="3s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair id="filesystem_dev_2" name="device" value="/dev/drbd0"/>
<nvpair id="filesystem_mnt_2" name="directory" value="/mnt/drbd"/>
<nvpair id="filesystem_type_2" name="fstype" value="ext3"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
</cib>
crm_verify[5019]: 2007/01/08_14:27:01 ERROR: main:crm_verify.c Triggered non-fatal assert at crm_verify.c:203 : cib_object != NULL
No config supplied
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib_vini.xml
Type: text/xml
Size: 4379 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070108/05fe1ff9/cib_vini-0001.bin
More information about the Linux-HA
mailing list