Dissecting the configuration files
We now know where all the important files that hold a Proxmox cluster together are placed. We will now go inside some of these files for better understanding of what they do and the command arguments they use. You can use any Linux editor to view/edit these configuration files. In this book, we will use #nano
to view and edit.
During the learning process, it will be a good idea to make a backup of the configuration files before editing them. In case something goes wrong, you will be able to replace it with the original working configuration file. Simply copy a configuration file using the following command:
# cp /etc/pve/<config_file> /home/<any_folder>
We can also use the SCP command to back up files to another node:
# scp /etc/pve/<config_file> <user>@<ip_or_hostname>:/<folder>
The cluster configuration file
The following code is what our cluster.conf
file currently looks like from the cluster we created earlier in Chapter...