Announcement Banner

emc_troy

updated

10 years ago

E

emc_troy

2 Intern

•

142 Posts

0

1841

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.