-
Notifications
You must be signed in to change notification settings - Fork 2
/
crm.xml
31 lines (31 loc) · 1.36 KB
/
crm.xml
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
node lfs01 \
attributes standby="off"
node lfs02 \
attributes standby="off"
primitive failover-ip ocf:heartbeat:IPaddr2 \
params ip="10.10.0.254" cidr_netmask="24" nic="eth1" \
op monitor interval="5s" timeout="20s" on-fail="restart" \
op start interval="0" timeout="20s" on-fail="stop" \
op stop interval="0" timeout="20s" on-fail="ignore"
primitive failover-ip2 ocf:heartbeat:IPaddr2 \
params ip="192.168.0.1" cidr_netmask="25" nic="eth0" \
op monitor interval="5s" timeout="20s" on-fail="restart" \
op start interval="0" timeout="20s" on-fail="stop" \
op stop interval="0" timeout="20s" on-fail="ignore"
primitive lizardfs-cluster lsb:lizardfs-cluster
primitive lizardfs-nat lsb:lizardfs-nat
group LizardFSIPs failover-ip failover-ip2
colocation col_lizardfs-cluster_failover-ip inf: LizardFSIPs lizardfs-cluster
colocation col_lizardfs-cluster_nat inf: lizardfs-cluster lizardfs-nat
order ip-before-lizardfs inf: LizardFSIPs:start lizardfs-cluster:start
order lizardfs-cluster-before-nat inf: lizardfs-cluster:start lizardfs-nat:start
property $id="cib-bootstrap-options" \
dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
stonith-enabled="false" \
last-lrm-refresh="1417167531" \
no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
resource-stickiness="100" \
migration-threshold="3"