Skip to main content
NetApp Solutions

NetApp Storage Options for GCP

Contributors kevin-hoke

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.

Note 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.
  1. 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.

    Figure showing input/output dialog or representing written content

  2. 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.

    Figure showing input/output dialog or representing written content

  3. Provide the details of the environment to be created including the environment name and admin credentials. After you are done, click Continue.

    Figure showing input/output dialog or representing written content

  4. 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.

    Figure showing input/output dialog or representing written content

  5. Select a location, choose a firewall policy, and select the checkbox to confirm network connectivity to Google Cloud storage.

    Figure showing input/output dialog or representing written content

  6. 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.

    Figure showing input/output dialog or representing written content

  7. 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.

    Figure showing input/output dialog or representing written content

  8. On the Review & Approve page, review and confirm the selections.To create the Cloud Volumes ONTAP instance, click Go.

    Figure showing input/output dialog or representing written content

  9. After Cloud Volumes ONTAP is provisioned, it is listed in the working environments on the Canvas page.

    Figure showing input/output dialog or representing written content

Additional configurations for SMB volumes
  1. 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.

    Figure showing input/output dialog or representing written content

  2. 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.

    Figure showing input/output dialog or representing written content

  3. 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.

    Figure showing input/output dialog or representing written content

  4. 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.

    Figure showing input/output dialog or representing written content

  5. 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.

    Figure showing input/output dialog or representing written content

    Once mapped, it can be easily accessed, and the NTFS permissions can be set accordingly.

    Figure showing input/output dialog or representing written content

Connect the LUN on Cloud Volumes ONTAP to a host

To connect the cloud volumes ONTAP LUN to a 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 and select iSCSI and click Create Initiator Group. Click Continue.

    Figure showing input/output dialog or representing written content
    Figure showing input/output dialog or representing written content

  3. 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:

  1. RDP to the VM hosted on Google Cloud VMware Engine.

  2. Open the iSCSI Initiator Properties dialog box: 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, and then select Automatically Restore This Connection When the Computer Starts or Add This Connection to the List of Favorite Targets. Click Advanced.

    Note The Windows host must have an iSCSI connection to each node in the cluster. The native DSM selects the best paths to use.

    Figure showing input/output dialog or representing written content

    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:

    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.

      Figure showing input/output dialog or representing written content

      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:

    5. Start Windows Disk Management.

    6. Right-click the LUN, and then select the required disk or partition type.

    7. Follow the instructions in the wizard. In this example, drive F: is mounted.

Figure showing input/output dialog or representing written content

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.

Figure showing input/output dialog or representing written content
Figure showing input/output dialog or representing written content

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

  1. In the Volumes tab, click Create New Volume.

  2. On the Create New Volume page, select a volume type:

    Figure showing input/output dialog or representing written content

  3. In the Volumes tab, place your mouse cursor over the volume, select the menu icon (º), and then click Mount Command.

    Figure showing input/output dialog or representing written content

  4. Click Copy.

  5. Connect to the designated Linux instance.

  6. Open a terminal on the instance using secure shell (SSH) and log in with the appropriate credentials.

  7. Make a directory for the volume's mount point with the following command.

    $ sudo mkdir /cvogcvetst

    Figure showing input/output dialog or representing written content

  8. 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

    Figure showing input/output dialog or representing written content
    Figure showing input/output dialog or representing written content

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:

  1. Access Cloud Volumes from Partner Solutions within the Google cloud console.

    Figure showing input/output dialog or representing written content

  2. In the Cloud Volumes Console, go to the Volumes page and click Create.

    Figure showing input/output dialog or representing written content

  3. On the Create File System page, specify the volume name and billing labels as required for chargeback mechanisms.

    Figure showing input/output dialog or representing written content

  4. 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.

    Figure showing input/output dialog or representing written content

  5. 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)

    Figure showing input/output dialog or representing written content

  6. Select the level of performance for the volume.

    Figure showing input/output dialog or representing written content

  7. Specify the size of the volume and the protocol type. In this testing, NFSv3 is used.

    Figure showing input/output dialog or representing written content

  8. 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.

    Figure showing input/output dialog or representing written content

  9. 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.

    Figure showing input/output dialog or representing written content

  10. Click Save to create the volume.

    Figure showing input/output dialog or representing written content

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:

  1. In the Cloud Console, go to Cloud Volumes > Volumes.

  2. Go to the Volumes page

  3. Click the NFS volume for which you want to mount NFS exports.

  4. 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:

  1. Use SSH client and SSH to the virtual machine.

  2. Install the nfs client on the instance.

    1. On Red Hat Enterprise Linux or SuSE Linux instance:

      sudo yum install -y nfs-utils
    2. On an Ubuntu or Debian instance:

      sudo apt-get install nfs-common
  3. Create a new directory on the instance, such as "/nimCVSNFSol01":

    sudo mkdir /nimCVSNFSol01

    Figure showing input/output dialog or representing written content

  4. 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

    Figure showing input/output dialog or representing written content
    Figure showing input/output dialog or representing written content

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.

Figure showing input/output dialog or representing written content

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.

  1. In the Cloud Volumes Console, go to the Volumes page and click Create.

  2. On the Create File System page, specify the volume name and billing labels as required for chargeback mechanisms.

    Figure showing input/output dialog or representing written content

  3. 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.

    Figure showing input/output dialog or representing written content

  4. 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)

    Figure showing input/output dialog or representing written content

  5. Select the level of performance for the volume.

    Figure showing input/output dialog or representing written content

  6. Specify the size of the volume and the protocol type. In this testing, SMB is used.

    Figure showing input/output dialog or representing written content

  7. 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.

    Figure showing input/output dialog or representing written content

  8. Click Save to create the volume.

    Figure showing input/output dialog or representing written content

To mount the SMB volume, do the following:

  1. In the Cloud Console, go to Cloud Volumes > Volumes.

  2. Go to the Volumes page

  3. Click the SMB volume for which you want to map an SMB share.

  4. 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:

  1. Click the Start button and then click on Computer.

  2. Click Map Network Drive.

  3. In the Drive list, click any available drive letter.

  4. In the folder box, type:

    \\nimsmb-3830.nimgcveval.com\nimCVSMBvol01

    Figure showing input/output dialog or representing written content

    To connect every time you log on to your computer, select the Reconnect at sign-in check box.

  5. Click Finish.

    Figure showing input/output dialog or representing written content