.TH FENCE_AGENT 8 2009-10-20 "fence_virsh (Fence Agent)" .SH NAME fence_virsh - Fence agent for virsh .SH DESCRIPTION .P fence_virsh is an I/O Fencing agent which can be used with the virtual machines managed by libvirt. It logs via ssh to a dom0 and there run virsh command, which does all work. .P By default, virsh needs root account to do properly work. So you must allow ssh login in your sshd_config. .P fence_virsh accepts options on the command line as well as from stdin. Fenced sends parameters through stdin when it execs the agent. fence_virsh can be run by itself with command line options. This is useful for testing and for turning outlets on or off from scripts. .SH PARAMETERS .TP .B -o, --action= . Fencing Action (Default Value: reboot) .TP .B -a, --ip= . IP Address or Hostname This parameter is always required. .TP .B -l, --username= . Login Name This parameter is always required. .TP .B -p, --password= . Login password or passphrase .TP .B -S, --password-script=