Skip to main content

Instance Failover

KakaoCloud provides both manual and automatic failover for instances. Here's how to perform failover for running MySQL service instances.

Perform manual instance failover

info
  • A brief disconnection may occur during the failover process.
  • If there is no suitable Standby instance available, the Primary instance will be restarted.
  • Manual failover is not available when the instance is in a Single state with only one node.
  1. Go to the KakaoCloud Console > Data Store > MySQL menu.

  2. In the Instance Group menu, select the MySQL instance group where you want to perform failover.

  3. Click the Instance tab and then click the [Manual Failover] button.

  4. In the Manual failover popup, click the [Proceed] button.

    Image
    Failover Confirmation

info

MySQL endpoints are provided as DNS-based FQDNs. Please note the following, as the IP mapped to the domain name may change during failover:

  • Do not cache the MySQL endpoint domain name. (TTL should be set to 0)
    (Example) TTL setting for Java-based applications: networkaddress.cache.ttl=0
  • During Primary switching, all existing connections will be disconnected. For availability, always configure your application to reconnect automatically.