Scroll to navigation

FENCE_AGENT(8) System Manager's Manual FENCE_AGENT(8)

NAME

fence_virt - Fence agent for virtual machines

DESCRIPTION

fence_virt is an I/O Fencing agent which can be used with virtual machines.

NOTE: reboot-action does not power on nodes that are powered off.

fence_virt accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_virt can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts.

Vendor URL: https://libvirt.org

PARAMETERS

Specify (stdin) or increment (command line) debug level
Serial device (default=/dev/ttyS1) (Default Value: /dev/ttyS1)
Serial Parameters (default=115200,8N1) (Default Value: 115200,8N1)
VM Channel IP address (default=10.0.2.179) (Default Value: 10.0.2.179)
TCP, Multicast, VMChannel, or VM socket port (default=1229) (Default Value: 1229)
Virtual Machine (domain name) to fence This parameter is always required.
Fencing action (null, off, on, [reboot], status, list, list-status, monitor, validate-all, metadata) (Default Value: reboot)
Fencing timeout (in seconds; default=30) (Default Value: 30)
IP address to connect to in TCP mode (default=127.0.0.1 / ::1) (Default Value: 127.0.0.1)
vm socket CID to connect to in vsock mode (Default Value: 2)
Authentication (none, sha1, [sha256], sha512) (Default Value: sha256)
Packet hash strength (none, sha1, [sha256], sha512) (Default Value: sha256)
Shared key file (default=/etc/cluster/fence_xvm.key) (Default Value: /etc/cluster/fence_xvm.key)
Fencing delay (in seconds; default=0) (Default Value: 0)

ACTIONS


The operational behavior of this is not known.
Power on machine.
Power off machine.
Reboot machine.
Display the XML metadata describing this resource.
This returns the status of the plug/virtual machine.
Check the health of fence device
List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.
List available plugs with aliases/virtual machines and their power state if it can be obtained without additional commands.
Validate if all required parameters are entered.

STDIN PARAMETERS

Specify (stdin) or increment (command line) debug level
Serial device (default=/dev/ttyS1) (Default Value: /dev/ttyS1)
Serial Parameters (default=115200,8N1) (Default Value: 115200,8N1)
VM Channel IP address (default=10.0.2.179) (Default Value: 10.0.2.179)
TCP, Multicast, VMChannel, or VM socket port (default=1229) (Default Value: 1229)
Virtual Machine (domain name) to fence This parameter is always required. Obsoletes: port
Fencing action (null, off, on, [reboot], status, list, list-status, monitor, validate-all, metadata) (Default Value: reboot)
Fencing timeout (in seconds; default=30) (Default Value: 30)
IP address to connect to in TCP mode (default=127.0.0.1 / ::1) (Default Value: 127.0.0.1)
vm socket CID to connect to in vsock mode (Default Value: 2)
Authentication (none, sha1, [sha256], sha512) (Default Value: sha256)
Packet hash strength (none, sha1, [sha256], sha512) (Default Value: sha256)
Shared key file (default=/etc/cluster/fence_xvm.key) (Default Value: /etc/cluster/fence_xvm.key)
Fencing delay (in seconds; default=0) (Default Value: 0)
2009-10-20 fence_virt (Fence Agent)