A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/compute/docs/disks/async-pd/manage-replication below:

Manage Persistent Disk Asynchronous Replication | Compute Engine Documentation

Skip to main content Manage Persistent Disk Asynchronous Replication

Stay organized with collections Save and categorize content based on your preferences.

This document describes how to start and stop Asynchronous Replication.

Asynchronous Replication is useful for low-RPO, low-RTO disaster recovery. To learn more about asynchronous replication, see About Asynchronous Replication.

Limitations Before you begin Start replication

Start replication using the Google Cloud console, Google Cloud CLI, REST, or Terraform.

Console Note: If you created a secondary disk using the Google Cloud console, replication started when you created the disk.
  1. In the Google Cloud console, go to the Asynchronous replication page.

    Go to Asynchronous replication

  2. Click the name of the secondary disk that you want to start replication to.

  3. Click Start replication. The Start replication window opens.

  4. Click Start replication.

gcloud

Start replication using the gcloud compute disks start-async-replication command:

gcloud compute disks start-async-replication PRIMARY_DISK_NAME \
    --PRIMARY_LOCATION_FLAG=PRIMARY_LOCATION \
    --secondary-disk=SECONDARY_DISK_NAME \
    --SECONDARY_LOCATION_FLAG=SECONDARY_LOCATION \
    --secondary-disk-project=SECONDARY_PROJECT

Replace the following:

Go Java Node.js Python REST

Start replication using one of the following methods:

Replace the following:

Terraform

To start replication between primary and secondary disks, use the compute_disk_async_replication resource.

To learn how to apply or remove a Terraform configuration, see Basic Terraform commands.

Stop replication

You can stop replication for a single primary or secondary disk, or for all disks in a consistency group. If you stop replication for a single disk in a consistency group, the replication time for that disk becomes out of sync with the other disks in the consistency group.

Stopping replication is performed in failover and failback scenarios. If you stop replication, you can't restart replication to the same secondary disk. If you want to restart replication, you must create a new secondary disk and start again.

When you stop replication on a disk, the disk's replication state changes to STOPPED. The replication state of the other disk in the disk's replication pair (the corresponding primary or secondary disk) updates to STOPPED at a later time. If you want to avoid the time gap and update the replication state of the other disk to STOPPED immediately, you must manually stop replication on the other disk as well. Stopping replication on both disks doesn't affect the time at which replication stops, it only affects the disks' replication states.

Stop replication for a single disk

Stop replication for a single disk using the Google Cloud console, the Google Cloud CLI, or REST.

Console

Stop replication by doing the following:

  1. In the Google Cloud console, go to the Asynchronous replication page.

    Go to Asynchronous replication

  2. Click the name of primary or secondary disk for which you want to stop replication. The Manage disk page opens.

  3. Click Terminate replication. The Terminate replication window opens.

  4. Click Terminate replication.

gcloud

Stop replication using the gcloud compute disks stop-async-replication command:

gcloud compute disks stop-async-replication DISK_NAME \
    --LOCATION_FLAG=LOCATION

Replace the following:

Go Java Node.js Python REST

Stop replication using one of the following methods:

Replace the following:

Terraform

To stop the replication on primary and secondary disks, remove the compute_disk_async_replication resource.

Stop replication for a consistency group

Stop replication for all disks in a consistency group using the Google Cloud console, the Google Cloud CLI, or REST.

Console

Stop replication for all disks in a consistency group by doing the following:

  1. In the Google Cloud console, go to the Asynchronous replication page.

    Go to Asynchronous replication

  2. Click the Consistency groups tab.

  3. Click the name of the consistency group for which you want to stop replication. The Manage consistency group page opens.

  4. Click Terminate replication. The Terminate replication window opens.

  5. Click Terminate replication.

gcloud

Stop replication for all disks in a consistency group using the gcloud compute disks stop-group-async-replication command:

gcloud compute disks stop-group-async-replication CONSISTENCY_GROUP \
--LOCATION_FLAG=LOCATION

Replace the following:

Go Java Node.js Python REST

Stop replication for all disks in a consistency group using one of the following methods:

Replace the following:

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This document explains the process of starting and stopping Persistent Disk Asynchronous Replication (PD Async Replication), which is useful for disaster recovery with low RPO and RTO."],["Replication can be started using the Google Cloud console, Google Cloud CLI, REST, or Terraform, and the specific commands and steps vary depending on the chosen method."],["Stopping replication can be done for individual disks or for all disks within a consistency group, and after stopping, replication to the same secondary disk cannot be resumed."],["Before starting replication, it is important to have a primary disk, a secondary disk, and you may need to set up authentication to access Google Cloud services and APIs."],["Limitations of PD Async Replication are that a primary disk can only replicate to one secondary disk, secondary disks cannot be modified during replication, and replication fails if a zonal outage occurs."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4