show Configuration editing
op_defaults timeout=2m
node node1 \
	attributes mem=16G
primitive st stonith:null \
	params hostlist='node1' \
	meta description="some description here" requires=nothing \
	op monitor interval=60m
primitive p1 ocf:heartbeat:Dummy \
	op monitor interval=60m \
	op monitor interval=120m OCF_CHECK_LEVEL=10
filter "sed '$aprimitive p2 ocf:heartbeat:Dummy'"
filter "sed '$agroup g1 p1 p2'"
show
filter "sed 's/p2/p3/;$aprimitive p3 ocf:heartbeat:Dummy'" g1
show
filter "sed '$aclone c1 p2'"
filter "sed 's/p2/g1/'" c1
filter "sed '/clone/s/g1/p2/'" c1 g1
filter "sed '/clone/s/p2/g1/;s/p3/p2/'" c1 g1
filter "sed '1,$d'" c1 g1
filter "sed -e '$aclone c1 g1' -e '$agroup g1 p1 p2'"
location l1 p3 100: node1
order o1 inf: p3 c1
colocation cl1 inf: c1 p3
filter "sed '/cl1/s/p3/p2/'"
filter "sed '/cl1/d'"
primitive d1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
primitive d3 ocf:heartbeat:Dummy
group g2 d1 d2
filter "sed '/g2/s/d1/p1/;/g1/s/p1/d1/'"
filter "sed '/g1/s/d1/p1/;/g2/s/p1/d1/'"
filter "sed '$alocation loc-d1 d1 rule $id=r1 -inf: not_defined webserver rule $id=r2 webserver: defined webserver'"
filter "sed 's/not_defined webserver/& or mem number:lte 0/'" loc-d1
filter "sed 's/ or mem number:lte 0//'" loc-d1
filter "sed 's/not_defined webserver/& rule -inf: not_defined a2/'" loc-d1
filter "sed 's/not_defined webserver/& or mem number:lte 0/'" loc-d1
modgroup g1 add d3
modgroup g1 remove p1
modgroup g1 add p1 after p2
modgroup g1 remove p1
modgroup g1 add p1 before p2
modgroup g1 add p1
modgroup g1 remove st
modgroup g1 remove c1
modgroup g1 remove nosuch
modgroup g1 add c1
modgroup g1 add nosuch
filter "sed 's/^/# this is a comment\\n/'" loc-d1
rsc_defaults $id="rsc_options" failure-timeout=10m
filter "sed 's/2m/60s/'" op-options
show op-options
property stonith-enabled=true
show cib-bootstrap-options
filter 'sed "s/stonith-enabled=true//"'
show cib-bootstrap-options
primitive d4 ocf:heartbeat:Dummy
primitive d5 ocf:heartbeat:Dummy
primitive d6 ocf:heartbeat:Dummy
order o-d456 d4 d5 d6
tag t-d45: d4 d5
show type:order
show related:d4
show
commit
_test
verify
primitive a0 ocf:heartbeat:Dummy
primitive a1 ocf:heartbeat:Dummy
primitive a2 ocf:heartbeat:Dummy
primitive a3 ocf:heartbeat:Dummy
primitive a4 ocf:heartbeat:Dummy
primitive a5 ocf:heartbeat:Dummy
primitive a6 ocf:heartbeat:Dummy
primitive a7 ocf:heartbeat:Dummy
primitive a8 ocf:heartbeat:Dummy
primitive a9 ocf:heartbeat:Dummy
primitive aErr ocf:heartbeat:Dummy
group as a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aErr
commit
cd ..
cd configure
filter "sed '/as/s/a9//'"
filter "sed '/as/s/a1/a1 a9/'"
commit
cd ..
cd configure
filter "sed '/abs/s/a9//'"
filter "sed '/abs/s/a8/a8 a9/'"
show
commit
_test
verify
.
