1 Rookie

 • 

108 Posts

October 3rd, 2018 06:00

You could script it using uemcli from the uemcli PDF:

Change the host LUN ID.

Note

This operation will fail if you try to assign a LUN ID that is already in use.

Format

/remote/host/hlu {-id } set –lunid

Object qualifier

Qualifier Description

-id Specifies the HLU.

Action qualifier

Qualifier Description

-lunid Specifies the new LUN ID for the LUN on the selected host.

Example

The following command changes the ID Host_3_sv_2_prod to LUN 0:

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/host/hlu -id

Host_3_sv_2_prod set –lunid 0

4 Operator

 • 

4.5K Posts

October 3rd, 2018 08:00

The LUN Host ID is selected when you add a LUN to a host. If you add LUN ID 7 first, the Host ID will be zero, then the next LUN you add will be Host ID 1 and so on. The LUN does not keep track of the Host ID. If you add LUNs to a new host that have already added to another host, then add the LUNs to the new host in the same order as you add the LUNs to the  first host.

glen

No Events found!

Top