.TRY resource status p0 .EXT crm_resource --locate --resource 'p0' resource p0 is NOT running .SETENV showobj=p3 .TRY resource start p3 .INP: configure .INP: _regtest on .INP: show xml p3 .TRY resource stop p3 .INP: configure .INP: _regtest on .INP: show xml p3 .SETENV showobj=c1 .TRY resource manage c1 .INP: configure .INP: _regtest on .INP: show xml c1 .TRY resource unmanage c1 .INP: configure .INP: _regtest on .INP: show xml c1 .SETENV showobj=p2 .TRY resource maintenance p2 on .INP: configure .INP: _regtest on .INP: show xml p2 .TRY resource maintenance p2 off .INP: configure .INP: _regtest on .INP: show xml p2 .SETENV showobj=cli-prefer-p3 .TRY resource migrate p3 node1 WARNING: This command 'migrate' is deprecated, please use 'move' INFO: "migrate" is accepted as "move" .EXT crm_resource --quiet --move --resource 'p3' --node 'node1' INFO: Move constraint created for p3 to node1 INFO: Use `crm resource clear p3` to remove this constraint .INP: configure .INP: _regtest on .INP: show xml cli-prefer-p3 .SETENV showobj= .TRY resource unmigrate p3 WARNING: This command 'unmigrate' is deprecated, please use 'clear' INFO: "unmigrate" is accepted as "clear" .EXT crm_resource --quiet --clear --resource 'p3' INFO: Removed migration constraints for p3 .SETENV showobj=cli-prefer-p3 .TRY resource migrate p3 node1 force WARNING: This command 'migrate' is deprecated, please use 'move' INFO: "migrate" is accepted as "move" .EXT crm_resource --quiet --move --resource 'p3' --node 'node1' --force INFO: Move constraint created for p3 to node1 INFO: Use `crm resource clear p3` to remove this constraint .INP: configure .INP: _regtest on .INP: show xml cli-prefer-p3 .SETENV showobj= .TRY resource unmigrate p3 WARNING: This command 'unmigrate' is deprecated, please use 'clear' INFO: "unmigrate" is accepted as "clear" .EXT crm_resource --quiet --clear --resource 'p3' INFO: Removed migration constraints for p3 .SETENV showobj=p0 .TRY resource param p0 set a0 "1 2 3" .EXT crm_resource --resource 'p0' --set-parameter 'a0' --parameter-value '1 2 3' Set 'p0' option: id=p0-instance_attributes-a0 set=p0-instance_attributes name=a0 value=1 2 3 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource param p0 show a0 .EXT crm_resource --resource 'p0' --get-parameter 'a0' 1 2 3 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource param p0 delete a0 .EXT crm_resource --resource 'p0' --delete-parameter 'a0' Deleted 'p0' option: id=p0-instance_attributes-a0 name=a0 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource meta p0 set m0 123 .EXT crm_resource --meta --resource 'p0' --set-parameter 'm0' --parameter-value '123' Set 'p0' option: id=p0-meta_attributes-m0 set=p0-meta_attributes name=m0 value=123 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource meta p0 show m0 .EXT crm_resource --meta --resource 'p0' --get-parameter 'm0' 123 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource meta p0 delete m0 .EXT crm_resource --meta --resource 'p0' --delete-parameter 'm0' Deleted 'p0' option: id=p0-meta_attributes-m0 name=m0 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource trace p0 probe INFO: Trace for p0:monitor is written to /var/lib/heartbeat/trace_ra/Dummy INFO: Trace set, restart p0 to trace non-monitor operations .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource trace p0 start INFO: Trace for p0:start is written to /var/lib/heartbeat/trace_ra/Dummy INFO: Trace set, restart p0 to trace the start operation .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource trace p0 stop INFO: Trace for p0:stop is written to /var/lib/heartbeat/trace_ra/Dummy INFO: Trace set, restart p0 to trace the stop operation .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource untrace p0 probe INFO: Stop tracing p0 for operation monitor .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource untrace p0 start INFO: Stop tracing p0 for operation start .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource untrace p0 stop INFO: Stop tracing p0 for operation stop .INP: configure .INP: _regtest on .INP: show xml p0 .TRY configure group g p0 p3 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY options manage-children never .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource start g .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource start p0 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource stop g .INP: configure .INP: _regtest on .INP: show xml p0 .TRY configure clone cg g .INP: configure .INP: _regtest on .INP: show xml p0 .TRY options manage-children always .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource start g .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource stop g .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource start cg .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource stop p0 .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource start cg .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource stop cg .INP: configure .INP: _regtest on .INP: show xml p0 .TRY resource stop p3 .INP: configure .INP: _regtest on .INP: show xml p0 .SETENV showobj= .TRY configure rename p3 p4 .EXT crm_resource --show-metadata stonith:null .EXT stonithd metadata .EXT crm_resource --show-metadata ocf:pacemaker:Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Delay .TRY configure primitive p3 Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Dummy .EXT crm_resource --show-metadata stonith:null .EXT stonithd metadata .EXT crm_resource --show-metadata ocf:pacemaker:Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Delay .TRY resource stop p3 .TRY resource start p3 .TRY resource cleanup .EXT crm_resource --cleanup .TRY resource cleanup p3 .EXT crm_resource --cleanup --resource p3 .TRY resource cleanup p3 node1 .EXT crm_resource --cleanup --resource p3 --node node1 .TRY resource cleanup force .EXT crm_resource --cleanup --force .TRY resource cleanup p3 force .EXT crm_resource --cleanup --resource p3 --force .TRY resource cleanup p3 node1 force .EXT crm_resource --cleanup --resource p3 --node node1 --force .TRY resource refresh .EXT crm_resource --refresh .TRY resource refresh p3 .EXT crm_resource --refresh --resource p3 .TRY resource refresh p3 node1 .EXT crm_resource --refresh --resource p3 --node node1 .TRY resource refresh force .EXT crm_resource --refresh --force .TRY resource refresh p3 force .EXT crm_resource --refresh --resource p3 --force .TRY resource refresh p3 node1 force .EXT crm_resource --refresh --resource p3 --node node1 --force .TRY resource stop p3 .TRY configure rm cg WARNING: This command 'rm' is deprecated, please use 'delete' INFO: "rm" is accepted as "delete" .TRY configure ms msg g WARNING: "ms" is deprecated. Please use "clone msg g meta promotable=true" .TRY resource scores .EXT crm_simulate -sUL 2 of 6 resource instances DISABLED and 0 BLOCKED from further action due to failure Node node1: UNCLEAN (offline) st (stonith:null): Stopped Stopped: [ node1 ] Stopped: [ node1 ] p3 (ocf::heartbeat:Dummy): Stopped ( disabled ) Stopped: [ node1 ] Original: node1 capacity: pcmk__primitive_assign: st allocation score on node1: 0 pcmk__clone_assign: c1 allocation score on node1: 0 pcmk__clone_assign: p1:0 allocation score on node1: 0 pcmk__primitive_assign: p1:0 allocation score on node1: -INFINITY pcmk__clone_assign: m1 allocation score on node1: 0 pcmk__clone_assign: p2:0 allocation score on node1: 0 pcmk__primitive_assign: p2:0 allocation score on node1: -INFINITY p2:0 promotion score on none: 0 pcmk__primitive_assign: p3 allocation score on node1: -INFINITY pcmk__clone_assign: msg allocation score on node1: 0 pcmk__clone_assign: g:0 allocation score on node1: 0 pcmk__clone_assign: p0:0 allocation score on node1: 0 pcmk__clone_assign: p4:0 allocation score on node1: 0 pcmk__group_assign: g:0 allocation score on node1: -INFINITY pcmk__group_assign: p0:0 allocation score on node1: -INFINITY pcmk__group_assign: p4:0 allocation score on node1: -INFINITY pcmk__primitive_assign: p0:0 allocation score on node1: -INFINITY pcmk__primitive_assign: p4:0 allocation score on node1: -INFINITY g:0 promotion score on none: 0 Remaining: node1 capacity: .SETENV showobj= .TRY configure primitive p5 Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Dummy .EXT crm_resource --show-metadata stonith:null .EXT stonithd metadata .EXT crm_resource --show-metadata ocf:pacemaker:Dummy .EXT crm_resource --show-metadata ocf:heartbeat:Delay .TRY configure group g1 p5 .TRY resource manage p5 .SETENV showobj=p5 .TRY -F resource maintenance p5 on INFO: 'maintenance' conflicts with 'is-managed' attribute. Remove 'is-managed' for resource p5? [YES] .INP: configure .INP: _regtest on .INP: show xml p5 .SETENV showobj=p5 .TRY -F resource unmanage p5 INFO: 'is-managed' conflicts with 'maintenance' attribute. Remove 'maintenance' for resource p5? [YES] .INP: configure .INP: _regtest on .INP: show xml p5 .SETENV showobj=p5 .TRY -F resource maintenance g1 .INP: configure .INP: _regtest on .INP: show xml p5 .TRY resource start p5 .INP: configure .INP: _regtest on .INP: show xml p5 .SETENV showobj=g1 .TRY -F resource manage g1 INFO: 'is-managed' conflicts with 'maintenance' attribute. Remove 'maintenance' for resource g1? [YES] .INP: configure .INP: _regtest on .INP: show xml g1 .TRY resource start p5 .INP: configure .INP: _regtest on .INP: show xml g1 .SETENV showobj=p5 .TRY -F resource maintenance p5 on .INP: configure .INP: _regtest on .INP: show xml p5 .SETENV showobj=g1 .TRY -F resource maintenance g1 INFO: 'maintenance' conflicts with 'is-managed' attribute. Remove 'is-managed' for resource g1? [YES] .INP: configure .INP: _regtest on .INP: show xml g1