How to provision storage from VNX Block? / How to assign LUN to Host
and Storage Group from VNX?
Resolution:
Follow the steps below to perform storage provisioning from VNX
(Allocate LUN from VNX to a particular Host):
Make sure the initiators are Registered and Logged in to the VNX,
also the Failover Mode and Initiator type should be rightly set.
Make sure there are LUNs, carved from either RAID group or a Storage pool.
Login to Unisphere, goto Hosts > Storage Groups. Click on Create
button to Create a Storage Group.
Provide a Storage Name and see if the Storage System for which you
want to create a Storage Group is correct.
Once you click on Apply, click on Yes and confirm the operation.
The new pop up says, Do you wish to add LUNs or Connect Hosts,
click Yes if you add them at the same time, else click No, as the same
can be done using Connect LUNs and Connect Hosts or Properties tab.
If you clicked Yes, select the LUNs you wish to present to the
server under Available LUNs window and click Add.
Once the LUN is visible in Selected LUNs list, under the Host LUN
ID (HLU), select the HLU ID you wish to be assigned to the server.
In the Hosts tab in the same window of Storage Group Properties,
select the Host from the Available Hosts list in the left side and
move it to the Host to be Connected window in the right side.
Click on Apply and OK. The new Storage Group will be visible under
the Storage Groups list. Properties tab can be used to make any
changes if required.
The same can be done using Command Line Interface (CLI) as well. Here
are the steps:
1. Create Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -create -gname <userdefined_storagegroupname>
2. Connect host to Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -connecthost -host <name_of_host> -gname
<userdefined_storagegroupname>
3. Connect LUN to Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -addhlu -gname <userdefined_storagegroupname>
-hlu <HLU_ID> -alu <ALU_ID>
Note:
If a LUN is already assigned to another server and you want to share
that LUN to the current server, select "All" under the drop-down list
in the Show LUNs tab so that the LUN is visible for assignment.
A Host can be part of only one Storage Group at any point of time
and Storage Group from VNX?
Resolution:
Follow the steps below to perform storage provisioning from VNX
(Allocate LUN from VNX to a particular Host):
Make sure the initiators are Registered and Logged in to the VNX,
also the Failover Mode and Initiator type should be rightly set.
Make sure there are LUNs, carved from either RAID group or a Storage pool.
Login to Unisphere, goto Hosts > Storage Groups. Click on Create
button to Create a Storage Group.
Provide a Storage Name and see if the Storage System for which you
want to create a Storage Group is correct.
Once you click on Apply, click on Yes and confirm the operation.
The new pop up says, Do you wish to add LUNs or Connect Hosts,
click Yes if you add them at the same time, else click No, as the same
can be done using Connect LUNs and Connect Hosts or Properties tab.
If you clicked Yes, select the LUNs you wish to present to the
server under Available LUNs window and click Add.
Once the LUN is visible in Selected LUNs list, under the Host LUN
ID (HLU), select the HLU ID you wish to be assigned to the server.
In the Hosts tab in the same window of Storage Group Properties,
select the Host from the Available Hosts list in the left side and
move it to the Host to be Connected window in the right side.
Click on Apply and OK. The new Storage Group will be visible under
the Storage Groups list. Properties tab can be used to make any
changes if required.
The same can be done using Command Line Interface (CLI) as well. Here
are the steps:
1. Create Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -create -gname <userdefined_storagegroupname>
2. Connect host to Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -connecthost -host <name_of_host> -gname
<userdefined_storagegroupname>
3. Connect LUN to Storage Group.
naviseccli -h <SP_IP address> -user <username> -password <password>
-scope 0 storagegroup -addhlu -gname <userdefined_storagegroupname>
-hlu <HLU_ID> -alu <ALU_ID>
Note:
If a LUN is already assigned to another server and you want to share
that LUN to the current server, select "All" under the drop-down list
in the Show LUNs tab so that the LUN is visible for assignment.
A Host can be part of only one Storage Group at any point of time
No comments:
Post a Comment