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

Member nodes


Located under /etc/pve/.members, the member node file shows all the member nodes that are a part of the Proxmox cluster. It is a great way to see the cluster status, when the Proxmox GUI becomes inaccessible for any reason. The following is the .members file in our basic cluster:

{
  "nodename": "pmxvm01",
  "version": 9,
  "cluster": { "name": "pmx-cluster", "version": 2, "nodes": 2, "quorate": 1 },
  "nodelist": {
    "pmxvm01": { "id": 1, "online": 1, "ip": "192.168.145.1"},
    "pmxvm02": { "id": 2, "online": 1, "ip": "192.168.145.2"}
  }
}

The .members file

The content of a .members file is as follows:

"nodename": "pmxvm01"

The previous code section shows the current node where the .members file is being accessed.

"version": 9

The .members file has its own version numbering system. Like the .version file, every time .members is changed, the version increases. For example, when a node is added or removed from the cluster, the version number moves upward.

"cluster": { "name": "pmx...