Solaris SAN Conguration andMultipathing GuideSun Microsystems, Inc.4150 Network CircleSanta Clara, CA 95054U.S.A.Part No: 820–1931–12April 2009
System Crashes During stmsbootDuring the reboot following stmsboot enable (-e), disable (-d ), or update (-u) operations, ifyour system hangs, panics,
If the system is running on a Solaris 10 Update 4 OS (or later) x86 based system, perform thefollowing steps:a. Restore your original /boot/solaris/bo
102
IndexNumbers and Symbols24-bit FC addressing devices, 80AANSI standard Multipath Management API, 25-39Ap_Id, 81automatic failback, conguration, 51Bbo
deviceasymmetrical, 17conguration, 82devices, tape, 16devicestorage, 17disabling, multipathing, 42-45discoverydynamic, 57SAS devices, 57Eenabling, mu
multipathing (Continued)support, 25-39troubleshooting, 99-101Pper-port congurationconsiderations, 45-47enabling and disabling multipathing, 45-47pers
106
PrefaceThe Solaris SAN Conguration and Multipathing Guide provides an overview of the SunStorageTekTMTrac Manager software as an integrated part of
Chapter 7, “Conguring IPFC SAN Devices,” explains considerations when conguring IPFCSAN Devices.Chapter 8, “Sun Solaris 10 Update 6 x86/x64 Fibre Ch
Documentation, Support, and TrainingThe Sun web site provides information about the following additional resources: Documentation (http://www.sun.com/
Shell Prompts in Command ExamplesThe following table shows the default UNIX system prompt and superuser prompt for the Cshell, Bourne shell, and Korn
Product OverviewThis chapter provides an overview of the Sun StorageTek Trac Manager software, and coversthe following topics: “About Sun StorageTek
Software FeaturesThe Sun StorageTek Trac Manager software enables multipathing connections for the SunSolaris 10 OS hosts, with the following softwar
Persistent Device Naming – Dynamic Storage Discovery Devices that are congured withinthe Solaris OS Storage Multipathing software maintain their dev
addition of host controllers. The software uses a round-robin load-balancing algorithm bywhich individual I/O requests are routed to active host contr
Serial Attached SCSI-2 (SAS2)Supported StandardsChapter 1 • Product Overview 19
Copyright 2009 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.Sun Microsystems, Inc. has intellectual pr
20
Fibre Channel Conguration OverviewThis chapter provides information about conguring the Solaris OS Fibre Channel (FC) andStorage Multipathing softwa
TABLE 2–1 Tasks to Congure Solaris OS FC and Sun StorageTek Trac Manager Software(Continued)CongurationTask Task Description Reference InformationC
Note – If you are performing an upgrade and want to make any Fibre Channel (FC) devicesunavailable after upgrade, those devices have to be manually un
24
Administering Multipathing DevicesThroughmpathadm CommandsYou determine and congure Solaris OS multipathing support by using mpathadm commands.Starti
List the multipathing support by typing the mpathadm list mpath-support command.# mpathadm list mpath-supportmpath-support: libmpscsi_vhci.so(Only one
▼To Get a List of Initiator Ports Discovered on theSystemAn initiator port is part of a path that consists of an initiator port, target port, and a lo
Operational Path Count: 2/dev/rdsk/c4t60003BA27D2120004204AC1A000F1D6Cd0s2Total Path Count: 2Operational Path Count: 2▼To Get the Properties and Assoc
Target Port Name: 20030003ba27d212Override Path: NAPath State: OKDisabled: noInitiator Port Name: 2000000173018713Target Port Name: 20030003ba27d095Ov
ContentsPreface ...
Select a logical unit name from the output.Run the mpathadm show lu command.# mpathadm show lu /dev/rdsk/c4t60003BA27D2120004204AC2B000DAB00d0s2logica
Run the mpathadm list lu -t command.# mpathadm list lu -t 20030003ba27d212/dev/rdsk/c4t60003BA27D2120004204AC2B000DAB00d0s2Total Path Count: 2Operatio
Initiator Port Name: 2000000173818713Target Port Name: 20030003ba27d212Override Path: NAPath State: OKDisabled: noInitiator Port Name: 200000017301871
Run the mpathadm list mpath-support command.# mpathadm list mpath-supportmpath-support: libmpscsi_vhci.soSelect an mpath support name from the output
▼To Fail Over a Logical UnitThis operation is applicable only to devices in the following two categories: Asymmetric devices with a proprietary failov
Target Port Name: 20030003ba27d095Override path: NAPath State: OKDisabled: noTarget Port Groups:ID: 2Explicit Failover: yesAccess State: standbyTarget
Initiator Port Name: 2000000173018713Target Port Name: 20030003ba27d095Override path: NAPath State: OKDisabled: noTarget Port Groups:ID: 2Explicit Fai
mpath-support libmpscsi_vhci.soVendor: SUNProduct: T4Revision: 0301Name Type: SCSI Inquiry VPD page 83 type 3Name: 60003ba27d2120004204ac2b000dab00Asy
▼To Disable a PathThis operation makes the path unavailable for the logical unit, regardless of its operational state.Note – The disabled state is not
Target Port Name: 20030003ba27d095Override path: NAPath State: OKDisabled: noTarget Port Groups:ID: 2Explicit Failover: yesAccess State: standbyTarget
▼ To Fail Over a Logical Unit ... 34▼ To Enable
Conguring Multipathing SoftwareThis chapter explains how to congure the Sun StorageTek Trac Manager software that isprovided in the Solaris 10 OS f
Multipathing ConsiderationsBefore you change multipathing conguration note the following considerations. Then followthe instructions for your machine
The following considerations apply to the stmsboot -e, -d, and -u options: You should reboot immediately after running the stmsboot command. Ensure th
If you do NOT wish to operate on these controllers, please quit stmsbootand re-invoke with -D { fp | mpt } to specify which controllers you wishto mod
Checking mpxio status for driver mptWARNING: This operation will require a reboot.Do you want to continue ? [y/n] (default: y) yThe changes will come
▼To Congure Multipathing by PortDepending on how many ports you want the multipathing software to control, you can enableor disable multipathing glob
For example, the following entries disable multipathing on all FC HBA controller portsexcept for the two specied ports:mpxio-disable="yes";
A probe implementation determines support based on some combination of scsi_inquiry(9S)data. A device with INQUIRY data indicating T10 Target-Port-Gro
To add a device from a “XYZ” vendor with a product ID of “ABC”, you would add:device-type-scsi-options-list ="ACME MSU", "enable-option
Determining Fibre Channel Adapter Port Instances ... 60Invoking and Conguring IPFC ...
"XYZ ABC", "disable-option";disable-option = 0x7000000;Save and exit the scsi_vhci.conf le.Type stmsboot -u to start the reboot a
/dev/rdsk/c3t12d0 /dev/rdsk/c10t500000E01046DEF0d0/dev/rdsk/c3t11d0 /dev/rdsk/c10t500000E01046E390d0Conguring Automatic FailbackSome storage devices
Conguring SAN DevicesThis chapter provides the high level overview of the steps used to congure SAN devices. In theSolaris 10 OS, FCAL, fabric, and
Connect arrays and other storage devices to the SAN with or without multipathingcapability. The Sun StorageTek Trac Manager software is an associate
Mount any existing le systems available on the storage device’s LUNs or disk groups.Note – You might need to run the fsck command to repair any error
Conguring SAS DomainsThis chapter provides overviews of SAS Domain considerations, SAS device discovery, and SASboot device conguration.SAS Multipat
Conguring SAS Boot DevicesThe Solaris Multipathed IO software allows Solaris 10 Update 5 OS hosts to boot from amultipathed SAS device, or from a SAT
Conguring IPFC SAN DevicesConguring Internet Protocol over Fibre Channel (IPFC) on the host system describes hostrecognition of IPFC devices and imp
C MultipathingTroubleshooting ...99System Fails
Any standard network commands can be used after IPFC is attached. These commands(telnet, ping,orftp ) are used in this environment in the same way as
iv. Search for the fp entry with pci@ hex where hex is the number you derived in Step iii.The following table shows the elements of the device path fo
List the physical path of the originating HBA port from which you can see the destination HBAport, where originating-hba-link is a variable for the li
Use the ifconfig command with the appropriate interface.Ask your network administrator for an appropriate IP address and netmask information. Forexamp
Edit the /etc/nsswitch.conf le so that all uncommented entries have the word files beforeany other name service.The /etc/nsswitch.conf species which
Sun Solaris 10 Update 6 x86/x64 Fibre ChannelOperating System Booting ProcedureStarting with Sun Solaris 10 Update 6, x86/x64 Operating System (OS), F
Setup RequirementsYou must have the following items for installation. Solaris 10 Update 6 10/100/1000 Mbit/sec Ethernet network for network-based OS i
Installation Procedure▼To Summarize the ProcedureInstall the HBA hardware.Follow the instructions in the appropriate Sun HBA installation guide found
Install the Sun Solaris OS using the Solaris Interactive Installation (SunInstall). See Figure 8–2 foran example of one of several SunInstall screens.
During installation, select a desired array and its associated LUN.Select Manual Reboot at the end of the SunInstall utility screens and then verify y
FiguresFIGURE 8–1 System BIOS for Selecting Disk, CD-ROM, or Network Boot Device Priority .. 68FIGURE 8–2 Selecting an FC-based Boot Disk During Disk
Host controller port WWN 210100e08b206812Class primaryState ONLINEController /dev/cfg/c11Device Address 213600015d207200,0Host controller port WWN 210
During the reboot process, watch the monitor so you can enter the HBA #1 BIOS screen andspecify the boot device to be the FC LUN onto which you just i
FIGURE 8–4 HBA BIOS Screen for an HBA WWNInstallation ProcedureSolaris SAN Conguration and Multipathing Guide • April 200972
Note –The gure shows the following modications: Selectable boot = Enabled ARRAY WWN = 213600015d207200 ARRAY LUN = 0 HBA WWN = 210100e08b206812Repea
Reboot to the newly installed Solaris 10 Update 6 OS using the FC LUN specied in the systemBIOS.Post-Installation Patches for the Sun Solaris 10 Upda
Persistent Binding forTape DevicesTo simplify management of servers in SAN-based data-centers, the Sun StorageTekTMSANFoundation software stack in the
Creating Tape LinksThe /etc/devlink.tab le is called the default device table le. It species rules that devfsadmuses to create links in the /dev di
▼Conguration StepsCreate the entries in /etc/devlink.tab as described in “Creating Tape Links”on page 76.If devfsadm has previously discovered the de
78
Manual Conguration for Fabric-ConnectedDevicesThis appendix explains about conguring and unconguring the fabric devices in the Solaris 10OS. It exp
▼To Congure ManuallyTo enable manual conguration, make sure that the following line in the/kernel/drv/fp.confle does not start with an initial # ch
Ensuring That LUN Level Information Is Visible▼To Ensure LUN Level Information is VisibleUse the cfgadm command to identify LUN level information.If y
c0::50020f2300006107 disk connected unconfigured unknownc1 fc-private connected configured unknownc1::220203708b69c32b disk connected configured unkno
c0::50020f2300006107 disk connected unconfigured unknownc1 fc-private connected configured unknownc1::220203708b69c32b disk connected configured unkno
▼To Congure Multiple DevicesWithout MultipathingMake sure you rst identify the devices visible to the host with the procedure “Ensuring ThatLUN Leve
Use the show_SCSI_LUN command to display FCP SCSI LUN information for multi-LUN SCSIdevices.The following code example shows that the physical devices
▼To Congure Individual DevicesWith Sun StorageTekTrac Manager SoftwareThis sample procedure uses fabric-connected host ports c0 and c2 to congure f
c1::220203708b8d45f2 disk connected configured unknownc1::220203708b9b20b2 disk connected configured unknownc2 fc-fabric connected configured unknownc
Identify the fabric-connected host port to be congured.# cfgadm -alAp_Id Type Receptacle Occupant Conditionc0 fc-fabric connected configured unknownc
c2::50020f2300005f24,1 disk connected configured unknownc2::50020f2300006107,0 disk connected configured unknownc2::50020f2300006107,1 disk connected
TablesTABLE 2–1 Tasks to Congure Solaris OS FC and Sun StorageTek Trac Manager Software...
c0::50020f23000063a9 disk connected configured unknownc1 fc-private connected configured unknownc1::220203708b69c32b disk connected configured unknown
Notice that the Occupant column of c0 and all the fabric devices attached to it are displayed asunconfigured.▼To Uncongure a Fabric Device Associated
Verify that the selected devices are uncongured.# cfgadm -alAp_Id Type Receptacle Occupant Conditionc0 fc-fabric connected configured unknownc0::5002
Uncongure the Ap_Id associated with the device.Note – If the Ap_Id represents the last congured path to the device, stop all activity to the pathand
Identify the devices to be uncongured.# cfgadm -alAp_Id Type Receptacle Occupant Conditionc0 fc-fabric connected configured unknownc0::50020f23000060
Supported FC-HBA APIThis appendix contains the list of supported and unsupported FC-HBA Interfaces. For furtherinformation regarding the API, refer to
TABLE B–1 Supported and Unsupported FC-HBA Interfaces (Continued)FC - HBA InterfacesSupported or Not Supported by Sun StorageTek TracManager Software
TABLE B–1 Supported and Unsupported FC-HBA Interfaces (Continued)FC - HBA InterfacesSupported or Not Supported by Sun StorageTek TracManager Software
98
MultipathingTroubleshootingThis appendix provides solutions to potential problems that might occur while running the SunStorageTek Trac Manager softw
Komentarze do niniejszej Instrukcji