HomeClusterLabs Projects

API: tools: Include Pacemaker status in crm_mon output

Description

API: tools: Include Pacemaker status in crm_mon output

crm_mon's cluster stack section now includes the pacemakerd status for
native CIB connections. The stack section does not include the
pacemakerd status for file and remote CIB connections.

Since the summary should only be shown when we have a CIB
connection, there should be three possible values in practice:

  • Pacemaker is running
  • Pacemaker is shutting down
  • pacemaker-remoted is running (on a Pacemaker Remote node)

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Nov 4 2022, 4:15 AM
Parents
rP7baa4fb9c380: API: schemas: Update crm_mon schema before output changes
Branches
Unknown
Tags
Unknown