Promote a secondary instance to primary in a Global Database Network (GDN).
Prerequisites
Before you begin, make sure you have:
Enabled the GDN service and added at least one secondary instance. See Enable the GDN service.
Promote a secondary instance to primary
Log on to the PolarDB for X-Engine console. In the navigation pane on the left, click GDN.
On the GDN list page, find the target Secondary Instance and click Upgrade to Primary Instance in the Actions column.
NoteAlternatively, click the target GDN ID to open the GDN details page, then find the Secondary Instance and click Upgrade to Primary Instance in the Actions column.
In the Upgrade to Primary Instance dialog box, select a switchover method and click OK.

After the switchover
If your GDN uses multi-master mode, DDL synchronization runs one-way from the primary instance to the secondary instance. After the switchover, this direction reverses — the new primary pushes DDL changes to the secondary instance. Review any applications or pipelines that depend on this sync direction.