mirror_corosync/exec
Fabio M. Di Nitto 50308cb08d quorumtool: make output more meaningful
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>
2012-08-07 11:07:17 +02:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
cmap.c Move hdb_error_to_cs to corotypes.h 2012-02-14 11:10:14 +11:00
coroparse.c qdevice: implement master_wins partition 2012-08-07 11:07:17 +02:00
cpg.c cpg: Be more verbose for procjoin message 2012-07-30 10:22:16 +02:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
icmap.c icmap: don't leak memory when changing ro/rw status on a key 2012-04-24 09:28:23 +02:00
ipc_glue.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
logconfig.c rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
logconfig.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
logsys.c LOG: make sure the log target is enabled. 2012-05-29 14:02:42 +10:00
main.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
main.h ipcs: allow connections only after all services are ready 2012-04-16 13:39:03 +02:00
Makefile.am rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
mon.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
pload.c pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
service.h Introduce SERVICES_COUNT_MAX macro 2012-08-02 09:32:05 +02:00
sync.c Don't call sync_* funcs for unloaded services 2012-08-02 09:34:58 +02:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c crypto: Remove sha224 and add md5 hash 2012-03-15 17:36:56 +01:00
totemconfig.h Tweak nodeid warning 2012-02-21 16:33:56 +01:00
totemcrypto.c crypto init: release *_slot resource after init 2012-04-20 10:57:16 +02:00
totemcrypto.h crypto: change network packets and add dynamic crypto header/data 2012-03-14 15:57:01 +01:00
totemiba.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemiba.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemip.c totemip: Support bind to exact address 2012-05-24 14:01:12 +02:00
totemmrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemmrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemnet.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemnet.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totempg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemrrp.c Always allocate totemrrp stats array 2012-04-10 09:08:42 +02:00
totemrrp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemsrp.c Include ringid in processor joined log message 2012-05-17 14:58:04 +02:00
totemsrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemudp.c When flushing, discard only memb_join messages 2012-06-11 10:59:30 +02:00
totemudp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.c totemudpu: Bind sending sockets to bindto address 2012-05-31 09:28:52 +02:00
totemudpu.h Update crypto_set API 2012-03-15 17:33:53 +01:00
util.c drop evs service 2012-03-12 15:51:50 +01:00
util.h rename mainconfig to logconfig 2012-05-29 09:36:00 +02:00
votequorum.c quorumtool: make output more meaningful 2012-08-07 11:07:17 +02:00
votequorum.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf_quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
vsf_ykd.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
vsf_ykd.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c Correctly free state string in wd 2012-07-12 15:53:04 +02:00