HP StorageWorks 2/16V Brocade Access Gateway Administrator's Guide - Supportin - Page 39

Managing the failover and failback policies, Enabling the failover policy

Page 39 highlights

Managing the failover and failback policies 4 Managing the failover and failback policies The failover and failback policies determine the behavior of the F_Port if the N_Port they are mapped to goes OFFLINE or is disabled. By default, the failover policy is enabled and the failback policy is enabled. This section explains how to change the policy settings. Both the failover and failback processes are disruptive. When a host connection fails over and fails back to another online N_Port, the F_Port connection is disabled and then re-enabled on the new N_Port. Each time the host changes N_Ports, it receives a new PID. The host must establish a new session to the fabric. Enabling the failover policy A switch in Access Gateway mode supports automatic N_Port failover to other N_Ports connected to the same fabric. When a port is first configured as an N_Port, the failover policy is enabled by default. If the N_Port goes offline, the F_Ports mapped to that N_Port are automatically failed over to other online N_Ports connected to the same fabric. If there are multiple online N_Ports connected to the same fabric, the mapped F_Ports are distributed evenly between the N_Ports. Failover generates an error message. To enable failover 1. Connect and log in to the switch. 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 To disable failover 1. Connect and log in to the switch. 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 supported 3. Enter the ag --failoverdisable command with the --failoverdisable operand to disable failover. switch:admin> ag --failoverdisable 13 Failover policy is disabled for port 13 Access Gateway Administrator's Guide 4-7 Publication Number: 53-1000430-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

Access Gateway Administrator’s Guide
4-7
Publication Number: 53-1000430-01
Managing the failover and failback policies
4
Managing the failover and failback policies
The failover and failback policies determine the behavior of the F_Port if the N_Port they are mapped to
goes OFFLINE or is disabled. By default, the failover policy is enabled and the failback policy is
enabled. This section explains how to change the policy settings.
Both the failover and failback processes are disruptive. When a host connection fails over and fails back
to another online N_Port, the F_Port connection is disabled and then re-enabled on the new N_Port.
Each time the host changes N_Ports, it receives a new PID. The host must establish a new session to the
fabric.
Enabling the failover policy
A switch in Access Gateway mode supports automatic N_Port failover to other N_Ports connected to
the same fabric. When a port is first configured as an N_Port, the failover policy is enabled by default.
If the N_Port goes offline, the F_Ports mapped to that N_Port are automatically failed over to other
online N_Ports connected to the same fabric. If there are multiple online N_Ports connected to the same
fabric, the mapped F_Ports are distributed evenly between the N_Ports.
Failover generates an error message.
To enable failover
1.
Connect and log in to the switch.
2.
Enter the
ag
command with the
--failovershow
<
n_portnumber>
operand to display the failover
setting.
3.
Enter the
ag
command with the
--failoverenable
<
n_portnumber>
operand to enable failover.
To disable failover
1.
Connect and log in to the switch.
2.
Enter the
ag
command with the
--failovershow
<
n_portnumber>
operand to display the failover
setting.
3.
Enter the
ag --failoverdisable
command with the
--failoverdisable
<
n_portnumber>
operand to
disable failover.
switch:admin> ag --failovershow 13
Failover on N_Port 13 is not supported
switch:admin> ag --failoverenable 13
Failover policy is enabled for port 13
switch:admin> ag --failovershow 13
Failover on N_Port 13 is supported
switch:admin> ag --failoverdisable 13
Failover policy is disabled for port 13