Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178040

Changing iSCSI Software Adapter advanced settings using PowerCLI

$
0
0

Hi,

 

I have found this site ( http://tech.zsoldier.com/2011/09/disable-delayed-acknowledgement-setting.html ) teaching how to modify some iSCIS Software Adapter advanced settings using PowerCLI.

I'm using the code below to change two settings (EqualLogic storage requirements):

 

$options = New-Object VMWare.Vim.HostInternetScsiHbaParamValue[] (2)

$options[0] = New-Object VMware.Vim.HostInternetScsiHbaParamValue

$options[0].key = "DelayedAck"

$options[0].value = $False

$options[1] = New-Object VMware.Vim.HostInternetScsiHbaParamValue

$options[1].key = "LoginTimeout"

$options[1].value = 60

 

$HostStorageSystem = Get-View -ID $HostStorageSystemID

$HostStorageSystem.UpdateInternetScsiAdvancedOptions($HostiSCSISoftwareAdapterHBAID, $null, $options)

 

My querstion is: Is there a better way to do it?

It seems that in this way it doesn't apply right away.


Viewing all articles
Browse latest Browse all 178040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>