.. _example_service_dhcp-server_failover: ######## Failover ######## These scenarios shows how to configure the failover feature in DHCP. This functionality provides more availability in case the connection to the main server is lost. ****************** Test DHCP Failover ****************** Description =========== Test scenario to check DHCP Failover feature. The configuration for this feature has 2 peers, the principal server and the secondary. The principal server will give the leases and the secondary will act if the principal fails. So in case there was any failure in the main server, the secondary will help. This scenario will check everything is configured right, so it will check peer to peer his state and his partner state are normal. Scenario ======== .. include:: failover/testdhcpfailover .. raw:: html
************************** Test DHCP Failover Disable ************************** Description =========== This scenario set a configuration with the DHCP server service disable. This means that the DHCP service is stopped. So, the CLI will send a message telling that the server is not running. Then we restart this service and check everything works properly. Scenario ======== .. include:: failover/testdhcpfailoverdisable .. raw:: html