Creating a Mapping View
This operation enables you to create a mapping view. You can manage the mapping relationship between host groups and LUN groups by adding them to mapping views.
Context
- A host group can be added to a maximum of 64 mapping views.
- A LUN group can be added to a maximum of 64 mapping views.
- A port group can be added to a maximum of 64 mapping views.
- For details about the related specifications, see "Software Specifications" in the product description specific to your product model and version.
Based on the modes in which ports are used by mapping views, mapping views can be classified into LUN mapping and LUN masking.
- LUN mapping: A LUN is bound with the WWPN or IQN of a host's port to establish a one-to-one or N-to-one connection and access relationship with the host's port. A host can identify the same LUN regardless of whichever port on the storage system is connected to the host.
- LUN masking: A LUN is bound with a front-end port on the storage system. The LUN that a host can access varies with the storage port connected to the host.
Procedure
- Log in to DeviceManager.
- Choose
Provisioning >
Mapping View.
- Click Create.
The Create Mapping View dialog box is displayed.
- Set basic properties for the mapping view.
- Specify Name.
- (Optional) Specify Description.
- Add a host group to the mapping view.
- In Host Group, click
.
The Select Host Group dialog box is displayed.
If the service requires a new host group, click Create to create one.
- From the host group list, select the host group you want to add to the mapping view.
- Click OK.
- In Host Group, click
- Add a LUN group to the mapping view.
- In LUN Group, click
.
The Select LUN Group dialog box is displayed.
- If the service requires a new LUN group, click Create to create one.
- By default, Show only the LUN groups that do not belong to any mapping view at the bottom left corner of the dialog box is selected to facilitate LUN group locating.
- (Optional) Select Set the host LUN ID. In Start ID, select an ID.
- A host LUN ID is an ID allocated by the storage system to a LUN mapped to a host.
- Starting from the selected ID, the system will automatically assign a unique host LUN ID to each LUN in the selected LUN group.
- If you do not select Set the host LUN ID and there is no other mapped LUN in the host, the system will automatically assign a unique host LUN ID (starting from 0) to each LUN in the selected LUN group by default.
- From the LUN group list, select the LUN group you want to add to the mapping view.
- Click OK.
- In LUN Group, click
- (Optional) Add a port group to the mapping view.
This operation is required if the mapping view type is LUN masking.
- Select Port Group.
If a port group is added to the mapping view, LUNs in a specified LUN group use the ports in the port group to communicate with the corresponding hosts in the host group. If no port group is added to a mapping view, available ports are randomly used.
- Click
.
The Select Port Group dialog box is displayed.
If the service requires a new port group, click Create to create one.
- From the port group list, select the port group you want to add to the mapping view.
- Click OK.
- Select Port Group.
- Confirm the creation of the mapping view.
- Click OK.
The security alert dialog box is displayed.
If multiple hosts are added to a mapping view, it is possible that multiple hosts write data to the same LUN, which may lead to data corruption or inconsistency. You are advised to install cluster management software on application servers.
- Confirm the information in the dialog box and select I have read and understand the consequences associated with performing this operation.
- Click OK.
The Execution Result dialog box is displayed, indicating that the operation succeeded.
- Click Close.
- Click OK.