Moderator

 • 

239 Posts

June 2nd, 2017 00:00

Hi eg_westr

Your syntax looks correct. I don't see a problem. Might be easier to use -host -lun instead of -id. Example:

uemcli -xx y -xx z /remote/host/hlu -host Host_2 -lun sv_21 -type production set -lunid 100

I say this might be easier as you can just change the LUN or host numbers without having to get the ID. Although the ID is easy to guess.

Are you saying you would like one single command to both add host access to a LUN and add it with a specific HLU?

If so, I don't think there is currently a way.

You need two commands for this with UEMCLI. I have not tested this with RestAPI, but maybe it has an option.

So you first need one command (or GUI) to establish the host <> LUN relationship by giving hosts LUN access.

Then another to change the HLU if needed.

This can still be easily scripted though.

If you feel an option is missing, you may want to submit a PER (Product Enhancement Request) with the assistance of your local Dell EMC representatives.

Andre @ Dell EMC

169 Posts

June 2nd, 2017 18:00

Yes, as Andre said, in Unity, it got much more granular controls, so it requires many steps to achieve this:

1) Identify the resource id for the lun resources (/stor/prov/luns/lun show)

2) Identify the host resource id (/remote/host show)

3) Assign the lun properties with the host id to establish relation with default hlu id (/stor/prov/luns/lun set)

4) Finally, we can set the HLU id as you described (/remote/host/hlu)

Of course, you can script this with same input params as navicli (hostname, lun name and target HLU id) and you can script with above 4 uemcli commands.

No Events found!

Top