This post is more than 5 years old
2 Intern
•
142 Posts
0
1813
February 19th, 2017 17:00
iSCSI Port Binding / powercli
Hi Experts,
In preparation for RP4VM install I am trying to bind 2 vmkernal ports to iSCSI SW HBA. using powercli. ESXi v6.0, Powercli v6.5
I found 2 examples how to do it, but both don't work:
First way: Get-VMHost $VMhost | Set-VMHostiSCSIBinding -HBA $HBANumber -VMKernel $iSCSI_nic - it complain there is no Set-VMHostiSCSIBinding
The second way:
$esxcli = Get-EsxCli -V2 -VMhost $VMhost
$esxcli.iscsi.networkportal.add($HBA, $Null, $vmk1number)
or
#$esxcli.swiscsi.nic.add($HBANumber,$vmk1number)
It fails complaining "add" is not an option.
Any help is appreciated.
No Events found!
emc_troy
2 Intern
•
142 Posts
0
February 22nd, 2017 15:00
Answering my own question: