Professional Documents
Culture Documents
Objectives
This training prepares students to:
Use and understand basic SAN terminology Distinguish SAN from NAS and other storage network technologies Understand where Sans can help users the most Installing HBA on AIX host Installing HBA driver on AIX host Determine WWPN of new HBA for AIX HBA diagnosis on AIX Installing HBA on Solaris host Installing HBA driver on Solaris host Determine WWPN on Solaris HBA diagnosis on Solaris Installing HBA on Windows Powerpath troubleshooting
Agenda
Introduction to Sans Installing HBA on AIX host Installing HBA driver on AIX host Determine WWPN of new HBA for AIX HBA diagnosis on AIX Installing HBA on Solaris host Installing HBA driver on Solaris host Determine WWPN on Solaris HBA diagnosis on Solaris Installing HBA on Windows Powerpath Troubleshooting
LAN
SAN
are physically insecure at the desktop and potentially vulnerable at the server LANs seldom have spare capacity for storage networking LANs are tuned to favor short, bursty user transmissions vs large, continuous data transfers
SAN Storage
Fault-tolerant grouping of disks that server sees as a single disk volume Combination of parity-checking, mirroring, striping Self-contained, manageable unit of storage
Drives independently attached to the I/O channel Scaleable, but requires server to manage multiple volumes Do not provide protection in case of drive failure
SAN Components
Promise of SAN
Massively extended scalability Greatly enhanced device connectivity Storage consolidation LAN-free backup Serverless (active-fabric) backup Server clustering Heterogeneous data sharing Disaster recovery - Remote mirroring
Storage expansion
Server expansion
Load balancing
Bandwidth on demand
High Availability
Multiple levels of redundancy are configurable throughout data path Multiple access paths allow failover cluster configurations De-coupling of storage from application service allows it to be managed independently Data vaulting and disaster recovery configurations can address loss of service due to site failure
F A I L O V E R
What is HBA
host bus adapter (HBA) connects a host system (the computer) to other network and storage devices.
The terms are primarily used to refer to devices for connecting SCSI, Fibre Channel and eSATA devices, but devices for connecting to IDE, Ethernet, FireWire, USB and other systems may also be called host adapters.
With host system power removed, install the host bus adapters. Label each cable to identify the HBA and the FA, hub, or switch port that it connects.
Reapply power and allow the system to boot normally. By default, the hdisks will be in a failed over state.
Install the IBM Fibre Channel Interface Support software (ODM) on the AIX server. The ODM software enables the host operating system to recognize devices as belonging to a Symmetrix storage system. The file can be found in power link website at the following Location : Home > Support > Downloads and Patches > Downloads A-C > AIX ODM Definitions Uncompress and untrar the file to /tmp location. If the SMIT menu interface is preferred, invoke smit installp from the /tmp directory. Select Install and Update from LATEST Available Software
Use the List function to select /tmp as the installation directory. Use the List function to select EMC Symmetrix AIX Support Software, EMC CLARiiON Fibre Channel Support Software, or both depending on your configuration. EMC Symmetrix AIX Support Software; Standard utility support.EMC Symmetrix FCP Support Software; IBM Fibre Channel driver support.EMC Symmetrix FCP MPIO Support Software; IBM default PCM MPIO support.EMC Symmetrix FCP PowerMPIO Support Software; PowerPath custom PCM MPIO support.EMC Symmetrix iSCSI Support Software; IBM iSCSI driver support.
NOTE: To find the names of devices, enter the lscfg command with no arguments and look for device names beginning with fsc. In the output, the Network Address field identifies the WWPN. Record the WWPN of each HBA as you will need to refer to this information
lsdev Cc adapter
Note which one of the adapters is missing from POWERPATH display and validate that both HBAs are : Same Type Same firmware From the previous displays you know: Host name Multipathing software Storage Array Vendor Status of the HBA. Working HBA and non working HBA are the same type Working HBA and non working HBA are the same firmware microcode. Identified the WWN of the working and non working HBA. If all the above is true continue to Diagnose Switch Section. Otherwise remediate what is wrong or missing before continuing.
Note: The naming convention for the drivers, associated files, and messages is QLA; however, the
Solaris SPARC driver supports standard QLogic PCI and SBus boards (QLAxxxx Download the HBA driver To download the latest HBA driver: Create a directory to which you will save the driver. For example: mkdir /qlogic_driver Use a web browser to access the QLogic website at http://www.qlogic.com. And Click Downloads at the left side of the screen. Click the EMC link under OEM Models. On the next page, select EMC SYMMETRIX, CLARiiON, & CELERRA supported software. Select the HBA model in the Product column of the table. On the next table, find the supported driver and click the associated Download link. Extract the downloaded file to the directory created earlier.
Solaris 8 and 9:
Run the following script to determine the WWNs of the HBAs that are currently being utilized: #!/bin/sh for i in `cfgadm |grep fc-fabric|awk {print $1}`; do dev=`cfgadm -lv $i|grep devices |awk {print $NF}` wwn= \ `luxadm -e dump_map $dev |grep Host Bus|awk {print $4}` echo $i: $wwn done To Check link status of card bash-2.03# luxadm -e port Found path to 2 HBA ports /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl CONNECTE D /devices/ssm@0,0/pci@19,700000/SUNW,qlc@2/fp@0,0:devctl CONNECTE D
# fcinfo hba-port HBA Port WWN: 2100001b321fbd9c OS Device Name: /dev/cfg/c4 Manufacturer: QLogic Corp. Model: 375-3355-01 Firmware Version: 4.04.01 FCode/BIOS Version: BIOS: 1.24; fcode: 1.24; EFI: 1.8; Serial Number: 0402R00-0725369970 Driver Name: qlc Driver Version: 20081115-2.29 Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 2000001b321fbd9c Result: Two ports available, one port per fiberchannel card. The WWPNs are printed in bold. There's also the port type (N_port in this case) and the current data bit rate.
QLogic adapter using the SANsurfer toolNote: This tool enables you to locate the WWPN without restarting the server.
Go to the QLogic website at QLogic and click the Downloads tab. On the Downloads page, select your adapter type, model, and operating system, and then click Go. On the adapter page, go the tools list to download the SANsurfer tool.
Powerpath Installation
The powerpath software can be downloaded from the following URL. https://powerlink.emc.com
1. On Powerlink, select Support > Downloads. 2. Download the tar file to /usr. 3. Unzip the installation package. Type: gunzip EMCpower.AIX.5.3.0.GA.tar.gz 4. Extract EMCpower_install. Type: tar -xvf EMCpower.AIX.5.3.0.GA.tar.gz 5. Perform one of the following: For an existing PowerPath installation, run rm.toc to delete the .toc file. For new PowerPath installations, skip to step 6 . 6. Install the software. Type: installp -agXd . EMCpower 7. Run powermt config.
Upgrading powerpath (1 of 3)
PowerPath can be upgraded from versions 4.5.x or later to 5.3 SP1. The upgrading process requires knowledge of the PowerPath environment and its unique upgrading process. Based on your environment and requirements, you can upgrade PowerPath by using one of the following 2 methods: 1) Full package installation: You can directly upgrade PowerPath from a previous version with the later version of PowerPath package. 2) Uninstall the previous version and install the later version Before upgrading PowerPath: Download the latest version of EMC Reports, available on Powerlink, and then run the PowerPath Configuration Checker (PPCC). Check the Powerlink website, for the most current release notes and service packs. Determine which service packs (if any) you want to install. You do not need to remove the previous version of PowerPath before upgrading to PowerPath 5.3.
Upgrading powerpath (2 of 3)
During an upgrade: During an upgrade, do not add devices to your PowerPath configuration.
After an upgrade: You do not need to restart the host after the upgrade, provided you close all applications that use PowerPath devices before you install PowerPath 5.3.
You do not need to re-enter license information for PowerPath multipathing. PowerPath will use your existing license key, if necessary, converting the old 12character license key to a 24-character key.
Upgrading powerpath (3 of 3)
Upgrade procedure:
To upgrade from PowerPath 4.5.x or later to PowerPath 5.3 SP1: 1. Close all applications that use PowerPath devices, and vary off all volume groups except the root volume group (rootvg). If EMC Solutions Enabler daemons, such as storwatchd and storapid, are running, stop the daemons. Type: stordaemon shutdown <daemon> If EMC ControlCenter is running on the host, stop the ControlCenter agents. In a VNX OE and CLARiiON environment, if the Navisphere Host Agent is running, type: /etc/rc.agent stop 2. Optional. Run powermt save in PowerPath 4.x to save the changes made in the configuration file 3. Install PowerPath as described in Powerpath Installation on slide 25. 4. Run powermt config. 5. Optional. Run powermt load to load the previously saved configuration file. When upgrading from PowerPath 4.x to PowerPath 5.3, an error message is displayed after running powermt load, due to differences in the PowerPath architecture. This is an expected result and the error message can be ignored.
Powerpath troubleshooting (1 of 6)
Most problems reported as PowerPath problems are host configuration problems. For example, the host does not have the correct HBAs drivers installed or the storage system settings are incorrect The host must be able to see its external storage devices before these devices can be placed under PowerPath control. Specifically, if the host cannot see the storage devices, power Path will be unable to view the storage devices. PowerPath does not make storage devices visible to the host.
Powerpath troubleshooting (2 of 6)
Use the AIX lsdev command to confirm that the host can see its external storage devices. Use cfgmgr if any devices are missing. If devices are still missing after this command, there is a connectivity problem between the host and the array. You must fix the connectivity problem before continuing with the troubleshooting procedure In the following example, the host can see eight CLARiiON devices: lsdev -Cc disk hdisk0 Available 1S-08-00-8,0 16 Bit LVD SCSI Disk Drive hdisk1 Available 1S-08-00-9,0 16 Bit LVD SCSI Disk Drive hdisk2 Available 1S-08-00-10,0 16 Bit LVD SCSI Disk Drive hdisk3 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk4 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk5 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk6 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk7 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk8 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk9 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk hdisk10 Available 11-08-01 EMC CLARiiON FCP RAID 5 Disk
Powerpath troubleshooting (3 of 6)
Are PowerPath devices configured on the host?
Type the PowerPath powermt display command to verify the correct number of storage devices are under PowerPath control. The powermt display output shows, for each type of storage system attached to the host, the number of storage devices visible to host under PowerPath control (the logical device count). The following is an example of powermt display output. In the example, 50 CLARiiON devices are under PowerPath control: Symmetrix logical device count=0 CLARiiON logical device count=50 Invista logical device count=0 Ess logical device count=0 Hitachi logical device count=0 HP xp logical device count=0 HP HSx logical device count=0 ============================================================================== ----- Host Bus Adapters --------- ------ I/O Paths ----- ------ Stats -----### HW Path Summary Total Dead IO/Sec Q-IOs Errors ============================================================================== 1 fscsi1 optimal 200 0 - 0 0 2 fscsi2 optimal 200 0 - 0 0 Ensure that the total number of storage devices under PowerPath control is correct. If any devices are missing, complete the following teps to bring the missing devices under PowerPath control:
Powerpath troubleshooting (4 of 6)
Note: Stop all I/O before performing the following procedure. 1. Type the AIX cfgmgr command to refresh the storage devices. 2. Type the PowerPath emc_cfgmgr command to configure the PowerPath devices. Note: The emc_cfgmgr utility resides in the /lpp/usr/EMC/clariion/bin and /lpp/usr/EMC/symmetrix/bin directories. If there are third-party storage devices that should be under PowerPath control, and the output of the powermt display command does not include these devices, type the powermt manage command to place these devices under PowerPath control. 4. Type powermt config to add the storages devices to the PowerPath configuration. 5. Type powermt save to save the configuration.
Powerpath troubleshooting (5 of 6)
Are the PowerPath devices active and alive?
Type powermt display dev=all to check the state of the PowerPath devices. The following are examples of powermt display dev=all output. The first shows a CLARiiON device; the second a Symmetrix device. You should see output resembling the following for each storage device. Pseudo name=hdiskpower0 CLARiiON ID=APM00052905641 [lcla148_150_sg] Logical device ID=600601603558150092D0414EB73CDA11 [LUN 85] state=alive; policy=CLAROpt; priority=0; queued-IOs=0 Owner: default=SP A, current=SP A ========================================================================= ===== ---------------- Host --------------- - Stor - -- I/O Path - -- Stats --### HW Path I/O Paths Interf. Mode State Q-IOs Errors ========================================================================= ===== 0 fscsi0 hdisk1 SP A0 active alive 0 0 0 fscsi0 hdisk21 SP B0 active alive 0 0 1 fscsi1 hdisk41 SP A0 active alive 0 0 1 fscsi1 hdisk61 SP B0 active alive 0 0
Powerpath troubleshooting (6 of 6)
Are the PowerPath devices active and alive? cntd
Failed PowerPath devices; PowerPath devices with dead paths If the output from powermt display dev=all indicates that a PowerPath device has failed or has I/O paths that are dead: 1. Stop all I/O. 2. Type powermt restore to test and mark all paths dead that are missing or point to the wrong logical device. 3. Type powermt check. When prompted to remove a dead path, respond using the -a option to remove all dead paths. Note: If you intentionally keep certain paths in the dead state, do not use The -a option. Instead you will need to remove paths individually. 4. Type powermt config to configure all disks possibly pointing to storage system logical devices different from the devices of which PowerPath is aware.
Thank you