How to Integrate Google Cloud VMware Engine with Cloud Volumes ONTAP

[Cloud Volumes ONTAP, Hybrid Cloud, Google Cloud, Master, 8 minute read]

VMware has been a backbone for data centers in many enterprise IT deployments, but the shift to the cloud has made it important for these workloads to adapt. VMware Cloud bridges the gap between the on-prem deployments and the public cloud. In the Google Cloud, the way to do that is with Google Cloud VMware Engine (GCVE).

In this post we’ll introduce you to GCVE and show you how to integrate it with NetApp Cloud Volumes ONTAP.

Jump down to the How to Set Up GCVE with Cloud Volumes ONTAP sections: 

  1. Connecting a Google Cloud Project Network with a GCVE Network
  2. Configure external DNS server for VSC and CIFS use only
  3. Install NetApp Virtual Storage Console (Optional)
  4. Create and Attach an NFS Datastore
  5. Create and Attach an iSCSI Datastore
  6. Create and Mount an NFS Export
  7. Create and Mount a SMB/CIFS Share

What Is Google Cloud VMware Engine?

Google Cloud VMware Engine (GCVE) is a fully managed service that gives longtime VMware users a way to migrate and run in the cloud with access to Google Cloud services. GCVE supports a number of VMware products, including vSphere, vCenter, NSX, vSAN, and more.

However, with GCVE you aren’t running VMware on Google Cloud components: GCVE is built on VMware Cloud Foundation resources, not Google Cloud’s native storage and compute. The advantage is that it makes other Google Cloud services, such as BigQuery for analytics, available to dedicated VMware users. 

Google Cloud VMware Engine also integrates with NetApp Cloud Volumes ONTAP and Cloud Manager. In the sections below we’ll show you how to set up these cross-environment deployments so you can leverage both services.

How to Set Up GCVE with Cloud Volumes ONTAP

This section details the requirements to access Cloud Volumes ONTAP.

Prerequisites

Before you can begin, there are a few administrative prerequisites that you should have in place before you can access Cloud Volumes ONTAP:

1. Connecting a Google Cloud Project Network with a GCVE Network

This section will detail how to connect your existing Google Cloud project network with a network that will work for GCVE. The first step is to set up your Google Cloud VPC for peering with GCVE.

1.1 Start by logging in to Google Cloud Management console. Once you’re in, navigate to the Google Cloud VPC network and select the relevant VPC.

google management

1.2. Select a private service connection and allocate an IP range.

private connection

1.3. Allocate an internal IP range which will be used for peering.

internal IP range

1.4. Select the private connections to services tab and create a new connection. You will also allocate an internal IP range for the peering.

1.5. Select “Google Cloud Platform” for the service producer and enter the IP allocation that you created above. 

1.6. Navigate back to the VPC network menu. Select the VPC network peering option from the menu on the left. On this page, copy the peered project ID.

VPC network

1.7. Navigate into GCVE and select Network from the options on the left-side menu. On the Network screen, select the Private Connection tab. Click on the “Add Private Connection” button here.

GCVE connection

1.8. Now you need to enter some details for the private connection. For the Tenant Project ID, use the peered project ID. Enter the appropriate region for your deployment. When you’re done, click “Submit.”

private details

1.9. Navigate back to the VPC Network menu in GCP console and go back to the VPC network peering tab. Select the relevant peering relation.

vpc network

1.10. On the peering connection details page, click “EDIT.”

edit connection

1.11. Mark both import and export custom routes and then save.

mark import and export

1.12. Note: make sure to have both GCVE and GCP project firewalls opened for connection.

2. Configure External DNS Server for VSC and CIFS Use Only

Now we’ll configure your external DNS server so that it will exclusively use VSC and CIFS.

2.1. First, go to the GCVE portal. Navigate to “Resources” in the menu on the left and find the relevant GCVE cluster to configure.

2.2. On the Resources screen, select “DNS Configuration” tab and then select “New DNS Profile.”

DNS configuration

2.3. Add your domain name and IP and click on “Submit.”

add domain name

2.4. Go back to the DNS configuration screen and select the newly created DNS profile. When you’re done, click on “Submit.”

DSN configuration

3. Install NetApp Virtual Storage Console (Optional)

If you want to use NetApp Virtual Storage Console (VSC) with your GCVE deployment, you can do so by following these steps. This step is optional, but it comes with the benefit of managing your NetApp storage resources through the vCenter console. 

3.1. Download the Virtual Storage Console OVA file from the following link: https://mysupport.netapp.com/site/products/all/details/vsc/downloads-tab

3.2. In the GCVE portal, navigate to the Resources option on the left-hand menu. On the Resources screen, find your cluster and select “Change vSphere privileges.”

gcve portal

3.3. Select the “local user” option and then click “Continue.”

