Brocade Access Gateway Administrator's Guide Supporting Fabric OS v7.0.0 (53-1002156-01, April 2011)

42 Access Gateway Administrator’s Guide
53-1002156-01
Device Load Balancing policy
3
Device Load Balancing policy
When Device Load Balancing policy is enabled, devices mapped to a port group always log into the
least-loaded N_Port in that port group. This helps to distribute the login load on each of the
N_Ports. This policy is intended for use in conjunction with device mapping. It provides an
automatic approach to mapping devices to the least-loaded N_Port within an N_Port group. To
effectively use this policy, it is recommend that you map devices to desired N_Port groups before
enabling this policy. The Port Grouping policy must be enabled before you can enable Device Load
Balancing.
Manually created mappings from devices to N_Ports take precedence over automatically created
mappings. Refer to “Mapping priority” on page 24 for details on connection priority for AG port
mapping. For more information on device mapping, refer to “Device mapping” on page 17.
Enabling the Device Load Balancing policy
Use the following steps to enable Device Load Balancing.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the configUpload command to save the switch’s current configuration.
3. The Port Grouping policy must be enabled to enable Device Load Balancing. Enter the ag
--policyshow command to determine if the Port Grouping policy is enabled. If it is not enabled,
enter ag --policyenable pg to enable this policy.
4. Enter the ag
--policyenable wwnloadbalance command to enable the Device Load Balancing
policy. Because Fibre Channel devices are identified by their WWNs, CLI commands use device
WWNs.
Disabling the Device Load Balancing policy
Before disabling this policy, you should save the configuration using the configUpload command in
case you need this configuration again.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the ag
--policydisable wwnloadbalance command to disable the Device Load Balancing
policy.
switch:admin> ag --policydisable wwnloadbalance
The policy WWN load balancing is disabled
3. Enter the ag --policyshow command to determine the current status of the Device Load
Balancing policy.
Device Load Balancing policy considerations
The Device Load Balancing policy should be enabled on the edge AG of a cascaded AG
configuration.
The Device Load Balancing policy is not applicable on a port group when the APC policy or
Automatic Login Balancing are enabled.