Both severs from an ex live-backup configuration continuously log warnings after the live-backup config is undone
crytek Jun 19, 2013 9:37 AMConditions:
Two Jboss AS 7.2.0 servers with HQ 2.3.0 CR1 inside cluster configuration.
Setup a live-backup configuration, using replication:
(Live-Backup config - CLI commands)
Live :
/subsystem=messaging/hornetq-server=default/:write-attribute(name=shared-store, value=false)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=allow-failback, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=failover-on-shutdown, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=check-for-live-server, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=backup-group-name, value=bk_gr_name)
Backup:
/subsystem=messaging/hornetq-server=default/:write-attribute(name=backup, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=shared-store, value=false)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=allow-failback, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=check-for-live-server, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=failover-on-shutdown, value=true)
/subsystem=messaging/hornetq-server=default/:write-attribute(name=backup-group-name, value=bk_gr_name)
Play a little bit with this configuration: stop LIVE, BACKUP becomes active. Things go as expected.
Undo the live backup configuration:
LIVE:
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=shared-store)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=allow-failback)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=failover-on-shutdown)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=check-for-live-server)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=backup-group-name)
BACKUP:
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=backup)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=shared-store)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=allow-failback)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=check-for-live-server)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=failover-on-shutdown)
/subsystem=messaging/hornetq-server=default/:undefine-attribute(name=backup-group-name)
Restart both servers. After restart, both servers continuously log the same warning:
WARN [org.hornetq.core.client] (hornetq-discovery-group-thread-dg-group1) HQ212050: There are more than one servers on the network broadcasting the same node id. You will see this message exactly once (per node) if a node is restarted, in which case it can be safely ignored. But if it is logged continuously it means you really do have more than one node on the same network active concurrently with the same node id. This could occur if you have a backup node active at the same time as its live node. nodeID=79d6e606-d831-11e2-9ce6-d9222ff73a66
Only after removing "data" folder from the live server and restart it , the warning doesn't appear anymore.
Any ideas ? Maybe I am doing something wrong ?
-
live.log.zip 4.6 KB
-
backup.log.zip 3.5 KB