Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Nesta página, fornecemos instruções sobre como interromper ou retomar uma replicação.
Parar uma replicação
Quando você interrompe uma replicação, as atualizações programadas do volume de origem para o de destino são pausadas. O volume de destino passa de
somente leitura para leitura/gravação. Os dois volumes continuam compartilhando o snapshot de replicação mais recente como um novo valor de referência para resincronização posterior.
Embora a relação de replicação entre os volumes de origem e de destino continue existindo, as transferências são pausadas e os volumes se tornam independentes.
Para reativar a transferência de mudanças do volume de origem para o de destino, retome a replicação.
Use as instruções a seguir para interromper uma replicação usando o
consoleGoogle Cloud ou a Google Cloud CLI:
Console
Acesse a página do NetApp Volumes no console do Google Cloud .
Clique no volume de origem. A página de detalhes do volume será aberta.
Selecione a guia Replicação.
Clique em Interromper. Dependendo do status da transferência de replicação, faça o seguinte:
Estado de transferência espelhado: insira o nome do volume de origem e clique em Parar.
Transferindo e Preparando estados de transferência: insira o nome do volume de origem e clique em Forçar parada. É necessário forçar a interrupção de uma replicação se uma transferência estiver em andamento. Portanto, se
você retomar a replicação depois, talvez seja necessário transferir
as mudanças recentes novamente.
O status de replicação do volume muda para Parado. O volume de destino se torna gravável.
É possível retomar uma replicação interrompida. Quando você retoma uma replicação, todas as
mudanças no volume de destino são desfeitas e o NetApp Volumes
reativa a replicação. O volume de destino passa de leitura/gravação
para somente leitura e volta a receber atualizações do volume de origem no intervalo de replicação
programado. Quando você retoma uma relação de replicação, o volume de destino volta para o snapshot de replicação inicial mais recente, e o processo de replicação do volume é reiniciado.
Como retomar uma relação de replicação
Ao retomar uma relação de replicação, todas as mudanças feitas no volume de destino enquanto a replicação estava interrompida são excluídas.
Como interromper uma relação de replicação após a inicialização
Quando você interrompe uma relação de replicação depois de inicializá-la, é possível
inverter a direção da replicação trocando as funções de volume de origem e de destino. Todas as mudanças de dados no volume de destino são perdidas quando você
retoma a replicação, porque o volume de destino perde todas as mudanças e
se torna uma réplica do volume de origem.
Retomar uma replicação interrompida
Use as instruções a seguir para retomar uma replicação interrompida usando o
console Google Cloud ou a Google Cloud CLI.
Console
Acesse a página do NetApp Volumes no console do Google Cloud .
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["# Stop or resume a replication\n\nThis page provides instructions for how to stop or resume a replication.\n\nStop a replication\n------------------\n\nWhen you stop a replication, scheduled replication updates from the source\nvolume to the destination volume pause. The destination volume transitions from\nread-only to read-write. Both volumes continue to share the latest replication\nsnapshot as a new baseline for later resynchronization.\n\nAlthough the replication relationship between source and destination volume\ncontinues to exist, transfers are paused and the volumes become independent.\nTo re-enable the transfer of changes from source volume to destination volume,\n[resume the replication](/netapp/volumes/docs/protect-data/stop-or-resume-replication#resume_replication).\n\nUse the following instructions to stop a replication using either the\nGoogle Cloud console or Google Cloud CLI: \n\n### Console\n\n1. Go to the **NetApp Volumes page** in the Google Cloud console.\n\n[Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)\n\n1. Click **Volumes**.\n\n2. Click the source volume. the **Details page** for the volume opens.\n\n3. Select the **Replication tab**.\n\n4. Click **Stop**. Depending on the replication transfer status, either\n stop or force stop:\n\n - **Mirrored transfer state** : Enter the source volume name and click\n **Stop**.\n\n - **Transferring** and **Preparing transfer states** : Enter the source\n volume name and click **Force stop**. A forced stop is required to stop\n a replication if a transfer is in progress at that time. Therefore, if\n you resume the replication later, recent changes may need to be\n transferred again.\n\n The replication status of the volume changes to **Stopped**. The\n destination volume becomes writable.\n\n### gcloud\n\nStop a replication: \n\n```bash\ngcloud netapp volumes replications stop REPLICATION_NAME \\\n --project=PROJECT_ID \\\n --location=LOCATION \\\n --volume=VOLUME\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003eREPLICATION_NAME\u003c/var\u003e: the name of the replication\n you want to stop.\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project your volume\n is in.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the source or\n destination volume.\n\n- \u003cvar translate=\"no\"\u003eVOLUME\u003c/var\u003e: the name of the source or destination\n volume.\n\nFor more options, see\n[Google Cloud SDK documentation on volume replication](/sdk/gcloud/reference/netapp/volumes/replications).\n\nResume a replication\n--------------------\n\nYou can resume a stopped replication. When you resume a replication, all the\nchanges to the destination volume are undone and NetApp Volumes\nre-enables the replication. The destination volume transitions from read-write\nto read-only, and receives updates from the source volume at the scheduled\nreplication interval again. When you resume a replication relationship, the\ndestination volume reverts back to the latest initial replication snapshot, at\nwhich point, the volume replication process starts over.\n\nResuming a replication relationship\n-----------------------------------\n\nWhen you resume a replication relationship, any changes to the destination\nvolume while the replication was stopped are deleted.\n\nStopping a replication relationship after initialization\n--------------------------------------------------------\n\nWhen you stop a replication relationship after you initialized it, you can\nreverse the direction of the replication by swapping the source and destination\nvolume roles. Any data changes on the destination volume are lost when you\nresume the replication because the destination volume loses all changes and\nbecomes a replica of the source volume.\n\nResume a stopped replication\n----------------------------\n\nUse the following instructions to resume a stopped replication using either\nthe Google Cloud console or Google Cloud CLI. \n\n### Console\n\n1. Go to the **NetApp Volumes page** in the Google Cloud console.\n\n[Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)\n\n1. Click **Volumes**.\n\n2. Click the name of the source volume. The **Details page** for the volume\n opens.\n\n3. Select the **Replication tab**.\n\n4. Click **Resume**.\n\n5. In the Resume volume replication dialog, review the warning.\n\n6. To resume, enter the destination volume name and click **Resume**.\n\n The replication status of the volume changes to **Mirrored**.\n\n### gcloud\n\nResume a volume replication: \n\n```bash\n gcloud netapp volumes create replications resume REPLICATION_NAME \\\n --project=PROJECT_ID \\\n --location=LOCATION \\\n --volume=VOLUME\n```\n\nReplace the following information:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project your\n volume is in.\n\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the source\n or destination volume.\n\n- \u003cvar translate=\"no\"\u003eVOLUME\u003c/var\u003e: the name of source or destination\n volume.\n\nFor more options, see\n[Google Cloud SDK documentation on volume replication](/sdk/gcloud/reference/netapp/volumes/replications).\n\nWhat's next\n-----------\n\n[Reverse and resume a replication](/netapp/volumes/docs/protect-data/reverse-and-resume-replication)"]]