Teaming and VLANs in Novell NetWare*

Overview

VLANs (Virtual LAN, IEEE 802.1Q)

Teaming

Command Lines

Allocating Memory

Adding an Adapter into an Existing Team

Removing an Adapter for an Existing Team

Hot Plug Operations with an Adapter

Removing a Team

Receive Load Balancing (RLB)

NetWare* iANS Command Line Parameters and Keywords

Usage Notes

Troubleshooting


Overview

Driver name: iANS.LAN Location on CD-ROM: \NWSERVER

iANS.LAN is for Novell NetWare* 5.2 through NetWare 6.x that provides a variety of Advanced Network Services (ANS). ANS includes teaming and VLAN-based features. 


VLANs (Virtual LAN, IEEE 802.1Q)

All 100 and 1000 Server Adapters (except for the first generation 1000 Gigabit Server Adapter) supports VLANs.

General Configuration Notes:

Example for a Single 802.1Q VLAN Team:

Load ce100b slot=5 frame=ethernet_802.3 name=e83
Load ians vlanid=2 frame=ethernet_802.3 name=T1-VL2 team=1
Load ians vlanid=3 frame=ethernet_802.3 name=T1-VL3 team=1
Bind ians e83 team=1
Load ians commit mode=AFT team=1
Bind ipx T1-VL2 net=2
Bind ipx T1-VL3 net=3

In order to function properly, the adapters configured for IEEE VLANs must be connected to a "tagged" port (called a trunk port by Cisco) on an 802.1Q-capable switch.

Also see:


Teaming

Select the general teaming page (top level item) from the Table of Contents for a complete description of these modes.

For detailed instructions on configuring teams in Novell NetWare, see the Examples File.

Server Adapters Supporting Teaming

All 100 and 1000 Server Adapters support these teaming modes:

NOTES
  • Copper gigabit adapters may be teamed with 100 adapters at 10 or 100 Mbps or with adapters from other vendors.

  • SFT mode only allows for two adapters in the team.

  • All team members must be connected to the same switch or hub for AFT, ALB, RLB, and SLA teaming modes. The members of an SFT team must be connected to a different switch.

The ANS driver (required for all ANS features) for 100, as well as 1000 adapters is located at \NWSERVER\iANS.LAN.

Multi-Vendor Teaming

Multi-vendor teaming (MVT) is supported on Novell NetWare 5.1 through 6.x systems.

Not all vendors support LAN drivers that register NESL events. These drivers are required for MVT support.

MVT only supports mixed speed adapters in AFT, ALB, and SFT modes. MVT Load Balancing is provided at layer 3 for TCP, UDP (including multicast), and IP/Snap protocols.

Hot Plug operations are not supported for members of a Multi-Vendor Team.

NOTES:

  • ANS must be loaded prior to installing a non-adapter for Multi-vendor teaming.

  • If a failover occurs or if the primary adapter is changed, the MAC address changes. Clients are notified by an ARP broadcast. When any team member receives an ARP request, the ANS software responds only with the MAC address for the current primary adapter.



Command Lines 

Basic Structure: 

  1. Load the appropriate base driver with appropriate parameters, including frame size.

  2. Load iANS driver with appropriate parameters, including frame size.

  3. Bind iANS driver to the adapter name.

  4. Create the team: LOAD iANS COMMIT <mode>.

  5. Bind the protocol to the iANS driver using the name that was assigned when iANS was loaded.

If you are using only one frame type, a single team, and no VLANs, you can bind the protocol directly to the iANS driver without using an assigned name. Include a net=n number, especially in a script since the system requests the number if not given.

Example of Mixed Speed Fault Tolerance Team:

Load CE100b name=100Meg
Load E1000 name=Gigabit
Load iANS
Bind iANS Gigabit Primary
Bind iANS 100Meg
Load iANS COMMIT MODE = AFT
Bind IPX iANS Net=2
Bind <Protocol> iANS <Address>

For more examples of specific load commands for AFT, ALB, RLB, SLA or  SLA see the adapter teaming Examples page.


Allocating Memory

When using teams or multiple VLANs, the server's default packet buffers should be increased. To do this, add the following lines to the STARTUP.NCF file which is located in the same directory that NetWare is launched from, usually C:\NWSERVER\STARTUP.NCF.

