Hi, I try to build a 2 node cluster with heartbeat 2.1.4-4 on Debian. No ressources and constrains configured yet.
--- /etc/ha.d/authkeys ---
auth 1
1 md5 Hello!
-------------
-- /etc/ha.d/ha.cf
logfacility local7
logfile /var/log/ha-log
debugfile /var/log/ha-debug
#use_logd on
udpport 694
keepalive 1 # 1 second
deadtime 10
initdead 80
bcast eth0
node amd64
node cs
ping 192.168.1.100
crm yes
auto_failback yes
autojoin any
-----------
The files above reside on both nodes amd64 and cs.
But on every node only the local machine shows up as node in the
cluster, they can't find each other. From the logs on amd64:
crmd[11414]: 2009/01/31_15:58:37 WARN: get_uuid: Could not calculate
UUID for cs
crmd[11414]: 2009/01/31_15:58:37 WARN: populate_cib_nodes: Node cs: no
uuid found
crmd[11414]: 2009/01/31_15:58:38 notice: populate_cib_nodes: Node: amd64
(uuid: ee86bba2-24b3-4b21-9cbd-1a0a6c75bdaa)
crmd[11414]: 2009/01/31_15:58:38 info: do_ha_control: Connected to
Heartbeatcrmd[11414]: 2009/01/31_15:58:38 info: do_ccm_control: CCM
connection establishe
d... waiting for first callback
crmd[11414]: 2009/01/31_15:58:38 info: do_started: Delaying start, CCM
(00000000
00100000) not connected
crmd[11414]: 2009/01/31_15:58:38 info: crmd_init: Starting crmd's
mainloop
crmd[11414]: 2009/01/31_15:58:38 notice: crmd_client_status_callback:
Status update: Client amd64/crmd now has status [online]
The cib.xml file looks as follows, realy only one node appears :(:
<cib generated="true" admin_epoch="0" epoch="9" num_updates="2"
have_quorum="true" ignore_dtd="false" num_peers="1" cib_feature_revision="2.0"
crm_feature_set="2.0" cib-last-written="Sat Jan 31 16:00:00 2009"
ccm_transition="1" dc_uuid="ee86bba2-24b3-4b21-9cbd-1a0a6c75bdaa">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib-bootstrap-options-dc-version"
name="dc-version" value="2.1.4-node: aa909246edb386137b986c5773344b98c6969999"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node id="ee86bba2-24b3-4b21-9cbd-1a0a6c75bdaa" uname="amd64"
type="normal"/>
</nodes>
<resources/>
<constraints/>
</configuration>
</cib>
The file has been autogenerated during the startup of heartbeat.
I tryed to add the second node with the following command:
amd64:~# /usr/lib/heartbeat/hb_addnode cs
The following shows up in the log:
heartbeat[11396]: 2009/01/31_16:07:41 info: hb_add_one_node: Adding new
node[cs] to configuration.
heartbeat[11396]: 2009/01/31_16:07:41 ERROR: hb_add_one_node: node(cs)
already exists
heartbeat[11396]: 2009/01/31_16:07:41 ERROR: Add node cs failed
Whats going wrong there? Why is'nt the node found during startup or how
can I add the node permanently to the cib.xml file? I can't use the GUI
unfortunatly so any other textbased solution would be great!
Cheers and sorry for the beinner questions,
Christian
--
Christian Schöpplein
Landeshauptstadt München
- Schul- und Kultusreferat
- ZIB [email protected]
- Netze und Servermanagement 089 / 233-43042
signature.asc
Description: Digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
