ClusterLabs / crmsh

Command-line interface for High-Availability cluster management on GNU/Linux systems.
GNU General Public License v2.0
131 stars 94 forks source link

RFE: Add corosync cpg status #1332

Closed jirib closed 6 months ago

jirib commented 7 months ago

It would be nice to have cpgtool status in crmsh.

$ corosync-cpgtool -e
Group Name             PID         Node ID
dlm:controld
                      3114               1 (192.168.253.100)
crmd
                      3034               1 (192.168.253.100)
                      1859               2 (192.168.253.101)
attrd
                      3032               1 (192.168.253.100)
                      1857               2 (192.168.253.101)
stonith-ng
                      3030               1 (192.168.253.100)
                      1855               2 (192.168.253.101)
cib
                      3029               1 (192.168.253.100)
                      1854               2 (192.168.253.101)
sbd:cluster
                      3018               1 (192.168.253.100)
                      1842               2 (192.168.253.101)

15sp6-1:~ # crm corosync help status
Display the corosync status

Displays the corosync ring status(default), also can display quorum/qdevice/qnetd status.

Usage:

status [ring|quorum|qdevice|qnetd]
zzhou1 commented 7 months ago

Thanks for the idea of crm corosync status cpg