Hello,
I'm trying to create a two-node HA cluster with unicast.
Here is my cluster.conf:
I activated HA for container 102 (on fr-node-2) through GUI. After rebooting the nodes, I can't start container 102:
On both node, I can't restart rgmanager:
(It does nothing, it stays like that.)
And if I try to restart cman:
Do you have any idea?
Thanks a lot!
I'm trying to create a two-node HA cluster with unicast.
Here is my cluster.conf:
Code:
<?xml version="1.0"?><cluster config_version="23" name="fr-vpn">
<cman two_node="1" expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" transport="udpu"/>
<fencedevices>
<fencedevice agent="fence_onlinenet" ipaddr="fr-node-1" lanplus="1" login="login1" name="fence1" passwd="pass1"/>
<fencedevice agent="fence_onlinenet" ipaddr="fr-node-2" lanplus="1" login="login2" name="fence2" passwd="pass2"/>
</fencedevices>
<clusternodes>
<clusternode name="fr-node-1" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="off" name="fence1"/>
</method>
</fence>
</clusternode>
<clusternode name="fr-node-2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="off" name="fence2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="102"/>
</rm>
</cluster>
Code:
Executing HA start for CT 102
Member fr-node-2 trying to enable pvevm:102...Could not connect to resource group manager
TASK ERROR: command 'clusvcadm -e pvevm:102 -m fr-node-2' failed: exit code 1
Code:
Stopping Cluster Service Manager:
And if I try to restart cman:
Code:
root@fr-node-2:~# /etc/init.d/cman restartStopping cluster:
Leaving fence domain... found dlm lockspace /sys/kernel/dlm/rgmanager
fence_tool: cannot leave due to active systems
[FAILED]
Thanks a lot!