Typically, you configure NIC replication to keep the NIC highly available. You configure NIC host selection to specify the groups of NIC hosts to be contacted to resolve a request, and to define how the NIC proxy handles NIC hosts that the proxy is unable to contact. The configuration statements are available at the Advanced editing level.
Use the following configuration statements to configure NIC host selection for a NIC proxy:
- nic-proxy-configuration name nic-host-selection {
- groups groups;
- selection-criteria (roundRobin | randomPick | priorityList);
- }
- nic-proxy-configuration name nic-host-selection blacklisting {
- try-next-system-on-error;
- number-of-retries-before-blacklisting number-of-retries-before-blacklisting;
- blacklist-retry-interval blacklist-retry-interval;
- }
To configure a NIC proxy to use NIC replication:
- [edit]
- user@host# component-hierarchy nic-proxy-configuration name nic-host-selection
For example:
- [edit]
- user@host# edit shared sae configuration nic-proxy-configuration
ip nic-host-selection
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection]
- user@host# set groups groups
For example
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection]
- user@host# set groups [group1 group2]
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection]
- user@host# set selection-criteria (roundRobin | randomPick | priorityList)
where:
Priorities are defined by the order in which you specify the groups. You can change the order of NIC hosts in the list by using the insert command.
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection]
- user@host# edit blacklisting
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection blacklisting]
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection blacklisting]
- user@host# set try-next-system-on-error
- [edit shared sae configuration nic-proxy-configuration
ip nic-host-selection blacklisting]
- user@host# set number-of-retries-before-blacklisting number-of-retries-before-blacklisting
- [edit shared sae configuration nic-proxy-configuration name nic-host-selection blacklisting]
- user@host# set blacklist-retry-interval blacklist-retry-interval