mirror of
				https://git.proxmox.com/git/mirror_corosync
				synced 2025-10-31 05:18:52 +00:00 
			
		
		
		
	|  50308cb08d there is really no point to have a per node view of (vote)quorum
since all the info are always there.
drop the -n option for status/display nodes and improve
the output to provide a full cluster view at any given time.
Old format:
[root@fedora-master-node2 ~]# corosync-quorumtool -s
Quorum information
------------------
Date: Mon Aug 6 10:22:27 2012
Quorum provider: corosync_votequorum
Nodes: 2
Ring ID: 8
Quorate: Yes
Votequorum information
----------------------
Node ID: 3254954176
Node state: Member
Node votes: 1
Qdevice votes: 1
Expected votes: 3
Highest expected: 3
Total votes: 3
Quorum: 2
Flags: Quorate Qdevice
Membership information
----------------------
Nodeid Votes Name
3238176960 1 fedora-master-node1.int.fabbione.net
3254954176 1 fedora-master-node2.int.fabbione.net
         0 1 QDEVICE (Alive/Voting/NoMasterWins)
New format:
[root@fedora-master-node1 tools]# ./corosync-quorumtool -s
Quorum information
------------------
Date:             Mon Aug  6 15:50:03 2012
Quorum provider:  corosync_votequorum
Nodes:            2
Ring ID:          48
Quorate:          Yes
Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2
Flags:            Quorate Qdevice
Membership information
----------------------
    Nodeid      Votes    Qdevice Name
3238176960          1     A,V,MW fedora-master-node1.int.fabbione.net
3254954176          1         NR fedora-master-node2.int.fabbione.net
         0          1            QDEVICE
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com> | ||
|---|---|---|
| .. | ||
| .gitignore | ||
| apidef.c | ||
| apidef.h | ||
| cfg.c | ||
| cmap.c | ||
| coroparse.c | ||
| cpg.c | ||
| cs_queue.h | ||
| fsm.h | ||
| icmap.c | ||
| ipc_glue.c | ||
| logconfig.c | ||
| logconfig.h | ||
| logsys.c | ||
| main.c | ||
| main.h | ||
| Makefile.am | ||
| mon.c | ||
| pload.c | ||
| quorum.c | ||
| quorum.h | ||
| schedwrk.c | ||
| schedwrk.h | ||
| service.c | ||
| service.h | ||
| sync.c | ||
| sync.h | ||
| timer.c | ||
| timer.h | ||
| totemconfig.c | ||
| totemconfig.h | ||
| totemcrypto.c | ||
| totemcrypto.h | ||
| totemiba.c | ||
| totemiba.h | ||
| totemip.c | ||
| totemmrp.c | ||
| totemmrp.h | ||
| totemnet.c | ||
| totemnet.h | ||
| totempg.c | ||
| totemrrp.c | ||
| totemrrp.h | ||
| totemsrp.c | ||
| totemsrp.h | ||
| totemudp.c | ||
| totemudp.h | ||
| totemudpu.c | ||
| totemudpu.h | ||
| util.c | ||
| util.h | ||
| votequorum.c | ||
| votequorum.h | ||
| vsf_quorum.c | ||
| vsf_ykd.c | ||
| vsf_ykd.h | ||
| vsf.h | ||
| wd.c | ||