Hello
I have 3 Servers
2 with IPMI KVM Super Micro
1 with DRAC6 Enterprise Dell Server
I understand I have setup cluster first and then setup fencing but I am just stuck with few things may be you guys can help me out.
I have 3 Servers
2 with IPMI KVM Super Micro
1 with DRAC6 Enterprise Dell Server
I understand I have setup cluster first and then setup fencing but I am just stuck with few things may be you guys can help me out.
Code:
[COLOR=#000000][B]<?xml[/B][/COLOR][COLOR=#009900] [/COLOR][COLOR=#000066]version[/COLOR][COLOR=#009900]=[/COLOR][COLOR=#FF0000]"1.0"[/COLOR][COLOR=#000000][B]?>[/B][/COLOR][COLOR=#009900][COLOR=#000000][B]<cluster[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"clustername"[/COLOR] [COLOR=#000066]config_version[/COLOR]=[COLOR=#FF0000]"6"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<cman[/B][/COLOR] [COLOR=#000066]keyfile[/COLOR]=[COLOR=#FF0000]"/var/lib/pve-cluster/corosync.authkey"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]</cman>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<fencedevices>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<fencedevice[/B][/COLOR] [COLOR=#000066]agent[/COLOR]=[COLOR=#FF0000]"fence_ipmilan"[/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ipmi1"[/COLOR] [COLOR=#000066]lanplus[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]ipaddr[/COLOR]=[COLOR=#FF0000]"X.X.X.X"[/COLOR] [COLOR=#000066]login[/COLOR]=[COLOR=#FF0000]"ipmiusername"[/COLOR] [COLOR=#000066]passwd[/COLOR]=[COLOR=#FF0000]"ipmipassword"[/COLOR] [COLOR=#000066]power_wait[/COLOR]=[COLOR=#FF0000]"5"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<fencedevice[/B][/COLOR] [COLOR=#000066]agent[/COLOR]=[COLOR=#FF0000]"fence_ipmilan"[/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ipmi2"[/COLOR] [COLOR=#000066]lanplus[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]ipaddr[/COLOR]=[COLOR=#FF0000]"X.X.X.X"[/COLOR] [COLOR=#000066]login[/COLOR]=[COLOR=#FF0000]"ipmiusername"[/COLOR] [COLOR=#000066]passwd[/COLOR]=[COLOR=#FF0000]"ipmipassword"[/COLOR] [COLOR=#000066]power_wait[/COLOR]=[COLOR=#FF0000]"5"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR]
[COLOR=#009900][COLOR=#000000][B]<fencedevice[/B][/COLOR] [COLOR=#000066]agent[/COLOR]=[COLOR=#FF0000]"fence_drac5"[/COLOR] [COLOR=#000066]cmd_prompt[/COLOR]=[COLOR=#FF0000]"admin1->[/COLOR][/COLOR]" ipaddr="X.X.X.X" login="root" name="node1-drac" passwd="XXXX" secure="1"/> [COLOR=#009900][COLOR=#000000][B]</fencedevices>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<clusternodes>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<clusternode[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"host1"[/COLOR] [COLOR=#000066]votes[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]nodeid[/COLOR]=[COLOR=#FF0000]"1"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<method[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"1"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<device[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ipmi1"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</method>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</clusternode>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<clusternode[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"host2"[/COLOR] [COLOR=#000066]votes[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]nodeid[/COLOR]=[COLOR=#FF0000]"2"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<method[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"1"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<device[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ipmi2"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</method>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</clusternode>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<clusternode[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"host3"[/COLOR] [COLOR=#000066]votes[/COLOR]=[COLOR=#FF0000]"1"[/COLOR] [COLOR=#000066]nodeid[/COLOR]=[COLOR=#FF0000]"3"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<method[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"1"[/COLOR][COLOR=#000000][B]>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]<device[/B][/COLOR] [COLOR=#000066]name[/COLOR]=[COLOR=#FF0000]"ipmi3"[/COLOR][COLOR=#000000][B]/>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</method>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</fence>[/B][/COLOR][/COLOR] [COLOR=#009900][COLOR=#000000][B]</clusternode>[/B][/COLOR][/COLOR][COLOR=#009900][COLOR=#000000][B]</clusternodes>[/B][/COLOR][/COLOR][COLOR=#009900][COLOR=#000000][B]<rm>[/B][/COLOR][/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=#009900][COLOR=#000000][B]</rm> [/B][/COLOR][/COLOR][COLOR=#000000][B]</cluster[/B][/COLOR][COLOR=#000000][B]>[/B][/COLOR]
- I realize I have to copy /etc/pve/cluster.conf.new on all nodes
My concern is name ipmi1 & ipmi2 where those name come from are those just generic name or is that something I have to look in my Supermicro Server under IPMI ? and same goes to fence_ipmilan …
Also what exactly is
<service autostart="1" exclusive="0" name="ha_test_ip" recovery="relocate">
<ip address="192.168.7.180"/>
</service>
What is HA_TEST_IP and the IP .180 ? Thanks for the WIKI but its not very much clear as which line goes as I don't wanted to make sure it make sense before I start copy and paste as thats not always work.
Thank you for your time.