local user

3.4. Log in to the vCenter portal and deploy VSC from OVA.

vcenter

4. Create and Attach an NFS Datastore

To create and attach an NFS datastore to your GCVE deployment with Cloud Volumes ONTAP, use the following steps.

4.1. Go to cloudmanager.netapp.com and select your Cloud Volumes ONTAP working environment.

4.2. Select “Add New Volume”

add new volume

4.3. Set the datastore’s volume name and size.

4.4. Set the custom export policy to allow the GCVE network CIDR and click continue

export policy

4.5. Select required media type and tiering policy

select media

4.6. Now go to your volume’s menu and select “Mount Command.”

mount command

4.7. Copy the mount command in an open document for reference. You’ll need this later.

copy mount command

4.8. Navigate to the vCenter portal and select storage tab > Datacenter > ACTIONS > Storage > New Datastore.

navigate portal

4.9. Set the datastore type as NFS.

set datastore

4.10. Once you select NFS, you’ll have to choose the version of NFS that you want to use. We recommend using version NFS3.

choose nfs version

4.11. Set the Server and Folder fields from the Mount command (mount Server:Folder <dest_dir>).

set the server and folder

4.12. Select all the hosts shown, and when you are done, click “FINISH.”

finish hosts

5. Create and Attach an iSCSI Datastore

To create and attach a block-based iSCSI datastore for GCVE and Cloud Volumes ONTAP, follow these steps. 

5.1. Go to vCenter portal and select your first node > Configure tab > Storage Adapters > Add Storage Adapter.

select node

5.2. Select the option “Add software iSCSI adapter.”

add software isicsi adapter

5.3. Select the iSCSI software adapter > Properties and copy the iSCSI adapter name.

select iscsi

5.4. Repeat steps 5.1-5.3 for each host in the cluster. 

5.5. Go to cloudmanager.netapp.com and select your Cloud Volumes ONTAP working environment.

5.6. Select “Add New Volume.”

add new volume

5.7. Set your protocol type by clicking on “iSCSI.”

5.8. Set the initiator group name and operating system type as VMware.

5.9. Select “Add new IQN” and add all the host initiators IQNs to the host initiator tab. Set the alias as the server name, and each host in a different row with the add more IQN + icon.

new IQN

5.10. Select the required media type and your preferred tiering policy.

preffered tiering

5.11. Go to the Working Environment menu and select the information tab.

working environment

5.12. Copy the Data (iSCSI) lif IP address.

copy data

5.13. Navigate back to the vCenter portal and select “Dynamic Discovery > +Add.”

gcve34dynamic discoveryh

5.14. Enter the Data iSCSI lif IP as the iSCSI server.

data iscsi

5.15. Repeat steps 5.12-5.15 for each host in the cluster.

5.16. Navigate to the vCenter portal and select the storage tab > Datacenter > ACTIONS > Storage > New Datastore.

new datastore

5.17. Select Datastore type as VMFS.

vmfs

5.18. Select the iSCSI LUN.

iscsi lun

5.19. Select your desired VMFS version.

vmfs version

5.20. Allocate your desired volume capacity.

allocate desired volume

5.21. Click “FINISH.”

done

6. Create and Mount an NFS Export

The following section will detail how to create and mount an NFS export for your GCVE deployment with Cloud Volumes ONTAP.

6.1. Go to cloudmanager.netapp.com and select your Cloud Volumes ONTAP working environment.

6.2. Select “Add New Volume.”

add new volume

6.3. Enter a name for the volume and the preferred size.

6.4. Set the Custom export policy to allow the GCVE network CIDR and then click “Continue.”

continue

6.5. Select your required media type and tiering policy.

tiering policy

6.6. Head over to the volume menu and select “Mount Command.”

mount command

6.7. Copy the mount command to your host to mount the volume.

mount the volume

7. Create and Mount a SMB/CIFS Share

7.1. Go to cloudmanager.netapp.com and select your Cloud Volumes ONTAP working environment.

7.2. Select “Add New Volume.”

volume add

7.3. Set the volume name, size, and select the CIFS tab to select the share name, permissions and users/groups.

cifs tab

7.4. Enter your DNS, domain name, user, and password to join the storage SVM as a domain computer account.

dns domain name

7.5. Select required media type and your preferred tiering policy.

tiering policy

7.6. Head back to the volume’s menu and then select “Mount Command.”

mount this command

7.7. Copy the mount command to your host to mount or browse the volume.

Conclusion

GCVE gives VMware users a new way to transform legacy VMware deployments into Google Cloud VMware deployments. Cloud Volumes ONTAP fully integrates with such workloads, making it possible to add a whole host of data management features that make Google Cloud deployment easier, less expensive, and more protected.

New call-to-action

-