[Linux-cluster] fence_apc

Ante Karamatić ivoks at grad.hr
Sun Nov 18 15:37:00 UTC 2007


Hi all!

I'm using redhat-cluster-suite for failover and GFS over DRBD
primary/primary installation. Everything works great, except fencing. I
can't fence a failed node.

When I run 'fence_node node2', I get:

agent "fence_apc" reports: Traceback (most recent call last):
  File "/usr/sbin/fence_apc", line 829, in ?
    main()
  File "/usr/sbin/fence_apc", line 349, in main
    do_power_off(sock)
  File "/usr/sbin/fence_apc", line 813, in do_power_off
    x = do_power_switch(sock, "off")

agent "fence_apc" reports:   File "/usr/sbin/fence_apc", line 611, in
do_power_switch result_code, response = power_off(txt + ndbuf)
  File "/usr/sbin/fence_apc", line 817, in power_off
    x = power_switch(buffer, False, "2", "3");
  File "/usr/sbin/fence_apc", line 810, in po
agent "fence_apc" reports: wer_switch
    raise "unknown screen encountered in \n" + str(lines) + "\n"
unknown screen encountered in 
['1', '', '', '------- Phase Monitor
---------------------------------------------------------', '',
'        Phase Load :  1.8', '        Phase Sta agent "fence_apc"
reports: te: Normal Load ', '', '', '     <ESC>- Back, <ENTER>-
Refresh', '> ']

fence_apc ends up in Phase Monitor, instead of Outlet Control. It
opens connection to Control console, then enters Device Manager, and
then instead of entering Outlet Control (2), it enters Phase Monitor
(1).

It's an APC AP7920 with firmware v2.7.3. It's an RHCS v2.20070823, from
Ubuntu 7.10.

Any suggestions?

Thank you




More information about the Linux-cluster mailing list