Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Administrator's Manual
Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Administrator's Manual

Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Administrator's Manual

Brocade access gateway administrator's guide (53-1000605-01, october 2007)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

53-1000605-01
19 Oct 2007

Access Gateway

Administrator's Guide
Supporting Fabric OS v6.0.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A7533A - Brocade 4Gb SAN Switch Base and is the answer not in the manual?

Questions and answers

Summary of Contents for Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base

  • Page 1: Access Gateway

    53-1000605-01 19 Oct 2007 Access Gateway Administrator’s Guide Supporting Fabric OS v6.0.0...
  • Page 2 Copyright © 2006-2007 Brocade Communications Systems, Inc. All Rights Reserved. Brocade, the Brocade B-weave logo, Fabric OS, File Lifecycle Manager, MyView, SilkWorm, and StorageX are registered trademarks and the Brocade B-wing symbol, SAN Health, and Tapestry are trademarks of Brocade Communications Systems, Inc., in the United States and/or in other countries.
  • Page 3: Table Of Contents

    Contents About This Document How this document is organized ......v Supported hardware and software ......vi What’s new in this document .
  • Page 4 Enabling Access Gateway mode......16 Using the CLI to enable Access Gateway mode ... . . 16 Chapter 3 Disabling Access Gateway Mode In this chapter .
  • Page 5: About This Document

    About This Document This document is a procedural guide to help SAN administrators configure and manage Brocade Access Gateway. This preface contains the following sections: • How this document is organized ........v •...
  • Page 6: Supported Hardware And Software

    Supported hardware and software In those instances in which procedures or parts of procedures documented here apply to some switches but not to others, this guide identifies exactly which switches are supported and which are not. Although many different software and hardware configurations are tested and supported by Brocade Communications Systems, Inc.
  • Page 7: Text Formatting

    Text formatting The narrative-text formatting conventions that are used in this document are as follows: bold text Identifies command names Identifies the names of user-manipulated GUI elements Identifies keywords and operands Identifies text to enter at the GUI or CLI italic text Provides emphasis Identifies variables...
  • Page 8: Additional Information

    For definitions specific to Brocade and Fibre Channel, see the Brocade Glossary. The following terms are used in this manual to describe Access Gateway mode and its components. Access Gateway (AG) Fabric OS mode for embedded switches that reduces SAN (storage area network) deployment complexity by leveraging NPIV (N_Port ID virtualization).
  • Page 9: Other Industry Resources

    Release notes are available on the Brocade Connect Web site and are also bundled with the Fabric OS firmware. Other industry resources • White papers, online demos, and data sheets are available through the Brocade Web site at http://www.brocade.com/products/software.jhtml. • Best practice guides, white papers, data sheets, and other documentation is available through the Brocade Partner Web site.
  • Page 10: Document Feedback

    *FT00X0054E9* FT00X0054E9 The serial number label is located as follows: • Brocade 200E—On the nonport side of the chassis • Brocade 4100, 4900, and 7500—On the switch ID pull-out tab located inside the chassis on the port side on the left •...
  • Page 11: In This Chapter

    Chapter Introduction to the Brocade Access Gateway This chapter describes the functions of Brocade Access Gateway. The Brocade 200E switch and the Brocade 4012, 4016, 4018, 4020, and 4024 embedded switches running Fabric OS 6.0.0 or higher support Access Gateway (AG). In this chapter •...
  • Page 12: Brocade Features In Access Gateway Mode

    Overview of Brocade Access Gateway FIGURE 1 Access Gateway and fabric switch comparison The differences between the fabric switch (Fabric OS native mode) and Brocade Access Gateway are as follows: • The Fabric OS switch is a part of the fabric; it requires two to four times as many physical ports, consumes fabric resources, and can connect to a Brocade-based fabric only.
  • Page 13: Access Gateway Port Types

    Access Gateway port types Access Gateway port types Brocade Access Gateway differs from a typical fabric switch because it connects to the fabric using node ports (N_Ports). Typically fabric switches connect to the enterprise fabric using ISL (InterSwitch Link) ports, such as an E_Port. The following defines the Fibre Channel (FC) port terms used in this manual: •...
  • Page 14: Port Mapping

    Port mapping NOTE The two devices in Figure 2 on page 3 are the same. One switch is in default standard mode and the other switch is in AG mode. Table 1 compares port configuration with Access Gateway to a typical fabric switch. TABLE 1 Port Configurations Port Type...
  • Page 15: Preferred Secondary N_Port Mapping

    Port mapping Figure 3 shows a mapping with eight F_Ports evenly mapped to four N_Ports on Brocade Access Gateway. The N_Ports connect to the same fabric through different edge switches. This example is also explains mapping, failover, and failback polices. Fabric Hosts Access Gateway...
  • Page 16: Failover And Failback Policies

    Failover and Failback policies Failover and Failback policies When a port is configured as an N_Port, the Failover policy is enabled by default. If a primary N_Port goes offline because a cable is removed or any other offline event, the F_Ports that are mapped to the N_Port are disabled.
  • Page 17: Access Gateway Policies

    Access Gateway policies a. The host sends a FLOGI (fabric login) request. b. Access Gateway converts the FLOGI request into an FDISC request to the fabric with the same parameters as the host. The fabric processes the request and sends an FDISC response. d.
  • Page 18 Access Gateway policies 3. If the N_Port Failover policy is enabled, and a Preferred Secondary N_Port is specified for the F_Port and that N_Port is online, the F-Port fails over to respective Preferred Secondary N_Port, and then re-enables. NOTE The Preferred Secondary N_Port is defined per F_Port. For example, if two F_Ports are mapped to a primary N_Port1, you can define a secondary N_Port for one of those F_Ports and not define a secondary N_Port for the other F_Port.
  • Page 19: Failback Policy

    Access Gateway policies Example 1 Example 2 Access Gateway Access Gateway Hosts Hosts Host_1 Host_1 Fabric Fabric Edge Switch Edge Switch (Switch_A) (Switch_A) Host_2 Host_2 F_A1 F_A1 NPIV NPIV enabled enabled Host_3 Host_3 F_A2 F_A2 NPIV NPIV enabled enabled Host_4 Host_4 Edge Switch Edge Switch...
  • Page 20: Port Grouping Policy

    Access Gateway policies In Example 3, the ports F_1 and F_2 are mapped to N_1 and continue routing to N_3. Ports F_3 and F_4 were originally mapped to N_2 are disabled and rerouted to N_2, and then enabled. Example 3 Fabric Access Gateway Hosts...
  • Page 21 Access Gateway policies FIGURE 7 pg0 default setup Figure 8 demonstrates that if you created port groups then, when an N_Port goes offline, the F_Ports being routed through that port fails over to any of the N_Ports that are part of that port group and are currently active.
  • Page 22: Automatic Port Configuration (Apc)

    Access Gateway policies ATTENTION If N_Ports connected to unrelated fabrics are grouped together, N_Port failover within a port group can cause the F_Ports to connect to a different fabric and the F_Port may lose connectivity to the targets it was connected to before failover, causing I/O disruption. You can create new port groups and add N_Ports to these groups.
  • Page 23 Access Gateway policies The APC is mutually exclusive with the Port Grouping policy. When this policy is enabled on a switch connected to multiple fabrics, no attempt is made by Access Gateway to restrict failover behavior even if N_Ports are connected to unrelated fabrics. It is recommended not to use this policy when Access Gateway is connected to multiple fabrics.
  • Page 24 Access Gateway policies Access Gateway Administrator’s Guide 53-1000605-01...
  • Page 25: Chapter 2 Configuring Access Gateway

    Chapter Configuring Access Gateway This chapter describes the initial setup required to deploy Brocade Access Gateway. NOTE Refer to the Web Tools Administrator’s Guide to manage Access Gateway using Web Tools. In this chapter • Verifying the fabric and edge switch settings ......15 •...
  • Page 26: Enabling Access Gateway Mode

    Enabling Access Gateway mode Enabling Access Gateway mode This section explains how to change the switch mode from Fabric OS Native mode to Access Gateway mode using the command line interface. Converting a switch to a Brocade Access Gateway allows you to use the switch as a device management tool that transparently connects hosts to the fabric.
  • Page 27 Enabling Access Gateway mode switch:admin> switchshow switchName: switch switchType: 43.2 switchState: Online switchMode: Native switchRole: Principal switchDomain: switchId: fffc01 switchWwn: 10:00:00:05:1e:03:4b:e7 zoning: switchBeacon: Area Port Media Speed State Proto ===================================== No_Module Online F-Port 50:06:0b:00:00:3c:b7:32 Online F-Port 10:00:00:00:c9:35:43:f5 No_Sync No_Sync Disabled (Persistent) Online F-Port 50:06:0b:00:00:3c:b4:3e...
  • Page 28 Enabling Access Gateway mode If the parameter is set to ‘0’, continue to the next step. If the parameter is not set to ‘0’, change the parameter and reboot the switch. 4. Enter the ag modeenable command to enable Access Gateway mode. switch:admin>...
  • Page 29 Enabling Access Gateway mode Enter the switchShow command without any options to display the status of all ports. switch:admin> switchshow switchName: switch switchType: 43.2 switchState: Online switchMode: Access Gateway Mode switchWwn: 10:00:00:05:1e:03:4b:e7 switchBeacon: Area Port Media Speed State Proto ===================================== No_Module Online F-Port...
  • Page 30 Enabling Access Gateway mode Access Gateway Administrator’s Guide 53-1000605-01...
  • Page 31: Chapter 3 Disabling Access Gateway Mode

    Chapter Disabling Access Gateway Mode This chapter describes how to disable Access Gateway mode. Disabling Access Gateway mode is disruptive; the switch is disabled and rebooted. In this chapter • Before you begin ..........21 •...
  • Page 32: Using The Cli To Disable Access Gateway Mode

    Notes on joining the switch to a fabric Using the CLI to disable Access Gateway mode After you disable Access Gateway mode, use the instructions in the Fabric OS Administrator’s Guide to reconfigure the switch and join it to the fabric. NOTE Disabling Access Gateway mode clears the current Access Gateway mode configuration and reboots the switch.
  • Page 33 Notes on joining the switch to a fabric To use a previous configuration 1. Enter the switchDisable command to disable the switch. 2. Enter the configDownload command to revert to the previous configuration. 3. Enter the switchEnable command to bring the switch back online. The switch automatically joins the fabric.
  • Page 34 Notes on joining the switch to a fabric Access Gateway Administrator’s Guide 53-1000605-01...
  • Page 35: In This Chapter

    Chapter Managing Ports in Access Gateway mode This chapter explains how to use the CLI to manage the ports on Brocade Access Gateway. NOTE Refer to the Web Tools Administrator’s Guide for information on setting up Access Gateway using Web Tools. In this chapter •...
  • Page 36 Determining the mapping and port status The following information displays. N_Port Port numbers of ports locked in N_Port mode. Configured F_Ports List of F_Ports that are mapped to the corresponding N_Port. For example, in the following sample output, F_Ports 9 and 10 are mapped to N_Port 0.
  • Page 37: Displaying The Port Status

    Configuring port maps Displaying the port status This section explains how to determine the port status. To display the port status 1. Connect and log in to the switch. 2. Enter the switchShow command without any options to display the status of all ports. switch:admin>...
  • Page 38: Adding F_Ports

    Configuring port maps NOTE For bladed servers, the HBA connects to the internal ports. Therefore, the internal ports are F_Ports and by default, only the external ports are configured as Imports. Adding F_Ports Adding an F_Port to an N_Port routes that traffic to and from the fabric through the specified N_Port.
  • Page 39: Removing F_Ports

    Configuring port maps 4. Enter the ag command with the mapadd <n_portnumber> “<f_port1;f_port2;...> operand to add the list of F_Ports to the N_Port. Where the f_portlist can contain multiple F_Port numbers separated by semicolons, for example “17;18”. switch:admin> ag --mapadd 13 "6;7" F-Port to N-Port mapping has been updated successfully 5.
  • Page 40: Configuring Additional F_Ports

    Configuring additional F_Ports The prefset command sets the preferred N_Port for one or more F_Ports. Preferred mapping is optional. Preferred F_Port to N_Port Mapping provides an alternate N_Port for F_Ports to come online for predictable failover and failback. An F_Port must have primary N_Port mapping before a secondary N_Port can be configured.
  • Page 41: Unlocking N_Port Mode

    Configuring additional F_Ports Figure 9 shows a host connected to an embedded switch’s external F_Port when Brocade Access Gateway is enabled. The newly configured F_Port was mapped to an N_Port. FIGURE 9 Example of adding an external F_Port (F9) on an embedded switch Unlocking N_Port mode By default, on embedded switches, all external ports are locked in N_Port mode when Access Gateway is enabled.
  • Page 42: Managing Policies

    Managing policies switch:admin> portcfgnport 10 0 Alternatively, to lock a port in N_Port mode, enter the portCfgNport <portnumber> 1 command. switch:admin> portcfgnport 10 1 4. Enter the portCfgNport command to display the N_Port lock settings and verify that the port is no longer locked in N_Port mode.
  • Page 43 Managing policies 3. Enter the ag command with the failoverenable <n_portnumber> operand to enable path 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 <n_portnumber>...
  • Page 44: Port Group Policy

    Managing policies Port Group policy The Port Group policy is enabled by default. To create a port group 1. Connect and log in to the switch. 2. Enter the command ag --pgcreate with the <PG_ID> “<N_Port1;N_Port2;…> [-n <PG_Name>] operands. switch:admin> ag --pgcreate 3 "12;13" -n Test Port Group 3 created successfully 3.
  • Page 45: Automatic Port Configuration (Apc)

    Managing policies To remove a port group from the switch 1. Connect and log in to the switch. 2. Enter the command ag --pgremove with the <PG_ID> operands. switch:admin> ag --pgremove 3 Port Group 3 has been removed successfully 3. Enter the command ag --pgshow to verify the port group has been deleted. switch:admin>...
  • Page 46 Managing policies To enable APC 1. Connect and log in to the switch. 2. Enter the configupload command to save the switch’s current configuration. 3. Enter the command switchdisable to disable the switch. 4. Enter the command ag --policyenable auto to enable the APC. 5.
  • Page 47 Appendix Default Port Mapping The following table shows the default F_Port to N_Port maps that are automatically configured when Access Gateway mode is enabled. All N_Ports have failover and failback enabled TABLE 5 Access Gateway default F_Port to N_Port mapping Brocade Total Ports F_Ports...
  • Page 48 Default Port Mapping Access Gateway Administrator’s Guide 53-1000605-01...
  • Page 49 Appendix Compatibility In Access Gateway mode, the switch can connect to a fabric that supports NPIV. Fabric OS supports NPIV in v5.0.1 and later. This section describes the supported Access Gateway configurations. Access Gateway Mode Switches The following switches support Access Gateway mode: •...
  • Page 50 Compatibility How to configure McDATA switch 1. Log in as admin on the McDATA switch. 2. Enable MS services on the McDATA switch and enter the following command: config OpenSysMs setState 3. Enable NPIV functionality on the edge fabric ports so that multiple logins are allowed for each port.
  • Page 51: Troubleshooting

    Appendix Troubleshooting This appendix provides troubleshooting instructions. TABLE 6 Troubleshooting Problem Cause Solution Switch is not in Access Switch is in Native switch mode Disable switch using the switchDisable command. Gateway mode Enable Access Gateway mode using the ag modeenable command. Answer yes when prompted;...
  • Page 52 Troubleshooting TABLE 6 Troubleshooting (Continued) Problem Cause Solution Failover is not working Failover disabled on N_Port. Verify that failover and failback policies are enabled, as follows: Enter the ag failoverShow command with the <port_number> operand. Enter the ag failbackShow command with the <port_number> operand.
  • Page 53: Access Gateway Commands

    Appendix Access Gateway Commands This appendix contains the commands for Access Gateway mode in the Fabric OS 6.0.0 release. System messages can be found in the Fabric OS Message Reference. This appendix uses the same conventions as the Fabric OS Command References. Access Gateway commands Enables and manages Access Gateway mode to perform AG specific operations.
  • Page 54 failbackdisable <N_Port> Disables the Failback policy for the specified N_Port. failbackenable <N_Port> Enables the Failback policy for the specified N_Port. failbackshow [N_Port] Displays the Failback policy for all the N_Ports. If an optional N_Port is specified, then the failback policy for that N_Port is displayed. failoverdisable <N_Port>...
  • Page 55 --pgcreate <PG_ID> “<N_Port1;N_Port2;…>” [-n <PG_Name>] Creates a port group with a PG_ID and associated N_Ports. Specify the port group name. Specify the port group ID. Specify the N_Ports associated with the port group ID. The N_Port numbers must be separated by semicolons. --pgdel <PG_ID>...
  • Page 56 --prefdel “<F_Port1;F_Port2; ...>” <N_Port> Deletes the N_Port as the secondary N_Port for the specified list of F_Ports. Specify the F_Ports. Specify the N_Port. The F_Port numbers must be separated by semicolons. --prefset “<F_Port1;F_Port2; ...>” <N_Port> Sets this N_Port as the secondary N_Port for the list of F_Ports specified. Specify the F_Ports.
  • Page 57 Examples To display Access Gateway information: switch:admin> ag --show Name : ST3 NodeName : 10:00:08:00:88:35:a0:12 Number of Ports : 16 IP Address(es) : 192.115.74.55 Firmware Version : v6.0.0v6.0.0_pit_070704_070 N_Ports F_Ports Policies enabled : pg Port Group information : PG_ID PG_Name PG_Members ----------------------------------------------------------------------------- 4;5;7;8;10...
  • Page 58 To display all the F_Ports that are mapped to a given N_Port: switch:admin> ag --mapshow N_Port Configured_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name ----------------------------------------------------------------------------- 0;1;2 None 3;4;5 None 6;7;8 None 9;10;11 None ----------------------------------------------------------------------------- switch:admin> ag --mapshow 15 N_Port : 15 Failover(1=enabled/0=disabled) : 1 Failback(1=enabled/0=disabled) : 1 Current F_Ports : None...
  • Page 59 Index commands ag --failbackDisable Access Gateway mode ag --failbackEnable commands ag --failbackShow comparison ag --failoverDisable configuration ag --failoverEnable disable ag --failoverShow enable ag --mapAdd introduction ag --mapDel manage ports ag --mapShow overview ag --modeDisable port types ag --modeEnable switches ag --modeShow terms ag --show ACL policies...
  • Page 60 display mapping status, port inband queries edge switch join fabric compatibility FLOGI long distance mode setting NPIV settings long distance mode, edge switch enable Access Gateway mode failback policy failover policy N_Port mode mapping configuration display example ports F_Port remove F_Port add to an N_Port show mapping, example...
  • Page 61 policy zoning failback, enable merge failover, enable schemes port setting comparison initialization management mapping requirements types requirements edge switch settings fabric settings ports settings ACL policies FLOGI inband queries Management Server Platform zone, no access status port, display show supported hardware and software switchMode Access Gateway mode Native...
  • Page 62 Access Gateway Administrator’s Guide 53-1000605-01...

Table of Contents