SET MINIMUM PACKET RECEIVE BUFFERS = 500 (or higher)
SET MAXIMUM PACKET RECEIVE BUFFERS = 2000 (or higher)

"SET MINIMUM PACKET" designates the minimum number of packet receive buffers the system shall allocate, and "SET MAXIMUM PACKET" designates the maximum. Make sure that the maximum setting is equal to or greater than the minimum setting. The number of buffers required is based on the number of VLANs and which teaming features are in use.

For every virtual adapter, team, or VLAN used, iANS requests 64 buffers. When in Adaptive Load Balancing modes (ALB, SLA, SLA, RLB and Link Aggregation - static IEEE 802.3ad), 64 buffers are needed for each adapter in the team. The non-load balancing AFT and SFT modes only require 64 buffers for the team.

As an example, an ALB team of two adapters that uses 12 VLANs would require 64 [buffers] * 2 [adapters] * 12 [VLANs] = 1536 for the minimum packet receive buffers. This number is in addition to any other buffers that the server may require for other purposes, including other adapters.

The default amount of memory used by each NetWare receive buffer is approximately 4K (varies slightly with different versions). If the extra memory requirement is a problem, the following configurations may help to reduce the impact.

NOTE:  This does not work if Ethernet Jumbo Frames are in use. The packet size must be increased to accommodate the jumbo frames. 

Adding an Adapter into an Existing Team

A member can be added into team after a commit is done in the following way:

  1. Bind the new adapter to iANS using the 'bind" command. For example "Bind ians ce_100II".

  2. Use the "load ians recommit" command to complete the operation.

  3. For an SLA team, the member should be added to the team only when the link down. The reason is that when a port is added to a switch channel before the adapter is added to the ANS team, disconnections will occur as the switch will start forwarding traffic to the port before the member is actually configured. The opposite, where the member is first added to the ANS team and then added to the switch channel, is also problematic because ANS will forward traffic to the member before the port is added to the switch channel and disconnection will occur."


Removing an Adapter from an Existing Team

In an SLA team, the member should be removed from the team only when the link down, as described in Adding an Adapter into an Existing Team.


Hot Plug Operations with an Adapter

In an SLA team, the adapter should be removed from the team only when the link down, as described in Adding an Adapter into an Existing Team.


Removing a Team

To remove a team, unload iANS.LAN by typing "UNLOAD IANS" at the console. Remember to comment out any lines you added to autoexec.ncf or a batch file if you do not want them to reload when you restart the server.


Receive Load Balancing (RLB)

Receive Load Balancing (RLB) is a method for dynamic distribution of received data traffic load among multiple physical channels. The purpose of RLB is to improve overall bandwidth and end-station performance in teaming mode ALB, which currently receives all incoming traffic on the primary member only. RLB provides receive load balancing by dividing incoming IP traffic among all the adapters, with the ability to shift traffic away from any adapter that goes out of service.

Refreshing Load Balancing

In order to achieve a fair distribution of clients among all enabled members the receive load balancing client table is refreshed at even intervals (default is 5 minutes). The refresh involves selecting new members for each client.

Adapter Failure

In case of adapter failure, the primary member will work in promiscuous mode until the return of the disabled member or the removal via Hot Plug operations of this adapter. Working in promiscuous mode can degrade performance.

In all teaming modes there must be a designated preferred primary. If the user doesn't choose one, ANS will do so.

If the primary adapter has a failure another primary will take its place. As soon as the preferred primary is enabled, a fail back will occur and the preferred primary will return as the team primary.

Change Preferred Primary

Change preferred primary is not allowed in RLB mode using Novell NetWare ANS, without reloading the team.

Removal of Preferred Primary

Re-adding a dynamically removed preferred primary in a team is not recommended.

Removing the Secondary adapter via Hot Plug Operations

All clients are failed over to the primary (such that the team is actually working in ALB mode).

The team will return to work in mode RLB gradually as clients refresh their ARP tables. This process may take up to 10 minutes, depending on the refresh timing of the client's ARP table .

Adapter Hot Add

The clients are rebalanced over the new adapter if it is in the highest speed group of adapters.

Enabling/Disabling RLB

RLB is enabled by default in ALB team mode. To disable RLB, load the team with ALB mode and write:

        rlbmode = disable

