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

Huawei SAN Storage Host Connectivity Guide for VMware ESXi

HUAWEI SAN Storage Host Connectivity Guide for VMware ESXi Servers

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).
Using the Mapped LUNs

Using the Mapped LUNs

After the mapped LUNs are detected on a host, you can directly use the raw devices or create file systems on the LUNs.

Raw Device Mapping (RDM)

RDM uses raw devices as disks for VMs. Perform the following steps to map raw devices.

vSphere Client

On vSphere Client, perform the following steps to configure RDM:

  1. Right-click a VM and choose Edit Settings from the shortcut menu.

    Figure 5-47 Editing host settings

  2. On the Hardware tab page, click Add. In the Add Hardware dialog box that is displayed, choose Hard Disk in Device Type and click Next.

    Figure 5-48 Adding disks

  3. Select disks.

    You can create a new virtual disk, use an existing virtual disk, or use raw disk mappings, as shown in Figure 5-49.

    Figure 5-49 Selecting disks

  4. Select Raw Device Mappings and click Next.
  5. Select a target LUN and click Next.

    Figure 5-50 Selecting a target LUN

  6. Select a datastore. The default datastore is under the same directory as the VM storage. Click Next.

    Figure 5-51 Selecting a datastore

  7. Select a compatibility mode.

    Select a compatibility mode based on site requirements and click Next.

    Figure 5-52 Selecting a compatibility mode

  8. In Advanced Options, use the default virtual device node.

    Figure 5-53 Selecting a virtual device node

  9. In Ready to Complete, confirm the information about the disk to be added.

    Figure 5-54 Confirming the information about the disk to be added

  10. Click Finish. The system starts to add disks.

    Figure 5-55 Adding raw disk mappings

    After a raw disk is mapped, the type of the newly created disk is Mapped Raw LUN.

vSphere Web Client

On vSphere Web Client, perform the following steps to configure RDM:

  1. On the Related Objects tab page, click the Virtual Machines tab. Right-click the host for which you want to map raw devices and choose Edit Settings from the shortcut menu.

    Figure 5-56 Editing host settings

  2. In the displayed Edit Settings dialog box, click the Virtual Hardware tab. On the tab page, select RDM Disk from the New device option list at the bottom.

    Figure 5-57 Adding RDM disks

  3. Click Add to add the target disk.

    Figure 5-58 Selecting disks to add

  4. Verify the disk information and click OK.

    Figure 5-59 Completing the disk addition operation

  5. Navigate to the Edit Settings tab page again and verify that the target disk is added successfully.

    Figure 5-60 Checking whether the disk is successfully added

Creating Datastores

Create a file system before creating a virtual disk. A file system can be created using the file system disks in datastores.

This section details how to create a datastore.

vSphere Client

On vSphere Client, perform the following steps to create a datastore:

  1. On the Configuration tab page, choose Storage in the navigation tree. On the Datastores tab page that is displayed, click Add Storage, as shown in Figure 5-61.

    Figure 5-61 Adding storage

  2. Select a storage type and click Next.

    Figure 5-62 Selecting a storage type

  3. On the Select Disk/LUN page that is displayed, select a desired disk and click Next.

    Figure 5-63 Select a disk/LUN

  4. Select a file system version. VMFS-5 is selected in this example.

    Figure 5-64 Selecting a file system version

  5. View the current disk layout and device information, as shown in Figure 5-65.

    Figure 5-65 Viewing the current disk layout

  6. Enter the name of a datastore.

    Figure 5-66 Entering a datastore name

  7. Specify a disk capacity. Normally, Maximum available space is selected. If you want to test LUN expansion, customize a capacity.

    Figure 5-67 Specifying a capacity

  8. Confirm the disk layout. If the disk layout is correct, click Finish.

    Figure 5-68 Confirming the disk layout

vSphere Web Client

On vSphere Web Client, perform the following steps to create a datastore:

  1. On the Related Objects tab page, click the Datastores tab.

    Figure 5-69 Checking the datastores

  2. Click to open the New Datastore page. On this page, select VMFS and click Next.

    Figure 5-70 Creating the datastore type

  3. Specify the datastore name, select the disks, and click Next.

    Figure 5-71 Specifying the datastore name and selecting disks

  4. Select the file system version (VMFS 5, for example), and click Next.

    Figure 5-72 Selecting the file system version

  5. Configure datastore partition and click Next.

    Figure 5-73 Configuring the partition layout

  6. Verify the datastore configurations and click Finish.

    Figure 5-74 Verifying the datastore configurations

  7. Verify that the datastore is successfully created.

    Figure 5-75 Checking the datastore

Creating Virtual Disks

This section describes how to add LUNs to VMs as virtual disks.

vSphere Client

On vSphere Client, perform the following steps to create virtual disks:

  1. Right-click a VM and choose Edit Settings from the shortcut menu.

    Figure 5-76 Editing VM settings

  2. Click Add, select Hard Disk and click Next.

    Figure 5-77 Adding disks

  3. In Select a Disk, select Create a new virtual disk.

    Figure 5-78 Creating a new virtual disk

  4. Specify the disk capacity based on site requirements.

    Figure 5-79 Specifying the disk capacity

  5. Select a datastore. In this example, the datastore is OS and the file system type is VMFS-5, as shown in Figure 5-80.

    Figure 5-80 Selecting a datastore

  6. Select a virtual device node. If there are no special requirements, use the default virtual device node.

    Figure 5-81 Selecting a virtual device node

  7. View the basic information about the virtual disk.

    Figure 5-82 Viewing virtual disk information

    After the virtual disk is created, verify that its type is Virtual Disk.

vSphere Web Client

On vSphere Web Client, perform the following steps to create virtual disks:

  1. On the Related Objects tab page, click the Virtual Machines tab. Right-click the host for which you want to create virtual disks and choose Edit Settings from the shortcut menu.

    Figure 5-83 Editing the host settings

  2. On the Virtual Hardware tab page, select New Hard Disk from the New device option list.

    Figure 5-84 Selecting to add a hard disk

  3. Click Add and check the information of the added disk.

    Figure 5-85 Checking the information of the added disk

  4. To modify disk properties, expand New Hard disk by clicking the arrow icon on its left.

    Figure 5-86 Modifying disk properties

Download
Updated: 2020-01-17

Document ID: EDOC1000144883

Views: 143334

Downloads: 7285

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next