Hi,
i have a 3 node cluster in staging.
I'm testing fencing with an HP 1910 Switch.
Someone can tell me howto configure the HP for proxmox fencing with ACL ?
( User password, SNMP .. )
I have read this:
http://pve.proxmox.com/wiki/Fencing
Now i can connect and manage the switch from Proxmox servers:
---------------------------------
root@proxmox-1:~# fence_ifmib --action=off -c private -a 192.168.1.207 -n 3
Success: Powered OFF
root@proxmox-1:~#
root@proxmox-1:~#
root@proxmox-1:~# fence_ifmib -o list -c private -a 192.168.1.207 -n switch -d 2c
NULL0,NULL0 Interface
Vlan-interface1,Vlan-interface1 Interface
GigabitEthernet1/0/1,GigabitEthernet1/0/1 Interface
GigabitEthernet1/0/3,GigabitEthernet1/0/3 Interface
GigabitEthernet1/0/2,GigabitEthernet1/0/2 Interface
GigabitEthernet1/0/5,GigabitEthernet1/0/5 Interface
GigabitEthernet1/0/4,GigabitEthernet1/0/4 Interface
GigabitEthernet1/0/7,GigabitEthernet1/0/7 Interface
GigabitEthernet1/0/6,GigabitEthernet1/0/6 Interface
GigabitEthernet1/0/9,GigabitEthernet1/0/9 Interface
GigabitEthernet1/0/8,GigabitEthernet1/0/8 Interface
root@proxmox-1:~# fence_ifmib --action=off -c private -a 192.168.1.207 -n 2
Success: Powered OFF
root@proxmox-1:~# fence_ifmib --action=on -c private -a 192.168.1.207 -n 2
-----------------------------------------------
I have tried this cluster config:
---------------------------------------
<?xml version="1.0"?>
<cluster name="TestCluster2" config_version="6">
<cman expected_votes="2" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="0"/>
<fencedevices>
<fencedevice agent="fence_ifmib" community="private" ipaddr="192.168.1.207" name="hp1910" snmp_version="2c"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox-1" nodeid="1" votes="1">
<fence>
<method name="fence">
<device action="off" name="hp1910" nodename="proxmox-1" port="1"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-2" nodeid="2" votes="1">
<fence>
<method name="fence">
<device action="off" name="hp1910" nodename="proxmox-2" port="2"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-3" votes="1" nodeid="3"/></clusternodes>
</cluster>
--------------------------------------------------------
But i have Unknow 500 error when i try to activate it...
Thanks!
i have a 3 node cluster in staging.
I'm testing fencing with an HP 1910 Switch.
Someone can tell me howto configure the HP for proxmox fencing with ACL ?
( User password, SNMP .. )
I have read this:
http://pve.proxmox.com/wiki/Fencing
Now i can connect and manage the switch from Proxmox servers:
---------------------------------
root@proxmox-1:~# fence_ifmib --action=off -c private -a 192.168.1.207 -n 3
Success: Powered OFF
root@proxmox-1:~#
root@proxmox-1:~#
root@proxmox-1:~# fence_ifmib -o list -c private -a 192.168.1.207 -n switch -d 2c
NULL0,NULL0 Interface
Vlan-interface1,Vlan-interface1 Interface
GigabitEthernet1/0/1,GigabitEthernet1/0/1 Interface
GigabitEthernet1/0/3,GigabitEthernet1/0/3 Interface
GigabitEthernet1/0/2,GigabitEthernet1/0/2 Interface
GigabitEthernet1/0/5,GigabitEthernet1/0/5 Interface
GigabitEthernet1/0/4,GigabitEthernet1/0/4 Interface
GigabitEthernet1/0/7,GigabitEthernet1/0/7 Interface
GigabitEthernet1/0/6,GigabitEthernet1/0/6 Interface
GigabitEthernet1/0/9,GigabitEthernet1/0/9 Interface
GigabitEthernet1/0/8,GigabitEthernet1/0/8 Interface
root@proxmox-1:~# fence_ifmib --action=off -c private -a 192.168.1.207 -n 2
Success: Powered OFF
root@proxmox-1:~# fence_ifmib --action=on -c private -a 192.168.1.207 -n 2
-----------------------------------------------
I have tried this cluster config:
---------------------------------------
<?xml version="1.0"?>
<cluster name="TestCluster2" config_version="6">
<cman expected_votes="2" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="0"/>
<fencedevices>
<fencedevice agent="fence_ifmib" community="private" ipaddr="192.168.1.207" name="hp1910" snmp_version="2c"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox-1" nodeid="1" votes="1">
<fence>
<method name="fence">
<device action="off" name="hp1910" nodename="proxmox-1" port="1"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-2" nodeid="2" votes="1">
<fence>
<method name="fence">
<device action="off" name="hp1910" nodename="proxmox-2" port="2"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-3" votes="1" nodeid="3"/></clusternodes>
</cluster>
--------------------------------------------------------
But i have Unknow 500 error when i try to activate it...
Thanks!
Last edited: