summaryrefslogtreecommitdiffstats
path: root/test/testcases/rset.exp
blob: 79b03f40c41c657f740ef839b0cb724622c14b11 (plain)
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
.TRY Resource sets
.INP: configure
.INP: _regtest on
.INP: erase
.INP: erase nodes
.INP: node node1
.INP: primitive st stonith:ssh 	params hostlist='node1' 	op start timeout=60s
.EXT crm_resource --show-metadata stonith:ssh
.EXT stonithd metadata
.INP: primitive d1 ocf:pacemaker:Dummy
.EXT crm_resource --show-metadata ocf:pacemaker:Dummy
.INP: primitive d2 ocf:heartbeat:Dummy
.EXT crm_resource --show-metadata ocf:heartbeat:Dummy
.INP: primitive d3 ocf:heartbeat:Dummy
.INP: primitive d4 ocf:heartbeat:Dummy
.INP: primitive d5 ocf:heartbeat:Dummy
.INP: order o1 Serialize: d1 d2 ( d3 d4 )
.INP: colocation c1 inf: d4 ( d1 d2 d3 )
.INP: colocation c2 inf: d1 d2 d3 d4
.INP: colocation c3 inf: ( d3 d4 ) ( d1 d2 )
.INP: delete d2
INFO: 16: constraint order:o1 updated
INFO: 16: constraint colocation:c1 updated
INFO: 16: constraint colocation:c2 updated
INFO: 16: constraint colocation:c3 updated
.INP: show o1 c1 c2 c3
colocation c1 inf: d4 ( d1 d3 )
colocation c2 inf: d1 d3 d4
colocation c3 inf: ( d3 d4 ) ( d1 )
order o1 Serialize: d1 ( d3 d4 )
.INP: delete d4
INFO: 18: constraint order:o1 updated
INFO: 18: constraint colocation:c1 updated
INFO: 18: constraint colocation:c2 updated
INFO: 18: constraint colocation:c3 updated
.INP: show o1 c1 c2 c3
colocation c1 inf: ( d1 d3 )
colocation c2 inf: d3 d1
colocation c3 inf: d3 d1
order o1 Serialize: d1 d3
.INP: _test
.INP: verify
.INP: show
node node1
primitive d1 ocf:pacemaker:Dummy \
	op monitor timeout=20s interval=10s \
	op start timeout=20s interval=0s \
	op stop timeout=20s interval=0s
primitive d3 Dummy \
	op monitor timeout=20s interval=10s \
	op start timeout=20s interval=0s \
	op stop timeout=20s interval=0s
primitive d5 Dummy \
	op monitor timeout=20s interval=10s \
	op start timeout=20s interval=0s \
	op stop timeout=20s interval=0s
primitive st stonith:ssh \
	params hostlist=node1 \
	op start timeout=60s interval=0s \
	op monitor timeout=20 interval=3600 \
	op stop timeout=15 interval=0s
colocation c1 inf: ( d1 d3 )
colocation c2 inf: d3 d1
colocation c3 inf: d3 d1
order o1 Serialize: d1 d3
.INP: commit