HP StorageWorks 8/80 Brocade Access Gateway Administrator's Guide v6.2.0 (53-1 - Page 33

Enabling the Failover policy, ag --failovershow 13

Page 33 highlights

Failover policy 2 • Next the F_A2 port goes offline, as shown in Figure 4 on page 15 Example 2 (right), causing the corresponding Access Gateway N_2 port to be disabled. The ports mapped to N_2 (F_1, F_3, and F_4) fail over to N_3 and N_4. Note that the F_Ports are evenly distributed to the remaining online N_Ports and that the F_2 port did not participate in the failover event. Example 1 Hosts Host_1 Access Gateway F_1 Host_2 F_2 N_1 Host_3 F_3 N_2 Host_4 F_4 Host_5 F_5 N_3 Host_6 F_6 N_4 Host_7 F_7 Fabric Edge Switch (Switch_A) F_A1 NPIV enabled F_A2 NPIV enabled Edge Switch (Switch_B) F_B1 NPIV enabled F_B2 NPIV enabled Example 2 Hosts Host_1 Host_2 Host_3 Host_4 Host_5 Host_6 Host_7 Access Gateway F_1 F_2 N_1 F_3 N_2 F_4 F_5 N_3 F_6 N_4 F_7 Fabric Edge Switch (Switch_A) F_A1 NPIV enabled F_A2 NPIV enabled Edge Switch (Switch_B) F_B1 NPIV enabled F_B2 NPIV enabled Host_8 F_8 Host_8 F_8 FIGURE 4 Example 1 and 2 Failover policy behavior Legend Physical connection Mapped online Failover route online Original mapped route (offline) Enabling the Failover policy 1. Connect to the switch and log in as admin. 2. Enter the ag command with the --failovershow operand to display the failover setting. switch:admin> ag --failovershow 13 Failover on N_Port 13 is not supported 3. Enter the ag command with the --failoverenable operand to enable failover. switch:admin> ag --failoverenable 13 Failover policy is enabled for port 13 Access Gateway Administrator's Guide 15 53-1001189-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

Access Gateway Administrator’s Guide
15
53-1001189-01
Failover policy
2
•
Next the F_A2 port goes offline, as shown in
Figure 4
on page 15 Example 2 (right), causing
the corresponding Access Gateway N_2 port to be disabled.
The ports mapped to N_2 (F_1, F_3, and F_4) fail over to N_3 and N_4. Note that the F_Ports
are evenly distributed to the remaining online N_Ports and that the F_2 port did not participate
in the failover event.
FIGURE 4
Example 1 and 2 Failover policy behavior
Enabling the Failover policy
1.
Connect to the switch and log in as admin.
2.
Enter the
ag
command with the
--
failovershow
<n_portnumber>
operand to display the
failover setting.
switch:admin>
ag --failovershow 13
Failover on N_Port 13 is not supported
3.
Enter the
ag
command with the
--
failoverenable
<n_portnumber>
operand to enable failover.
switch:admin>
ag --failoverenable 13
Failover policy is enabled for port 13
F_A2
Hosts
Access Gateway
Edge Switch
Fabric
(Switch_A)
enabled
NPIV
F_4
F_3
F_2
F_1
N_1
F_A1
enabled
NPIV
N_3
F_B1
enabled
NPIV
Host_1
Host_2
Host_3
Host_4
F_5
Host_5
F_6
Host_6
F_7
Host_7
F_8
Host_8
Edge Switch
(Switch_B)
N_4
F_B2
enabled
NPIV
N_2
Legend
Physical connection
Mapped online
Failover route online
Original mapped route
(offline)
Example 1
F_A2
Hosts
Access Gateway
Edge Switch
Fabric
(Switch_A)
enabled
NPIV
F_4
F_3
F_2
F_1
N_1
F_A1
enabled
NPIV
N_3
F_B1
enabled
NPIV
Host_1
Host_2
Host_3
Host_4
F_5
Host_5
F_6
Host_6
F_7
Host_7
F_8
Host_8
Edge Switch
(Switch_B)
N_4
F_B2
enabled
NPIV
Example 2
N_2