This used to work in vSphere4, but doesn't seem to be working now
$esxCli=Get-EsxCli
$esxCli.nmp.satp.setdefaultpsp(“VMW_PSP_RR”, “VMW_SATP_DEFAULT_AA”)
Error:You cannot call a method on a null-valued expression. At C:\Documents and Settings\tclavell\Local Settings\Temp\3\f86a383f-6bcb-4426- 887f-d8534bc291a1.ps1:3 char:31 + $esxCli.nmp.satp.setdefaultpsp <<<< ("VMW_PSP_RR", "VMW_SATP_DEFAULT_AA") + CategoryInfo : InvalidOperation: (setdefaultpsp:String) [], Run timeException + FullyQualifiedErrorId : InvokeMethodOnNull
Version:
PowerCLI Version ---------------- VMware vSphere PowerCLI 5.0.1 build 581491 ---------------
Has the PSP for Round Robin Changed? According to my ESXi 5.0U1 Host, I can't even locate the PSP any longer. Are we to use
VMW_PSP_FIXED
~ # esxcli storage nmp satp list Name Default PSP Description ------------------- ------------- ------------------------------------------------------- VMW_SATP_ALUA VMW_PSP_MRU Supports non-specific arrays that use the ALUA protocol VMW_SATP_EVA VMW_PSP_FIXED Supports HP EVA VMW_SATP_MSA VMW_PSP_MRU Placeholder (plugin not loaded) VMW_SATP_DEFAULT_AP VMW_PSP_MRU Placeholder (plugin not loaded) VMW_SATP_SVC VMW_PSP_FIXED Placeholder (plugin not loaded) VMW_SATP_EQL VMW_PSP_FIXED Placeholder (plugin not loaded) VMW_SATP_INV VMW_PSP_FIXED Placeholder (plugin not loaded) VMW_SATP_ALUA_CX VMW_PSP_FIXED Placeholder (plugin not loaded) VMW_SATP_SYMM VMW_PSP_FIXED Placeholder (plugin not loaded) VMW_SATP_CX VMW_PSP_MRU Placeholder (plugin not loaded) VMW_SATP_LSI VMW_PSP_MRU Placeholder (plugin not loaded) VMW_SATP_DEFAULT_AA VMW_PSP_FIXED Supports non-specific active/active arrays VMW_SATP_LOCAL VMW_PSP_FIXED Supports direct attached devices ~ #