I am trying to make a HA cluster and getting some errors:
I made this config:
Config file:
<?xml version="1.0"?>
<cluster config_version="11"name="clusterwebguru">
<cmankeyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedeviceagent="fence_apc" ipaddr="ipadress"login="username" name="apc" passwd="password"power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternodename="proxmox147" nodeid="1" votes="1">
<fence>
<methodname="power">
<device name="apc" port="1" secure="on"/>
</method>
</fence>
</clusternode>
<clusternodename="proxmox146" nodeid="2" votes="1">
<fence>
<methodname="power">
<device name="apc" port="2" secure="on"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1"vmid="100"/>
</rm>
</cluster>
fence_apc -x -l user-p password -a ipadress -ostatus -n 1 –v à works! he logs into the APC
fence_node proxmox146 –vvv àgives errors:
fence proxmox146 dev 0.0 agent none result: error no method
agent args:
fence proxmox146 undefined
Any Ideas what goes wrong?
And is there some schooling or a book ore something how to best implement PROXMOX?
I made this config:
Config file:
<?xml version="1.0"?>
<cluster config_version="11"name="clusterwebguru">
<cmankeyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedeviceagent="fence_apc" ipaddr="ipadress"login="username" name="apc" passwd="password"power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternodename="proxmox147" nodeid="1" votes="1">
<fence>
<methodname="power">
<device name="apc" port="1" secure="on"/>
</method>
</fence>
</clusternode>
<clusternodename="proxmox146" nodeid="2" votes="1">
<fence>
<methodname="power">
<device name="apc" port="2" secure="on"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<pvevm autostart="1"vmid="100"/>
</rm>
</cluster>
fence_apc -x -l user-p password -a ipadress -ostatus -n 1 –v à works! he logs into the APC
fence_node proxmox146 –vvv àgives errors:
fence proxmox146 dev 0.0 agent none result: error no method
agent args:
fence proxmox146 undefined
Any Ideas what goes wrong?
And is there some schooling or a book ore something how to best implement PROXMOX?