basic troublshooting brocade san switch

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

Upload: purni-shanti

Post on 04-Nov-2014

238 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Basic Troublshooting Brocade SAN Switch

TABLE OF CONTENTS

1. Login Procedure for the SAN switch.............................................................42. Checking the port status on the SAN switch................................................43. Checking the port for CRC errors.................................................................64. Checking whether switch port went offline..................................................75. Checking the switch error log.......................................................................86. How to find out physical location of SAN device in the fabric......................97. How to find out Domain id of all the switches in the fabric........................108. How to collect switch logs to be sent to HPRC...........................................119. Appendix....................................................................................................14

Page 2: Basic Troublshooting Brocade SAN Switch

1. Login Procedure for the SAN switch

Please follow the below steps whenever you suspect issue with Switch ports:

a. login jumpstation using jumpstation accountsb. 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 Page 2 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 3: Basic Troublshooting Brocade SAN Switch

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 Page 3 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 4: Basic Troublshooting Brocade SAN Switch

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 offlineITO GCI HP Restricted Page 4 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 5: Basic Troublshooting Brocade SAN Switch

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 Page 5 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 6: Basic Troublshooting Brocade SAN Switch

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 Page 6 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 7: Basic Troublshooting Brocade SAN Switch

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 Page 7 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 8: Basic Troublshooting Brocade SAN Switch

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 Page 8 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 9: Basic Troublshooting Brocade SAN Switch

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 Page 9 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 10: Basic Troublshooting Brocade SAN Switch

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 consoleh. Specify the user name and password

ITO GCI HP Restricted Page 10 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 11: Basic Troublshooting Brocade SAN Switch

i. Once logged into switch console, execute the command supportshowj. After this command is completely executed, exit the console of the

switch by entering the command exitk. 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 Page 11 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37

Page 12: Basic Troublshooting Brocade SAN Switch

THE FORMAT OF A 24-BIT ADDRESS IN NATIVE MODEXX1YZZXX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)The “1” means Native ModeY 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 MODEXXYYZZXX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)YY is the port areaZZ 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 MODEXXYYZZXX is a value between 0x1 to 0xef inclusive (Domain ID 1-239 in decimal)YY is the port area + 0x10, wrapping at 0x7fZZ is the AL_PA for a loop device or 00 for an F_Port

ITO GCI HP Restricted Page 12 of 12

© Copyright 2023 Hewlett-Packard Development Company, L.P.

Valid agreement required. Last changed: 21 June 2011 at 23:37