Tuesday, April 16, 2024

Brocade Health Check commands

 Below are the commands to check brocade switch health for daily monitoring purpose.


psshow It shows power supplies status

fanshow It shows fan status

tempshow It displays internal temperature readings

sensorshow It displays all sensors readings (power supplies, fans, temperature sensors)

porterroshow It displays all FC ports errors

switchstatusshow Shows overall switch status (healthy or marginal)

switchstatuspolicyshow Shows configured policies to decide whether the switch is healthy or mariginal

errshow It displays the error log of the switch



Thursday, February 8, 2024

How to delete blocked ips from Hitachi HNAS

 


If SMB Barring is disabled globally, the entire HNAS can get blocked by the DCs if there are too many incorrect login attempts from a single user.  This new feature allows the HNAS to block incorrect NTLM requests and not pass them on to the DC(s) for authentication if there are too many failed login attempts and allows all other SMB clients to continue access to the HNAS if they have valid login credentials.

Objective

Starting with Hitachi NAS code version 13.9.6918.02, HNAS Engineering introduced a new feature called smb-auto-barring, along with some other SMB barring commands (which are used for manual SMB client barring): 


console-context --evs 2


   smb-barred-client-add

   smb-barred-client-remove
   smb-barred-client-clear
   smb-barred-client-list

smb-barred-client-remove 10.x.45.x

Wednesday, February 7, 2024

How to collect unexported lun info in HP3PAR.

 as there is no command to collect unexported luns info in HP3PAR.


first collect all luns in excel

showvv

then collect all mapped luns in excel.

showvv --host "*"

then do vlookup

and verify luns which are not matched.



Command to check SMB version on Hitachi HNAS EVS

 Command to check SMB version on Hitachi HNAS EVS


login to HNAS SMU


choose EVS

abc-nas-cl-2:$ console-context --evs 2

Current evs: 2

Current cnode 2

abc-nas-cl-2[admin]:$ cifs-max-supported-version

Current maximum supported version on EVS 2 is SMB2

Friday, February 2, 2024

NetApp cluster mode FC lun troubleshooting

careful about reading us(microsec) and ms(milisec)




test0710::*> statistics lun show -interval 5 -iterations 1 -max 25 -lun /vol/dwh_prd_ora_orabase_LX0serverD_06/lun01




test0710 : 2/2/2024 11:32:19


                                                                                                  


                                                      *Total Read Write Other  Read Write Latency 


                                       Lun    Vserver    Ops  Ops   Ops   Ops (Bps) (Bps)    (us) 


------------------------------------------ ---------- ------ ---- ----- ----- ----- ----- ------- 


/vol/dwh_prd_ora_orabase_LX0serverD_06/lun01 svm_dwh_01      0    0     0     0     0     0      10 


test0710::*> statistics volume show -interval 5 -iterations 1 -max 25 -volume dwh_prd_ora_orabase_LX0serverD_02




test0710 : 2/2/2024 11:25:43


                                                                                                                       


                                                                           *Total Read Write Other  Read Write Latency 


                         Volume    Vserver                       Aggregate    Ops  Ops   Ops   Ops (Bps) (Bps)    (us) 


------------------------------- ---------- ------------------------------- ------ ---- ----- ----- ----- ----- ------- 


dwh_prd_ora_orabase_LX0serverD_02 svm_dwh_01 aggr_data_test0710_02_nvme_01      0    0     0     0     0     0       0 




test0710::*> node run -node test0710-02 sysstat -x 1


 CPU    NFS   CIFS   HTTP   Total     Net   kB/s    Disk   kB/s    Tape   kB/s   Cache  Cache    CP           CP_Ty               CP_Ph       Disk   OTHER    FCP  iSCSI     FCP   kB/s   iSCSI   kB/s   NVMeF   kB/s   kB/s   NVMeT   kB/s   kB/s


                                       in    out    read  write    read  write     age    hit  time  [T--H--F--N--B--O--#--:]  [n--v--p--f]   util                            in    out      in    out             in    out             in    out


  7%      0      0      0    3239      43     12   10700    5620       0      0    11s    70%   13%   0--0--0--0--0--0--0--0    0--0--0--0      1%      35   3204      0     794 205523       0      0       0      0      0       0      0      0


  7%      0      0      0    3488       8      9    5792       0       0      0    11s    69%    0%   0--0--0--0--0--0--0--0    0--0--0--0      0%     250   3238      0    1868 203623       0      0       0      0      0       0      0      0


  6%      0      0      0    3183      26     23    5800    1960       0      0     9s    70%    3%   0--0--0--0--0--0--0--0    0--0




test0710::*> node run -node test0710-02 sysstat -M 1


ANY1+ ANY2+ ANY3+ ANY4+ ANY5+ ANY6+ ANY7+ ANY8+ ANY9+ ANY10+ ANY11+ ANY12  AVG CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 Nwk_Lg Nwk_Exmpt Protocol Storage Raid Raid_Ex Xor_Ex Target Kahuna WAFL_Ex(Kahu) WAFL_MPClean SM_Exempt Exempt SSAN_Ex NONE Intr Host  Ops/s   CP


  33%   26%   13%    9%    9%    8%    7%    7%    5%     1%     0%     0%   7%   7%   6%   1%   3%   1%   3%   4%   2%   3%  18%   18%   19%      0%        1%       0%      0%   0%      0%     0%     0%     0%     48%(  4%)           0%        0%     9%     20% 




test0710::> igroup show -vserver svm_dwh_01 -igroup IG_LX04157D -instance 


          Vserver Name: svm_dwh_01


           Igroup Name: IG_LX04157D


              Protocol: fcp


               OS Type: linux


Portset Binding Igroup: -


           Igroup UUID: 33c190a0-5d0a-11ee-8bd0-d039ea54e04a


                  ALUA: true


            Initiators: 21:00:f4:c7:aa:0d:c6:16 (logged in)


21:00:f4:c7:aa:0d:c6:17 (logged in)