hamburger icon close icon

Use guest-connected iSCSI storage with Azure VMware Solution

In the previous blog, we covered how to mount file shares from NetApp® Cloud Volumes ONTAP to provide external storage to virtual machines (VMs) running on Azure VMware Solutions private cloud. Now, let’s look at configuring guest VMs to use software iSCSI and attach to the Cloud Volumes ONTAP software appliance. Because the guest must be specifically configured for iSCSI and connected to the appliance, I call this external storage. Many operating systems, Windows included, have free software iSCSI initiators available, so this is a common configuration. In this configuration, the ESXi host layer is not at all involved in any translation or management of the storage. The iSCSI traffic is simply another form of VM traffic that moves across the network interface cards (NICs).

Connect a LUN to the host

To connect a LUN to the host, complete the following steps:

    1. On the Canvas page, double-click the Cloud Volumes ONTAP working environment to create and manage volumes.
    2. Click Add Volume > New Volume, select iSCSI, and create the initiator group (igroup).
Picture1-Oct-06-2021-08-14-08-96-AM
  1. After the volume is provisioned, select the volume, and then click Target IQN. Click Copy to copy the IQN name. Set up an iSCSI connection from the host to the LUN.
    To accomplish the same:
    1. RDP to the VM hosted on Azure VMware Solution software-defined data center (SDDC).
    2. Open the iSCSI Initiator Properties dialog box: Select Server Manager > Dashboard > Tools > iSCSI Initiator
    3. From the Discovery tab, click Discover Portal or Add Portal, and then enter the IP address of the iSCSI target port.
    4. From the Targets tab, select the target discovered, and then click Log on or Connect.
    5. Select Enable Multipath, select Automatically Restore This Connection When the Computer Starts or Add This Connection to the List of Favorite Targets, and then click Advanced.

      Note: The Windows host must have an iSCSI connection to each node in the cluster. The native device-specific module (DSM) selects the best paths to use.
      Picture1-Oct-06-2021-08-25-18-72-AM
  1. LUNs on storage virtual machine (SVM) appear as disks to the Windows host. Any new disks added are not automatically discovered by the host. Trigger a manual rescan to discover the disks.
    1. Open the Windows Computer Management utility: Start > Administrative Tools > Computer Management.
    2. Expand the Storage node in the navigation tree.
    3. Click Disk Management.
    4. Click Action > Rescan Disks.
    Picture1-Oct-06-2021-08-40-17-82-AM
  1. When a new LUN is first accessed by the Windows host, it has no partition or file system. Initialize the LUN, and optionally format it with a file system:
    1. Start Windows Disk Management.
    2. Right-click the LUN, and then select the required disk or partition type.
    3. Follow the instructions in the wizard. In this example, drive E is mounted.

Picture1-Oct-06-2021-08-41-42-38-AM

Picture1-Oct-06-2021-08-43-21-34-AM

Picture1-Oct-06-2021-08-44-05-70-AM

Picture1-Oct-06-2021-08-44-32-91-AM

What’s Next?

So, what are you waiting for? Explore Azure NetApp Files and Cloud Volumes ONTAP and choose the appropriate option to offload the storage heavy workloads from vSAN to make your VMware deployment more cost effective. By combining the flexibility and performance of NetApp storage offerings with the native hybrid cloud capabilities of VMware Cloud, NetApp simplifies running all types of workloads without modifying applications and without compromising security or performance.

Principal Technical Marketing Engineer