Libro sobre Proxmox maestria
Chapter 6
In the previous screenshot, rm simply means resource manager. We can see that the VM 101 is now part of Proxmox HA. Any virtual machine we add in HA will show under the rm segment of cluster.conf.
We can also see the virtual machine's HA status in the Summary screen, as shown in the following screenshot:
Virtual Machine 101 ('pmxMS01') on node 'pmxvm01 Start Shutdown
Now that we have properly set up High Availability, it is time to put it to test to observe its functionality. The test is as simple as pulling the power cord out of the node and watch High Availability come into action. Also, unplug the network cable from the node to simulate a node failure. This should also power cycle the failed node and move all the virtual machines to another node.
If there are any error messages, check the error log to pinpoint the cause. Usually, the error happens due to a disabled SSH on the managed PDU. The chances of getting an error are lower if the cluster.conf.new file has been validated with the validation command.
When fencing hardware is not present, manual fencing can be used for testing or learning purposes. During the manual fencing process, the fencing agent fence _manual (http://linux.die.net/man/8/fence_manual) writes into the system log of the node indicating that the node requires fencing. An administrator must manually reset the node and then run the following command from the command prompt to acknowledge that the node has been reset:
# fence_ack_manual <node_name>