How to do maintenance on one node of a two node proxmox cluster?

Nov 23, 2019
5
0
1
35
We have a two-node proxmox cluster and we need to shutdown one of the nodes for maintenance. This node happens to also be the node configured in the totem section of the corosync.conf file. How would we go about doing this safely so that we do not disrupt vm's on the other node?

Code:
logging {
  debug: off
  to_syslog: yes
}

nodelist {
  node {
    name: bso01
    nodeid: 2
    quorum_votes: 1
    ring0_addr: x.x.x.181
  }
  node {
    name: bso02
    nodeid: 1
    quorum_votes: 1
    ring0_addr: x.x.x.183
  }
}

quorum {
  provider: corosync_votequorum
}

totem {
  cluster_name: docdcpve
  config_version: 2
  interface {
    bindnetaddr: x.x.x.183
    ringnumber: 0
  }
  ip_version: ipv4
  secauth: on
  version: 2
}
 
You can shut it down without a problem. The VMs on the other node will keep running. Since you will not have quorum though, you will not be able to do any actions on the remaining node like starting or creating a VM.

For this we recommend to set up the so called QDevice mechanism which needs a small service running on a third computer outside the cluster and provides a third vote. This way, even with one node down, you can still maintain quorum. See the documentation on how to set it up. https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_corosync_external_vote_support
 

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!