User Tools

Site Tools


storage:brocade_pb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
storage:brocade_pb [2021/08/03 17:20]
manu
storage:brocade_pb [2025/08/23 23:38] (current)
Line 1: Line 1:
 ====== Brocade problem determination ====== ====== Brocade problem determination ======
 +
 +//For info// if ask for supportsave : CRA (Challenge Response Authentication) is chosen as "​NO"​ or "​N"​ and the issue is still seen and/or root access is not available ​
 +
 +===== SAN switch cleanup files =====
 +
 +<cli prompt='>'>​
 +
 +FLEX-A1-BLUE:​root>​ df -h
 +Filesystem ​           Size  Used Avail Use% Mounted on
 +/​dev/​root ​            ​377M ​ 247M  110M  69% /
 +/​dev/​hda3 ​            ​193M ​  ​23M ​ 161M  12% /core_files
 +/​dev/​hda1 ​            ​377M ​ 277M   ​80M ​ 78% /mnt
 +FLEX-A1-BLUE:​root>​
 +FLEX-A1-BLUE:​root>​ supportsave -R
 +Removing all core and FFDC files!
 +SupportSave completed (Duration : 0 minutes 1 seconds).
 +FLEX-A1-BLUE:​root>​ cleanup
 +
 +This utility will remove obsoleted files on the local CP.
 +
 +Be aware the tool will remove all unauthorized code under
 +following directories on BOTH partitions:
 +
 +        /bin
 +        /sbin
 +        /lib
 +        /fabos
 +        /root
 +        /usr
 +        /core_files
 +
 +Note that all the core files will be removed as well.
 +In case you want to save any of your private code or core,
 +please copy them before running this command.
 +
 +Do you want to continue [Y]: Y
 +Checking //bin, please wait ...
 +Checking //sbin, please wait ...
 +Checking //usr, please wait ...
 +--Remove //​usr/​share/​zoneinfo/​Etc/​GMT
 +--Remove //​usr/​share/​zoneinfo/​Etc/​GMT+0
 +--Remove //​usr/​share/​zoneinfo/​Etc/​UTC
 +--Remove //​usr/​share/​zoneinfo/​Europe/​Luxembourg
 +--Remove //​usr/​share/​zoneinfo/​UTC
 +--Remove //​usr/​apache/​bin/​httpd.0
 +--Remove //​usr/​local/​mib_indexes/​0
 +--Remove //​usr/​local/​snmpd.conf
 +Checking //fabos, please wait ...
 +--Remove //​fabos/​lib/​libconfig_pharos.so.1.0
 +--Remove //​fabos/​man/​cat7/​AN-1001.7m.gz
 +--Remove //​fabos/​man/​cat7/​AN-1002.7m.gz
 +...
 +FLEX-A1-BLUE:​root>​ supportsave -R
 +Removing all core and FFDC files!
 +SupportSave completed (Duration : 0 minutes 1 seconds).
 +FLEX-A1-BLUE:​root>​ cleanup
 +
 +This utility will remove obsoleted files on the local CP.
 +
 +Be aware the tool will remove all unauthorized code under
 +following directories on BOTH partitions:
 +
 +        /bin
 +        /sbin
 +        /lib
 +        /fabos
 +        /root
 +        /usr
 +        /core_files
 +
 +Note that all the core files will be removed as well.
 +In case you want to save any of your private code or core,
 +please copy them before running this command.
 +
 +Do you want to continue [Y]: Y
 +Checking //bin, please wait ...
 +Checking //sbin, please wait ...
 +Checking //usr, please wait ...
 +--Remove //​usr/​share/​zoneinfo/​Etc/​GMT
 +--Remove //​usr/​share/​zoneinfo/​Etc/​GMT+0
 +--Remove //​usr/​share/​zoneinfo/​Etc/​UTC
 +--Remove //​usr/​share/​zoneinfo/​Europe/​Luxembourg
 +--Remove //​usr/​share/​zoneinfo/​UTC
 +--Remove //​usr/​apache/​bin/​httpd.0
 +--Remove //​usr/​local/​mib_indexes/​0
 +--Remove //​usr/​local/​snmpd.conf
 +Checking //fabos, please wait ...
 +--Remove //​fabos/​lib/​libconfig_pharos.so.1.0
 +--Remove //​fabos/​man/​cat7/​AN-1001.7m.gz
 +--Remove //​fabos/​man/​cat7/​AN-1002.7m.gz
 +...
 +--Remove /​mnt/​fabos/​users/​admin/​.ssh/​authorized_keys
 +--Remove /​mnt/​fabos/​users/​admin/​.ssh/​authorized_keys.admin
 +--Remove /​mnt/​fabos/​users/​admin/​.ssh/​authorizedKeys.tar
 +--Remove /​mnt/​fabos/​webtools/​bin/​web.conf.0
 +--Remove /​mnt/​fabos/​webtools/​bin/​httpd.conf.0
 +--Remove /​mnt/​fabos/​webtools/​htdocs/​serverstatus.html
 +--Remove /​mnt/​fabos/​webtools/​htdocs/​0.weblinker.fcg
 +Checking /mnt/lib, please wait ...
 +--Remove /​mnt/​lib/​modules/​default/​modules.ieee1394map
 +--Remove /​mnt/​lib/​modules/​default/​modules.pcimap
 +--Remove /​mnt/​lib/​modules/​default/​modules.usbmap
 +--Remove /​mnt/​lib/​modules/​default/​modules.ccwmap
 +--Remove /​mnt/​lib/​modules/​default/​modules.isapnpmap
 +--Remove /​mnt/​lib/​modules/​default/​modules.inputmap
 +--Remove /​mnt/​lib/​modules/​default/​modules.ofmap
 +--Remove /​mnt/​lib/​modules/​default/​modules.seriomap
 +--Remove /​mnt/​lib/​modules/​default/​modules.alias
 +--Remove /​mnt/​lib/​modules/​default/​modules.symbols
 +Checking /mnt/root, please wait ...
 +--Remove /​mnt/​root/​.ssh/​id_rsa
 +--Remove /​mnt/​root/​.ssh/​id_rsa.pub
 +Checking /​mnt/​core_files,​ please wait ...
 +Checking /​mnt/​etc/​fabos/​rbac,​ please wait ...
 +--Remove /​mnt/​etc/​fabos/​rbac/​dynamic.tmp
 +Finish cleanup of /mnt
 +
 +FLEX-A1-BLUE:​root>​ df -h
 +Filesystem ​           Size  Used Avail Use% Mounted on
 +/​dev/​root ​            ​377M ​ 235M  123M  66% /
 +/​dev/​hda3 ​            ​193M ​  ​16M ​ 167M   9% /core_files
 +/​dev/​hda1 ​            ​377M ​ 264M   ​93M ​ 74% /mnt
 +</​cli>​
  
 ===== SSH not working, unable to firmwaredownload ===== ===== SSH not working, unable to firmwaredownload =====
  
