Can't Migrate VM from a HA

yves1984

New Member
May 29, 2013
19
0
1
hello

I've got some problem with my Proxmox cluster.

1. /etc/default/redhat-cluster-pve (Fence_join is enable) but after reboot i must manual fence_tool join again.....
- How can i fix it that he automatic join to the fence again?

2. a VM how is in the HA i can't migrate to another Node. But when I remove it from HA (cluster.conf) i can migrate this VM.
and also i can't reboot a VM from a HA. the error is this one:
Executing HA start for VM 100
Member pox-ti-005 trying to enable pvevm:100...Could not connect to resource group manager
TASK ERROR: command 'clusvcadm -e pvevm:100 -m pox-ti-005' failed: exit code 1

If u need my cluster.conf here is it:
<?xml version="1.0"?>
<cluster config_version="43" name="LIN-CLUPOX-002">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="10.3.1.154" lanplus="1" login="Administrator" name="pox-ti-004" passwd="12345678" power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.3.1.155" lanplus="1" login="Administrator" name="pox-ti-005" passwd="12345678" power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.3.1.156" lanplus="1" login="Administrator" name="pox-ti-006" passwd="12345678" power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternode name="pox-ti-004" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="pox-ti-004"/>
</method>
</fence>
</clusternode>
<clusternode name="pox-ti-005" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="pox-ti-005"/>
</method>
</fence>
</clusternode>
<clusternode name="pox-ti-006" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="pox-ti-006"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<service autostart="1" exclusive="0" name="service" recovery="relocate"/>
<pvevm autostart="1" vmid="100"/>
</rm>
</cluster>

thx for your help
What I've done:
- install the cluster
- config the fence and can fence a node with *fence_node nodename -vv*
- Add the sharedStorage
- Install a VM and make it to HA

EDIT: i see wen i start the rgmanager it will be work.
But why does the rgmanager and the fence_tool not automatic start at reboot?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!