AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Initiates the failover process for a Neptune global database.
A failover for a Neptune global database promotes one of secondary read-only DB clusters to be the primary DB cluster and demotes the primary DB cluster to being a secondary (read-only) DB cluster. In other words, the role of the current primary DB cluster and the selected target secondary DB cluster are switched. The selected secondary DB cluster assumes full read/write capabilities for the Neptune global database.
This action applies only to Neptune global databases. This action is only intended for use on healthy Neptune global databases with healthy Neptune DB clusters and no region-wide outages, to test disaster recovery scenarios or to reconfigure the global database topology.
For .NET Core this operation is only available in asynchronous form. Please refer to FailoverGlobalClusterAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract FailoverGlobalClusterResponse FailoverGlobalCluster( FailoverGlobalClusterRequest request )
Container for the necessary parameters to execute the FailoverGlobalCluster service method.
Exception | Condition |
---|---|
DBClusterNotFoundException | DBClusterIdentifier does not refer to an existing DB cluster. |
GlobalClusterNotFoundException | The GlobalClusterIdentifier doesn't refer to an existing global database cluster. |
InvalidDBClusterStateException | The DB cluster is not in a valid state. |
InvalidGlobalClusterStateException | The global cluster is in an invalid state and can't perform the requested operation. |
.NET Framework:
Supported in: 4.5 and newer, 3.5