NetApp Storage Options for GCP
GCP supports guest connected NetApp storage with Cloud Volumes ONTAP (CVO) or Google Cloud NetApp Volumes (NetApp Volumes).
Cloud Volumes ONTAP (CVO)
Cloud volumes ONTAP, or CVO, is the industry-leading cloud data management solution built on NetApp’s ONTAP storage software, available natively on Amazon Web Services (AWS), Microsoft Azure and Google Cloud Platform (GCP).
It is a software-defined version of ONTAP that consumes cloud-native storage, allowing you to have the same storage software in the cloud and on-premises, reducing the need to retrain you IT staff in all-new methods to manage your data.
CVO gives customers the ability to seamlessly move data from the edge, to the data center, to the cloud and back, bringing your hybrid cloud together — all managed with a single-pane management console, NetApp Cloud Manager.
By design, CVO delivers extreme performance and advanced data management capabilities to satisfy even your most demanding applications in the cloud
Cloud Volumes ONTAP (CVO) as guest connected storage
Deploy Cloud Volumes ONTAP in Google Cloud (Do It Yourself)
Cloud Volumes ONTAP shares and LUNs can be mounted from VMs that are created in the GCVE private cloud environment. The volumes can also be mounted on the Linux client and on Windows client and LUNS can be accessed on Linux or Windows clients as block devices when mounted over iSCSI because Cloud Volumes ONTAP supports iSCSI, SMB, and NFS protocols. Cloud Volumes ONTAP volumes can be set up in a few simple steps.
To replicate volumes from an on-premises environment to the cloud for disaster recovery or migration purposes, establish network connectivity to Google Cloud, either using a site-to-site VPN or Cloud Interconnect. Replicating data from on-premises to Cloud Volumes ONTAP is outside the scope of this document. To replicate data between on-premises and Cloud Volumes ONTAP systems, see Setting up data replication between systems.
Use Cloud Volumes ONTAP sizer to accurately size the Cloud Volumes ONTAP instances. Also monitor on-premises performance to use as inputs in the Cloud Volumes ONTAP sizer. |
-
Log in to NetApp Cloud Central—the Fabric View screen is displayed. Locate the Cloud Volumes ONTAP tab and select Go to Cloud Manager. After you are logged in, the Canvas screen is displayed.
-
On the Cloud Manager Canvas tab, click Add a Working Environment and then select Google Cloud Platform as the cloud and the type of the system configuration. Then, click Next.
-
Provide the details of the environment to be created including the environment name and admin credentials. After you are done, click Continue.
-
Select or deselect the add-on services for Cloud Volumes ONTAP deployment, including Data Sense & Compliance or Backup to Cloud. Then, click Continue.
HINT: A verification pop-up message will be displayed when deactivating add-on services.
Add-on services can be added/removed after CVO deployment, consider to deselect them if not needed from the beginning to avoid costs. -
Select a location, choose a firewall policy, and select the checkbox to confirm network connectivity to Google Cloud storage.
-
Select the license option: Pay-As-You-Go or BYOL for using existing license. In this example, Freemium option is used. Then, click on Continue.
-
Select between several preconfigured packages available based on the type of workload that will be deployed on the VMs running on VMware cloud on AWS SDDC.
HINT: Hoover your mouse over the tiles for details or customize CVO components and ONTAP version by clicking on Change Configuration.
-
On the Review & Approve page, review and confirm the selections.To create the Cloud Volumes ONTAP instance, click Go.
-
After Cloud Volumes ONTAP is provisioned, it is listed in the working environments on the Canvas page.
Additional configurations for SMB volumes
-
After the working environment is ready, make sure the CIFS server is configured with the appropriate DNS and Active Directory configuration parameters. This step is required before you can create the SMB volume.
HINT: Click on the Menu Icon (º), select Advanced to display more options and select CIFS setup.
-
Creating the SMB volume is an easy process. At Canvas, double-click the Cloud Volumes ONTAP working environment to create and manage volumes and click on the Create Volume option. Choose the appropriate size and cloud manager chooses the containing aggregate or use advanced allocation mechanism to place on a specific aggregate. For this demo, CIFS/SMB is selected as the protocol.
-
After the volume is provisioned, it will be availabe under the Volumes pane. Because a CIFS share is provisioned, give your users or groups permission to the files and folders and verify that those users can access the share and create a file. This step is not required if the volume is replicated from an on-premises environment because the file and folder permissions are all retained as part of SnapMirror replication.
HINT: Click on the volume menu (º) to display its options.
-
After the volume is created, use the mount command to display the volume connection instructions, then connect to the share from the VMs on Google Cloud VMware Engine.
-
Copy the following path and use the Map Network Drive option to mount the volume on the VM running on the Google Cloud VMware Engine.
Once mapped, it can be easily accessed, and the NTFS permissions can be set accordingly.
Connect the LUN on Cloud Volumes ONTAP to a host
To connect the cloud volumes ONTAP LUN to a host, complete the following steps:
-
On the Canvas page, double-click the Cloud Volumes ONTAP working environment to create and manage volumes.
-
Click Add Volume > New Volume and select iSCSI and click Create Initiator Group. Click Continue.
-
After the volume is provisioned, select the volume menu (º), and then click Target iQN. To copy the iSCSI Qualified Name (iQN), click Copy. Set up an iSCSI connection from the host to the LUN.
To accomplish the same for the host residing on Google Cloud VMware Engine:
-
RDP to the VM hosted on Google Cloud VMware Engine.
-
Open the iSCSI Initiator Properties dialog box: Server Manager > Dashboard > Tools > iSCSI Initiator.
-
From the Discovery tab, click Discover Portal or Add Portal and then enter the IP address of the iSCSI target port.
-
From the Targets tab, select the target discovered and then click Log on or Connect.
-
Select Enable multipath, and then select Automatically Restore This Connection When the Computer Starts or Add This Connection to the List of Favorite Targets. Click Advanced.
The Windows host must have an iSCSI connection to each node in the cluster. The native DSM selects the best paths to use. LUNs on storage virtual machine (SVM) appear as disks to the Windows host. Any new disks that are added are not automatically discovered by the host. Trigger a manual rescan to discover the disks by completing the following steps:
-
Open the Windows Computer Management utility: Start > Administrative Tools > Computer Management.
-
Expand the Storage node in the navigation tree.
-
Click Disk Management.
-
Click Action > Rescan Disks.
When a new LUN is first accessed by the Windows host, it has no partition or file system. Initialize the LUN; and optionally, format the LUN with a file system by completing the following steps:
-
Start Windows Disk Management.
-
Right-click the LUN, and then select the required disk or partition type.
-
Follow the instructions in the wizard. In this example, drive F: is mounted.
-
On the Linux clients, ensure the iSCSI daemon is running. Once the LUNs are provisioned, refer to the detailed guidance on iSCSI configuration with Ubuntu as an example here. To verify, run lsblk cmd from the shell.
Mount Cloud Volumes ONTAP NFS volume on Linux client
To mount the Cloud Volumes ONTAP (DIY) file system from VMs within Google Cloud VMware Engine, follow the below steps:
Provision the volume following the below steps
-
In the Volumes tab, click Create New Volume.
-
On the Create New Volume page, select a volume type:
-
In the Volumes tab, place your mouse cursor over the volume, select the menu icon (º), and then click Mount Command.
-
Click Copy.
-
Connect to the designated Linux instance.
-
Open a terminal on the instance using secure shell (SSH) and log in with the appropriate credentials.
-
Make a directory for the volume's mount point with the following command.
$ sudo mkdir /cvogcvetst
-
Mount the Cloud Volumes ONTAP NFS volume to the directory that is created in the previous step.
sudo mount 10.0.6.251:/cvogcvenfsvol01 /cvogcvetst
Google Cloud NetApp Volumes (NetApp Volumes)
Google Cloud NetApp Volumes (NetApp Volumes) is a complete portfolio of data services to deliver advanced cloud solutions. NetApp Volumes supports multiple file access protocols for major cloud providers (NFS and SMB support).
Other benefits and features include: data protection and restore with Snapshot; special features to replicate, sync and migrate data destinations on-prem or in the cloud; and consistent high performance at the level of a dedicated flash storage system.
Google Cloud NetApp Volumes (NetApp Volumes) as guest connected storage
Configure NetApp Volumes with VMware Engine
Google Cloud NetApp Volumes shares can be mounted from VMs that are created in the VMware Engine environment. The volumes can also be mounted on the Linux client and mapped on the Windows client because Google Cloud NetApp Volumes supports SMB and NFS protocols. Google Cloud NetApp Volumes volumes can be set up in simple steps.
Google Cloud NetApp Volumes and Google Cloud VMware Engine private cloud must be in the same region.
To purchase, enable and configure Google Cloud NetApp Volumes for Google Cloud from the Google Cloud Marketplace, follow this detailed guide.
Create a NetApp Volumes NFS volume to GCVE private cloud
To create and mount NFS volumes, complete the following steps:
-
Access Cloud Volumes from Partner Solutions within the Google cloud console.
-
In the Cloud Volumes Console, go to the Volumes page and click Create.
-
On the Create File System page, specify the volume name and billing labels as required for chargeback mechanisms.
-
Select the appropriate service. For GCVE, choose NetApp Volumes-Performance and desired service level for improved latency and higher performance based on the application workload requirements.
-
Specify the Google Cloud region for the volume and volume path (The volume path must be unique across all of cloud volumes in the project)
-
Select the level of performance for the volume.
-
Specify the size of the volume and the protocol type. In this testing, NFSv3 is used.
-
In this step, select the VPC Network from which the volume will be accessible. Ensure VPC peering is in place.
HINT: If VPC peering has not been done, a pop-up button will be displayed to guide you through the peering commands. Open a Cloud Shell session and execute the appropriate commands to peer your VPC with Google Cloud NetApp Volumes producer. In case you decide to prepare VPC peering in beforehand, refer to these instructions.
-
Manage the Export policy rules by adding the appropriate rules and Select the checkbox for the corresponding NFS version.
Note: Access to NFS volumes won't be possible unless an export policy is added.
-
Click Save to create the volume.
Mounting NFS exports to VMs running on VMware Engine
Before preparing to mount the NFS volume, ensure the peering status of private connection is listed as Active. Once status is Active, use the mount command.
To mount an NFS volume, do the following:
-
In the Cloud Console, go to Cloud Volumes > Volumes.
-
Go to the Volumes page
-
Click the NFS volume for which you want to mount NFS exports.
-
Scroll to the right, under Show More, click Mount Instructions.
To perform the mounting process from within the guest OS of the VMware VM, follow the below steps:
-
Use SSH client and SSH to the virtual machine.
-
Install the nfs client on the instance.
-
On Red Hat Enterprise Linux or SuSE Linux instance:
sudo yum install -y nfs-utils
-
On an Ubuntu or Debian instance:
sudo apt-get install nfs-common
-
-
Create a new directory on the instance, such as "/nimCVSNFSol01":
sudo mkdir /nimCVSNFSol01
-
Mount the volume using the appropriate command. Example command from the lab is below:
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.53.0.4:/nimCVSNFSol01 /nimCVSNFSol01
Creating and Mounting SMB Share to VMs running on VMware Engine
For SMB volumes, make sure the Active Directory connections is configured prior to creating the SMB volume.
Once the AD connection is in place, create the volume with the desired service level. The steps are like creating NFS volume except selecting the appropriate protocol.
-
In the Cloud Volumes Console, go to the Volumes page and click Create.
-
On the Create File System page, specify the volume name and billing labels as required for chargeback mechanisms.
-
Select the appropriate service. For GCVE, choose NetApp Volumes-Performance and desired service level for improved latency and higher performance based on the workload requirements.
-
Specify the Google Cloud region for the volume and volume path (The volume path must be unique across all of cloud volumes in the project)
-
Select the level of performance for the volume.
-
Specify the size of the volume and the protocol type. In this testing, SMB is used.
-
In this step, select the VPC Network from which the volume will be accessible. Ensure VPC peering is in place.
HINT: If VPC peering has not been done, a pop-up button will be displayed to guide you through the peering commands. Open a Cloud Shell session and execute the appropriate commands to peer your VPC with Google Cloud NetApp Volumes producer. In case you decide to prepare VPC peering in beforehand, refer to these instructions.
-
Click Save to create the volume.
To mount the SMB volume, do the following:
-
In the Cloud Console, go to Cloud Volumes > Volumes.
-
Go to the Volumes page
-
Click the SMB volume for which you want to map an SMB share.
-
Scroll to the right, under Show More, click Mount Instructions.
To perform the mounting process from within the Windows guest OS of the VMware VM, follow the below steps:
-
Click the Start button and then click on Computer.
-
Click Map Network Drive.
-
In the Drive list, click any available drive letter.
-
In the folder box, type:
\\nimsmb-3830.nimgcveval.com\nimCVSMBvol01
To connect every time you log on to your computer, select the Reconnect at sign-in check box.
-
Click Finish.