DUAL_NICS by ashrafp

VIEWS: 7 PAGES: 4

									INSTRUCTIONS FOR IMPLEMENTING DUAL NICS:

01/26/2005

DO NOT USE the instructions for implementing dual nics in the
AFTER_MIGRATE.DOC. This way is easier.

Logical Procedure:

1.) Identify physical adapters to be combined. For example, a new p650 partition will
    only have two “10/100 Mbps Ethernet PCI Adapter II (1410ff01)” cards available.
    The SP nodes will have additional interfaces including the built-in “IBM PCI
    Ethernet Adapter (22100020)”. THE INTERNAL ADAPTER IS USED BY THE SP
    AND CANNOT BE USED IN THIS PROCEDURE.

2.) If replacing an existing adapter, the configuration should be saved to define the new
    adapter. This includes IP number, netmask, and routing information.

3.) Make sure both adapters are set to the SAME media speed. This procedure will fail if
    the media speeds are not the same. Most of them will be 100_Full_Duplex. If the
    adapter is a functioning gigE adapter, the media speed should be set to
    AutoNegotiate. If one adapter is not set to the same media speed as the primary
    adapter, change it through “Smitty – Devices – Communication – Ethernet Adapter –
    Adapter - Change/Show Characteristics of an Ethernet Adapter”.

4.) Both adapters will have to be taken down to create the dual nic. Determine the
    primary adapter with “netstat –in”, then do:

   ifconfig en0 down     (where en0 is the primary adapter)
   ifconfig en0 detach   (where en0 is the primary adapter)
   ifconfig en1 down      (where en1 is the secondary adapter)
   ifconfig en1 detach    (where en1 is the secondary adapter)

   Now remove the primary adapter only.

   rmdev –R –dl ent0 (where ent0 is the primary adapter)
   rmdev –R –dl ent1
   rmdev –R –dl ent2 (Etherchannel)
   rmdev –R –dl et0
   rmdev –R –dl et1
   rmdev –R –dl et2

   Confirm there are no addresses in the ODM with:
   odmget –q “attribute=netaddr” CuAt

   If there are any take steps to remove them.
   And run config manager to pick it back up cleanly:

   cfgmgr

   Neither one of the two adapters you are combining into the one Etherchannel adapter
   can have an IP address assigned to it. That is why you are removing the primary
   adapter and bringing it back in clean with cfgmgr. DOUBLE-CHECK THIS!!
   If you create an Etherchannel with an adapter that has an IP address assigned to it, the
   Etherchannel will be created, but it will NOT survive a system reboot. You‟ll have to
   go back in and set it up again. This gets very annoying.

5.) Create the dual nic adapter on AIX 5.1 by: (for AIX 5.2, see item #6)

   Smitty – Devices – Communication – Etherchannel – Add An Etherchannel

   A screen will pop up listing the available Ethernet adapters that says:
              Available Network Interfaces                 │
    │                                                │
    │ Move cursor to desired item and press F7.                        │
    │ ONE OR MORE items can be selected.                                 │
    │ Press Enter AFTER making all selections.                         │
    │                                                │
    │ ent0                                             │
    │ ent2                                             │
    │ ent1                                             │
    │ ent3

   *****On AIX 5.1, pick BOTH adapters from the list that appears. Select the
   primary adapter first with F7, then the secondary adapter with F7, then press
   Enter.

   The next screen that comes up will show BOTH adapters you selected on the first line
   as shown below:
                     Add An Etherchannel

   Type or select values in entry fields.
   Press Enter AFTER making all desired changes
    [Entry Fields]
    Etherchannel Adapters                        ent0 ent2         +
    Enable ALTERNATE ETHERCHANNEL address                          no                 +
    ALTERNATE ETHERCHANNEL address                            []              +
    Mode                                  standard         +
    Enable GIGABIT ETHERNET JUMBO frames                        no                +
    Internet Address to Ping                    []
    Number of Retries                         []             #
    Retry Timeout (sec)                       []             #
   On this screen, everything can default EXCEPT the “Mode”. On AIX 5.1, change the
   “Mode” from „standard‟ to “netif_backup” as show below:

     Etherchannel Adapters            ent0 ent2                   +
     Enable ALTERNATE ETHERCHANNEL address                        no                     +
     ALTERNATE ETHERCHANNEL address                           []                 +
     Mode                      netif_backup                   +
     Enable GIGABIT ETHERNET JUMBO frames                       no                   +
     Internet Address to Ping        []
     Number of Retries             []                         #
     Retry Timeout (sec)           []                         #

6.) Create the dual nic adapter on AIX 5.2 by:

   Smitty – Devices – Communication - EtherChannel / IEEE 802.3ad Link
Aggregation - Add An EtherChannel / Link Aggregation

       A screen will pop up listing the available Ethernet adapters that says:
               Available Network Interfaces                  │
 │                                                │
 │ Move cursor to desired item and press F7.                      │
 │ ONE OR MORE items can be selected.                                │
 │ Press Enter AFTER making all selections.                        │
 │                                                │
 │ ent0                                             │
 │ ent1                                             │
 │ ent2

***On AIX 5.2, select only the primary adapter on this screen. You will fill in the
backup adapter on the next screen as shown below.

             Add an EtherChannel / Link Aggregation

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                [Entry Fields]
 EtherChannel / Link Aggregation Adapters       ent0                     +
 Enable Alternate Address                   no          +
 Alternate Address                    []            +
 Enable Gigabit Ethernet Jumbo Frames          no                    +
 Mode                             standard         +
 Hash Mode                           default         +
 Backup Adapter                        ent1           +
 Internet Address to Ping                []
 Number of Retries                        []             +#
 Retry Timeout (sec)                      []             +#

****Also, please note that on AIX 5.2, the mode remains “standard”.

6.) Once you have created the dual nic adapter, it must be configured.

   Smitty – TCPIP – Minimum Configuration & Startup

   Select the new adapter you just created, fill in the IP address of the PRIMARY
   adapter that you noted in step #2. Make sure all other fields are correct – subnet
   mask, nameserver, gateway.

That‟s it! Your server is dual-nic-enabled, and should fail over automatically to the 2nd
Ethernet adapter if necessary.

Can test this functionality on the server by starting a ping to that particular server on a
terminal window, then unplugging the blue primary Ethernet cable on the back of the
server. Ping test should continue. Should be able to unplug the yellow secondary
Ethernet cable on the back of the server and see the ping test continue as well. If the ping
test stops – we have a problem. Either the port the cable is plugged into is not hot, the
cable is bad, there is no cable, etc.

								
To top