No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 SmartVirtualization Feature Guide 07

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Establishing a Mapping Relationship Between eDevLUNs and Application Servers

Establishing a Mapping Relationship Between eDevLUNs and Application Servers

When eDevLUNs are mapped to application servers, the application servers can use these eDevLUNs to access external LUNs.

After eDevLUNs are mapped to application servers, do not modify their Host LUN IDs. Otherwise, data inconsistency or service interruption may occur.

Creating a LUN Group

After creating eDevLUNs, you need to add the eDevLUNs to a LUN group to establish the mapping between the eDevLUNs and the application server. Based on the mapping between the LUN group and the host group, hosts in the host group use LUNs in the LUN group.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > LUN > LUN Group.
  3. Click Create.

    The Create LUN Group dialog box is displayed.

  4. Set basic properties for the LUN group. Table 3-10 describes related parameters.

    Table 3-10  LUN group parameters

    Parameter

    Description

    Setting

    Name

    Name of a newly created LUN group.

    [Value range]
    • The name must be unique.
    • The name can contain only letters, digits, periods (.), underscores (_), and hyphens (-).
    • The name contains 1 to 31 characters.

    [Example]

    LUNgroup001

    Description

    Description of a LUN group.

    [Example]

    -

  5. Select the LUN you want to add to the LUN group.
    1. In the Available LUNs area, select one or multiple LUNs based on your service need.

      NOTE:
      • To facilitate locating the LUN, select Show only the LUNs that do not belong to any LUN group in the lower left corner of the dialog box.
      • If you need to add local LUNs and eDevLUNs with masquerading properties (basic or extended masquerading) to a LUN group, add the eDevLUNs before the local LUNs to avoid host LUN ID conflicts.

    2. Click Right Arrow to add the LUNs to the Selected LUNs area.
  6. Confirm the creation of the LUN group.
    1. Click OK.

      The Execution Result message box is displayed, indicating that the operation succeeded.

    2. Click Close.

Manually Creating a Host

You can manually create a virtual host for a storage device.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > Host.
  3. Choose Create > Manually Create.

    The Create Host Wizard dialog box is displayed.

  4. Set basic information for the host.



    Table 3-11 describes related parameters.

    Table 3-11  Host parameters

    Parameter

    Description

    Setting

    Name

    Name of a host.

    [Value range]
    • The name must be unique.
    • The name can contain only letters, digits, periods (.), underscores (_), and hyphens (-).
    • The name contains 1 to 31 characters.

    [Example]

    Host001

    Description

    Description of a host.

    [Example]

    -

    OS

    Operating system used by a host.

    [Value range]

    Possible values are Linux, Windows, Windows Server 2012, Solaris, HP-UX, AIX, XenServer, Mac OS and VMware ESX.
    NOTE:
    • If the host runs the Windows operating system and you need to use the space reclaiming function of thin LUNs, you can only select Windows Server 2012.
    • If the application type is FusionCompute, you are advised to select Linux as the operating system.

    [Example]

    VMware ESX

    IP Address

    IP address of a host.

    [Example]

    192.168.1.100

    NOTE:
    If the host is connected through iSCSI link, enter the real service IP address of the host for further management and search.

    Device Location

    Location of a host.

    [Example]

    Chengdu

  5. Click Next.
  6. Configure an initiator for the host.



    1. In the Available Initiators area, select Initiator Type based on your service need.
    2. In the initiator list, select one or multiple initiators.
    3. Click to add the initiator to the Selected Initiators area.

      NOTE:
      • If the initiator information has been configured on the application server, the DeviceManager can automatically detect the configured initiator. You only need to select the initiator information from the initiator list rather than manually creating it, and do not add initiators on different application servers to a same host. Create an initiator if no one is available in the list.
      • If the host operating system is HP-UX, create an initiator manually.
      • If the CHAP authentication is not enabled on the initiator, click Modify. In the Modify Initiator dialog box that is displayed, configure the CHAP authentication parameters. configure the CHAP authentication parameters.
      • If the CHAP authentication has been enabled on the initiator and you want to change the CHAP authentication password, click Modify. In the Modify Initiator dialog box that is displayed, change the CHAP authentication password. When you change the CHAP authentication password, you need to enter Old password to improve the storage system security instead of directly changing the password.
      • The CHAP authentication user name and password configured on the storage system must be the same as those configured on the application server. After changing the CHAP authentication password on the storage system, you need to use the new password to configure the CHAP authentication again on the application server.

  7. Confirm the host creation.
    1. Click Next.

      The Information Summary page is displayed.

    2. Click Finish to confirm the information of host to be created.

      If you already added initiators to the host, execute 7.c. If you do not add any initiator to the host, execute 7.d.

    3. The security alert dialog box is displayed. Carefully read the content of the dialog box. Then select I have read and understand the consequences associated with performing this operation to confirm the information and click OK.
    4. The Execution Result page is displayed, indicating that the operation succeeded. Click Close to finish creating a host.