Enabling or disabling RLB cannot be done after commit.

Example: Load ans commit mode = ALB rlbmode = disable


Novell NetWare iANS Command Line Parameters and Keywords

The following Novell NetWare keywords apply to the NetWare iANS driver.

NOTE: Always type IANS before the keyword and always include the team number in the command line if more than one team exists.

See also Examples files for usage.

Keywords Description
HELP or -h
-h <keyword>
Used alone, this command shows a list of all known iANS keywords. If it is followed by a keyword, a specific help message is displayed for that keyword. 
STATUS Displays the status of the team. If more than one team exists, the team name must be included. 
NAME Gives user the ability to set a unique string identifier for each virtual adapter (team or VLAN).
TEAM Assigns unique numeric identifiers for each virtual adapter (team or VLAN). The number can be user assigned or machine generated.
Range: 0-9999
Default: 1 and increments by one
MODE Sets the teaming type for the given team.
Modes: AFT | ALB | SFT | SLA | AD
Default: AFT
 
AFT Adapter Fault Tolerance
ALB Adaptive Load Balancing (including RLB)
SFT Switch Fault Tolerance
SLA  
AD IEEE 802.3ad dynamic teaming mode (LACP or Dynamic Link Aggregation)
BIND Matches physical adapters to specific drivers and virtual adapters to protocols.
COMMIT Used after binding all underlying base drivers as team members before binding to the protocol.
RECOMMIT Used to dynamically add members or VLANs to an existing team.
REMOVETEAM Used to remove any team by number except the last team.
PRIMARY Allows user to set the primary adapter. If not specified, the default is the first team member. 
SECONDARY Allows user to set the secondary adapter.
NO_DEFAULT_PRIMARY Allows user to block to software from choosing the first team member as the primary.
SMPMODE Enables SMP awareness. Use only on first load ians line.
Values: SMP | NONSMP
Default: Matches the machine
 
TX_ECBS_TO_USE Sets the number of ECBs (buffers) in RAM for each virtual adapter (team or VLAN).
Range: 0-9999
Default: 64

Use on load line.
MAX_TX_QUEUE Sets the depth of the transmit queues.
Range: 0-9999
Default: 1000
RESET LBN Resets a particular virtual adapter (logical board number).
DELAY Sets the time interval, in minutes, before actual commit.
Range: 0-5
Default: 0

The following commands are specific to certain team modes.

When setting intervals for different probe commands, please note that a "tic" is a unit of time equal to 110 milliseconds.

NOTE: Always include the team number in the command line if more than one team exists.
 
Parameter Description
VLANID Creates a virtual adapter with a specific VLAN number (must match network).
Range: 1-4095
REMOVEVLANID Removes the set VLANID
PROBES Allows checking for link state between team members (optional). Only for AFT, ALB, or SFT teams of more than 1 adapter using ETHERNET_II or ETHERNET_SNAP.
Range: ON | OFF     BROADCAST | MULTICAST
Default: ON, BROADCAST
PROBE_RETRY_COUNT Number of times probes will be resent before deciding the link is down
Range: 0-9999
Default: 7
PROBE_BURST_SIZE Number of back to back probes to send (to attempt to get through heavy traffic).
Range: 1-9999
Default: 3
PROBE_SET_DEFAULT Resets all probe-related parameters except PROBES.
PROBE_SEND_INTERVAL Sets the time interval between probe transmissions.
Range: 4 - 9998
Default: 18 tics
PROBE_CHECK_INTERVAL Sets the time interval between probe checks (returns).
Range: 0 - 9998
Default: 2 tics
PROBE_RECHECK_INTERVAL Sets the time interval between probe checks during retries.
Range: 0 - 9998
Default: 2 tics
BALANCE_INTERVAL Sets the amount of time between load balance checks (not AFT and SFT).
Range: 18-1080
Default: 180 tics
STFORWARD_DELAY Sets the SFT failover delay for SFT mode. Should be the max spanning tree forward delay for the switches connected to the server.
Range: 0-255
Default: 15
RLBMODE Enable/disable the receive load balancing in the ALB team mode.
Values: Enable/Disable
Default: Enable


Usage Notes


Troubleshooting


Last modified on 9/05/06 9:17p Revision 14