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:
- Connecting a Google Cloud Project Network with a GCVE Network
- Configure external DNS server for VSC and CIFS use only
- Install NetApp Virtual Storage Console (Optional)
- Create and Attach an NFS Datastore
- Create and Attach an iSCSI Datastore
- Create and Mount an NFS Export
- 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.
Before you can begin, there are a few administrative prerequisites that you should have in place before you can access Cloud Volumes ONTAP:
- Make sure that you already control an active GCP project that has appropriate permissions to deploy a Cloud Manager connector, Cloud Volumes ONTAP, and GCVE.
- On the NetApp side, you can see how to set up your Cloud Manager connector and Cloud Volumes ONTAP deployment here: https://docs.netapp.com/us-en/occm/task_getting_started_gcp.html
- The Google Cloud VMware Engine documents and prerequisites can be found here::
- Your GCVE and Google VPC should have different CIDR ranges in order to create a network peering connection between the two networks.
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.
1.2. Select a private service connection and allocate an IP range.
1.3. Allocate an internal IP range which will be used for peering.
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.
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.
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.”
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.
1.10. On the peering connection details page, click “EDIT.”
1.11. Mark both import and export custom routes and then save.
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.”
2.3. Add your domain name and IP and click on “Submit.”
2.4. Go back to the DNS configuration screen and select the newly created DNS profile. When you’re done, click on “Submit.”
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.”
3.3. Select the “local user” option and then click “Continue.”
3.4. Log in to the vCenter portal and deploy VSC from OVA.
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”
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
4.5. Select required media type and tiering policy
4.6. Now go to your volume’s menu and select “Mount Command.”
4.7. Copy the mount command in an open document for reference. You’ll need this later.
4.8. Navigate to the vCenter portal and select storage tab > Datacenter > ACTIONS > Storage > New Datastore.
4.9. Set the datastore type as NFS.
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.
4.11. Set the Server and Folder fields from the Mount command (mount Server:Folder <dest_dir>).
4.12. Select all the hosts shown, and when you are done, click “FINISH.”
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.
5.2. Select the option “Add software iSCSI adapter.”
5.3. Select the iSCSI software adapter > Properties and copy the iSCSI adapter name.
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.”
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.
5.10. Select the required media type and your preferred tiering policy.
5.11. Go to the Working Environment menu and select the information tab.
5.12. Copy the Data (iSCSI) lif IP address.
5.13. Navigate back to the vCenter portal and select “Dynamic Discovery > +Add.”
5.14. Enter the Data iSCSI lif IP as the iSCSI server.
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.
5.17. Select Datastore type as VMFS.
5.18. Select the iSCSI LUN.
5.19. Select your desired VMFS version.
5.20. Allocate your desired volume capacity.
5.21. Click “FINISH.”
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.”
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.”
6.5. Select your required media type and tiering policy.
6.6. Head over to the volume menu and select “Mount Command.”
6.7. Copy the mount command to your host to 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.”
7.3. Set the volume name, size, and select the CIFS tab to select the share name, permissions and users/groups.
7.4. Enter your DNS, domain name, user, and password to join the storage SVM as a domain computer account.
7.5. Select required media type and your preferred tiering policy.
7.6. Head back to the volume’s menu and then select “Mount Command.”
7.7. Copy the mount command to your host to mount or browse the volume.
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.