Micetro enables you to edit and/remove failover relationships from ISC DHCP servers, as needed, either in Micetro or through the Micetro API.
Editing failover relationships
You can edit ISC failover relationships on a per-relationship basis, either in the Web Application or through the API.
To edit a failover relationship:
- On the Service management tab of the Admin page, select the server containing the relationship you want to edit.
- Use either the Action or Row … menu to select Manage failover.
- Select the relevant relationship in the dialog, and then use the Row ... menu to select Edit.
- Modify the failover relationship as needed and then select Save.
- Select Save.
-OR-
- Use the API command
ModifyDHCPFailoverRelationship, which uses the following parameters:- Name: The name of the DHCP failover relationship to be created.
- PrimaryServer: The name of the primary DHCP server as it appears in Micetro.
- SecondaryServer: The name of the secondary DHCP server as it appears in Micetro.
- Mclt: Specify the number of seconds for which a lease can be renewed by either server without contacting the other.
- Port: Specify the port number on which the server should listen for connections from its failover peer.
- LoadBalanceMaxSeconds: Specify the cutoff in seconds, after which load balancing is disabled. This ISC documentation recommends a value of 3 or 5.
- MaxResponseDelay: Specify the number of seconds that may pass without the server receiving a message from its failover peer before it assumes that the connection has failed.
- MaxUnackedUpdates: Specify the number of messages the server can send before receiving an acknowledgment from its failover peer. According to ISC documentation, 10 seems to be a good value.
Removing failover relationships
You can remove a failover relationship from an ISC DHCP server either in the Web Application or through the API.
To remove a failover relationship:
- On the Service management tab of the Admin page, select the server whose failover relationship you want to remove.
- Use either the Action or Row … menu to select Manage failover.
- Select the relevant relationship, and then use the Row ... menu to select Remove.
- In the confirmation dialog, use the dropdown to select whether the secondary scopes should be disabled or deleted.
- Select Confirm.
- Select Save.
-OR-
- Use the API
RemoveDHCPFailoverRelationships. - Specify a reference to the ISC DHCP service, the name of the failover relationship, and the propert deconfigure action.