Hi All,
I am have 3 dell servers(pvnode1,pvnode2,pvnode3), and having NFS share for 50GB, i am trying to create HA between these 3nodes. i am creating vmhost on pvnode2 and pvnode3, when i am creating vmguest on these nodes i will only start on pvnode2 not in pvnode3.
i am trying to move the vmguest to pvnode3 i am getting below error on we interface.
--------------------------
Executing HA migrate for VM 101 to node pvnode3
Trying to migrate pvevm:101 to pvnode3...Failure
TASK ERROR: command 'clusvcadm -M pvevm:101 -m pvnode3' failed: exit code 255
----------------------------
below is my cluster.conf
<?xml version="1.0"?>
<cluster config_version="10" name="test">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.1" login="admin" name="node1-drac" passwd="XXXX" secure="1"/>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.2" login="admin" name="node2-drac" passwd="XXXX" secure="1"/>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.3" login="admin" name="node3-drac" passwd="XXXX" secure="1"/>
</fencedevices>
<clusternodes>
<clusternode name="pvnode1" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="node1-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="pvnode2" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="node2-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="pvnode3" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="node3-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="100"/>
<pvevm autostart="1" vmid="101"/>
</rm>
</cluster>
is that i need to configure any failover domain, if need please let me how config it in proxmox...
My clustat output.
root@pvnode2:~# clustat
Cluster Status for testpv @ Thu Jul 11 17:47:30 2013
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
pvnode2 1 Online, Local, rgmanager
pvnode3 2 Online, rgmanager
pvnode1 3 Online, rgmanager
Service Name Owner (Last) State
------- ---- ----- ------ -----
pvevm:100 pvnode2 started
pvevm:101 pvnode2 started
--------------------corosync.log
Jul 10 18:32:43 corosync [CLM ] CLM CONFIGURATION CHANGE
Jul 10 18:32:43 corosync [CLM ] New Configuration:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.7)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.229)
Jul 10 18:32:43 corosync [CLM ] Members Left:
Jul 10 18:32:43 corosync [CLM ] Members Joined:
Jul 10 18:32:43 corosync [CLM ] CLM CONFIGURATION CHANGE
Jul 10 18:32:43 corosync [CLM ] New Configuration:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.4)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.7)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.229)
Jul 10 18:32:43 corosync [CLM ] Members Left:
Jul 10 18:32:43 corosync [CLM ] Members Joined:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.4)
Jul 10 18:32:43 corosync [TOTEM ] A processor joined or left the membership and a new membership was formed.
Jul 10 18:32:43 corosync [QUORUM] Members[3]: 1 2 3
Jul 10 18:32:43 corosync [QUORUM] Members[3]: 1 2 3
Jul 10 18:32:44 corosync [CPG ] chosen downlist: sender r(0) ip(10.0.0.229) ; members(old:2 left:0)
Jul 10 18:32:44 corosync [MAIN ] Completed service synchronization, ready to provide service.
Jul 10 18:35:08 corosync [QUORUM] Members[3]: 1 2 3
Jul 11 08:54:29 corosync [TOTEM ] Retransmit List: 10cf1
Jul 11 08:54:29 corosync [TOTEM ] Retransmit List: 10cf2
--------rgmanager log
Jul 11 16:00:24 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:25 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:26 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:27 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:28 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:28 rgmanager Service pvevm:101 is stopped
Jul 11 16:00:32 rgmanager #70: Failed to relocate pvevm:101; restarting locally
Jul 11 16:00:32 rgmanager Recovering failed service pvevm:101
Jul 11 16:00:32 rgmanager [pvevm] Move config for VM 101 to local node
Jul 11 16:00:33 rgmanager Service pvevm:101 started
i have provided only error reported log not all the sucess logs
expecting you valuable time for this issue help...
Regards,
Alagu.S
I am have 3 dell servers(pvnode1,pvnode2,pvnode3), and having NFS share for 50GB, i am trying to create HA between these 3nodes. i am creating vmhost on pvnode2 and pvnode3, when i am creating vmguest on these nodes i will only start on pvnode2 not in pvnode3.
i am trying to move the vmguest to pvnode3 i am getting below error on we interface.
--------------------------
Executing HA migrate for VM 101 to node pvnode3
Trying to migrate pvevm:101 to pvnode3...Failure
TASK ERROR: command 'clusvcadm -M pvevm:101 -m pvnode3' failed: exit code 255
----------------------------
below is my cluster.conf
<?xml version="1.0"?>
<cluster config_version="10" name="test">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.1" login="admin" name="node1-drac" passwd="XXXX" secure="1"/>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.2" login="admin" name="node2-drac" passwd="XXXX" secure="1"/>
<fencedevice agent="fence_drac5" ipaddr="10.0.1.3" login="admin" name="node3-drac" passwd="XXXX" secure="1"/>
</fencedevices>
<clusternodes>
<clusternode name="pvnode1" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="node1-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="pvnode2" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="node2-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
<clusternode name="pvnode3" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="node3-drac" nodename="node1"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1" vmid="100"/>
<pvevm autostart="1" vmid="101"/>
</rm>
</cluster>
is that i need to configure any failover domain, if need please let me how config it in proxmox...
My clustat output.
root@pvnode2:~# clustat
Cluster Status for testpv @ Thu Jul 11 17:47:30 2013
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
pvnode2 1 Online, Local, rgmanager
pvnode3 2 Online, rgmanager
pvnode1 3 Online, rgmanager
Service Name Owner (Last) State
------- ---- ----- ------ -----
pvevm:100 pvnode2 started
pvevm:101 pvnode2 started
--------------------corosync.log
Jul 10 18:32:43 corosync [CLM ] CLM CONFIGURATION CHANGE
Jul 10 18:32:43 corosync [CLM ] New Configuration:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.7)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.229)
Jul 10 18:32:43 corosync [CLM ] Members Left:
Jul 10 18:32:43 corosync [CLM ] Members Joined:
Jul 10 18:32:43 corosync [CLM ] CLM CONFIGURATION CHANGE
Jul 10 18:32:43 corosync [CLM ] New Configuration:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.4)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.7)
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.229)
Jul 10 18:32:43 corosync [CLM ] Members Left:
Jul 10 18:32:43 corosync [CLM ] Members Joined:
Jul 10 18:32:43 corosync [CLM ] r(0) ip(10.0.0.4)
Jul 10 18:32:43 corosync [TOTEM ] A processor joined or left the membership and a new membership was formed.
Jul 10 18:32:43 corosync [QUORUM] Members[3]: 1 2 3
Jul 10 18:32:43 corosync [QUORUM] Members[3]: 1 2 3
Jul 10 18:32:44 corosync [CPG ] chosen downlist: sender r(0) ip(10.0.0.229) ; members(old:2 left:0)
Jul 10 18:32:44 corosync [MAIN ] Completed service synchronization, ready to provide service.
Jul 10 18:35:08 corosync [QUORUM] Members[3]: 1 2 3
Jul 11 08:54:29 corosync [TOTEM ] Retransmit List: 10cf1
Jul 11 08:54:29 corosync [TOTEM ] Retransmit List: 10cf2
--------rgmanager log
Jul 11 16:00:24 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:25 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:26 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:27 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:28 rgmanager [pvevm] Task still active, waiting
Jul 11 16:00:28 rgmanager Service pvevm:101 is stopped
Jul 11 16:00:32 rgmanager #70: Failed to relocate pvevm:101; restarting locally
Jul 11 16:00:32 rgmanager Recovering failed service pvevm:101
Jul 11 16:00:32 rgmanager [pvevm] Move config for VM 101 to local node
Jul 11 16:00:33 rgmanager Service pvevm:101 started
i have provided only error reported log not all the sucess logs
expecting you valuable time for this issue help...
Regards,
Alagu.S