Brocade iSCSI Gateway Service Administrator's Guide (53-1000603-01, October 2007)

iSCSI Gateway Service Administrator’s Guide 35
53-1000603-01
Enabling/disabling connection redirection for load balancing
3
4. On the switch with the database you want to use fabric-wide, enter the iscsiCfg --commit all
command with the -f option as follows:
switch:admin> iscsicfg --commit all -f
This will commit ALL database changes made to all iSCSI switches in fabric.
This could be a long-running operation.
Continue (yes, y, no, n) [n]: y
The operation completed successfully.
5. To verify that the conflict has been resolved, enter the iscsiCfg --show fabric command as
follows:
switch:admin> iscsicfg --show fabric
Switch IDSwitch WWN Switch State iSNSC
220 10:00:00:05:1e:36:0d:f8 In Sync Disabled
* 1 10:00:00:60:69:e0:01:56 -- Disabled
Aggregated iSCSI database state for fabric: In Sync
Enabling/disabling connection redirection for load balancing
Connection redirection allows iSCSI sessions to be evenly distributed across ports on the same
blade. Before the maximum number of connections is reached for any given port, logins are
redirected to the next available port, resulting in an even distribution of sessions. This distribution
occurs only during the first login phase. Existing connections are not redistributed when iSCSI ports
change state from disabled to enabled or offline to online.
Connection redirection does not need to be committed as a configuration parameter. It is
independently enabled and disabled.
To enable connection redirection
1. Connect to the switch and log in.
2. Enter the iscsiswCfg - -enableconn command to enable connection redirection. For 48000
directors, the -s <slot number> option can be used to enable connection redirection for
specific slots, and the all option may be used to enable connection redirection for all slots.
The following example enables connection redirection for ports on blades located in slots 3, 4,
and 9.
iscsiSaturn1:root> iscsiswcfg --enableconn -s 3,4,9
The operation completed successfully
To disable connection redirection
1. Connect to the switch and log in.
2. Enter the iscsiswCfg - -disableconn command to disable connection redirection. For 48000
and 24000 directors, the -s <slot number> option can be used to disable connection
redirection for specific slots, and the all option may be used to disable connection redirection
for all slots.
The following example enables connection redirection for ports on a blade located in slot 9.
iscsiSaturn1:root> iscsiswcfg --disableconn -s 9
The operation completed successfully