2
Currently no resources are managed by LRM.
3
.SETENV dflt_timeout=2500
4
.TRY Add resource r1 class=ocf type=lrmregtest provider=heartbeat args=delay=2
5
Succeeded in adding this resource.
7
.BG test line 10/job 1 runs in background
9
.BG test line 15/job 2 runs in background
12
.BG test line 18/job 1 runs in background
13
.BG test line 18/job 2 runs in background
14
.BG test line 18/job 3 runs in background
15
.BG test line 18/job 4 runs in background
18
resource state:LRM_RSC_IDLE
19
The resource 2 operations' information:
20
operation 'start' [call_id=(removed)]:
21
start_delay=0, interval=0, timeout=3000, app_name=lrmadmin
22
rc=0 (ok), op_status=0 (succeed)
24
operation 'monitor' [call_id=(removed)]:
25
start_delay=0, interval=0, timeout=11000, app_name=lrmadmin
26
rc=0 (ok), op_status=0 (succeed)
28
.TRY Exec r1 op=stop timeout=2500 interval=0 target=EVERYTIME args=
29
> stop succeed (status=0,rc=0): [null]
32
resource state:LRM_RSC_IDLE
33
The resource 3 operations' information:
34
operation 'start' [call_id=(removed)]:
35
start_delay=0, interval=0, timeout=3000, app_name=lrmadmin
36
rc=0 (ok), op_status=0 (succeed)
38
operation 'monitor' [call_id=(removed)]:
39
start_delay=0, interval=0, timeout=11000, app_name=lrmadmin
40
rc=0 (ok), op_status=0 (succeed)
42
operation 'stop' [call_id=(removed)]:
43
start_delay=0, interval=0, timeout=2500, app_name=lrmadmin
44
rc=0 (ok), op_status=0 (succeed)
46
.TRY Delete resource r1
47
Succeeded in deleting this resource.
48
.SETENV dflt_rsc=r2 dflt_timeout=10500
49
.TRY Add resource r2 class=ocf type=lrmregtest provider=heartbeat args=ignore_TERM=1 delay=9
50
Succeeded in adding this resource.
51
.TRY Exec r2 op=start timeout=10500 interval=0 target=EVERYTIME args=
52
> start succeed (status=0,rc=0): [null]
55
.BG test line 31/job 1 runs in background
56
.TRY Exec r2 op=monitor timeout=10500 interval=0 target=EVERYTIME args=
57
ERROR: This operation has timed out - no result from lrmd.
58
.TRY Delete resource r2
59
Succeeded in deleting this resource.
60
.BG test line 10/job 1 finished (exit code: 0):
61
==========test:10:1 start output==========
62
.TRY Exec r1 op=start timeout=2500 interval=0 target=EVERYTIME args=
63
> start succeed (status=0,rc=0): [null]
65
==========test:10:1 end output==========
66
.BG test line 15/job 2 finished (exit code: 0):
67
==========test:15:2 start output==========
68
.TRY Exec r1 op=start timeout=3000 interval=0 target=EVERYTIME args=
69
> start succeed (status=0,rc=0): [null]
71
==========test:15:2 end output==========
72
.BG test line 18/job 1 finished (exit code: 0):
73
==========test:18:1 start output==========
74
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
75
> monitor succeed (status=0,rc=0): [null]
77
==========test:18:1 end output==========
78
.BG test line 18/job 2 finished (exit code: 0):
79
==========test:18:2 start output==========
80
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
81
> monitor succeed (status=0,rc=0): [null]
83
==========test:18:2 end output==========
84
.BG test line 18/job 3 finished (exit code: 0):
85
==========test:18:3 start output==========
86
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
87
> monitor succeed (status=0,rc=0): [null]
89
==========test:18:3 end output==========
90
.BG test line 18/job 4 finished (exit code: 0):
91
==========test:18:4 start output==========
92
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
93
> monitor succeed (status=0,rc=0): [null]
95
==========test:18:4 end output==========
96
.BG test line 31/job 1 finished (exit code: 0):
97
==========test:31:1 start output==========
98
.TRY Exec r2 op=monitor timeout=500 interval=0 target=EVERYTIME args=
99
ERROR: This operation has timed out - no result from lrmd.
100
==========test:31:1 end output==========