FENCE_AGENT(8)
π NAME π
fence_virt β the fence agent for virtual machines, bestie. It's giving power-fencing but make it virtual. π§β¨
πΈ DESCRIPTION πΈ
okay so. fence_virt is a Power Fencing agent that you use with virtual machines. That's the whole vibe. π
β οΈ NOTE: reboot-action does not power on nodes that are powered off. Like, it will not. Do not expect it to. It said what it said. π
The fence agent accepts options on the command line as well as from stdin. When fenced execs the agent, it sends parameters through stdin. But you can also just run the agent by itself with command line options β which is lowkey so useful for testing π§ͺ and for turning outlets on or off from scripts. main character energy fr fr.
Vendor URL: https://libvirt.org π¦
β¨ PARAMETERS β¨
-dβ Specify (stdin) or increment (command line) debug level. π-Dβ Serial device (default=/dev/ttyS1) (Default Value:/dev/ttyS1)-Pβ Serial Parameters (default=115200,8N1) (Default Value:115200,8N1)-Aβ VM Channel IP address (default=10.0.2.179) (Default Value:10.0.2.179)-pβ TCP, Multicast, VMChannel, or VM socket port (default=1229) (Default Value:1229)-nβ Virtual Machine (domain name) to fence. This parameter is always required. no skipping it, bestie π«Ά-oβ Fencing action (null,off,on, [reboot],status,list,list-status,monitor,validate-all,metadata) (Default Value:reboot)-tβ Fencing timeout (in seconds; default=30) (Default Value:30) β°-Tβ IP address to connect to in TCP mode (default=127.0.0.1 / ::1) (Default Value:127.0.0.1)-Sβ vm socket CID to connect to in vsock mode (Default Value:2)-Cβ Authentication (none,sha1, [sha256],sha512) (Default Value:sha256) π-cβ Packet hash strength (none,sha1, [sha256],sha512) (Default Value:sha256)-kβ Shared key file (default=/etc/cluster/fence_xvm.key) (Default Value:/etc/cluster/fence_xvm.key) ποΈ-wβ Fencing delay (in seconds; default=0) (Default Value:0)
π ACTIONS π
nullβ The operational behavior of this is not known. (yeah. that's literally all it says. iconic mystery behavior π)onβ Power on machine. π₯offβ Power off machine. πrebootβ Reboot machine. πmetadataβ Display the XML metadata describing this resource. πstatusβ This returns the status of the plug/virtual machine. πmonitorβ Check the health of fence device. π©Ίlistβ List available plugs with aliases/virtual machines if there is support for more then one device. ReturnsN/Aotherwise.list-statusβ List available plugs with aliases/virtual machines and their power state if it can be obtained without additional commands. β‘validate-allβ Validate if all required parameters are entered. β
π STDIN PARAMETERS π
debugβ Specify (stdin) or increment (command line) debug level πserial_deviceβ Serial device (default=/dev/ttyS1) (Default Value:/dev/ttyS1)serial_paramsβ Serial Parameters (default=115200,8N1) (Default Value:115200,8N1)channel_addressβ VM Channel IP address (default=10.0.2.179) (Default Value:10.0.2.179)ipportβ TCP, Multicast, VMChannel, or VM socket port (default=1229) (Default Value:1229)plugβ Virtual Machine (domain name) to fence. This parameter is always required. Obsoletes:portπactionβ Fencing action (null,off,on, [reboot],status,list,list-status,monitor,validate-all,metadata) (Default Value:reboot)timeoutβ Fencing timeout (in seconds; default=30) (Default Value:30) β°ipaddrβ IP address to connect to in TCP mode (default=127.0.0.1 / ::1) (Default Value:127.0.0.1)vsockβ vm socket CID to connect to in vsock mode (Default Value:2)authβ Authentication (none,sha1, [sha256],sha512) (Default Value:sha256) πhashβ Packet hash strength (none,sha1, [sha256],sha512) (Default Value:sha256)key_fileβ Shared key file (default=/etc/cluster/fence_xvm.key) (Default Value:/etc/cluster/fence_xvm.key) ποΈdelayβ Fencing delay (in seconds; default=0) (Default Value:0)
and that's the whole page, bestie!! this one came from the fence_virt (Fence Agent) era, dated 2009-10-20, and it lives in section FENCE_AGENT(8) of the System Manager's Manual. slay, go fence something π
β¨π¦
π¦ where this page comes from
- centos-stream 10: fence-virt 4.16.0-36.el10 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- debian trixie: fence-virt 4.16.0-3 Β· GPL-2.0-or-later
- fedora 43: fence-virt 4.16.0-5.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 43: fence-virt 4.17.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- fedora 44: fence-virt 4.17.0-2.fc44 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- ubuntu questing: fence-virt 4.16.0-3ubuntu1
- ubuntu resolute: fence-virt 4.17.0-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: fence-virt 4.17.0-1ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms