Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox High Availability

You're reading from   Proxmox High Availability Discover how to introduce, design, and implement high availability clusters for your business without hassle

Arrow left icon
Product type Paperback
Published in Oct 2014
Publisher
ISBN-13 9781783980888
Length 258 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
CHENG MAN CHENG MAN
Author Profile Icon CHENG MAN
CHENG MAN
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Basic Concepts of a Proxmox Virtual Environment FREE CHAPTER 2. Getting Started with a High Availability (HA) Environment 3. Key Components for Building a Proxmox VE Cluster 4. Configuring a Proxmox VE Cluster 5. Testing on a Proxmox Cluster 6. System Migration of an Existing System to a Proxmox VE Cluster 7. Disaster Recovery on a Proxmox VE Cluster 8. Troubleshooting on a Proxmox Cluster Index

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 an HA-protected VM.

What if we need to relocate the HA service from one node to another? We use the following command:

root@vmsrv01# clusvcadm -r pvevm:<VMID> <proxmox_node>

Testing the OpenVZ container relocation

In the previous chapter...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image