Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Connessione delle VM dei carichi di lavoro a Google Cloud NetApp Volumes
Google Cloud NetApp Volumes accelera il deployment di applicazioni basate su cloud tramite il provisioning rapido di servizi file condivisi e funzionalità di gestione dello spazio di archiviazione. La connessione di NetApp Volumes a VMware Engine ti consente di montare i volumi NetApp Volumes dall'interno del sistema operativo guest delle tue macchine virtuali (VM) dei carichi di lavoro.
Ecco alcuni casi d'uso comuni per l'utilizzo dei volumi NetApp con VMware Engine:
Infrastruttura desktop virtuale (VDI)
Creazione di home directory delle VM
Configurazione dei servizi di file
Archiviazione di file condivisi per applicazioni e database
Inoltre, le VM in Compute Engine e Google Cloud VMware Engine possono montare entrambi gli stessi volumi. Di seguito è riportato uno schema che mostra l'utilizzo di Google Cloud NetApp Volumes con VMware Engine e Compute Engine:
Prima di iniziare
I passaggi descritti in questo documento presuppongono che tu abbia eseguito quanto segue:
Hai creato un pool di archiviazione con la posizione, il livello di servizio, la capacità, la crittografia dei dati e il criterio AD scelti.
È stato creato un volume in un pool di archiviazione preesistente con i parametri selezionati (ad esempio la capacità allocata e il tipo di protocollo) in una determinata regione. Per la connessione descritta in questo documento puoi utilizzare volumi NFSv3, NFSv4 o SMB.
Quando crei una connessione in peering tra VMware Engine e NetApp Volumes, devi avere alcuni dettagli sulla rete VPC utilizzata da NetApp Volumes. Per ottenere questi dettagli:
Nella Google Cloud console, vai alla pagina Peering di rete VPC.
Fai clic su Seleziona un progetto e poi seleziona l'organizzazione, la cartella o il progetto che contiene la connessione di peering.
Seleziona la connessione di peering creata in NetApp Volumes per il tuo progetto.
La connessione è denominata sn-netapp-prod.
Potresti visualizzare più connessioni in peering con lo stesso nome se hai più di una rete VPC in peering. La persona che ha configurato le connessioni di peering di rete VPC può aiutarti a determinare quale utilizzare per VMware Engine.
Copia i campi Rete VPC in peering e ID progetto in peering, che iniziano rispettivamente con netapp e terminano con -tp.
Crea una connessione in peering
Se il progetto VMware Engine e i cloud privati sono stati creati dopo il 12 novembre 2023, svolgi i seguenti passaggi. Per ulteriori informazioni su come creare peering VPC per questi ambienti, consulta Eseguire il peering di una rete VPC.
Nella Google Cloud console, vai alla pagina Peering di rete VPC.
Fai clic su Seleziona un progetto e poi seleziona l'organizzazione, la cartella o il progetto in cui vuoi creare la connessione di peering.
Fai clic su Crea.
Nel campo Nome, fornisci un nome per il peering di rete. Ad esempio, peering-2-netapp-volumes.
Nella sezione Rete VMware Engine, mantieni selezionata l'opzione predefinita "Nel progetto corrente". Specifica la rete VMware Engine che vuoi collegare in peering, ad esempio ven1.
Per Peering, seleziona Google Cloud NetApp Volumes.
Nel campo ID progetto tenant del servizio, inserisci l'ID progetto in peering del Google Cloud progetto contenente il volume.
Nel campo Nome VPC tenant del servizio, inserisci il nome della rete VPC in peering in cui si trova il volume.
Nella sezione Scambio di route, lascia le impostazioni predefinite.
Fai clic su Crea.
Montare un volume
Una volta che lo stato del peering è indicato come Attivo, puoi montare il volume NetApp Volumes.
Esegui la procedura di montaggio dal sistema operativo guest della VM VMware.
Per montare un volume NFS:
Nella Google Cloud console, vai a Volumi NetApp >
Volumi.
Fai clic su Seleziona un progetto e poi seleziona l'organizzazione, la cartella o il progetto che contiene il volume.
Fai clic sul volume NFS per cui vuoi montare le esportazioni NFS.
Vai a destra, fai clic su Altromore_vert e poi su
Istruzioni di montaggio.
Segui le istruzioni nella finestra Istruzioni di montaggio per NFS che viene visualizzata. Le istruzioni di montaggio potrebbero variare leggermente a seconda del protocollo NFS configurato per il volume.
Per montare un volume SMB:
Nella Google Cloud console, vai a Volumi NetApp >
Volumi.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Connecting workload VMs to Google Cloud NetApp Volumes\n======================================================\n\n[Google Cloud NetApp Volumes](/architecture/partners/netapp-cloud-volumes) speeds up the deployment of\ncloud-based applications through rapid provisioning of shared file services and\nstorage management features. Connecting NetApp Volumes to\nVMware Engine lets you mount NetApp Volumes volumes\nfrom within the guest OS of your workload virtual machines (VMs).\n\nHere are some common use cases for using NetApp Volumes with\nVMware Engine:\n\n- Virtual desktop infrastructure (VDI)\n- Creating VM home directories\n- Setting up file services\n- Shared file storage for applications and databases\n\nAdditionally, VMs in Compute Engine and Google Cloud VMware Engine can both mount\nthe same volumes. Here's a diagram that shows Google Cloud NetApp Volumes being\nused with VMware Engine and Compute Engine:\n\nBefore you begin\n----------------\n\nThe steps in this document assume that you have done the following:\n\n- [Created a Storage Pool](/netapp/volumes/docs/configure-and-use/storage-pools/create-storage-pool) with the chosen location, service level, capacity, data encryption, and AD policy.\n- [Created a Volume](/netapp/volumes/docs/configure-and-use/volumes/create-volume) in a pre-existing storage pool with the selected parameters (like allocated capacity and protocol type) in a given region. You can use NFSv3, NFSv4, or SMB volumes for the connection described in this document.\n- [Created a private cloud](/vmware-engine/docs/private-clouds/howto-create-private-cloud) in the same region as your volume.\n\nGet VPC network details\n-----------------------\n\nWhen creating a peering connection between VMware Engine and\nNetApp Volumes, you need some details about the VPC network\nused by NetApp Volumes. To get these details, do the following:\n\n1. In the Google Cloud console, go to the **VPC Network peerings** page.\n\n [Go to VPC Network peerings](https://console.cloud.google.com/vmwareengine/network-peerings)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the peering connection.\n\n3. Select the peering connection created in NetApp Volumes for\n your project.\n The connection is named `sn-netapp-prod`.\n\n You might see multiple peering connections with the same name if you\n have more than one peered VPC network. The person who set up the\n VPC Network Peering connections can help you determine which connection\n to use for VMware Engine.\n4. Copy the **Peered VPC network** and **Peered project ID** fields, which\n begin with *netapp* and end with *-tp*, respectively.\n\nCreate a peering connection\n---------------------------\n\nIf your VMware Engine project and private clouds were created after\nNov 12, 2023, do the following. For more information on how to create VPC\npeerings for such environments, see [Peer a VPC network](/vmware-engine/docs/networking/peer-vpc-network).\n\n1. In the Google Cloud console, go to the **VPC Network peerings** page.\n\n [Go to VPC Network peerings](https://console.cloud.google.com/vmwareengine/network-peerings)\n2. Click **Select a project** and then select the organization, folder, or project where\n you want to create the peering connection.\n\n3. Click **Create**.\n\n4. In the **Name** field, provide a name for your networking peering. For\n example, `peering-2-netapp-volumes`.\n\n5. In the **VMware Engine network** section, keep the default **\"In current\n project\"** selected. Specify the VMware Engine network you want to\n peer, for example `ven1`.\n\n6. For **Peering** , select **Google Cloud NetApp Volumes**.\n\n7. In the **Service tenant project ID** field, enter the *peered project ID* of\n the Google Cloud project containing your volume.\n\n8. In the **Service tenant VPC name** field, enter the name of the *peered VPC\n network* your volume is in.\n\n9. In the **Route exchange** section, keep the default settings.\n\n10. Click **Create**.\n\nMount a volume\n--------------\n\nOnce the peering status is listed as *Active*, you can mount your NetApp Volumes\nvolume.\nPerform the mounting process from within the guest OS of your VMware VM.\n\nTo mount an NFS volume, do the following:\n\n1. In the Google Cloud console, go to **NetApp Volumes \\\u003e\n Volumes**.\n\n [Go to the Volumes page](https://console.cloud.google.com/netapp/cloud-volumes/volumes)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the volume.\n\n3. Click the NFS volume for which you want to mount NFS exports.\n\n4. Go to the right, click **More**\n *more_vert* , and then click\n **Mount Instructions**.\n\n5. Follow the instructions in the **Mount Instructions for NFS** window that\n appears. The mounting instructions might be slightly different depending on\n which NFS protocol you have configured for the volume.\n\nTo mount an SMB volume, do the following:\n\n1. In the Google Cloud console, go to **NetApp Volumes \\\u003e\n Volumes**.\n\n [Go to the Volumes page](https://console.cloud.google.com/netapp/cloud-volumes/volumes)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the volume.\n\n3. Click the SMB volume for which you want to map an SMB share.\n\n4. Go to the right, click **More**\n *more_vert* , and then click\n **Mount Instructions**.\n\n5. Follow the instructions in the **Mount Instructions for SMB** window that\n appears.\n\nAfter you mount your volume, you can manage the volume using the standard\ninterfaces described by [Edit a volume](/netapp/volumes/docs/configure-and-use/volumes/edit-volume)."]]