[Linux-HA] Config problem
Dan Track
dan.track at gmail.com
Thu Oct 12 04:47:44 MDT 2006
On 10/12/06, Andrew Beekhof <beekhof at gmail.com> wrote:
> On 10/11/06, Dan Track <dan.track at gmail.com> wrote:
> > Hi
> >
> > I generated the cib.xml file below by running :
> >
> > python /usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources
> >
> > The problem I'm having is that the second IP isn't coming up i.e
> > 10.11.8.46. Could somebody please help me find out the reason.
>
> not without information like version details or (unedited) log files.
>
> >
> > cat /var/lib/heartbeat/crm/cib.xml
> > <?xml version="1.0" ?>
> > <cib admin_epoch="0" epoch="0" num_updates="0">
> > <configuration>
> > <crm_config>
> > <cluster_property_set id="cib-bootstrap-options">
> > <attributes>
> > <nvpair
> > id="cib-bootstrap-options-symmetric_cluster" name="symmetric_cluster"
> > value="true"/>
> > <nvpair
> > id="cib-bootstrap-options-no_quorum_policy" name="no_quorum_policy"
> > value="stop"/>
> > <nvpair
> > id="cib-bootstrap-options-default_resource_stickiness"
> > name="default_resource_stickiness" value="0"/>
> > <nvpair
> > id="cib-bootstrap-options-default_resource_failure_stickiness"
> > name="default_resource_failure_stickiness" value="0"/>
> > <nvpair
> > id="cib-bootstrap-options-stonith_enabled" name="stonith_enabled"
> > value="false"/>
> > <nvpair
> > id="cib-bootstrap-options-stonith_action" name="stonith_action"
> > value="reboot"/>
> > <nvpair
> > id="cib-bootstrap-options-stop_orphan_resources"
> > name="stop_orphan_resources" value="true"/>
> > <nvpair
> > id="cib-bootstrap-options-stop_orphan_actions"
> > name="stop_orphan_actions" value="true"/>
> > <nvpair
> > id="cib-bootstrap-options-remove_after_stop" name="remove_after_stop"
> > value="false"/>
> > <nvpair
> > id="cib-bootstrap-options-short_resource_names"
> > name="short_resource_names" value="true"/>
> > <nvpair
> > id="cib-bootstrap-options-transition_idle_timeout"
> > name="transition_idle_timeout" value="5min"/>
> > <nvpair
> > id="cib-bootstrap-options-default_action_timeout"
> > name="default_action_timeout" value="5s"/>
> > <nvpair
> > id="cib-bootstrap-options-is_managed_default"
> > name="is_managed_default" value="true"/>
> > </attributes>
> > </cluster_property_set>
> > </crm_config>
> > <nodes/>
> > <resources>
> > <group id="group_1">
> > <primitive class="ocf"
> > id="IPaddr_10.11.8.45" provider="heartbeat" type="IPaddr">
> > <operations>
> > <op
> > id="IPaddr_10.11.8.45_mon" interval="5s" name="monitor" timeout="5s"/>
> > </operations>
> > <instance_attributes
> > id="IPaddr_10.11.8.45_inst_attr">
> > <attributes>
> > <nvpair
> > id="IPaddr_10.11.8.45_attr_0" name="ip" value="10.11.8.45"/>
> > </attributes>
> > </instance_attributes>
> > </primitive>
> > <primitive class="lsb" id="httpd_2"
> > provider="heartbeat" type="httpd">
> > <operations>
> > <op id="httpd_2_mon"
> > interval="120s" name="monitor" timeout="60s"/>
> > </operations>
> > </primitive>
> > </group>
> > <group id="group_11">
> > <primitive class="ocf"
> > id="IPaddr_10.11.8.46" provider="heartbeat" type="IPaddr">
> > <operations>
> > <op
> > id="IPaddr_10.11.8.46_mon" interval="5s" name="monitor" timeout="5s"/>
> > </operations>
> > <instance_attributes
> > id="IPaddr_10.11.8.46_inst_attr">
> > <attributes>
> > <nvpair
> > id="IPaddr_10.11.8.46_attr_0" name="ip" value="10.11.8.46"/>
> > </attributes>
> > </instance_attributes>
> > </primitive>
> > <primitive class="lsb" id="httpd_12"
> > provider="heartbeat" type="httpd">
> > <operations>
> > <op id="httpd_12_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="zhang.example.com"/>
> > </rule>
> > </rsc_location>
> > <rsc_location id="rsc_location_group_11" rsc="group_11">
> > <rule id="prefered_location_group_11"
> > score="100">
> > <expression attribute="#uname"
> > id="prefered_location_group_11_expr" operation="eq"
> > value="zhang.example.com"/>
> > </rule>
> > </rsc_location>
> > </constraints>
> > </configuration>
> > <status/>
> > </cib>
> >
> >
> > Thanks in advance
> > Dan
Hi
I've copied the logs into here, sorry if they are really long as I
didn't know what you might need. The version I'm using is 2.0.7.
Thanks in advance (logs are below)
heartbeat[29938]: 2006/10/12_11:40:30 WARN: File /etc/ha.d/haresources exists.
heartbeat[29938]: 2006/10/12_11:40:30 WARN: This file is not used
because crm is enabled
heartbeat[29938]: 2006/10/12_11:40:31 WARN: Logging daemon is disabled
--enabling logging daemon is recommended
heartbeat[29938]: 2006/10/12_11:40:31 info: **************************
heartbeat[29938]: 2006/10/12_11:40:31 info: Configuration validated.
Starting heartbeat 2.0.7
heartbeat[29939]: 2006/10/12_11:40:31 info: heartbeat: version 2.0.7
heartbeat[29939]: 2006/10/12_11:40:31 info: Heartbeat generation: 33
heartbeat[29939]: 2006/10/12_11:40:31 info: G_main_add_TriggerHandler:
Added signal manual handler
heartbeat[29939]: 2006/10/12_11:40:31 info: G_main_add_TriggerHandler:
Added signal manual handler
heartbeat[29939]: 2006/10/12_11:40:31 info: Removing
/var/run/heartbeat/rsctmp failed, recreating.
heartbeat[29939]: 2006/10/12_11:40:31 info: glib: UDP Broadcast
heartbeat started on port 694 (694) interface eth1
heartbeat[29939]: 2006/10/12_11:40:31 info: glib: UDP Broadcast
heartbeat closed on port 694 interface eth1 - Status: 1
heartbeat[29939]: 2006/10/12_11:40:31 info: G_main_add_SignalHandler:
Added signal handler for signal 17
heartbeat[29939]: 2006/10/12_11:40:31 info: Local status now set to: 'up'
heartbeat[29939]: 2006/10/12_11:40:32 info: Link quan.example.com:eth1 up.
heartbeat[29939]: 2006/10/12_11:40:32 info: Status update for node
quan.example.com: status active
heartbeat[29939]: 2006/10/12_11:40:32 info: Link zhang.example.com:eth1 up.
heartbeat[29939]: 2006/10/12_11:40:32 info: Comm_now_up(): updating
status to active
heartbeat[29939]: 2006/10/12_11:40:32 info: Local status now set to: 'active'
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/ccm" (500,501)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/cib" (500,501)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/lrmd" (0,0)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/stonithd" (0,0)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/attrd" (500,501)
heartbeat[29950]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/stonithd" as uid 0 gid 0 (pid 29950)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/crmd" (500,501)
heartbeat[29939]: 2006/10/12_11:40:32 info: Starting child client
"/usr/lib/heartbeat/mgmtd -v" (0,0)
heartbeat[29947]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/ccm" as uid 500 gid 501 (pid 29947)
heartbeat[29939]: 2006/10/12_11:40:32 WARN: G_CH_dispatch_int:
Dispatch function for read child took too long to execute: 120 ms (>
50 ms) (GSource: 0x861a730)
heartbeat[29939]: 2006/10/12_11:40:32 WARN: G_SIG_dispatch: Dispatch
function for SIGCHLD was delayed 130 ms (> 100 ms) before being called
(GSource: 0x8616840)
heartbeat[29948]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/cib" as uid 500 gid 501 (pid 29948)
heartbeat[29949]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/lrmd" as uid 0 gid 0 (pid 29949)
heartbeat[29951]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/attrd" as uid 500 gid 501 (pid 29951)
heartbeat[29952]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/crmd" as uid 500 gid 501 (pid 29952)
heartbeat[29953]: 2006/10/12_11:40:32 info: Starting
"/usr/lib/heartbeat/mgmtd -v" as uid 0 gid 0 (pid 29953)
stonithd[29950]: 2006/10/12_11:40:32 info: G_main_add_SignalHandler:
Added signal handler for signal 10
heartbeat[29939]: 2006/10/12_11:40:32 info: G_SIG_dispatch: started at
547963163 should have started at 547963150
cib[29948]: 2006/10/12_11:40:32 info: G_main_add_SignalHandler: Added
signal handler for signal 15
lrmd[29949]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 15
attrd[29951]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 15
crmd[29952]: 2006/10/12_11:40:33 info: init_start:main.c Starting crmd
mgmtd[29953]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 15
stonithd[29950]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 12
heartbeat[29939]: 2006/10/12_11:40:33 WARN: G_SIG_dispatch: Dispatch
function for SIGCHLD took too long to execute: 250 ms (> 10 ms)
(GSource: 0x8616840)
cib[29948]: 2006/10/12_11:40:33 info: G_main_add_TriggerHandler: Added
signal manual handler
lrmd[29949]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 17
crmd[29952]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 15
stonithd[29950]: 2006/10/12_11:40:33 info: Signing in with heartbeat.
attrd[29951]: 2006/10/12_11:40:33 info: register_with_ha:attrd.c
Hostname: zhang.example.com
ccm[29947]: 2006/10/12_11:40:33 info: Hostname: zhang.example.com
cib[29948]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 17
lrmd[29949]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 10
crmd[29952]: 2006/10/12_11:40:33 info: G_main_add_TriggerHandler:
Added signal manual handler
mgmtd[29953]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 10
cib[29948]: 2006/10/12_11:40:33 info: main:main.c Retrieval of a
per-action CIB: disabled
attrd[29951]: 2006/10/12_11:40:33 info: register_with_ha:attrd.c UUID:
32a354e6-3b36-4933-bc3d-dee466b87792
stonithd[29950]: 2006/10/12_11:40:33 notice:
/usr/lib/heartbeat/stonithd start up successfully.
lrmd[29949]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 12
lrmd[29949]: 2006/10/12_11:40:33 info: Started.
mgmtd[29953]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 12
cib[29948]: 2006/10/12_11:40:33 info: cib_register_ha:main.c Signing
in with Heartbeat
attrd[29951]: 2006/10/12_11:40:33 WARN: cib_native_signon:cib_native.c
Connection to CIB failed: connection failed
stonithd[29950]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler:
Added signal handler for signal 17
crmd[29952]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 17
ccm[29947]: 2006/10/12_11:40:33 info: G_main_add_SignalHandler: Added
signal handler for signal 15
mgmtd[29953]: 2006/10/12_11:40:33 info: init_crm
cib[29948]: 2006/10/12_11:40:33 info: cib_register_ha:main.c FSA
Hostname: zhang.example.com
crmd[29952]: 2006/10/12_11:40:33 WARN: cib_native_signon:cib_native.c
Connection to CIB failed: connection failed
mgmtd[29953]: 2006/10/12_11:40:33 info: login to cib: 0, ret:-10
cib[29948]: 2006/10/12_11:40:33 info: readCibXmlFile:io.c Reading
cluster configuration from: /var/lib/heartbeat/crm/cib.xml
cib[29948]: 2006/10/12_11:40:33 WARN: validate_cib_digest:io.c No
on-disk digest present
cib[29948]: 2006/10/12_11:40:33 info: readCibXmlFile: [on-disk] <cib
admin_epoch="0" epoch="0" num_updates="0" have_quorum="false">
cib[29948]: 2006/10/12_11:40:33 info: readCibXmlFile: [on-disk]
<configuration>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk] <crm_config>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<cluster_property_set id="cib-bootstrap-options">
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<attributes>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-symmetric_cluster"
name="symmetric_cluster" value="true"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-no_quorum_policy"
name="no_quorum_policy" value="stop"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-default_resource_stickiness"
name="default_resource_stickiness" value="0"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-default_resource_failure_stickiness"
name="default_resource_failure_stickiness" value="0"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-stonith_enabled"
name="stonith_enabled" value="false"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-stonith_action"
name="stonith_action" value="reboot"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-stop_orphan_resources"
name="stop_orphan_resources" value="true"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-stop_orphan_actions"
name="stop_orphan_actions" value="true"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-remove_after_stop"
name="remove_after_stop" value="false"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-short_resource_names"
name="short_resource_names" value="true"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-transition_idle_timeout"
name="transition_idle_timeout" value="5min"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-default_action_timeout"
name="default_action_timeout" value="5s"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="cib-bootstrap-options-is_managed_default"
name="is_managed_default" value="true"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</attributes>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</cluster_property_set>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</crm_config>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk] <nodes/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk] <resources>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<group id="group_1">
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<primitive class="ocf" id="IPaddr_10.11.8.45" provider="heartbeat"
type="IPaddr">cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile:
[on-disk] <operations>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<op id="IPaddr_10.11.8.45_mon" interval="5s" name="monitor"
timeout="5s"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</operations>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<instance_attributes id="IPaddr_10.11.8.45_inst_attr">
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<attributes>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
<nvpair id="IPaddr_10.11.8.45_attr_0" name="ip"
value="10.11.8.45"/>
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</attributes>
crmd[29952]: 2006/10/12_11:40:34 WARN: cib_native_signon:cib_native.c
Connection to CIB failed: connection failed
cib[29948]: 2006/10/12_11:40:34 info: readCibXmlFile: [on-disk]
</instance_attributes>
mgmtd[29953]: 2006/10/12_11:40:34 info: login to cib: 1, ret:-10
crmd[29952]: 2006/10/12_11:40:34 WARN: do_cib_control:cib.c Couldn't
complete CIB registration 1 times... pause and retry
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</primitive>
crmd[29952]: 2006/10/12_11:40:35 info: init_start:main.c Starting
crmd's mainloop
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<primitive class="lsb" id="httpd_2" provider="heartbeat"
type="httpd">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<operations>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<op id="httpd_2_mon" interval="120s" name="monitor"
timeout="60s"/>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</operations>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</primitive>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk] </group>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<group id="group_11">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<primitive class="ocf" id="IPaddr_10.11.8.46" provider="heartbeat"
type="IPaddr">cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile:
[on-disk] <operations>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<op id="IPaddr_10.11.8.46_mon" interval="5s" name="monitor"
timeout="5s"/>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</operations>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<instance_attributes id="IPaddr_10.11.8.46_inst_attr">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<attributes>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<nvpair id="IPaddr_10.11.8.46_attr_0" name="ip"
value="10.11.8.46"/>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</attributes>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</instance_attributes>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</primitive>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<primitive class="lsb" id="httpd_12" provider="heartbeat"
type="httpd">
crmd[29952]: 2006/10/12_11:40:35 info: crm_timer_popped:utils.c Wait
Timer (I_NULL) just popped!
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<operations>
crmd[29952]: 2006/10/12_11:40:35 WARN: cib_native_signon:cib_native.c
Connection to CIB failed: connection failed
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<op id="httpd_12_mon" interval="120s" name="monitor"
timeout="60s"/>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</operations>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</primitive>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk] </group>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk] </resources>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<constraints>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<rsc_location id="rsc_location_group_1" rsc="group_1">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<rule id="prefered_location_group_1" score="100">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<expression attribute="#uname" id="prefered_location_group_1_expr"
operation="eq" value="zhang.example.com"/>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk] </rule>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
</rsc_location>
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<rsc_location id="rsc_location_group_11" rsc="group_11">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<rule id="prefered_location_group_11" score="100">
cib[29948]: 2006/10/12_11:40:35 info: readCibXmlFile: [on-disk]
<expression attribute="#uname" id="prefered_location_group_11_expr"
operation="eq" value="zhang.example.com"/>
mgmtd[29953]: 2006/10/12_11:40:35 info: login to cib: 2, ret:-10
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk] </rule>
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk]
</rsc_location>
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk]
</constraints>
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk]
</configuration>
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk] <status/>
cib[29948]: 2006/10/12_11:40:36 info: readCibXmlFile: [on-disk] </cib>
cib[29948]: 2006/10/12_11:40:36 info: activateCibXml:io.c CIB size is
61604 bytes (was 0)
cib[29948]: 2006/10/12_11:40:36 info: startCib:main.c CIB
Initialization completed successfully
cib[29948]: 2006/10/12_11:40:36 info: init_start:main.c Starting cib mainloop
cib[29954]: 2006/10/12_11:40:36 WARN: validate_cib_digest:io.c No
on-disk digest present
cib[29954]: 2006/10/12_11:40:36 info: write_cib_contents:io.c Wrote
version 0.0.0 of the CIB to disk (digest:
150627fcad31a84af5a10d783871c6a7)
crmd[29952]: 2006/10/12_11:40:36 info: do_cib_control:cib.c CIB
connection established
cib[29948]: 2006/10/12_11:40:36 info: cib_null_callback:callbacks.c
Setting cib_refresh_notify callbacks for crmd: on
crmd[29952]: 2006/10/12_11:40:36 info: register_with_ha:control.c
Hostname: zhang.example.com
cib[29948]: 2006/10/12_11:40:36 info:
cib_client_status_callback:callbacks.c Status update: Client
zhang.example.com/cib now has status [join]
cib[29948]: 2006/10/12_11:40:36 info:
cib_client_status_callback:callbacks.c Status update: Client
zhang.example.com/cib now has status [online]
crmd[29952]: 2006/10/12_11:40:36 info: register_with_ha:control.c
UUID: 32a354e6-3b36-4933-bc3d-dee466b87792
cib[29948]: 2006/10/12_11:40:36 info: cib_null_callback:callbacks.c
Setting cib_diff_notify callbacks for mgmtd: on
cib[29948]: 2006/10/12_11:40:37 info:
cib_client_status_callback:callbacks.c Status update: Client
quan.example.com/cib now has status [online]
cib[29948]: 2006/10/12_11:40:37 info: mem_handle_event: Got an event
OC_EV_MS_NEW_MEMBERSHIP from ccm
cib[29948]: 2006/10/12_11:40:37 info: mem_handle_event: instance=20,
nodes=2, new=2, lost=0, n_idx=0, new_idx=0, old_idx=4
cib[29948]: 2006/10/12_11:40:37 info: cib_ccm_msg_callback:callbacks.c
PEER: quan.example.com
cib[29948]: 2006/10/12_11:40:37 info: cib_ccm_msg_callback:callbacks.c
PEER: zhang.example.com
crmd[29952]: 2006/10/12_11:40:37 info: populate_cib_nodes:control.c
Requesting the list of configured nodes
mgmtd[29953]: 2006/10/12_11:40:37 info: Started.
crmd[29952]: 2006/10/12_11:40:38 notice: populate_cib_nodes:control.c
Node: quan.example.com (uuid: 2b6e1dc8-aa6e-494d-b68b-c7a0cf8d1a38)
crmd[29952]: 2006/10/12_11:40:38 notice: populate_cib_nodes:control.c
Node: zhang.example.com (uuid: 32a354e6-3b36-4933-bc3d-dee466b87792)
crmd[29952]: 2006/10/12_11:40:38 info: do_ha_control:control.c
Connected to Heartbeat
crmd[29952]: 2006/10/12_11:40:38 info: do_ccm_control:ccm.c CCM
connection established... waiting for first callback
crmd[29952]: 2006/10/12_11:40:38 info: do_started:control.c Delaying
start, CCM (0000000000100000) not connected
crmd[29952]: 2006/10/12_11:40:38 notice:
crmd_client_status_callback:callbacks.c Status update: Client
zhang.example.com/crmd now has status [online]
crmd[29952]: 2006/10/12_11:40:38 info:
crmd_client_status_callback:callbacks.c Uncaching UUID for
zhang.example.com
cib[29948]: 2006/10/12_11:40:38 info: activateCibXml:io.c CIB size is
64604 bytes (was 61812)
cib[29948]: 2006/10/12_11:40:38 info: cib_diff_notify:notify.c
Local-only Change (client:29952, call: 3): 0.0.0 (ok)
cib[29955]: 2006/10/12_11:40:38 info: write_cib_contents:io.c Wrote
version 0.0.0 of the CIB to disk (digest:
38a44f7bf6d01e4aec043130ff203b28)
crmd[29952]: 2006/10/12_11:40:38 notice:
crmd_client_status_callback:callbacks.c Status update: Client
zhang.example.com/crmd now has status [online]
crmd[29952]: 2006/10/12_11:40:38 info:
crmd_client_status_callback:callbacks.c Uncaching UUID for
zhang.example.com
cib[29948]: 2006/10/12_11:40:38 info: activateCibXml:io.c CIB size is
66208 bytes (was 64604)
cib[29948]: 2006/10/12_11:40:38 info: cib_diff_notify:notify.c
Local-only Change (client:29952, call: 5): 0.0.0 (ok)
cib[29956]: 2006/10/12_11:40:38 info: write_cib_contents:io.c Wrote
version 0.0.0 of the CIB to disk (digest:
38a44f7bf6d01e4aec043130ff203b28)
crmd[29952]: 2006/10/12_11:40:39 notice:
crmd_client_status_callback:callbacks.c Status update: Client
quan.example.com/crmd now has status [online]
crmd[29952]: 2006/10/12_11:40:39 info:
crmd_client_status_callback:callbacks.c Uncaching UUID for
quan.example.com
cib[29957]: 2006/10/12_11:40:39 info: write_cib_contents:io.c Wrote
version 0.0.0 of the CIB to disk (digest:
c1aca8ddc74a082dd94834f35e172b46)
crmd[29952]: 2006/10/12_11:40:39 info: mem_handle_event: Got an event
OC_EV_MS_NEW_MEMBERSHIP from ccm
crmd[29952]: 2006/10/12_11:40:39 info: mem_handle_event: instance=20,
nodes=2, new=2, lost=0, n_idx=0, new_idx=0, old_idx=4
crmd[29952]: 2006/10/12_11:40:39 info:
crmd_ccm_msg_callback:callbacks.c Quorum (re)attained after event=NEW
MEMBERSHIP (id=20)
crmd[29952]: 2006/10/12_11:40:39 info: ccm_event_detail:ccm.c NEW
MEMBERSHIP: trans=20, nodes=2, new=2, lost=0 n_idx=0, new_idx=0,
old_idx=4
crmd[29952]: 2006/10/12_11:40:39 info: ccm_event_detail:ccm.c
CURRENT: quan.example.com [nodeid=0, born=2]
crmd[29952]: 2006/10/12_11:40:39 info: ccm_event_detail:ccm.c
CURRENT: zhang.example.com [nodeid=1, born=20]
crmd[29952]: 2006/10/12_11:40:39 info: ccm_event_detail:ccm.c NEW:
quan.example.com [nodeid=0, born=2]
crmd[29952]: 2006/10/12_11:40:39 info: ccm_event_detail:ccm.c NEW:
zhang.example.com [nodeid=1, born=20]
crmd[29952]: 2006/10/12_11:40:39 info: do_started:control.c Delaying
start, Config not read (0000000000000040)
crmd[29952]: 2006/10/12_11:40:39 info: do_started:control.c The local
CRM is operational
crmd[29952]: 2006/10/12_11:40:39 info: do_state_transition:fsa.c
zhang.example.com: State transition S_STARTING -> S_PENDING [
input=I_PENDING cause=C_FSA_INTERNAL origin=do_started ]
crmd[29952]: 2006/10/12_11:40:39 info: update_dc:utils.c Set DC to
<null> (<null>)
cib[29948]: 2006/10/12_11:40:39 info: activateCibXml:io.c CIB size is
67708 bytes (was 66208)
cib[29948]: 2006/10/12_11:40:39 info: cib_diff_notify:notify.c
Local-only Change (client:29952, call: 7): 0.0.0 (ok)
cib[29948]: 2006/10/12_11:40:39 info: activateCibXml:io.c CIB size is
67916 bytes (was 67708)
cib[29948]: 2006/10/12_11:40:39 info: cib_diff_notify:notify.c
Local-only Change (client:29952, call: 8): 0.0.0 (ok)
cib[29958]: 2006/10/12_11:40:39 info: write_cib_contents:io.c Wrote
version 0.0.0 of the CIB to disk (digest:
c1aca8ddc74a082dd94834f35e172b46)
crmd[29952]: 2006/10/12_11:40:41 info: update_dc:utils.c Set DC to
quan.example.com (1.0.6)
crmd[29952]: 2006/10/12_11:40:42 info: update_dc:utils.c Set DC to
quan.example.com (1.0.6)
crmd[29952]: 2006/10/12_11:40:42 info: do_state_transition:fsa.c
zhang.example.com: State transition S_PENDING -> S_NOT_DC [
input=I_NOT_DC cause=C_HA_MESSAGE origin=do_cl_join_finalize_respond ]
cib[29948]: 2006/10/12_11:40:42 info: revision_check:messages.c
Updating CIB revision to 1.3
cib[29948]: 2006/10/12_11:40:42 info: cib_replace_notify:notify.c
Replaced: 0.0.0 -> 0.9.151 from (null)
crmd[29952]: 2006/10/12_11:40:42 info: populate_cib_nodes:control.c
Requesting the list of configured nodes
cib[29948]: 2006/10/12_11:40:42 info: activateCibXml:io.c CIB size is
104104 bytes (was 68020)
cib[29948]: 2006/10/12_11:40:42 info: cib_diff_notify:notify.c Update
(client: 24516, call:165): 0.0.0 -> 0.9.151 (ok)
cib[29948]: 2006/10/12_11:40:42 info: cib_diff_notify:notify.c Update
(client: 24516, call:166): 0.9.151 -> 0.9.152 (ok)
cib[29948]: 2006/10/12_11:40:42 info: cib_diff_notify:notify.c Update
(client: 24516, call:167): 0.9.152 -> 0.10.153 (ok)
cib[29948]: 2006/10/12_11:40:42 info: cib_diff_notify:notify.c Update
(client: 24516, call:168): 0.10.153 -> 0.10.154 (ok)
cib[29948]: 2006/10/12_11:40:42 info: cib_diff_notify:notify.c Update
(client: 24516, call:169): 0.10.154 -> 0.10.155 (ok)
cib[29965]: 2006/10/12_11:40:42 info: write_cib_contents:io.c Wrote
version 0.10.155 of the CIB to disk (digest:
7f896fa71d883bd7ff9c3e707120d889)
crmd[29952]: 2006/10/12_11:40:42 notice: populate_cib_nodes:control.c
Node: quan.example.com (uuid: 2b6e1dc8-aa6e-494d-b68b-c7a0cf8d1a38)
crmd[29952]: 2006/10/12_11:40:43 notice: populate_cib_nodes:control.c
Node: zhang.example.com (uuid: 32a354e6-3b36-4933-bc3d-dee466b87792)
cib[29948]: 2006/10/12_11:40:43 info: cib_diff_notify:notify.c Update
(client: 24516, call:170): 0.10.155 -> 0.10.156 (ok)
cib[29948]: 2006/10/12_11:40:43 info: activateCibXml:io.c CIB size is
82696 bytes (was 104104)
cib[29948]: 2006/10/12_11:40:43 info: cib_diff_notify:notify.c Update
(client: 24516, call:171): 0.10.156 -> 0.10.157 (ok)
cib[29948]: 2006/10/12_11:40:43 info: activateCibXml:io.c CIB size is
82800 bytes (was 82696)
cib[29966]: 2006/10/12_11:40:43 info: write_cib_contents:io.c Wrote
version 0.10.157 of the CIB to disk (digest:
d5311f8a66f35188335f8d95b0d6b77e)
attrd[29951]: 2006/10/12_11:40:43 info: main:attrd.c Starting mainloop...
crmd[29952]: 2006/10/12_11:40:44 info: do_lrm_rsc_op:lrm.c Performing
op monitor on IPaddr_10.11.8.45 (interval=0ms,
key=22:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
crmd[29952]: 2006/10/12_11:40:44 info: do_lrm_rsc_op:lrm.c Performing
op monitor on httpd_2 (interval=0ms,
key=22:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
crmd[29952]: 2006/10/12_11:40:44 info: process_lrm_event:lrm.c LRM
operation (3) monitor_0 on httpd_2 Error: (7) not running
crmd[29952]: 2006/10/12_11:40:44 info: process_lrm_event:lrm.c LRM
operation (2) monitor_0 on IPaddr_10.11.8.45 Error: (7) not running
cib[29948]: 2006/10/12_11:40:45 info: activateCibXml:io.c CIB size is
86560 bytes (was 82800)
cib[29948]: 2006/10/12_11:40:45 info: cib_diff_notify:notify.c Update
(client: 29952, call:13): 0.10.157 -> 0.10.158 (ok)
cib[29948]: 2006/10/12_11:40:45 info: activateCibXml:io.c CIB size is
90320 bytes (was 86560)
cib[29948]: 2006/10/12_11:40:45 info: cib_diff_notify:notify.c Update
(client: 29952, call:14): 0.10.158 -> 0.10.159 (ok)
cib[29948]: 2006/10/12_11:40:45 info: activateCibXml:io.c CIB size is
90112 bytes (was 90320)
cib[29948]: 2006/10/12_11:40:45 info: cib_diff_notify:notify.c Update
(client: 24516, call:173): 0.10.159 -> 0.10.160 (ok)
cib[29982]: 2006/10/12_11:40:45 info: write_cib_contents:io.c Wrote
version 0.10.160 of the CIB to disk (digest:
73839fb2e602efd115f319791c017ac1)
crmd[29952]: 2006/10/12_11:40:45 info: do_lrm_rsc_op:lrm.c Performing
op start on IPaddr_10.11.8.45 (interval=0ms,
key=22:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
cib[29948]: 2006/10/12_11:40:45 info: activateCibXml:io.c CIB size is
90008 bytes (was 90112)
cib[29948]: 2006/10/12_11:40:45 info: cib_diff_notify:notify.c Update
(client: 24516, call:174): 0.10.160 -> 0.10.161 (ok)
cib[29948]: 2006/10/12_11:40:45 info: activateCibXml:io.c CIB size is
94832 bytes (was 90008)
cib[29948]: 2006/10/12_11:40:45 info: cib_diff_notify:notify.c Update
(client: 29952, call:15): 0.10.161 -> 0.10.162 (ok)
cib[30011]: 2006/10/12_11:40:45 info: write_cib_contents:io.c Wrote
version 0.10.162 of the CIB to disk (digest:
b44669788d09aee941382abf51676456)
IPaddr[29983]: 2006/10/12_11:40:45 INFO: eval /sbin/ifconfig eth0:0
10.11.8.45 netmask 255.255.255.240 broadcast 10.11.8.40
IPaddr[29983]: 2006/10/12_11:40:45 INFO: Sending Gratuitous Arp for
10.11.8.45 on eth0:0 [eth0]
IPaddr[29983]: 2006/10/12_11:40:45 INFO: /usr/lib/heartbeat/send_arp
-i 500 -r 10 -p /var/run/heartbeat/rsctmp/send_arp/send_arp-10.11.8.45
eth0 10.11.8.45 auto 10.11.8.45 ffffffffffff
crmd[29952]: 2006/10/12_11:40:45 info: process_lrm_event:lrm.c LRM
operation (4) start_0 on IPaddr_10.11.8.45 complete
cib[29948]: 2006/10/12_11:40:47 info: activateCibXml:io.c CIB size is
97124 bytes (was 94832)
cib[29948]: 2006/10/12_11:40:47 info: cib_diff_notify:notify.c Update
(client: 29952, call:16): 0.10.162 -> 0.10.163 (ok)
cib[30055]: 2006/10/12_11:40:47 info: write_cib_contents:io.c Wrote
version 0.10.163 of the CIB to disk (digest:
4616e2cdfc2e9a9c8217ca57112b95e7)
crmd[29952]: 2006/10/12_11:40:47 info: do_lrm_rsc_op:lrm.c Performing
op monitor on IPaddr_10.11.8.45 (interval=5000ms,
key=23:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
crmd[29952]: 2006/10/12_11:40:47 info: do_lrm_rsc_op:lrm.c Performing
op start on httpd_2 (interval=0ms,
key=23:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
lrmd[30057]: 2006/10/12_11:40:47 WARN: For LSB init script, no
additional parameters are needed.
lrmd[29949]: 2006/10/12_11:40:47 info: RA output:
(httpd_2:start:stdout) Starting httpd:
crmd[29952]: 2006/10/12_11:40:47 info: process_lrm_event:lrm.c LRM
operation (5) monitor_5000 on IPaddr_10.11.8.45 complete
lrmd[29949]: 2006/10/12_11:40:48 info: RA output:
(httpd_2:start:stdout) [ OK ]
crmd[29952]: 2006/10/12_11:40:48 info: process_lrm_event:lrm.c LRM
operation (6) start_0 on httpd_2 complete
crmd[29952]: 2006/10/12_11:40:48 info: do_lrm_rsc_op:lrm.c Performing
op monitor on httpd_2 (interval=120000ms,
key=23:68cd601c-7638-49a1-9f16-c3f7dbf931d3)
cib[29948]: 2006/10/12_11:40:48 info: activateCibXml:io.c CIB size is
99448 bytes (was 97124)
cib[29948]: 2006/10/12_11:40:48 info: cib_diff_notify:notify.c Update
(client: 29952, call:17): 0.10.163 -> 0.10.164 (ok)
lrmd[29949]: 2006/10/12_11:40:48 ERROR: RA lsb:httpd_2:monitor
(process 30082) failed to redirect stdout for its background child
(daemon) processes. This will likely cause those processes to die
mysteriously at some later time (terminated by signal SIGPIPE).
crmd[29952]: 2006/10/12_11:40:48 info: process_lrm_event:lrm.c LRM
operation (7) monitor_120000 on httpd_2 complete
cib[29948]: 2006/10/12_11:40:48 info: activateCibXml:io.c CIB size is
101740 bytes (was 99448)
cib[29948]: 2006/10/12_11:40:48 info: cib_diff_notify:notify.c Update
(client: 29952, call:18): 0.10.164 -> 0.10.165 (ok)
cib[30087]: 2006/10/12_11:40:48 info: write_cib_contents:io.c Wrote
version 0.10.165 of the CIB to disk (digest:
96cea14ac55ebbdcf234dc7d88a893ec)
cib[29948]: 2006/10/12_11:40:50 info: activateCibXml:io.c CIB size is
104032 bytes (was 101740)
cib[29948]: 2006/10/12_11:40:50 info: cib_diff_notify:notify.c Update
(client: 29952, call:19): 0.10.165 -> 0.10.166 (ok)
cib[30109]: 2006/10/12_11:40:50 info: write_cib_contents:io.c Wrote
version 0.10.166 of the CIB to disk (digest:
43c2d6c80cc1477df8864e7a007180fd)
lrmd[29949]: 2006/10/12_11:42:48 ERROR: RA lsb:httpd_2:monitor
(process 31582) failed to redirect stdout for its background child
(daemon) processes. This will likely cause those processes to die
mysteriously at some later time (terminated by signal SIGPIPE).
lrmd[29949]: 2006/10/12_11:44:48 ERROR: RA lsb:httpd_2:monitor
(process 604) failed to redirect stdout for its background child
(daemon) processes. This will likely cause those processes to die
mysteriously at some later time (terminated by signal SIGPIPE).
Dan
More information about the Linux-HA
mailing list