File: file.exp

package info (click to toggle)
pacemaker 1.0.9.1%2Bhg15626-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 34,668 kB
  • ctags: 5,645
  • sloc: xml: 87,444; ansic: 57,853; python: 11,479; sh: 5,255; makefile: 663; perl: 387; sed: 262
file content (31 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
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