Ask The Experts

set controller'soption "iscsiHostPort" at line 1 is deprecated

Hi,

we are trying to setup an e2806 vy running

set controller [a] iscsiHostPort [1] IPv4Address=169.250.0.62 enableIPv4=true enn
ableIPv6=false IPv4SubnetMask=255.255.255.192 maxFramePayload=1500;

But the SMIA reports:

The option "iscsiHostPort" at line 1 is deprecated. Use the option "hostPort".
An error occurred attempting to set the controller host port properties at line
1. "1" is not a valid controller host port label.
The command at line 1 that caused the error is:
set controller [a] iscsiHostPort [1] IPv4Address=169.250.0.62 enableIPv4=true enn
ableIPv6=false IPv4SubnetMask=255.255.255.192 maxFramePayload=1500;

Is there anythin g wrong in what we are doing ? The iscsiport has been really deprecated ?

Thanks

Mike

5 REPLIES 5
Highlighted

Re: set controller'soption "iscsiHostPort" at line 1 is deprecated

Hi, I re-modified the script and it should be verified now:

 

set controller[a] iscsiHostPort[1] IPv4Address=169.250.0.62 enableIPv4=TRUE enableIPv6=FALSE IPv4SubnetMask=255.255.255.192 maxFramePayload=1500;

 

-There should be no space between set controller and the option.  Same with iscsiHostPort

-I capitalized "TRUE" and "FALSE" for IPv4 and IPv6
-Also, the original script had "ennableIPv6" mis-spelled.   There were two "nn" 

 

Please give it a try again.  

Highlighted

Re: set controller'soption "iscsiHostPort" at line 1 is deprecated

Thanks the console's output caused the command line to be garbled, we issued wit the proper synax unfortunately and still we get the deprecated message.

We tried to force an error by running:

 

XANOCS26-0-0-1:/root-# N1 -c 'set controller [a] iscsiHostPort [1] ;'        <
Performing syntax check...
The option "iscsiHostPort" at line 1 is deprecated. Use the option "hostPort".
Encountered ";" at line 1, column 52.
Was expecting one of:
    "enableIPV4" ...
    "enableIPV4Priority" ...
    "enableIPV4Vlan" ...
    "enableIPV6" ...
    "enableIPV6Priority" ...
    "enableIPV6Vlan" ...
    "IPV4Address" ...
    "IPV4ConfigurationMethod" ...
    "IPV4GatewayIP" ...
    "IPV4Priority" ...
    "IPV4SubnetMask" ...
    "IPV4VlanId" ...
    "IPV6ConfigurationMethod" ...

 

so it's really not accepting the iscsiHostPort. While if we try to send:

XANOCS26-0-0-1:/root-# 1 -c 'set controller [a] HostPort [1] ;'              <
Performing syntax check...
Encountered ";" at line 1, column 47.
Was expecting one of:
    "enableIPV4" ...
    "enableIPV4Priority" ...
    "enableIPV4Vlan" ...

it's now complaining only due to missing the rest of the command.

 

Is this iscsiHostPort  parameter being deprecated ?

Thanks

Highlighted

Re: set controller'soption "iscsiHostPort" at line 1 is deprecated

Hi, Can you try to copy this script below and try to run the script again?  It's working fine for me. 

 

set controller[a] iscsiHostPort[1] IPv4Address=169.250.0.62 enableIPv4=TRUE enableIPv6=FALSE IPv4SubnetMask=255.255.255.192 maxFramePayload=1500;

Highlighted

Re: set controller'soption "iscsiHostPort" at line 1 is deprecated

@malberto  can you please look into the response given by our experts?

 

If any of the above response helped you solve your query then please Accept as Solution, this will help others with the same query.

 

 

View solution in original post

Highlighted

Re: set controller'soption "iscsiHostPort" at line 1 is deprecated

Hi, sorry for the delay, yes thanks we were able to configure using that format Thanks Mike
Cloud Volumes ONTAP
Review Banner
All Community Forums
Public