Book Image

Mastering Proxmox

By : Wasim Ahmed
Book Image

Mastering Proxmox

By: Wasim Ahmed

Overview of this book

Table of Contents (17 chapters)
Mastering Proxmox
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The virtual machine list file


Located under /etc/pve/.vmlist, the virtual machine list file stores a list of all the virtual machines within the Proxmox cluster. The .vmlist file uses the following format to store the list:

"<vmid>": { "node": "<nodename>", "type": "<vm_type>", "version": <int> }

We have two virtual machines and one template in our basic cluster. The following is the information stored in the .vmlist file:

{
  "version": 24,
  "ids": {
  "121": { "node": "pmxvm01", "type": "openvz", "version": 20 },
  "101": { "node": "pmxvm01", "type": "qemu", "version": 11 },
  "201": { "node": "pmxvm01", "type": "qemu", "version": 22 }}
}

Please note that a VM with ID 201 is a KVM template in our cluster. But the .vmlist file does not show any distinguishable information. One way to separate them is by assigning IDs to all the templates within a particular VM. For example, all the templates can have an assigned VM ID between 501 to 599.