-Disable IPsec +===== SSH not working, unable to firmwaredownload ===== 
-<​cli>​ + 
-seccryptocfg --default -type SSH -force ​+<​cli ​prompt='>'​
 +sansw01:​admin>​ firmwaredownload ​-p sftp 10.10.10.10,​root,/​export/​software/​firmwares/​san/​v8.2.3c1_pha,​Mypasswd 
 + 
 +Server IP: 10.10.10.10,​ Protocol IPv4 
 +Checking system settings for firmwaredownload... 
 +Failed to access sftp://​root:​************@10.10.10.10//​export/​software/​firmwares/​san/​v8.2.3c1_pha/​release.plist 
 +The server is inaccessible or firmware path is invalid. Please make sure the server name/IP address and the firmware path are valid, the protocol and authentication are supported. It is also possible that the RSA host key could have been changed and please contact the System Administrator for adding the correct host key.
 </​cli>​ </​cli>​
- + 
 +<cli prompt='>'>​ 
 +sansw01:​admin>​ seccryptocfg --default -type SSH -force 
 +Terminating all SSH/SCP sessions running 
 +</​cli>​ 
 + 
 +Then retry the download 
 + 
 +Additionnaly you can disable IPsec
 <cli> <cli>
 ipsecConfig --disable ipsecConfig --disable
Line 19: Line 156:
 sfpshow <​port_no>​ --> check RX and TX value at end (uW values) sfpshow <​port_no>​ --> check RX and TX value at end (uW values)
  
-If **RX** value is low (compare with others Gbics with same speed), then Gbic is defect on **host side**, or cable, else, **Tx** low value problem ​commes ​from **Brocade switch Gbic** (or potentially from Gbic slot), or cable+  * **RX** value is low (compare with others Gbics with same speed), then Gbic is defect on **host side**, or cable (rare time from Gbic on SAN switch) 
 +  * **Tx** low value problem ​comes from **Brocade switch Gbic** (or potentially from Gbic slot), or cable
  
 **Example** here with lower RX Power, compare to the same port with no problems, so the problem is related to host side, or cable **Example** here with lower RX Power, compare to the same port with no problems, so the problem is related to host side, or cable
 +<cli prompt='>'>​
 +sansw01:​FID128:​admin>​ sfpshow -all
 +</​cli>​
 +Or
 <cli prompt='>'>​ <cli prompt='>'>​
 sansw01:​FID128:​admin>​ sfpshow 12/34 sansw01:​FID128:​admin>​ sfpshow 12/34
Line 39: Line 181:
 </​cli>​ </​cli>​
  
- +reset error statistics:\\ 
- +**statsclear** --> useful to see new errors
- +
-reset error statistics:​ +
-statsclear --> useful to see new errors+
  
  
Line 85: Line 224:
 ===== Buffer credit problem ===== ===== Buffer credit problem =====
  
-Check the parameters ​<fc #FF0000>**tim64_txcrd_z**</​fc> ​(Time BB_credit zero) and <fc #FF0000>**stat64_inputBuffersFull**</​fc> ​(Occasions on which input buffers are full). ​+Check the parameters **tim64_txcrd_z** (Time BB_credit zero) and **stat64_inputBuffersFull** (Occasions on which input buffers are full). ​
 <cli prompt='>'>​ <cli prompt='>'>​
 besw32:​admin>​ portstats64show 3/5 besw32:​admin>​ portstats64show 3/5
Line 255: Line 394:
  
 check authorized key file for admin  check authorized key file for admin 
 +
storage/brocade_pb.1628004038.txt.gz · Last modified: 2021/08/03 17:20 by manu