Pacemaker: Difference between revisions

From DWIKI
Line 25: Line 25:


==set maintenance mode==
==set maintenance mode==
  pcs property set maintenance-mode
  pcs property set maintenance-mode=true
pcs property unset maintenance-mode


==show virtual ip==
==show virtual ip==

Revision as of 16:24, 6 March 2018

uses Corosync or heartbeat, it seems corosync is the one to go for.

Links

Commands/tools

  • crm
  • crmadmin
  • cibadm
  • pcs


Useful commands

Dump entire crm

cibadm -Q

FAQ

set maintenance mode

pcs property set maintenance-mode=true

show virtual ip

pcs resource show IPv4_BIND

Error: cluster is not currently running on this node

pcs cluster start


Remove a constraint

pcs constraint list --full

to identify the constraints and then

pcs constraint remove <whatever-constraint-id>