Dell Brocade M5424 Brocade 7.1.0 Access Gateway Administrator's Guide - Page 73

Failover with device mapping, Deleting F_Ports from a preferred secondary N_Port

Page 73 highlights

Failover policy 3 Deleting F_Ports from a preferred secondary N_Port 1. Connect to the switch and log in using an account assigned to the admin role. 2. Enter the ag --prefdel command with the "F_Port1;F_Port2;..." N_Port options to delete F_Ports from an N_Port. The list of F_Ports must be enclosed in quotation marks. Port numbers must be separated by a semicolon. In the following example, F_Ports 3 and 9 are deleted from preferred secondary N_Port 4. switch:admin> ag --prefdel "3;9" 4 Preferred N_Port is deleted successfully for the F_Port[s] Failover with device mapping Failover is handled similarly for port mapping and device mapping if devices are mapped to N_Port groups. If a device is mapped to an N_Port in a group, and an N_Port goes offline, the devices mapped to that N_Port will reconnect on the least-loaded online N_Ports in the group. Enabling or disabling the Failover or Failback policies for N_Ports has no effect on device mapping. A device will always fail over to an online N_Port in the port group, regardless of whether the Failback policy is enabled for an N_Port or not. Whereas, with port mapping, if you disable the Failover or Failback policy on an N_Port, the F_Port will not fail over or fail back to other N_Ports. Failover behavior is different if a device is mapped to a specific N_Port instead of to an N_Port group. If mapping a device to a specific N_Port, you can define a secondary N_Port that will be used if the primary N_Port is offline. To maximize the device uptime, it is recommended to map the device to a port group rather than to specific N_Ports. Adding a preferred secondary N-Port for device mapping (optional) Use the following steps to configure a secondary N_Port where devices will connect if their first or primary N_Port, if defined, is unavailable. 1. Connect to the switch and log in using an account assigned to the admin role. 2. To configure an N_Port as a failover port for one or multiple devices mapped to a specific N_Port, enter the ag --addwwnfailovermapping N_Port command with the "[WWN];[WWN]" option. All of the listed device WWNs will use the listed N_Port if it is available and the first mapped N_Port is unavailable. The following example configures N_Port 32 as the failover port for two devices already mapped to a primary N_Port. ag --addwwnfailovermapping 32 "10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11" To configure N_Port 32 as a failover port for all WWNs mapped to the N_Port, enter the ag --addwwnfailovermapping N_Port command with the --all option. ag --addwwnfailovermapping 32--all Access Gateway Administrator's Guide 53 53-1002743-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
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Access Gateway Administrator’s Guide
53
53-1002743-01
Failover policy
3
Deleting F_Ports from a preferred secondary N_Port
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
Enter the
ag
--
prefdel
command with the
“F_Port1
;
F_Port2
;
...
N_Port
options to delete
F_Ports from an N_Port.
The list of F_Ports must be enclosed in quotation marks. Port numbers must be separated by a
semicolon. In the following example, F_Ports 3 and 9 are deleted from preferred secondary
N_Port 4.
switch:admin>
ag --prefdel
"3;9" 4
Preferred N_Port is deleted successfully for the F_Port[s]
Failover with device mapping
Failover is handled similarly for port mapping and device mapping if devices are mapped to N_Port
groups. If a device is mapped to an N_Port in a group, and an N_Port goes offline, the devices
mapped to that N_Port will reconnect on the least-loaded online N_Ports in the group.
Enabling or disabling the Failover or Failback policies for N_Ports has no effect on device mapping.
A device will always fail over to an online N_Port in the port group, regardless of whether the
Failback policy is enabled for an N_Port or not. Whereas, with port mapping, if you disable the
Failover or Failback policy on an N_Port, the F_Port will not fail over or fail back to other N_Ports.
Failover behavior is different if a device is mapped to a specific N_Port instead of to an N_Port
group. If mapping a device to a specific N_Port, you can define a secondary N_Port that will be
used if the primary N_Port is offline. To maximize the device uptime, it is recommended to map the
device to a port group rather than to specific N_Ports.
Adding a preferred secondary N-Port for device mapping (optional)
Use the following steps to configure a secondary N_Port where devices will connect if their first or
primary N_Port, if defined, is unavailable.
1.
Connect to the switch and log in using an account assigned to the admin role.
2.
To configure an N_Port as a failover port for one or multiple devices mapped to a specific
N_Port, enter the
ag --addwwnfailovermapping
N_Port
command with the
“[WWN];[WWN]”
option. All of the listed device WWNs will use the listed N_Port if it is available and the first
mapped N_Port is unavailable.
The following example configures N_Port 32 as the failover port for two devices already
mapped to a primary N_Port.
ag --addwwnfailovermapping 32
10:00:00:06:2b:0f:71:0c;10:00:00:05:1e:5e:2c:11”
To configure N_Port 32 as a failover port for all WWNs mapped to the N_Port, enter the
ag
--addwwnfailovermapping
N_Port
command with the
--all
option.
ag --addwwnfailovermapping 32--all