ContentsPrint

Teaming NICs from CLI

About this task

In Release 7.0.1, you can configure the NIC teaming and NIC speeds on Appliance Virtualization Platform from the web interface of the Solution Deployment Manager client and System Manager Solution Deployment Manager. For more information, see Administering Avaya Aura® System Manager for Release 7.0.1. Avaya recommends the use of Solution Deployment Manager web interface for configuring the NIC settings.

With Appliance Virtualization Platform, you can team NICs together to provide a backup connection when the server NIC or the Ethernet switch fails. You can also perform NIC teaming from the command line on Appliance Virtualization Platform.

Appliance Virtualization Platform supports Active-Standby and Active-Active modes of NIC teaming. For more information, see "NIC teaming modes".

You cannot perform NIC teaming for S8300D and S8300E servers.

Procedure

  1. Log in to the Appliance Virtualization Platform host command line, and type # /opt/avaya/bin/nic_teaming list.

    The system displays the current setup of the system, and lists all vmnics.

    For example:

    Current Setup:
    Name: vSwitch0
    Uplinks: vmnic0
    Name: vSwitch1
    Uplinks: vmnic1
    Name: vSwitch2
    Uplinks: vmnic2
    List of all vmnics on host:
    vmnic0
    vmnic1
    vmnic2
    vmnic3
    
  2. To add a free vmnic to a vSwitch, type # /opt/avaya/bin/nic_teaming add <vmnic> <vSwitch>.

    The command changes the links to the active standby mode.

    For example, to add eth3 to the public virtual switch, type # /opt/avaya/bin/nic_teaming add vmnic3 vSwitch0. To verify the addition of eth3, type esxcli network vswitch standard policy failover get -v vSwitch0.

    The system displays the following message:

    Load Balancing: srcport
    Network Failure Detection: link
    Notify Switches: true
    Failback: true
    Active Adapters: vmnic0
    Standby Adapters: vmnic3
    Unused Adapters:
    
  3. To add eth3 to the list of active adapters, type # esxcli network vswitch standard policy failover set -v vSwitch0 --active-uplinks vmnic0,vmnic3.

    The command changes the vmnic3 to the active mode.

  4. To verify the mode of eth3, type # esxcli network vswitch standard policy failover get -v vSwitch0.

    The system displays the following message:

    Load Balancing: srcport
    Network Failure Detection: link
    Notify Switches: true
    Failback: true
    Active Adapters: vmnic0, vmnic3
    Standby Adapters:
    Unused Adapters:
    
  5. To remove a vmnic from a vSwtich, type # /opt/avaya/bin/nic_teaming remove <vmnic> <vSwitch>.
  6. To move an additional vmnic back to standby mode, type # esxcli network vswitch standard policy failover set -v vSwitch0 --active-uplinks vmnic0 --standby-uplinks vmnic3

    This puts the additional NIC back to standby mode.

  7. To verify if the vmnic is moved to standby, type # esxcli network vswitch standard policy failover get -v vSwitch0.

    The system displays the following:

    Load Balancing: srcport
    Network Failure Detection: link
    Notify Switches: true
    Failback: true
    Active Adapters: vmnic0
    Standby Adapters: vmnic3
    Unused Adapters:
    
    warningWarning

    The management and virtual machine network connections might be interrupted if you do not use correct network commands. Do not remove or change vmnic0, vmnic1, and vmnic2 from vSwitches or active modes.