Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1081

April 13th, 2017 17:00

REST API Issue with Modify HLU

Hi All.

I am trying to modify Unity LUN HLU through API. it works fine for single LUN, But for multiple LUNs it fails though all these luns belong to same host.

I am getting following error message if try with more than one LUN:

"One or more specified parameters are invalid. (Error Code:0x5)"


Does Unity supports, HLU change for multiple LUNs through one API call?


JSON Request for single LUN HLU change :

   "hostLunModifyList":[ 

      { 

         "hostLUN":{ 

            "id":"Host_9_sv_783_prod"

         },

         "hlu":29

      }

   ]

}

Multiple LUNs:

   "hostLunModifyList":[ 

      { 

         "hostLUN":{ 

            "id":"Host_9_sv_783_prod"

         },

         "hlu":29

      },

      { 

         "hostLUN":{ 

            "id":"Host_9_sv_784_prod"

         },

         "hlu":29

      }

   ]

}

4.5K Posts

April 14th, 2017 11:00

The UEMCLI comand to modify the HLU number for a LUN only supports one LUN at a time.

In your example above, it appears you're attemtping to change the HLU for two different LUNs (sv_783 and sv_784) but you're using the same HLU 29 number - is that a typo? Only unique HLUs not is use are allowed.

glen

April 14th, 2017 14:00

Thanks glen. it works fine with different HLU. Bit confused with LUN and host lun.

API works absolutely fine with multiple LUN.

But i feel, this API should take single LUN but multiple host which means, i can use single API which sets same HLU for the LUN across many host. This what storage admin look for.

8.6K Posts

April 18th, 2017 04:00

If its not currently implemented in the API then please submit a product enhancement request

No Events found!

Top