[Linux-HA] CIB.XML Error

vini.bill at gmail.com vini.bill at gmail.com
Wed Jan 3 06:50:57 MST 2007


Yeah I noticed that... But in wich directive should I specify them?

The most confusing thing in all this is to know what each directive does. I
still don't know the differente between  a <primitve> and a <nvpair> neither
how to place them in the file. If i knew I would write something and
contribute back documentation.

... Vinicius Menezes ...

On 1/2/07, Serge Dubrouski <sergeyfd at gmail.com> wrote:
>
> On 1/2/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> > Hi guys a got a crypt error here. Please take a look at it:
> >
> > DB01:~ # crm_verify --xml-file /root/cib.xml~ -V
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: default_action_timeout
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: transition_idle_timeout
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: default_resource_stickiness
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: default_resource_failure_stickiness
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: stonith_enabled
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: stonith_action
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: symmetric_cluster
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: no_quorum_policy
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: stop_orphan_resources
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: stop_orphan_actions
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: remove_after_stop
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: unpack_config:unpack.c No
> value
> > specified for cluster preference: is_managed_default
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: stage0:stages.c We do not
> have
> > quorum - fencing and resource management disabled
> > crm_verify[4991]: 2007/01/02_19:45:46 WARN: crm_mem_stats:utils.cPotential
> > memory leak detected: 2070 alloc's vs. 2046 free's (24) (1312 bytes not
> > freed: req=458, alloc'd=65276)
> > crm_verify[4991]: 2007/01/02_19:45:46 ERROR: main:crm_verify.c Triggered
> > non-fatal assert at crm_verify.c:242 : crm_mem_stats(NULL) == FALSE
> > Warnings found during check: config may not be valid
> >
> > the cib.xml is the following:
> >
> > <!-- Esse arquivo foi gerado automaticamente pelo script
> haresources2cib.py-->
> > <?xml version="1.0" ?>
> > <cib num_updates="" epoch="" admin_epoch="">
> >         <configuration>
> >                 <crm_config>
> > <!--                    <nvpair id="symmetric_cluster"
> > name="symmetric_cluster" value="true"/>
> >                         <nvpair id="no_quorum_policy"
> > name="no_quorum_policy" value="stop"/>
> >                         <nvpair id="transition_idle_timeout"
> > name="transition_idle_timeout" value="120s"/> -->
> >                 </crm_config>
> >                 <nodes/>
> >                 <resources>
> >                         <group id="group_1">
> >                                 <primitive class="ocf" id="IPaddr_1"
> > provider="heartbeat" type="IPaddr">
> >                                         <operations>
> >                                                 <op id="IPaddr_1_mon"
> > interval="5s" name="monitor" timeout="5s"/>
> >                                         </operations>
> >                                         <instance_attributes id="1">
> >                                                 <attributes>
> >                                                         <nvpair
> > id="IPaddr_1_attr_0" name="ip" value="192.168.0.143"/>
> >                                                         <nvpair
> > id="IPaddr_1_attr_1" name="netmask" value="16"/>
> >                                                         <nvpair
> > id="IPaddr_1_attr_2" name="nic" value="eth1"/>
> >                                                 </attributes>
> >                                         </instance_attributes>
> >                                 </primitive>
> >                                 <primitive class="heartbeat"
> id="mysql_2"
> > provider="heartbeat" type="mysql">
> >                                         <operations>
> >                                                 <op id="mysql_2_mon"
> > interval="120s" name="monitor" timeout="60s"/>
> >                                         </operations>
> >                                 </primitive>
> >                         </group>
> >                 </resources>
> >                 <constraints>
> >                         <rsc_location id="rsc_location_group_1"
> > rsc="group_1">
> >                                 <rule id="prefered_location_group_1"
> > score="100">
> >                                         <expression attribute="#uname"
> > id="prefered_location_group_1_expr" operation="eq" value="DB01"/>
> >                                 </rule>
> >                         </rsc_location>
> >                 </constraints>
> >         </configuration>
> >         <status/>
> > </cib>
> >
> > What does the error mean? How should I correct the Warnings?
>
> By specifying default values for all those parameters:
> default_action_timeout, transition_idle_timeout, etc.... in your
> cib.xml.
> >
> > Thanks and Happy New Year for you all.
> >
> > ... 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 ...


More information about the Linux-HA mailing list