Heartbeat error: attempted replay attack, heartbeatattempted
Two lvs servers are configured for heartbeat hot backup. However, an error is reported after the configuration is started:
Jan 28 15:50:22 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:24 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:26 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:28 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:30 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: WARN: nodename usvr-211 uuid changed to usvr-210
Jan 28 15:50:32 usvr-211 heartbeat: [2266]: ERROR: should_drop_message: attempted replay attack [usvr-210]? [Gen = 1418354318, curgen = 1418354319]
Jan 28 15:50:34 usvr-211 heartbeat: [2266]:WARN: nodename usvr-210 uuid changed to usvr-211
Jan 28 15:50:34 usvr-211 heartbeat: [2266]:WARN: nodename usvr-211 uuid changed to usvr-210
Cause: Because the usvr-211 was obtained through the vmware clone replication usvr-210, the two devices are exactly the same.
Some people say that because the uuid of the two machines is different, the uuid must be regenerated. The uuid file is installed in/var/lib/heartbeat by default. uninstallation is not deleted. If you do not delete it manually, the original uuid file will still be used for reinstallation.
So it is OK to delete it and reinstall it.