Friday, July 4, 2014

Change the default multipathing policy to round robin on Esxi 5.x

This is something for me to look back and check if i need it in future. how to change the default multipathing policy on the host for all the existing and future luns/datastores.
find out the satp on your esxi
esxcli storage nmp satp list

set the default mpp (multi pathing policy) to  round robin
esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_EQL

 set the default mpp (multi pathing policy) to fixed
esxcli storage nmp satp set --default-psp VMW_PSP_FIXED --satp VMW_SATP_EQL

set the default mpp (multi pathing policy) to MRU [Most Recently Used]
esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_EQL

source: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017760
 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1011340