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

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

Page 66 highlights

3 Failover 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 operands 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-based mapping Failover is handled similarly for port-based and device-based 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 Failover or Failback policies for N_Ports have no effect on device-based mapping. A device will always fail over to an online N_Port in the port group, regardless of whether Failback is enabled for an N_Port or not. Whereas, with port-based mapping, if you disable the Failover or Failback policy on an N_Port, the F_Port will not failover or failback to other N_Ports. Failover behavior is different if a device is mapped to an specific N_Port instead of to a 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 --delwwnfailovermapping N_Port command with the --all operand. ag --delwwnfailovermapping 32--all 46 Access Gateway Administrator's Guide 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

46
Access Gateway Administrator’s Guide
53-1001760-01
Failover
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 operands 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-based mapping
Failover is handled similarly for port-based and device-based 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 Failover or Failback policies for N_Ports have no effect on device-based
mapping. A device will always fail over to an online N_Port in the port group, regardless of whether
Failback is enabled for an N_Port or not. Whereas, with port-based mapping, if you disable the
Failover or Failback policy on an N_Port, the F_Port will not failover or failback to other N_Ports.
Failover behavior is different if a device is mapped to an specific N_Port instead of to a 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
--delwwnfailovermapping
N_Port
command with the
--all
operand.
ag --delwwnfailovermapping 32--all