Network failed in cluster

kaltsi

Active Member
Mar 22, 2013
71
11
28
http://goo.gl/maps/d9tFg
This is my first proxmox cluster. I looking for the best system for my company.

A built a 3 nodes cluster. Make few VM and add to HA.
The 2th node network cable unplugged.

Where can I confuguration in this situation that, all vm migrate to the other nodes which was runing the 2th node?

thx
 
You can define failover domains (see 'man rgmanager')

Thank you for your prompt reply

Code:
  <rm>
    <failoverdomains>
        <failoverdomain name="appvirt-migrate" nofailback="0" ordered="1" restricted="0">
            <failoverdomainnode name="appvirt-01" priority="10"/>
            <failoverdomainnode name="appvirt-02" priority="20"/>
            <failoverdomainnode name="appvirt-03" priority="30"/>
        </failoverdomain>
    </failoverdomains>
    <pvevm autostart="1" vmid="100" domain="appvirt-migrate"/>
  </rm>
</cluster>

Must use "domain" variable in the "pvevm" tag or not necessary?
 
Some mistake in setting.

When the node stops, will be not available the vm. (Error Connection error 595: No route to host)
But the VM not migrated to another node.
If this node is available again, migrating the vm.

Which part I make a mistake?

Here is the complete cluster file:
Code:
<?xml version="1.0"?>
<cluster config_version="8" name="appvirt-cluster">
  <cman expected_votes="3" keyfile="/var/lib/pve-cluster/corosync.authkey"/>
  <quorumd allow_kill="0" interval="3" label="proxmox_qdisk" tko="10">
    <heuristic interval="3" program="ping 10.1.11.150 -c1 -w1" score="1" tko="4"/>
  </quorumd>
  <totem token="54000"/>
  <clusternodes>
    <clusternode name="appvirt-01" nodeid="1" votes="1"/>
    <clusternode name="appvirt-02" nodeid="2" votes="1"/>
    <clusternode name="appvirt-03" nodeid="3" votes="1"/>
  </clusternodes>
  <rm>
    <failoverdomains>
        <failoverdomain name="appvirt-migrate" nofailback="0" ordered="1" restricted="0">
            <failoverdomainnode name="appvirt-01" priority="10"/>
            <failoverdomainnode name="appvirt-02" priority="20"/>
            <failoverdomainnode name="appvirt-03" priority="30"/>
        </failoverdomain>
    </failoverdomains>
    <pvevm autostart="1" vmid="100" domain="appvirt-migrate" />
  </rm>
</cluster>
 
your see a minor bug here. as long as the server view is green, everything is ok.
 

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!