| 1 | {{{ |
| 2 | pcs cluster auth a1 a2 s1 g1 |
| 3 | pcs cluster setup --start --enable --name pcs_cluster a1 a2 s1 g1 |
| 4 | pcs stonith create pn7320 fence_altusen_snmp ipaddr=10.25.255.XXX community=XXX pcmk_host_list="s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,a1,a2,g1,g2" \ |
| 5 | pcmk_host_map="s1:S1P1;s2:S1P2;s3:S1P3;s4:S1P4;s5:S1P5;s6:S1P6;s7:S1P7;s8:S1P8;s9:S1P13;s10:S1P14;a1:S1P15;a2:S1P16;g1:S1P17;g2:S1P18" \ |
| 6 | op monitor interval=60s |
| 7 | pcs stonith create ipmi_s1 fence_ipmilan ipaddr=10.25.255.1 login=ADMIN passwd=XXX pcmk_host_list=s1 op monitor interval=60s |
| 8 | pcs stonith level add 1 s1 ipmi_s1 |
| 9 | pcs stonith level add 2 s1 pn7320 |
| 10 | pcs stonith level add 1 a1 pn7320 |
| 11 | pcs stonith level add 1 a2 pn7320 |
| 12 | pcs stonith level add 1 g1 pn7320 |
| 13 | |
| 14 | }}} |
| 15 | |
| 16 | Status check commands in addition to {{{pcs status}}}: |
| 17 | {{{ |
| 18 | corosync-cmapctl | grep members |
| 19 | corosync-cfgtool -s |
| 20 | crm_verify -L -V |
| 21 | }}} |
| 22 | |
| 23 | Logs: |
| 24 | - check {{{/var/log/messages}}} on every node |