[Users] high availability via fencing

Ian Levesque ian at crystal.harvard.edu
Fri Apr 20 15:36:16 UTC 2012


Hello,

I'm testing ovirt for potential deployment and one of the metrics for its success relies on the high availability feature. In my research on this feature, I found scattered documentation indicating that fencing is a prerequisite. On my test hardware, I don't have any LOM/IPMI but I see that APC managed PDUs are supported, which I do have.

The problem is when I try to configure Power Management to use the "apc" type, I get this error:

	Test Failed, Host Status is: unknown. The fence-agent script reported the following error: 
	Failed: You have to enter plug number Please use '-h' for usage

ovirt-engine/engine.log tells me:

2012-04-20 11:32:44,595 INFO  [org.ovirt.engine.core.bll.FencingExecutor] (http--0.0.0.0-8443-5) Executing <Status> Power Management command, Proxy Host:heilig, Agent:apc, Target Host:, Management IP:134.174.x.x, User:ovirt, Options:port=22,secure=true,slot=1

2012-04-20 11:32:44,598 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (http--0.0.0.0-8443-5) START, FenceVdsVDSCommand(vdsId = 6de5e3fa-8a33-11e1-b3f9-003048c85226, targetVdsId = 60087c5e-8a3b-11e1-b15d-003048c85226, action = Status, ip = 134.174.x.x, port = , type = apc, user = ovirt, password = ******, options = 'port=22,secure=true,slot=1'), log id: 57f86a56

2012-04-20 11:32:44,696 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (http--0.0.0.0-8443-5) FINISH, FenceVdsVDSCommand, return: Test Failed, Host Status is: unknown. The fence-agent script reported the following error: Failed: You have to enter plug number
Please use '-h' for usage

I've tried to add "port=1" to the Options field but that seems to have no effect.

Any ideas? Is there any way to configure a "dumb" power management / fencing configuration for testing?

Cheers,
Ian


More information about the Users mailing list