REST API Issue with Modify HLU

Jump to solution

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

      }

   ]

}

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: REST API Issue with Modify HLU

Jump to solution

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

0 Kudos
3 Replies
8 Krypton

Re: REST API Issue with Modify HLU

Jump to solution

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

0 Kudos

Re: REST API Issue with Modify HLU

Jump to solution

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.

0 Kudos
8 Krypton

Re: REST API Issue with Modify HLU

Jump to solution

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

0 Kudos