Helpful tips and commands
See below how to perform some tests that simulate a real situation.
Restarting a relay
With this test you can simulate the high-availability relay configuration in case of a complete failure.
$ sudo init 6
- Check to see if the other relay is now showing the virtual IP.
Disconnecting the network service
With this test, you can simulate disconnecting the relay that is currently connected to the virtual IP.
$ sudo etc/init.d/networking stop
- When disconnecting the networking service, make sure you still have a control mechanism by accessing the relay via other methods.
|View a list of IP addresses assigned to the relay.|
|Interactive monitoring of the system logs (Keepalived).|
|View the 100 most recent system events (Keepalived).|
|Restart the Keepalived service.|
|Restart the relay.|