mirror_corosync/exec
Christine Caulfield 997074cc3e totemconfig: Check for duplicate nodeids
Having duplicate nodeids in corosync.conf can play havoc with a cluster,
so (as suggested by someone on this list) here is some code to check
that all nodeids are unique. Even if a nodeid is not specified it will
check to be sure that the ID generated from the IP address (ipv4 only)
does not clash with one that is provided.

It logs all non-unique nodeids to syslog, but only the last is reported
on the command-line to the user which should be enough to get them to
check further. At startup this will cause corosync to fail to start.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
2015-04-10 14:22:07 +01:00
..
.gitignore
apidef.c
apidef.h
cfg.c
cmap.c config: Fix typos 2014-07-24 10:27:45 +01:00
coroparse.c votequorum: Make qdev timeout in sync configurable 2014-08-05 17:22:52 +02:00
cpg.c cpg: Add support for messages larger than 1Mb 2015-03-05 16:45:15 +00:00
cs_queue.h
fsm.h
icmap.c
ipc_glue.c ipc: Process votequorum messages during sync 2014-08-05 17:22:44 +02:00
logconfig.c
logconfig.h
logsys.c
main.c Handle adding and removing UDPU members atomically 2015-01-21 16:37:26 +01:00
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: Check for duplicate nodeids 2015-04-10 14:22:07 +01:00
totemconfig.h
totemcrypto.c [crypto] fix crypto block rounding/padding calculation 2014-09-06 07:11:56 +02:00
totemcrypto.h
totemiba.c
totemiba.h
totemip.c Adjust MTU for IPv6 correctly 2014-10-01 14:20:21 +02:00
totemmrp.c
totemmrp.h
totemnet.c totemudpu: Implement member_set_active 2014-08-26 15:36:05 +02:00
totemnet.h totemnet: Add totemnet_member_set_active 2014-08-26 15:35:59 +02:00
totempg.c
totemrrp.c Log auto-recovery of ring only once 2015-01-14 18:13:29 +01:00
totemrrp.h totem: Inform RRP about membership changes 2014-08-26 15:35:56 +02:00
totemsrp.c totemsrp: Format member list log as unsigned int 2015-03-05 16:34:07 +01:00
totemsrp.h
totemudp.c Adjust MTU for IPv6 correctly 2014-10-01 14:20:21 +02:00
totemudp.h
totemudpu.c Adjust MTU for IPv6 correctly 2014-10-01 14:20:21 +02:00
totemudpu.h totemudpu: Implement member_set_active 2014-08-26 15:36:05 +02:00
util.c
util.h
votequorum.c quorum: don't allow quorum_trackstart to be called twice 2015-03-16 11:37:52 +00:00
votequorum.h
vsf_quorum.c quorum: don't allow quorum_trackstart to be called twice 2015-03-16 11:37:52 +00:00
vsf_ykd.c YKD: Fix loading of YKD quorum module 2014-08-18 09:33:59 +01:00
vsf_ykd.h
vsf.h
wd.c