Linbit: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "</source" to "</syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
PingPong abschalten:
PingPong abschalten:
<source lang=bash>
<syntaxhighlight lang=bash>
# crm configure
# crm configure
crm(live)configure# property maintenance-mode=on
crm(live)configure# property maintenance-mode=on
Line 6: Line 6:
crm(live)configure# ^D
crm(live)configure# ^D
crm(live)configure# bye
crm(live)configure# bye
</source>
</syntaxhighlight>




<source lang=bash>
<syntaxhighlight lang=bash>
# crm configure
# crm configure
crm(live)configure# property maintenance-mode=on
crm(live)configure# property maintenance-mode=on
Line 29: Line 29:
crm(live)configure# ^D
crm(live)configure# ^D
crm(live)configure# bye
crm(live)configure# bye
</source>
</syntaxhighlight>


<source lang=bash>
<syntaxhighlight lang=bash>
#  virsh list --all
#  virsh list --all
  Id    Name                          State
  Id    Name                          State
Line 37: Line 37:
  1    OSC_v1                        running
  1    OSC_v1                        running
  -    ts_v1                          shut off
  -    ts_v1                          shut off
</source>
</syntaxhighlight>

Latest revision as of 21:43, 25 November 2021

PingPong abschalten:

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


# 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