Creating a Host Group

To allow hosts to use LUNs, you must add hosts into host groups. Then, establish mapping views between the LUN groups and host groups. By doing so, the hosts in the host groups can use the LUNs in the LUN groups. A host group can contain one or multiple hosts.

Context

  • Hosts in a host group can run different operating systems.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > Host > Host Group.
  3. Click Create.

    The Create Host Group dialog box is displayed.

  4. Set parameters of the host group. Table 3-12 describes related parameters.

    Table 3-12  Host group parameters

    Parameter

    Description

    Setting

    Name

    Name of a host group.

    [Value range]
    • The name must be unique.
    • The name can contain only letters, digits, periods (.), underscores (_), and hyphens (-).
    • The name contains 1 to 31 characters.

    [Example]

    HostGroup001

    Description

    Description of a host group.

    [Example]

    -

  5. Select the hosts you want to add to the host group.
    1. In the Available Hosts area, select one or multiple hosts based on your service requirements.

      If hosts to be added into the host group belong to different clusters, data access conflicts may occur, resulting in data loss. Before this operation, you are advised to install cluster software to manage hosts.

      NOTE:

      By default, the Shows only the hosts that do not belong to any host group checkbox in the bottom left corner of the dialog box is selected to facilitate host locating.

    2. Click to add the hosts to the Selected Hosts area.
  6. Confirm the creation of the host group.
    1. Click OK.

      • If multiple hosts have been selected to add to a host group, a security alert dialog box is displayed. Confirm the information and click OK. The Execution Result dialog box is displayed, indicating that the operation succeeded.
      • If only one host has been selected to add to a host group, the Execution Result dialog box is displayed, indicating that the operation succeeded.

    2. Click Close.

Creating a Mapping View

This operation enables you to create a mapping view and manage the mapping relationship between multiple host groups and LUN groups by adding them to the mapping view.

Context

Based on the ports 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 port to establish a one-to-one or N-to-one connection and access relationship with the host 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

  1. Log in to DeviceManager.
  2. Choose Provisioning > Mapping View.
  3. Click Create.

    The Create Mapping View dialog box is displayed.

  4. Set basic properties for the mapping view.
    1. In the Name text box, enter a name for the mapping view.
    2. Optional: In the Description text box, add the mapping view description.
  5. Add a host group to the mapping view.
    1. In Host Group, click .

      The Select Host Group dialog box is displayed.

      NOTE:

      If the service requires a new host group, click Create to create one.

    2. From the host group list, select the host group you want to add to the mapping view.
    3. Click OK.
  6. Add a LUN group to the mapping view.
    1. In LUN Group, click .

      The Select LUN Group dialog box is displayed.

      NOTE:
      • If the service requires a new LUN group, click Create to create one.
      • By default, the Show only the LUN groups that do not belong to any mapping view checkbox in the bottom left corner of the dialog box is selected to facilitate LUN group locating.

    2. Optional: Select Set host LUN ID. In Start ID, select an ID.

      NOTE:
      • 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 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.

    3. From the LUN group list, select the LUN group you want to add to the mapping view.
    4. Click OK.
  7. Optional: Add a port group to the mapping view.

    NOTE:
    This operation is required if the mapping view type is LUN masking.

    1. Select Port Group

      NOTE:

      If a port group is added to the mapping view, LUNs of a specified LUN group use the ports of the port group to communicate with the corresponding hosts of the host group. If no port group is added to the mapping view, available ports are randomly used.

    2. Click .

      The Select Port Group dialog box is displayed.

      NOTE:

      If your service requires a new port group, click Create to create one.

    3. From the port group list, select the port group you want to add to the mapping view.
    4. Click OK.
  8. Confirm the creation of the mapping view.
    1. Click OK.

      The security alert dialog box is displayed.

      NOTE:
      If multiple hosts are added to one same mapping view, it is possible that multiple hosts write data to the same LUN, this may cause data damage or inconsistent. You are advised to install cluster management software on application servers.

    2. Carefully read the content of the dialog box. Then select I have read and understand the consequences associated with performing this operation..
    3. Click OK.

      The Execution Result dialog box is displayed, indicating that the operation succeeded.

    4. Click Close.
Translation
Download
Updated: 2018-12-29

Document ID: EDOC1000106155

Views: 57284

Downloads: 143

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next