beautypg.com

Failover with device-based mapping, Deleting f_ports, From a preferred secondary n_port – Dell POWEREDGE M1000E User Manual

Page 66: Deleting f_ports from a preferred secondary n_port

background image

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