NAME
fence_ldom - I/O Fencing agent for Logical Domains (LDoms)
SYNOPSIS
fence_ldom [OPTION]...
DESCRIPTION
fence_ldom is an I/O Fencing agent which can be used with LDoms virtual
machines. This agent works so, that run ldm command on host machine. So
ldm must be directly runnable.
Very useful parameter is -c (or cmd_prompt in stdin mode). This must be
set to something, what is displayed after successful login to host
machine. Default string is space on end of string (default for root in
bash). But (for example) csh use ], so in that case you must use
parameter -c with argument ’]’. Very similar situation is, if you use
bash and login to host machine with other user than root. Than prompt
is $, so again, you must use parameter -c.
fence_ldom accepts options on the command line as well as from stdin.
Fenced sends parameters through stdin when it execs the agent.
fence_ldom can be run by itself with command line options. This is
useful for testing and for turning outlets on or off from scripts.
OPTIONS
-a IPaddress
IP address or hostname of LDoms host machine.
-h Print out a help message describing available options, then
exit.
-l login
Login name to LDoms host machine.
-o action
The action required. Valid values are reboot (default), status,
off or on.
-p password
Password for login to LDoms host machine.
-B script
Script to run to retrieve password.
-x Use secure connection over ssh (this is default, and can’t be
disabled) .
-k filename
Identity file (private key) for ssh.
-n name
Name of quest to fence.
-c prompt
Force command prompt. -T Test only. Answer NO to the
confirmation prompt instead of YES.
-v Verbose. Record session to stdout, or debug file if specified
(see -D).
-D Specifies file, where will be written debug messages from
session.
-V Print out a version message, then exit.
STDIN PARAMETERS
agent = < param >
This option is used by fence_node(8) and is ignored by
fence_ldom.
ipaddr = < hostname | ip >
IP address or hostname of LDoms host machine.
action = < param >
The action required. Valid values are reboot (default), status,
off or on.
login = < param >
Login name to LDoms host machine.
passwd = < param >
Password for login to LDoms host machine.
passwd_script = < param >
Script to run to retrieve password.
secure = < param >
Use secure connection over ssh (this is default, and can’t be
disabled)
identity = < param >
Identity file (private key) for ssh.
port = < param >
Name of quest to fence.
cmd_prompt = < param >
Force command prompt.
test = < param >
Test only. Answer NO to the confirmation prompt instead of YES.
verbose = < param >
Verbose. Record session to stdout, or debug file if specified
(see debug).
debug = < param >
Specifies file, where will be written debug messages from
session.
SEE ALSO
fence(8), fence_node(8)
fence_ldom(8)