File: delete.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 (83 lines) | stat: -rw-r--r-- 1,993 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.TRY Delete/Rename test
.INP: configure
.INP: # erase to start from scratch
.INP: erase
.INP: erase nodes
.INP: # create one stonith so that verify does not complain
.INP: primitive st stonith:ssh
.INP: primitive d1 ocf:heartbeat:Dummy
.INP: primitive d2 ocf:heartbeat:Dummy
.INP: location d1-pref d1 100: node1
.INP: show
primitive st stonith:ssh
primitive d1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
location d1-pref d1 100: node1
.INP: _test
.INP: rename d1 p1
.INP: show
primitive st stonith:ssh
primitive p1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
location d1-pref p1 100: node1
.INP: # delete primitive
.INP: delete d2
.INP: _test
.INP: show
primitive st stonith:ssh
primitive p1 ocf:heartbeat:Dummy
location d1-pref p1 100: node1
.INP: # delete primitive with constraint
.INP: delete p1
.INP: _test
.INP: show
primitive st stonith:ssh
.INP: primitive d1 ocf:heartbeat:Dummy
.INP: location d1-pref d1 100: node1
.INP: _test
.INP: # delete primitive belonging to a group
.INP: primitive d2 ocf:heartbeat:Dummy
.INP: _test
.INP: group g1 d2 d1
.INP: delete d2
.INP: show
primitive st stonith:ssh
primitive d1 ocf:heartbeat:Dummy
group g1 d1
location d1-pref g1 100: node1
.INP: _test
.INP: delete g1
.INP: show
primitive st stonith:ssh
primitive d1 ocf:heartbeat:Dummy
.INP: verify
.INP: # delete a group which is in a clone
.INP: primitive d2 ocf:heartbeat:Dummy
.INP: group g1 d2 d1
.INP: clone c1 g1
.INP: delete g1
.INP: show
primitive st stonith:ssh
primitive d1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
.INP: _test
.INP: group g1 d2 d1
.INP: clone c1 g1
.INP: _test
.INP: # delete group from a clone (again)
.INP: delete g1
.INP: show
primitive st stonith:ssh
primitive d1 ocf:heartbeat:Dummy
primitive d2 ocf:heartbeat:Dummy
.INP: _test
.INP: group g1 d2 d1
.INP: clone c1 g1
.INP: # delete primitive and its group and their clone
.INP: delete d2 d1 c1 g1
.INP: show
primitive st stonith:ssh
.INP: _test
.INP: # verify
.INP: verify
.INP: commit