Sun StorEdge Network FC Switch-8 and Switch-16 Operations Guide Switch 3.0 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303 U.S.A. 650-960-1300 Part No. 816-1986-10 August 2001, Revision A Send comments about this document to: docfeedback@sun.
Copyright 2001 Sun Microsystems, Inc., 901 San Antonio Road • Palo Alto, CA 94303-4900 USA. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.
Preface The Sun StorEdge Network FC Switch-8 and Switch-16 Operations Guide describes how to upgrade the Sun StorEdge the Sun StorEdge Network FC Switch-8 and Switch-16 software. It provides information on how to replace switches within a working systemI t provides information and pointers to additional documentation you may need for installing, configuring, and using the configuration.
Typographic Conventions Typeface Meaning Examples AaBbCc123 The names of commands, files, and directories; on-screen computer output Edit your .login file. Use ls -a to list all files. % You have mail. AaBbCc123 What you type, when contrasted with on-screen computer output % su Password: AaBbCc123 Book titles, new words or terms, words to be emphasized Read Chapter 6 in the User’s Guide. These are called class options. You must be superuser to do this.
Related Documentation Product Application Title Part Number SANbox Installer/User’s information SANbox-16STD Fibre Channel Switch Installer’s/User’s Manual 875-3141-10 Installer/User’s information SANbox-8 Fibre Channel Switch Installer’s/User’s Manual 875-3142-10 Installer/User’s Information SANbox 8/16 Switch Management User’s Manual 875-3143-10 Install/configuration Sun StorEdge Network FC Switch-8 and Switch-16 Installation and Configuration Guide 816-0830-10 Latest Information Sun Sto
Product Application Title Part Number Traffic Management Sun StorEdge Traffic Manager Installation and Configuration Guide 816-1420-10 Hub information Sun StorEdge FC-100 Hub Installation and Service Manual 805-0315-12 Storage Cabinet Rackmount information Online Rackmount Placement Matrix 805-4748-xx Software RAID software RAID Manager 6.
Please include the part number (816-1986-10) of your document in the subject line of your email.
viii Sun StorEdge Network FC Switch-8 and Switch-16 Operations Guide • August 2001
Contents 1. Sun StorEdge Network FC Switch-8 and Switch -16 Switch Operations—Switch 3.0 1 0.1 Introduction 1 0.2 Product Software Installation 2 0.2.1 Minimum System Requirements 0.2.2 Firmware Download 0.2.3 Upgrading the GUI 3 ▼ To Remove the 2.0 GUI 4 ▼ To Install the 3.0 GUI Software ▼ To Install the 3.0 GUI Patch ▼ To Start the GUI Software 5 ▼ To Use the Command Line ▼ ▼ 3 3 4 5 5 To Use Component Manager 2.2.
0.5.1 9 0.5.1.1 Synopsis 0.5.1.2 Description 0.6 Sun StorEdge A5200 Array 0.
▼ To Prepare the System ▼ To Remove the Port 28 28 0.7.2 Moving a Port from One Zone to Another 0.7.3 Adding a Port to a Zone ▼ 0.7.4 Glossary 30 31 To Add a Host to an Existing Zone or Switch (Non disruptive) 32 Verifying the Results 32 0.7.4.1 Verifying the Software Package Installation 0.7.4.
xii Sun StorEdge network FC switch-8 and switch-16 Operations Guide • August 2001
CHAPTER Sun StorEdge Network FC Switch-8 and Switch -16 Switch Operations—Switch 3.0 0.1 Introduction This manual is intended for administrators who encounter trouble in setting up their configurations. It provides information on how to replace a switch in the fabric. The SAN environment consists of hosts, Fibre Channel switches, and storage subsystems. The SAN environment can be configured into various different forms, depending on the type of elements used in the SAN environment.
■ Sun Enterprise F3800 server host (only with the Sun StorEdge CPCI Dual Fibre Channel Adapter) ■ Sun Enterprise 4800 server host with PCI Single Fibre Channel Adapter and PCI Dual Fibre Channel Adapter ■ Sun Enterprise F4810 server host with PCI Single Fibre Channel Adapter and PCI Dual Fibre Channel Adapter ■ Sun Enterprise F6800 server host with PCI Single Fibre Channel Adapter and PCI Dual Fibre Channel Adapter You can attach different types of storage subsystems to the switches.
0.2.1 Minimum System Requirements See the updated Sun StorEdge Network FC Switch-8 and Switch-16 Release Notes posted on this site for information on minimum system requirements and required Solaris 8 patches. Your system must meet minimum requirements before proceeding with switch GUI or firmware upgrade. Note that the StorTools diagnostics package listed in the minimum system requirements is optional, and is not required for switch operation. 0.2.
▼ To Remove the 2.0 GUI 1. In the root directory, type: # pkgrm SUNWsmgr The following message displays: The following package is currently installed. SUNWsmgr SANSurfer, Qlogic Fibre Channel Administration (i86pc, sparc) 2.07 Do you want to remove this package? 2. Type: # y [Yes] The following message is displayed. ## Removing installed package instance ## Verifying package dependencies. ## Processing package information.
▼ To Install the 3.0 GUI Patch If you have the 2.0 or 2.1 GUI already installed and you have the patch for the 3.0 GUI, you can upgrade the GUI with the 3.0 patch. 1. If you want to preserve your current user administration and fabric configurations, copy the current user administration file (app.dat) and fabric information file (default.fab) to another file. 2. Type: # patchadd 110696-xx ▼ To Start the GUI Software You can start the GUI with either the command line or Component Manager 2.2.
2. Enter the switch IP address in the Fabric window of the GUI. It may take a few seconds for the switch icon to become gray. You can click the Refresh button. 3. After the switch icon becomes gray, click the icon. Note – If the icon remains red, it is likely that the IP address is wrong, or that the switch cannot be accessed from that subnet, or the switch lacks power or an ethernet connection. ▼ To Verify the Flash You must have the correct flash for the 3.
5. Double-click the switch icon. The Topology View screen is erased, and the Switch FacePlate Display screen displays. 6. Make a note of the firware revision level. The revision level appears on the second line of the text in the upper right corner of the Switch FacePlate Display screen. ▼ To Load the Flash 1. Locate the file containing the new flash code on the management station. The default location is /usr/opt/SUNWsmgr/flash. 2. Choose Special>Update Flash.
0.3 Removal and Replacement of FRUs By Service Providers For removal and replacement procedures, see the “Removal/Replacement” chapter of the SANbox Segmented Loop Switch User’s Manual. 0.4 Power-On-Self-Test (POST) Refer to the SANbox-8/16 Segmented Loop Switch Management and User’s Manual for information about the POST and the HeartBeat LEDs. At startup, a switch runs a series of tests known as Power-On-Self-Test (POST) diagnostics.
■ 0.5 The correctness of the switch logic, with the help of various read/write register and loopback data-path tests. Troubleshooting Customer level troubleshooting instructions are provided in the Switch 3.0 Installation and Configuration Guide. Additional troubleshooting information, for ES use only, is provided in the Sun StorEdge Network FC Switch-8 and Switch-16 Troubleshooting Guide, 816-1701-xx. 0.5.
Broadcast: Broadcast address used by switch, if specified Gateway: Gateway address used by the switch Address Discovery: RARP, Bootp, or none ArpTimeOut: Time in milliseconds, before ARP table entries are discarded.
SNMP CONFIGURATION Name: Switch IP address Contact: snmp contact string, if configured Location: snmp location string, if configured Trap Address: IP address to send traps to Read Community: Read Community String Write Community: Write Community String Trap Community: Trap Community String Switch description: SysDesc, (programmed at the factory) Switch Object ID: SysObjectId, (programmed at the factory) Stage Type & Time Out Values Active: Chassis Stage Type: Operating mode of the switch,
Port Status For each port, the following information is provided: Port operating mode - F_Port, T_Port, TL_Port, SL_Port, or FL_Port Administrative state - online or offline Operational state Status - online or offline - not-logged-in or logged-in For loop Ports the AL_PAs of loop devices will be displayed For TL ports it will indicate whether they are in Target or Initiator mode, and any public devices proxied as a private device on the loop will be displayed.
NameServer Zone This section shows the nameserver zones effective in the switch. If port zoning is in effect, it will list all of the ports that are members of each active nameserver zone. If WWN zoning is in effect, it will list all of the WWNs that are members of each active nameserver zone. Broadcast Zone This section shows the broadcast zones effective in the switch. It will list all of the ports that are members of each active broadcast zone.
0.7 Switch Replacement Note – To perform the tasks in switch replacement you must have access to a SANsurfer GUI with network access to a working switch in the Fabric. You must also have SuperUser (root) access within the GUI. Note – You can use only a switch with factory default settings as a replacement switch. ■ The procedures for switch replacement need to be used with the SANBox-8/16 Switch Management User’s Manual Sun StorEdge network FC switch 3.0 (part number 875-3143, Rev. R19).
■ The switch to be replaced within the Fabric is responding to the SANsurfer GUI either through the Ethernet or in-band from a second switch. ■ The switch to be replaced within the Fabric has experienced a catastrophic failure and is not responding to the SANsurfer GUI, either through the Ethernet or inband from a second switch. If you have an archive of the Fabric and zoning template, skip the Saving Settings section because there is no way of recovering the switch’s current settings.
1. Double-click the Sun logo to display the Topology window. 2. Double-click the switch icon with the RJ45 connector to display the Faceplate window. Do not double click the RJ45 connector. 3. Change the Chassis ID to a unique number from 1 to 63. Do not choose a Chassis ID number that is currently assigned to the other switch. 4. Save the changes by clicking the Apply button. Select yes to messages about disrupting traffic and reconfiguring the switch. 5. Click Back to display the Topology window.
2. Within SANsurfer, highlight the switch you just powered off, and click the Delete button to confirm the deletion of the switch. 3. Label all the cables for replacement. 4. Disconnect all the Fibre cables from the failed switch. Remove all the GBICs from their ports. 5. Disconnect the Ethernet cable from the failed switch. 6. Disconnect all the power cables from the failed switch. 7. Remove the old switch and document serial numbers. 8. Write down the new switch serial number. 9.
▼ To Replace a Switch in a Single-Switch Fabric This section covers the replacement of a failed switch within a single switch Fabric. Three conditions may require you to replace a switch in a single-switch Fabric. ■ The switch to be replaced is responding to the SANsurfer GUI through the Ehernet. ■ The switch to be replaced has experienced a catastrophic failure and is not responding to the SANsurfer GUI, but you have an archive of the Fabric and zoning template.
4. Select Return to Fabric Screen from the View menu. 5. Click the Sun logo in the status column. 6. Click the Zoning button to enter the Zoning window. 7. From the Special pull-down menu, select the Save Template to File option. Select a unique .tp2 file name to save the zoning template. Zoning settings for all the switches in the Fabric are collected and stored. 8. Click the Back button to return to the Topology window. ▼ To Replace the Switch 1. Turn off the power to the switch. 2.
d. Verify the change by typing: # ifconfig -a 2. Enable the FORCED PROM mode on the switch. Using FORCED PROM mode allows the switch to use firmware stored in PROM, rather than flash memory, while you configure the switch IP address. You can use either the Force PROM button (16-port switch) or the Test Mode switch (8-port switch). ▼ To Use the Force PROM Button for the 16-port switch. The button is on the back panel of the switch chassis below port 16. a.
3. Plug the switch into the same Ethernet segment or subnet as the host and verify connectivity to the switch by typing: # ping 10.0.0.1 If the ping fails, replace the local area network with a crossover cable between the switch and the host Ethernet port. See the SANBox 8/16 Switch Management User’s Manual, Switch Preparation section, under “Using a Crossover Cable.” 4. Open the SANsurfer GUI. 5. From the Fabric screen enter 10.0.0.1 for the IP address of the switch and press Return twice.
2. Install the new switch in the old switch’s place. 3. Reconnect the power cables and the Ethernet cable. 4. Reinsert the GBICs into their previous ports and connect the Fibre cables. 5. Power on the new switch. ▼ To Restore the Saved Settings You may have to let the GUI change the stage type and update the firmware of the switch. The GUI will prompt you. The flash is stored in the directory /usr/opt/SUNWsmgr/flash The files begin with m08 or m16.
■ Both the switches to be replaced within the Fabric have had catastrophic failures and you have a copy of the Fabric archive and zoning template. ■ Both switches have had catastrophic failures and you do not have an archive of the Fabric or a zoning template. settings. ▼ To Replace the Switches When Both Are Responding to the SANsurfer GUI The First Switch 1. Launch the SANsurfer and connect to the switch.
▼ To Replace the Switches When One of the Switches Within the Fabric is Responding to the SANsurfer GUI The First Switch 1. Launch the SANsurfer and connect to the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for launching and connecting. 2. Replace the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for replacing the switch. 3. Restore the saved settings.
The Second Switch 1. Launch the SANsurfer and connect to the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for launching and connecting. 2. Replace the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for replacing the switch. 3. Restore the saved settings. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for restoring the saved settings.
1. Launch the SANsurfer and connect to the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for launching and connecting. 2. Replace the switch. See “To Replace a Switch in a Two-Switch Fabric” on page 14 and follow the steps for replacing the switch. 3. Configure the replacement switch for the Network. See “To Configure the Network for a Replacement Switch” on page 19.
3. See “To Replace a Switch in a Two-Switch Fabric” on page 14. Both switches have been replaced and are on the network. Because of the lack of the saved configuration you must reconfigure the switches. 0.7.1 Moving a Port with a Disk Array From One Zone to Another Caution – Removing a Zone or port is a destructive process. You must perform all the steps before removing the port from the Zone. Sun StorEdge Network FC Switch-8 and Switch -16 Switch Operations—Switch 3.
Array Array Array Array Array Switch Host Host Array Zone 1 Array Array FIGURE 0-1 Zone 2 Moving a Port with Disk Array—Switch with Two Hosts and Two Zones ▼ To Prepare the System 1. Unmount all the filesystems mounted on the devices present on that port. 2. Unconfigure and update the applications that were using the devices on that port. 3. Bring down all the hosts present in Zone 1. ▼ To Remove the Port 1.
If the port in Zone 1 is connected to A3500FC Disk Array and Zone 2 already contains at least one A3500FC Disk array, then go to Step 3. 2. Bring down the host in Zone 2. If the SANSurfer application is running on any other host, you can make the changes from that application. If you have the SANSurfer application up and running on any other host, you can go ahead with the changes from that application.
0.7.2 Moving a Port from One Zone to Another Array Array Array Switch Host Host Array Array Zone 1 Zone 2 FIGURE 0-2 Moving a Port to Another Zone 1. Using the SANSurfer application launched from another host, remove the port from Zone 1. See . 2. Add the port to zone 2. See SANbox 8/16 Switch Management User’s Manual. .
0.7.3 Adding a Port to a Zone Caution – Removing a Zone or port is a destructive process. The addition will have a LIP circulated through the loop by the switch. Adding a port is a nondestructive process. Array Array Array Switch Host Host Array Array Zone 1 Zone 2 FIGURE 0-3 Adding a Port to a Zone ● Add the port to zone 1 or Zone 2. See the SANbox 8/16 Switch Management User’s Manual. Sun StorEdge Network FC Switch-8 and Switch -16 Switch Operations—Switch 3.
▼ To Add a Host to an Existing Zone or Switch (Non disruptive) ● Add the port that contains the host to the zone. See the SANbox 8/16 Switch Management User’s Manual. 0.7.4 Verifying the Results Verifying that the service or system administrators techniques were successful is different for the software package and patches and the device driver packages. 0.7.4.
Glossary This glossary contains a definitions for terms used in this guide. Terms AL_PA FL_Port F_Port Arbitrated Loop Physical Address; 8-bit value used to identify a device. On a Fibre Channel switch, a port that supports Arbitrated Loop devices. On a Fibre Channel switch, a port that supports an N_Port. A Fibre Channel port in a point-to-point or Fabric connection. N_Port NL_Port G_Port SL_Port T_Port TL_Port A Fibre Channel port in a point-to-point or Fabric connection.
Zoning Zoning allows the user to divide the Fabric ports into zones for more efficient and secure communication among functionally grouped nodes. There are several types of zones and a port may be defined in any. No port can be in all zone types simultaneously. Hard Zones Hard Zones allow the division of the Fabric (one or more Switch chassis) into as many as 16 Fabric-wide zones that define the ports that can communicate with each other.