Ok, tested my settup with:
Code:
fence_ipmilan -l User -p Passwd -P -a 10.10.10.6 -T 4 -o off -v
Server goes down. With:
Code:
fence_ipmilan -l User -p Passwd -P -a 10.10.10.6 -T 4 -o on -v
Server comes alive
My cluster.conf.new looks like this, but it doesnt go through validation
Code:
<?xml version="1.0"?><cluster name="cluster" config_version="4">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>
<fencedevices>
<fencedevice agent="fence_ipmilan" name="ipmi1" lanplus="1" ipaddr="10.10.10.4" login="User" passwd="Passwd" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi2" lanplus="1" ipaddr="10.10.10.5" login="User" passwd="Passwd" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi3" lanplus="1" ipaddr="10.10.10.6" login="User" passwd="Passwd" power_wait="5"/>
</fencedevices>
<clusternodes>
<clusternode name="vm1" votes="1" nodeid="1"/>
<fence>
<method name="1">
<device name="ipmi1"/>
</method>
</fence>
<clusternode name="vm2" votes="1" nodeid="2"/>
<fence>
<method name="1">
<device name="ipmi2"/>
</method>
</fence>
<clusternode name="vm3" votes="1" nodeid="3"/>
<fence>
<method name="1">
<device name="ipmi3"/>
</method>
</fence>
</clusternodes>
</cluster>
Couldn't find out what does these lines are for in IPMI example:
Code:
[COLOR=#000000][B]<rm[/B][/COLOR][COLOR=#000000][B]>[/B][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<service[/B][/COLOR] [COLOR=#000066]autostart[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]exclusive[/COLOR]=[COLOR=#FF0000]"0"[/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ha_test_ip"[/COLOR] [COLOR=#000066]recovery[/COLOR]=[COLOR=#FF0000]"relocate"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<ip[/B][/COLOR] [COLOR=#000066]address[/COLOR]=[COLOR=#FF0000]"192.168.7.180"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]</service> [/B][/COLOR][/COLOR][COLOR=#000000][B]</rm[/B][/COLOR][COLOR=#000000][B]>
[/B][/COLOR]
Cant figure out abut this IP - it belongs to?!?!