Monday, May 25, 2015

how to change PSP Roundrobin IOPS to 1 for all the LUNs per storage array basis

what is PSP round robin IOPS? and why do we need to change?

refer to this for answer http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069356

above KB, VMware mentioned to change the IOPS to 1 per device basis. but below I'm going to show you how easily we can change for the per storage array basis ( which mean if you have LUNs that all provisioned from  one storage array, you don't need to go and change it in all the LUN one by one and you can do it all in one command as below)

make sure this is only applies to Round robin PSP

1) find out you array vendor and Model

execute #~ # esxcli storage core device list and it will show the list of attached LUNs(devices)




from there you may find out the storage vendor and model





2) find out the SATP and the PSP that been used by this storage model











if the model is different or it uses different PSP, you need to change accordingly

3) now exe cute below command for the change

# esxcli storage nmp satp rule add -s “satpname” -V “vendorname” -M “modelnme” -P “VMW_PSP_RR” -O “iops=1″

for my case, I have executed as below


after that the IOPS changed to 1

before the change:
after the change
 

Sunday, May 24, 2015

How to remove Powerpath from ESXi 5.5

Since we have faced, host disconnection issue due to power path older version, we decided to remove power path from all the ESXi Hosts.

How to remove it.
1) list the vib and make sure powerpath installed on the ESXi


 try to remove vib one by one as below but got error message


So how do we remove?

remove all in one command as below and reboot ESXi

esxcli software vib remove --vibname=powerpath.plugin.esx --vibname=powerpath.cim.esx --vibname=powerpath.lib.esx

 
 now it was successful and changed to PSP RR. if you want to get good performence change the IOPS from 1000 to 1 on roundrobin PSP and attch to storage.

Sunday, May 3, 2015

Majaor alert detected in Cisco UCS as default keyring's certificate invalid reason: expired

issue: Major alert detected in Cisco UCS as default keyring's certificate invalid reason: expired



reason:  this certificates is only valid for 1 year. after that new certificate would needs to be generated.

 check the validity and expiry date as below

login to your primary FI as admin and execute below commnds

FI-A# scope security
FI-A/security# show keyring detail



Solution: generate new key and apply it as below

FI-A# scope security
FI-A/security# scope keyring default
FI-A/security/ keyring# set regenerate yes
FI-A/security/ keyring*# commit-buffer



after this your UCS manager will be disconnected and come online.  now you can check the validation of certificate  again