O'Reilly logo

Proxmox High Availability by Simon M.C. Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing with the cluster environment

We have gone through one of the most important features provided by a Proxmox cluster. Under HA protection, the VMs are supposed to be online until there is not enough quorum in a cluster. At this stage, I would like to test the cluster functionality first by relocating the VM from one node to another.

Testing an HA service relocation

As a starting point, we need to ensure that the VM can be started up in both the Proxmox nodes. As the VM is HA-protected, we cannot use vzctl start for OpenVZ containers and qm start for KVM machines. Instead, we use clusvcadm with the -e option in the following format:

root@vmsrv01# clusvcadm -e pvevm:<VMID>

Tip

In this command, pvevm is used as a prefix to indicate that it is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required