HP 8/40 Access Gateway Administrator's Guide (53-1001760-01, June 2010) - Page 57

Rebalancing F_Ports

Page 57 highlights

Port Grouping policy 3 Port Group 3 created successfully 3. Enter the ag --pgshow command to verify the port group was created. switch:admin> ag --pgshow PG_ID PG_Name PG_Mode N_Ports F_Ports 0 pg0 lb,mfnm none none 2 SecondFabric - 0;2 4;5;6 3 FirstFabric lb 1;3 10;11 Rebalancing F_Ports To minimize disruption that could occur once F_Ports go offline or when additional N_Ports are brought online you can modify the default behavior of the automatic login balancing feature by disabling or enabling rebalancing of F_Ports when F_Port offline or N_Port online events occur. 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the agautomapbalance --enable command with appropriate operands to enable automatic login redistribution of F_Ports. In the following example, rebalancing of F_Ports in port group 1 in Access Gateway is enabled when an F_Port online event occurs. switch:admin> agautomapbalance --enable -fport -pg 1 3. Enter the agautomapbalance --disable - all command with appropriate operands to disable automatic login distribution of N_Ports for all PGs in the Access Gateway when an N_Port online event occurs. switch:admin> agautomapbalance --disable -nport -all 4. Enter the agautomapbalance --disable - all command with appropriate operands to disable automatic login distribution of F_Ports for all port groups in the Access Gateway when an F_Port online event occurs. switch:admin> agautomapbalance --disable -fport -all 5. Enter the agautomapbalance --show command to display the automatic login redistribution settings for port groups. In the following example, there are two port groups, 0 and 1. switch:admin> agautomapbalance --show AG Policy: pg PG_ID LB mode nport fport 0 Enabled Enabled Disabled 1 Disabled - - This command also displays the automatic login redistribution settings for N_Ports and F_Ports as shown in the following example. switch:admin> agautomapbalance --show AG Policy: Auto Access Gateway Administrator's Guide 37 53-1001760-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96

Access Gateway Administrator’s Guide
37
53-1001760-01
Port Grouping policy
3
Port Group 3 created successfully
3.
Enter the
ag
--
pgshow
command to verify the port group was created.
switch:admin>
ag --pgshow
PG_ID PG_Name
PG_Mode
N_Ports
F_Ports
-----------------------------------------------
0
pg0
lb,mfnm
none
none
2
SecondFabric
-
0;2
4;5;6
3
FirstFabric
lb
1;3
10;11
Rebalancing F_Ports
To minimize disruption that could occur once F_Ports go offline or when additional N_Ports are
brought online you can modify the default behavior of the automatic login balancing feature by
disabling or enabling rebalancing of F_Ports when F_Port offline or N_Port online events occur.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
agautomapbalance
--
enable
command with appropriate operands to enable
automatic login redistribution of F_Ports. In the following example, rebalancing of F_Ports in
port group 1 in Access Gateway is enabled when an F_Port online event occurs.
switch:admin>
agautomapbalance --enable -fport -pg 1
3.
Enter the
agautomapbalance
--
disable - all
command with appropriate operands to disable
automatic login distribution of N_Ports for all PGs in the Access Gateway when an N_Port
online event occurs.
switch:admin> agautomapbalance --disable -nport -all
4.
Enter the
agautomapbalance
--
disable - all
command with appropriate operands to disable
automatic login distribution of F_Ports for all port groups in the Access Gateway when an
F_Port online event occurs.
switch:admin> agautomapbalance --disable -fport -all
5.
Enter the
agautomapbalance
--
show
command to display the automatic login redistribution
settings for port groups. In the following example, there are two port groups, 0 and 1.
switch:admin>
agautomapbalance --show
AG Policy: pg
--------------------------------------------
PG_ID LB mode nport fport
--------------------------------------------
0 Enabled
Enabled
Disabled
1 Disabled
-
-
---------------------------------------------
This command also displays the automatic login redistribution settings for N_Ports and
F_Ports as shown in the following example.
switch:admin>
agautomapbalance --show
-------------------------------------------------
AG Policy: Auto