[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring a NIC Proxy for NIC Replication (SRC CLI)

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:

1. From configuration mode, access the configuration statement that specifies the NIC proxy configuration.
   `
   [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
   `
2. Specify the list of groups of NIC hosts that the NIC proxy can contact for resolution requests. Use commas to separate the group names.
   `
   [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]
   `
3. If you configure more than one group, specify the selection criteria that the NIC proxy uses to determine which NIC host to contact.
   `
   [edit shared sae configuration nic-proxy-configuration ip nic-host-selection]
   user@host# set selection-criteria (roundRobin | randomPick | priorityList)
   `

   where:

   - roundRobin—NIC proxy selects NIC hosts in a fixed, cyclic order. The NIC proxy always selects the next host in the list.
   - randomPick—NIC proxy selects NIC hosts randomly from the list.
   - priorityList—NIC proxy selects NIC hosts according to their assigned priorities in the list. If the host with the highest priority in the list is not available, the NIC proxy tries the host with the next-highest priority, and so on.

   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.

4. Access the configuration statement that specifies the NIC proxy configuration for blacklisting—the process of handling nonresponsive NIC hosts.
   `
   [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]
   `
5. Specify whether or not the NIC proxy should contact the next specified NIC host if a NIC host is determined to be unavailable.
   `
   [edit shared sae configuration nic-proxy-configuration ip nic-host-selection blacklisting]
   user@host# set try-next-system-on-error
   `
6. (Optional) Change the number of times the NIC proxy tries to communicate with a NIC host before the NIC proxy stops communicating with the NIC host for a period of time. The default is 3.
   `
   [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
   `
7. (Optional) Change the interval at which the NIC proxy attempts to connect to an unavailable NIC host. The default is 15 seconds.
   `
   [edit shared sae configuration nic-proxy-configuration name nic-host-selection blacklisting]
   user@host# set blacklist-retry-interval blacklist-retry-interval
   `

#### Related Topics

- Before You Configure a NIC Proxy
- Configuring Resolution Information for a NIC Proxy (SRC CLI)
- Changing the Configuration for the NIC Proxy Cache (SRC CLI)
- Configuration Statements for NIC Proxies
- Overview of NIC Proxy Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]