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
|
.TRY configure save sample.txt
.EXT cat sample.txt
node node1
primitive p0 ocf:heartbeat:Dummy
primitive p1 ocf:heartbeat:Dummy
primitive p2 ocf:heartbeat:Delay \
params startdelay="2" mondelay="2" stopdelay="2"
primitive p3 ocf:heartbeat:Dummy
primitive st stonith:null \
params hostlist="node1"
ms m1 p2
clone c1 p1
.TRY configure erase nodes
.TRY configure load replace sample.txt
.TRY Load update
.INP: configure
.INP: erase
.INP: erase nodes
.INP: load update sample.txt
.TRY configure show
node node1
primitive p0 ocf:heartbeat:Dummy
primitive p1 ocf:heartbeat:Dummy
primitive p2 ocf:heartbeat:Delay \
params startdelay="2" mondelay="2" stopdelay="2"
primitive p3 ocf:heartbeat:Dummy
primitive st stonith:null \
params hostlist="node1"
ms m1 p2
clone c1 p1
.EXT rm sample.txt
|