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.
A failover for a DB cluster promotes one of the read-only instances in the DB cluster to the master DB instance (the cluster writer) and deletes the current primary instance.
Amazon Aurora will automatically fail over to a read-only instance, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a DB instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
Namespace: Amazon.RDS.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class FailoverDBClusterRequest : AmazonRDSRequest IRequestEvents
The FailoverDBClusterRequest type exposes the following members
Name | Description | |
---|---|---|
FailoverDBClusterRequest() |
Name | Type | Description | |
---|---|---|---|
DBClusterIdentifier | System.String |
Gets and sets the property DBClusterIdentifier.
A DB cluster identifier to force a failover for. This parameter is not case-sensitive. Constraints:
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1