-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfencing.conf
46 lines (46 loc) · 1.66 KB
/
fencing.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0"?>
<cluster config_version="15" name="CLTESTE">
<cman expected_votes="3" keyfile="/var/lib/pve-cluster/
corosync.authkey"/>
<quorumd allow_kill="0" interval="3" label="proxmox1_qdisk" tko="10" votes="1">
<heuristic interval="3" program="ping 10.34.139.254 -c1 -w1" score="1" tko="4"/>
<heuristic interval="3" program="ip addr | grep eth0 | grep -q UP" score="2" tko="3"/>
</quorumd>
<totem token="54000"/>
<fencedevices>
<fencedevice agent="fence_ifmib" community="public" ipaddr="10.34.136.58" name="sw_3com" snmp_version="2c"/>
</fencedevices>
<clusternodes>
<clusternode name="pm32" nodeid="1" votes="1">
<fence>
<method name="fence">
<device action="off" name="sw_3com" port="GigabitEthernet1/0/17"/>
</method>
</fence>
</clusternode>
<clusternode name="pm32b" nodeid="2" votes="1">
<fence>
<method name="fence">
<device action="off" name="sw_3com" port="GigabitEthernet1/0/18"/>
</method>
</fence>
</clusternode>
<clusternode name="pm32c" nodeid="3" votes="1">
<fence>
<method name="fence">
<device action="off" name="sw_3com" port="GigabitEthernet1/0/19"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="serverfailover" ordered="1" restricted="0">
<failoverdomainnode name="pm32" priority="1"/>
<failoverdomainnode name="pm32b" priority="2"/>
<failoverdomainnode name="pm32c" priority="3"/>
</failoverdomain>
</failoverdomains>
<pvevm autostart="1" vmid="100"/>
</rm>
</cluster>