Skip to content

/AWS1/CL_NEP=>FAILOVERGLOBALCLUSTER()

About FailoverGlobalCluster

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.

Method Signature

IMPORTING

Required arguments:

IV_GLOBALCLUSTERIDENTIFIER TYPE /AWS1/NEPGLOBALCLUSTERID /AWS1/NEPGLOBALCLUSTERID

Identifier of the Neptune global database that should be failed over. The identifier is the unique key assigned by the user when the Neptune global database was created. In other words, it's the name of the global database that you want to fail over.

Constraints: Must match the identifier of an existing Neptune global database.

IV_TARGETDBCLUSTERIDENTIFIER TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The Amazon Resource Name (ARN) of the secondary Neptune DB cluster that you want to promote to primary for the global database.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NEPFAILOVERGLBCLSTRS /AWS1/CL_NEPFAILOVERGLBCLSTRS

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC