Hi!
There is a problem with the configuration of the HA cluster.
On Boot:
cluster.conf
RGManager Start
syslog
/var/log/cluster/fence_na.log
apparently the error in this. But the manual does not say anything about fencing na
fenced.log
clustat
cman_tool status
pveversion -v
Maybe I made a mistake in configuring?
Fence works
DRDB works
There is a problem with the configuration of the HA cluster.
On Boot:
cluster.conf
Code:
<?xml version="1.0"?>
<cluster config_version="34" name="cluster">
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="192.168.0.120" login="LOGIN" name="ipmi0" passwd="PASS"/>
<fencedevice agent="fence_ipmilan" ipaddr="192.168.0.121" login="LOGIN" name="ipmi1" passwd="PASS"/>
</fencedevices>
<clusternodes>
<clusternode name="node-0" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="reboot" name="ipmi0"/>
</method>
</fence>
</clusternode>
<clusternode name="node-1" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="reboot" name="ipmi1"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="114"/>
</rm>
</cluster>
RGManager Start
Code:
Starting Cluster Service Manager: [FAILED]
TASK ERROR: command '/etc/init.d/rgmanager start' failed: exit code 1
syslog
Code:
Mar 7 15:56:29 node-0 pvedaemon[1952]: <root@pam> starting task UPID:node-0:00000896:00008F53:4F574CED:srvstart:rgmanager:root@pam:
Mar 7 15:56:29 node-0 pvedaemon[2198]: starting service rgmanager: UPID:node-0:00000896:00008F53:4F574CED:srvstart:rgmanager:root@pam:
Mar 7 15:56:29 node-0 kernel: dlm: Using TCP for communications
Mar 7 15:56:29 node-0 dlm_controld[1833]: dlm_join_lockspace no fence domain
Mar 7 15:56:29 node-0 dlm_controld[1833]: process_uevent online@ error -1 errno 2
Mar 7 15:56:29 node-0 kernel: dlm: rgmanager: group join failed -1 -1
Mar 7 15:56:29 node-0 pvedaemon[2198]: command '/etc/init.d/rgmanager start' failed: exit code 1
Mar 7 15:56:29 node-0 pvedaemon[1952]: <root@pam> end task UPID:node-0:00000896:00008F53:4F574CED:srvstart:rgmanager:root@pam: command '/etc/init.d/rgmanager start' failed: exit code 1
/var/log/cluster/fence_na.log
Code:
Node Assassin: . [].
TCP Port: ...... [238].
Node: .......... [00].
Login: ......... [].
Password: ...... [].
Action: ........ [metadata].
Version Request: [no].
Done reading args.
Connection to Node Assassin: [] failed.
Error was: [unknown remote host: ]
Username and/or password invalid. Did you use the command line switches properly?
fenced.log
Code:
Mar 07 15:50:38 fenced fenced 1324544458 started
clustat
Code:
Cluster Status for cluster @ Wed Mar 7 16:50:32 2012
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
node-0 1 Online, Local
node-1 2 Online
cman_tool status
Code:
Version: 6.2.0
Config Version: 34
Cluster Name: cluster
Cluster Id: 13364
Cluster Member: Yes
Cluster Generation: 360
Membership state: Cluster-Member
Nodes: 2
Expected votes: 1
Total votes: 2
Node votes: 1
Quorum: 1
Active subsystems: 5
Flags: 2node
Ports Bound: 0
Node name: node-0
Node ID: 1
Multicast addresses: 239.192.52.104
Node addresses: 192.168.0.10
Code:
pve-manager: 2.0-38 (pve-manager/2.0/af81df02)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-23
qemu-server: 2.0-25
pve-firmware: 1.0-15
libpve-common-perl: 1.0-17
libpve-access-control: 1.0-17
libpve-storage-perl: 2.0-12
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-5
ksm-control-daemon: 1.1-1
Fence works
DRDB works
Last edited: