Linbit: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 21: Line 21:
crm(live)configure# ^D
crm(live)configure# ^D
crm(live)configure# bye
crm(live)configure# bye
</source>
<source lang=bash>
#  virsh list --all
Id    Name                          State
----------------------------------------------------
1    OSC_v1                        running
-    ts_v1                          shut off
</source>
</source>

Revision as of 14:18, 13 July 2016


# crm configure
crm(live)configure# property maintenance-mode=on
crm(live)configure# commit
crm(live)configure# ^D
crm(live)configure# bye

# vi config-files...

# crm_resource -l | xargs -l crm resource cleanup

# crm configure
crm(live)configure# property maintenance-mode=off
crm(live)configure# ptest actions
INFO: install graphviz to see a transition graph
notice: LogActions:     Start   stonith_fence_ipmilan_hhlokva04 (hhlokva03.srv.ndr-net.de)
  notice: LogActions:   Start   stonith_fence_ipmilan_hhlokva03 (hhlokva04.srv.ndr-net.de)
crm(live)configure# commit
crm(live)configure# ^D
crm(live)configure# bye
#  virsh list --all
 Id    Name                           State
----------------------------------------------------
 1     OSC_v1                         running
 -     ts_v1                          shut off