[Linux-HA] Configuration get a lot of errors

Franz-Josef FJ.Tophoven at gmx.de
Mon Feb 27 13:13:45 MST 2006


Hello all,

I tried to set up a Cluster with 2 Nodes, but when I start the first node I get a lot off error/warnings.. but the IP adress will not start.

Cecking the documentations against the Config have not brought any results. I'm not finding my mistake.

Many times I get following Lins in the log:
crmd[5392]: 2006/02/27_15:14:01 info: mask(utils.c:crm_timer_popped): Wait Timer (I_NULL) just popped!
crmd[5392]: 2006/02/27_15:14:01 WARN: mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection failed
crmd[5392]: 2006/02/27_15:14:01 WARN: mask(cib.c:do_cib_control): Couldn't complete CIB registration 2 times... pause and retry
crmd[5392]: 2006/02/27_15:14:01 info: mask(utils.c:crm_timer_popped): Wait Timer (I_NULL) just popped!
crmd[5392]: 2006/02/27_15:14:01 WARN: mask(cib_native.c:cib_native_signon): Connection to CIB failed: connection failed
crmd[5392]: 2006/02/27_15:14:01 WARN: mask(cib.c:do_cib_control): Couldn't complete CIB registration 3 times... pause and retry
ccm[5388]: 2006/02/27_15:14:01 info: ccm from newdeb1 started
...
crmd[5392]: 2006/02/27_15:14:15 info: mask(fsa.c:do_state_transition): State transition S_STARTING -> S_RECOVERY [ input=I_ERROR cause=C_FSA_INTERNAL origin=do_cib_control ]
crmd[5392]: 2006/02/27_15:14:15 ERROR: mask(control.c:do_recover): Action A_RECOVER (0000000001000000) not supported
crmd[5392]: 2006/02/27_15:14:15 info: mask(control.c:register_with_ha): Hostname: newdeb1
crmd[5392]: 2006/02/27_15:14:15 info: mask(control.c:register_with_ha): UUID: ba6c5c83-79b0-48b1-8fc8-716e1ad0eff7
crmd[5392]: 2006/02/27_15:14:16 info: mask(control.c:do_ha_control): Connected to Heartbeat
crmd[5392]: 2006/02/27_15:14:16 ERROR: mask(cib_client.c:get_cib_copy): Couldnt retrieve the CIB
crmd[5392]: 2006/02/27_15:14:16 ERROR: mask(cib_client.c:get_object_root): CIB root object was NULL
crmd[5392]: 2006/02/27_15:14:16 info: mask(ccm.c:do_ccm_control): CCM connection established... waiting for first callback
crmd[5392]: 2006/02/27_15:14:16 info: mask(control.c:do_started): Delaying start, CCM (0000000000100000) not connected
crmd[5392]: 2006/02/27_15:14:16 WARN: mask(messages.c:register_fsa_input_adv): do_started stalled the FSA with pending inputs

I tested t´he XML File with the crm_verify -X and get no errors.

Where is my mistake?

Can someone help me?

Thanks in advanced 

Franz-Josef

P.S.: I put the complet Files in this mail
-------------------------------

The config looks as follow:
ha.cf
  #logfacility local7
  logfile /var/log/cluster/ha-log
  debugfile /var/log/cluster/ha-debug
  debug 1
  #use_logd on
  udpport 694
  keepalive 1 # 1 second
  deadtime 10
  bcast eth0
  #serial /dev/ttyS0 #if you use serial
  #baud 19200 #if you use serial
  node newdeb1 newdeb2
  crm yes #nieuw
  auto_failback yes      

-------------------
cib.xml<cib>
        <configuration>
                <crm_config>
                        <nvpair id="transition_idle_timeout" name="transition_idle_timeout" value="120s"/>
                        <nvpair id="symmetric_cluster" name="symmetric_cluster" value="true"/>
                        <nvpair id="no_quorum_policy" name="no_quorum_policy" value="stop"/>
                </crm_config>
                <nodes/>
                <resources>
                        <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>
                                        <attributes>
                                                <nvpair id="IPaddr_1_attr_0" name="ip" value="192.168.0.240"/>
                                        </attributes>
                                </instance_attributes>
                        </primitive>
                        <primitive class="ocf" id="IPaddr_2" provider="heartbeat" type="IPaddr">
                                <operations>
                                        <op id="IPaddr_2_mon" interval="5s" name="monitor" timeout="5s"/>
                                </operations>
                                <instance_attributes>
                                        <attributes>
                                                <nvpair id="IPaddr_2_attr_0" name="ip" value="192.168.0.241"/>
                                        </attributes>
                                </instance_attributes>
                        </primitive>
                </resources>
                <constraints>
                        <rsc_location id="rsc_location_IPaddr_1" rsc="IPaddr_1">
                                <rule id="prefered_location_IPaddr_1" score="100">
                                        <expression attribute="#uname" id="prefered_location_IPaddr_1_expr" operation="e
                                </rule>
                        </rsc_location>
                        <rsc_location id="rsc_location_IPaddr_2" rsc="IPaddr_2">
                                <rule id="prefered_location_IPaddr_2" score="100">
                                        <expression attribute="#uname" id="prefered_location_IPaddr_2_expr" operation="e
                                </rule>
                        </rsc_location>
                </constraints>
        </configuration>
        <status/>
</cib>                                 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20060227/90a62283/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: text/xml
Size: 1614 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20060227/90a62283/attachment.xml>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ha-log.txt
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20060227/90a62283/attachment.txt>


More information about the Linux-HA mailing list