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.