Browse Community
Help
Log In
Responses(2)
Solutions(1)
DELL_ChrisHolloway
2 Intern
•
125 Posts
0
February 15th, 2018 05:00
I think you need to include the "accessMask" in your "hostAccess" . So for a production access to a LUN you would need:
my $body = '{"name":"'.$lun_name.'","lunParameters":{"pool":{"id":"pool_2"},"size":'.$lun_size.',"isThinEnabled":"false","hostAccess":[{"host":{"id": "Host_6"},"accessMask": 1}]}}';
systeme_tt
2 Posts
Hi,
It's looks like the attriube accesMask was required.
Everything works fine with this body configuration
{
"name":"TEST226",
"lunParameters":{
"pool":{"id":"pool_2"},
"size":"10000000000",
"isThinEnabled":"false",
"hostAccess":[{
"host":{"id":"Host_6"},
"accessMask":"1"}
]
}
Now, i have a similar issue with HLU modification : /api/instances/host/Host_6/action/modifyHostLUNs
i use this body, but this is not working :
"hostLunModifyList":{
"hostLUN":{
"id": "Host_6_sv_33_prod"
},
"hlu":"10"
What's wrong with this ?
How to identify the required parameter ?
Dell Support Resources
View All
Top
DELL_ChrisHolloway
2 Intern
•
125 Posts
0
February 15th, 2018 05:00
I think you need to include the "accessMask" in your "hostAccess" . So for a production access to a LUN you would need:
my $body = '{"name":"'.$lun_name.'","lunParameters":{"pool":{"id":"pool_2"},"size":'.$lun_size.',"isThinEnabled":"false","hostAccess":[{"host":{"id": "Host_6"},"accessMask": 1}]}}';
systeme_tt
2 Posts
0
February 15th, 2018 05:00
Hi,
It's looks like the attriube accesMask was required.
Everything works fine with this body configuration
{
"name":"TEST226",
"lunParameters":{
"pool":{"id":"pool_2"},
"size":"10000000000",
"isThinEnabled":"false",
"hostAccess":[{
"host":{"id":"Host_6"},
"accessMask":"1"}
]
}
}
Now, i have a similar issue with HLU modification : /api/instances/host/Host_6/action/modifyHostLUNs
i use this body, but this is not working :
{
"hostLunModifyList":{
"hostLUN":{
"id": "Host_6_sv_33_prod"
},
"hlu":"10"
}
}
What's wrong with this ?
How to identify the required parameter ?