Problem to configure HA with Fencing

gerrynt

New Member
Mar 26, 2014
1
0
1
Hello community,
I'm testing proxmox in order to install it in a production environment, but by now I'm facing problem when I try to configure the HA. This problem is due to Fencing.

My test environment is a Proxmox VE 3.1 with a 2 node cluster.

Nodes Specification


HP Proliant DL320G5
Xeon 3075 2.66 Mhz
RAM: 2 GB
DISK: 146 GB Raid 1

I have installed proxmox, tested vm (linux and Windows) and network configuration scenarios (vlan, bonding, etc), put node in cluster all these are perfectly working.

Then I have to test HA. I can not use IPMI because my servers do not support it. So thanks to HP, I have ILO- 1.5 the basic licence.
I order to test the ability of my server to access ILO,

I tried this
Code:
root@proxmox:~# fence_ilo -a 139.165.219.7 -l fencing -p fencing123 -o status
Unable to connect/login to fencing device
This
Code:
root@proxmox:~# fence_ilo -a 139.165.219.7 -l fencing -p fencing123 -o status -v chassis power status
<?xml version="1.0"?>

<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
    STATUS="0x0001"
    MESSAGE='Syntax error: Line #0: syntax error near "" in the line: ""'
    />
</RIBCL>Unable to connect/login to fencing device
And this
Code:
root@proxmox:~# fence_ilo_mp -a 139.165.219.7 -l fencing -p fencing123 -o status -v chassis power status
telnet> set binary
Negotiating binary mode with remote host.
telnet> open 139.165.219.7 -23
Trying 139.165.219.7...
Connected to 139.165.219.7.
Escape character is '^]'.
Login Name:  encing
Password:    **********
User:fencing logged-in to ILO-LICENSE.(139.165.219.7)
iLO  1.50 at 17:30:27 Mar 12 2008
Server Name: GXSIGSRVLICENCE
Server Power: On

</>hpiLO->Traceback (most recent call last):
  File "/usr/sbin/fence_ilo_mp", line 68, in <module>
    main()
  File "/usr/sbin/fence_ilo_mp", line 58, in main
    result = fence_action(conn, options, set_power_status, get_power_status)
  File "/usr/share/fence/fencing.py", line 788, in fence_action
    options["--plugs"] = options["--plug"].split(",")
KeyError: '--plug'

But I still unable to access. My search for how I can perform this test was unsuccessfull.
Can anyone help me?
Thank You.
 
I found that for newer iLO firmware, you need to use the fence tool for the next version up. e.g. for iLO2 with firmware from 2013, I have to use fence_ilo3 -o status -a 192.168.0.x
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!