Você está na página 1de 12

TABLE OF CONTENTS

1. Login Procedure for the SAN switch...............................................................................2 2. Checking the port status on the SAN switch...................................................................2 3. Checking the port for CRC errors....................................................................................4 4. Checking whether switch port went offline.....................................................................4 5. Checking the switch error log..........................................................................................5 6. How to find out physical location of SAN device in the fabric.......................................6 7. How to find out Domain id of all the switches in the fabric............................................7 8. How to collect switch logs to be sent to HPRC...............................................................8 9. Appendix........................................................................................................................11

1. Login Procedure for the SAN switch


Please follow the below steps whenever you suspect issue with Switch ports: a. login jumpstation using jumpstation accounts b. Login to Storage management server (SMA) c. Telnet to switch with admin privileges (Eg: user name=admin; Password=password)

2. Checking the port status on the SAN switch


a. Once logged into the switch with admin privileges, execute the
command Switchshow b. The output of the command will be as shown in the following screenshot

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 2 of 12
Last changed: 21 June 2011 at 16:37

c. The status of the port will be either of the following states as shown in the next page

d. Port should be online (Either F port or E port) and if the port is not
online, it will be having one of the statuses mentioned above. Please make a note of necessary actions that have to be taken for the following most common states: No_Module: There is no SFP installed and hence this port needs SFP to accept logins from any devices connected to this port No_Light: There is no light coming from the node. This means there is some physical problem like cable, SFP, even HBA might be faulty No_Sync: This means there is light and it is not physical problem. This is something to do with configuration on the switch (like port speed not matching) In_Sync: This means the node HBA and switch ports are in synchronization but there could be driver issue on the Host HBA. That is why the port is not coming online Laser_flt: This means defective GBIC/SFP. Replace them Port_Flt: This means port has been marked faulty (defective GBIC/SFP, Cable or device) Online: The healthy port is always online

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 3 of 12
Last changed: 21 June 2011 at 16:37

3. Checking the port for CRC errors


a. After login to switch console, execute the command Porterrshow to
know the crc errors for the ports

b.

The output of the command will be as shown in the following screenshot

c. If the there are more CRC errors, we may have to replace the SFP. But before replacing SFP clear the port statistics by executing the following command portstatsclear <slot number/port number> d. After this, monitor the port for 24 hours and if CRC errors go on increasing, replace the SFP.

4. Checking whether switch port went offline


ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 4 of 12
Last changed: 21 June 2011 at 16:37

a. After login to switch console, execute the command fabstateshow to


know whether the port went offline/online as shown in the below screenshot

b. In the below example, the port 7 went offline and came back online

5. Checking the switch error log


a. After login to switch console, execute the command errorshow to see
any error messages in the switch log
ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 5 of 12
Last changed: 21 June 2011 at 16:37

b. Please go on entering till the log for the required date is displayed

6. How to find out physical location of SAN device in the fabric


a. After login to switch console, execute the command nodefind to know
the physical location of the device in the fabric, alias of the device and many more details of the device

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 6 of 12
Last changed: 21 June 2011 at 16:37

b. In the above screenshot, the red mark gives the FC address of the port
(PID)

c. Make note of PID which will give the location of the device. In the
above screenshot, it is 292c00. This is hexadecimal number where first two digits gives the domain id, next two digits give the port number and last two digits are always zero in case there is no loop device in the fabric. For more details please refer to appendix d. Yellow mark gives the type of HBA, model of HBA, firmware version of the HBA. In this example, this Emulex HBA model LP1050 with Firmware version (1.91A5) e. Green colour gives the port number where node is connected f. Blue colour gives the alias of the node in the zone

7. How to find out Domain id of all the switches in the fabric


a. After login to switch console, execute the command fabricshow to
know the domain id of all the switches in the fabric as shown in the below screenshot

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 7 of 12
Last changed: 21 June 2011 at 16:37

b. In the above screenshot, the first column marked with red colour gives the domain id of all the switches in the fabric c. Yellow mark where there is mark (>) indicates the principal switch in the fabric

8. How to collect switch logs to be sent to HPRC


a. Login to Storage management server (SMA) b. Open putty by clicking the icon as shown in the below screenshot

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 8 of 12
Last changed: 21 June 2011 at 16:37

c. The Putty program will open as shown in the screen shot below

d. Click on session and mention the IP address of the switch & connection
type (By default SSH) screenshot below:

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 9 of 12
Last changed: 21 June 2011 at 16:37

e. Click on Logging and select all session output as shown below:

f. Click on browse to specify the file name and its path where the output is dumped g. Click on open to open the console h. Specify the user name and password

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 10 of 12
Last changed: 21 June 2011 at 16:37

i. Once logged into switch console, execute the command supportshow j. After this command is completely executed, exit the console of the
switch by entering the command exit k. Find the output file generated from putty and send it to HPRC for further analysis

9. Appendix
This appendix covers the concept of addressing mode used in SAN.
PID FORMATS
ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 11 of 12
Last changed: 21 June 2011 at 16:37

THE FORMAT OF A 24-BIT ADDRESS IN NATIVE MODE XX1YZZ XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal) The 1 means Native Mode Y is the port number 0x0 to 0xf (0-15 decimal) ZZ is the AL_PA for a loop device or 00 for an F_Port THE FORMAT OF A 24-BIT ADDRESS IN CORE PID MODE XXYYZZ XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal) YY is the port area ZZ is the AL_PA for a loop device or 00 for an F_Port THE FORMAT OF A 24-BIT ADDRESS IN EXTENDED EDGE PID MODE XXYYZZ XX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal) YY is the port area + 0x10, wrapping at 0x7f ZZ is the AL_PA for a loop device or 00 for an F_Port

ITO GCI

HP Restricted
Copyright 2013 Hewlett-Packard Development Company, L.P. Valid agreement required.

Page 12 of 12
Last changed: 21 June 2011 at 16:37

Você também pode gostar