Libro sobre Proxmox maestria
Proxmox Under the Hood
Proxmox is a cluster-based hypervisor. It is meant to be used with several server nodes. By using multiple nodes in a cluster, we provide redundancy or High Availability to the platform while increasing uptime. A production virtual environment may have several dozens to several hundreds of nodes in a cluster. As an administrator, it may not be a realistic scenario to change configuration files in the cluster one node at a time. Depending on the number of nodes in a cluster, it may take several hours just to change one small argument in a configuration file of all the nodes. An administrator would have to go from node to node to apply these changes. To alleviate wastage of precious time, Proxmox implemented the clustered filesystem to keep all the configuration files, or any other common files shared by all the nodes in the cluster, in a synchronous state. Its official name is Proxmox Cluster file system or pmxcfs, which is a database-driven filesystem to store configuration files. Any changes made to any files or copied/deleted in this filesystem get replicated in real time to all the nodes using Corosync. Corosync Cluster Engine is a group communication system used to implement High Availability within an application. You can learn more about Corosync by visiting the link http://corosync.github.io/corosync/.
Any file added to this filesystem almost instantly gets replicated to all the nodes in the cluster, thus saving enormous amount of time for a system administrator.
The pmxcfs filesystem is mounted at:
The pmxcfs filesystem is database-driven and is used to store the Proxmox cluster configuration files or any other files commonly shared by all the nodes in the Proxmox cluster. To know more about pmxcfs, please visit Proxmox Wiki at http://pve.proxmox.com/wiki/ Proxmox_Cluster_file_system_(pmxcfs).
All cluster-related files are stored in this folder path. Now, let us take a look at the folder tree, which shows the location of the files stored and their function:
Proxmox VE datacentre configuration file. Used to change options, such as default language, keyboard layout, default console, and so on. Cluster main configuration file. Can also be used to change the vote of a particular node.