Setting up a VPLEX Local implementation
45
Setting up VPLEX
9. Type the following commands to create and export the storage view:
cd /clusters/cluster-1/exports
storage-view create -c /clusters/cluster-1/ -n <storage_view_name>
-p <VPLEX_port>,<VPLEX_port>
10. Type the following commands to add each initiator port to the storage view:
cd /clusters/cluster-1/exports
storage-view addinitiatorport -v <storage_view_name> -i
<initiator_port>,<initiator_port>
11. Type the following commands to add the virtual volume(s) to the storage view:
cd /clusters/cluster-1/exports
storage-view addvirtualvolume -v <storage_view_name> -o
<virtual-volume_name>
Note that for any virtual volumes you add after the first one, you must add -f to
the end of the command. For example:
storage-view addvirtualvolume -f -v <storage_view_name> -i
<virtual-volume_name>,<virtual-volume_name>
Note: Including -f forces the virtual volumes to be added to the view even if the specified
LUNs are in use, the view is live, the virtual volumes are already assigned to another view,
or there are problems determining the view's state.
12. Type the following commands to verify the status of the storage view:
cd /clusters/cluster-1/exports/storage-views
export storage-view summary
Output example:
View health summary(cluster-1):
view name health-state exported volumes ports registered
initiators
----------- ------------ ---------------- ----- ----------
VMware_view healthy 2 4 4
view1 healthy 1311 4 480
view2 healthy 10 4 2
view3 healthy 11 4 2
view4 healthy 10 4 2
Total 5 views, 0 unhealthy.
Task 10: Perform a
rescan
After provisioning and exporting storage, perform a rescan from the host to verify
that the exported virtual volume is visible.