rds_failover_global_cluster: Promotes the specified secondary DB cluster to be the primary...

View source: R/rds_operations.R

rds_failover_global_clusterR Documentation

Promotes the specified secondary DB cluster to be the primary DB cluster in the global database cluster to fail over or switch over a global database

Description

Promotes the specified secondary DB cluster to be the primary DB cluster in the global database cluster to fail over or switch over a global database. Switchover operations were previously called "managed planned failovers."

See https://www.paws-r-sdk.com/docs/rds_failover_global_cluster/ for full documentation.

Usage

rds_failover_global_cluster(
  GlobalClusterIdentifier,
  TargetDbClusterIdentifier,
  AllowDataLoss = NULL,
  Switchover = NULL
)

Arguments

GlobalClusterIdentifier

[required] The identifier of the global database cluster (Aurora global database) this operation should apply to. The identifier is the unique key assigned by the user when the Aurora global database is created. In other words, it's the name of the Aurora global database.

Constraints:

  • Must match the identifier of an existing global database cluster.

TargetDbClusterIdentifier

[required] The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Aurora can locate the cluster in its Amazon Web Services Region.

AllowDataLoss

Specifies whether to allow data loss for this global database cluster operation. Allowing data loss triggers a global failover operation.

If you don't specify AllowDataLoss, the global database cluster operation defaults to a switchover.

Constraints:

  • Can't be specified together with the Switchover parameter.

Switchover

Specifies whether to switch over this global database cluster.

Constraints:

  • Can't be specified together with the AllowDataLoss parameter.


paws.database documentation built on Sept. 12, 2023, 1:21 a.m.