Hello,
My production proxmox cluster have 3 nodes. 2 for VM with redundant power supply and 1 node for HA (arbitrary node).
I have an APC Switch Rack PDU AP7921. And only one.
I had tested it with another cluster with 3 nodes, both simple power supply.
It's work
Now, with this test cluster, il would like to test poweroff two ports, like production environment.
But i haven't success.
i have see those links :
http://pve.proxmox.com/wiki/Fencing#Dual_path.2C_redundant_power
https://fedorahosted.org/cluster/wiki/FAQ/Fencing#fence_redundant_pwr
here my cluster.conf
i fencing proxmox-test02 for test two port fencing (on port 7 and 8) :
If i try this,
or
both failed.
i have tested this :
Fencing is success for the command, but there is alway one power supply active. So, fencing don't work.
Also with bigger power_wait, like 30 or 60.
so i think action="off" and action="on" aren't recognized.
What should i do ?
Thanks.
pveversion -v
My production proxmox cluster have 3 nodes. 2 for VM with redundant power supply and 1 node for HA (arbitrary node).
I have an APC Switch Rack PDU AP7921. And only one.
I had tested it with another cluster with 3 nodes, both simple power supply.
It's work
Now, with this test cluster, il would like to test poweroff two ports, like production environment.
But i haven't success.
i have see those links :
http://pve.proxmox.com/wiki/Fencing#Dual_path.2C_redundant_power
https://fedorahosted.org/cluster/wiki/FAQ/Fencing#fence_redundant_pwr
here my cluster.conf
Code:
<?xml version="1.0"?><cluster name="test-cluster" config_version="36">
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="192.168.10.15" login="apc" name="apc" passwd="XXX" power_wait="10"/>
</fencedevices>
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<clusternodes>
<clusternode name="proxmox-test01" votes="1" nodeid="1">
<fence>
<method name="apc">
<device name="apc" port="5" secure="on"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-test02" votes="1" nodeid="2">
<fence>
<method name="dual-apc">
<device name="apc" action="off" port="7"/>
<device name="apc" action="off" port="8"/>
<device name="apc" action="on" port="7"/>
<device name="apc" action="on" port="8"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox-test03" votes="1" nodeid="3"/>
</clusternodes>
</cluster>
i fencing proxmox-test02 for test two port fencing (on port 7 and 8) :
Code:
oot@proxmox-test03:~# ccs_config_validate -v -f /etc/pve/cluster.conf.newCreating temporary file: /tmp/tmp.OU4PhSxsj5
Config interface set to:
Configuration stored in temporary file
Updating relaxng schema
Validating..
Configuration validates
Validation completed
root@proxmox-test03:~# fence_node proxmox-test02
fence proxmox-test02 failed
If i try this,
Code:
<method name="dual-apc">
<device name="apc" action="off" port="7"/>
<device name="apc" action="on" port="7"/>
</method>
or
Code:
<device name="apc" action="off" port="7"/>
both failed.
i have tested this :
Code:
<device name="apc" port="7" secure="on"/>
<device name="apc" port="8" secure="on"/>
Also with bigger power_wait, like 30 or 60.
so i think action="off" and action="on" aren't recognized.
What should i do ?
Thanks.
pveversion -v
Code:
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)pve-manager: 3.1-20 (running version: 3.1-20/c3aa0f1a)
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-7
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1