Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- node coronado \
- attributes standby="off"
- node cascadia \
- attributes standby="off"
- primitive drbd0 ocf:linbit:drbd \
- params drbd_resource="homes" \
- op monitor interval="29s" role="Master" \
- op monitor interval="31s" role="Slave"
- primitive exportfs-admin ocf:heartbeat:exportfs \
- params fsid="1" directory="/exports/admin" options="rw,no_root_squash,no_subtree_check,sync" clientspec="x.x.x.0/24" wait_for_leasetime_on_stop="true" \
- op monitor interval="30s"
- primitive failover-ip ocf:heartbeat:IPaddr \
- params ip="x.x.x.x" cidr_netmask="23" nic="eth0" \
- op monitor interval="10s" timeout="20s" depth="0"
- primitive fs-admin ocf:heartbeat:Filesystem \
- params device="/dev/vg-homes/admin" directory="/exports/admin" fstype="ext4" \
- meta target-role="started"
- primitive lvm-homes ocf:heartbeat:LVM \
- params volgrpname="vg-homes" \
- meta target-role="started"
- primitive nfsserver lsb:nfs-kernel-server \
- op monitor interval="30s"
- group group-homes lvm-homes fs-admin exportfs-admin
- ms ms-drbd0 drbd0 \
- meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"
- clone clone-nfsserver nfsserver
- location ms-drbd0-master-coronado ms-drbd0 \
- rule $id="ms-drbd0-master-coronado-rule" $role="master" 100: #uname eq coronado
- colocation lvm-drbd-fs-homes inf: group-homes ms-drbd0:Master
- order drbd-before-homes inf: ms-drbd0:promote group-homes:start
- property $id="cib-bootstrap-options" \
- dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \
- cluster-infrastructure="openais" \
- expected-quorum-votes="2" \
- stonith-enabled="false" \
- last-lrm-refresh="1334354665"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement