The page has been translated by Gen AI.

Configure Read Replica

Users can enter the required information for a Read Replica through the Samsung Cloud Platform Console and create the service using detailed options.

Configure Replica

Through replica configuration, you can create replica servers for read-only or disaster recovery purposes. You can create up to 5 replicas per database.

information
To configure a disaster recovery Replica, please create it via Replica configuration(Other Region).

To configure a Replica, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Go to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL (DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to configure a Replica. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the Replica configuration button. 4. Go to the Replica configuration page.
  5. After entering the information in the Replica configuration area, click the Complete button.
    Category
    required status
    Detailed description
    RegionRequiredRegion to configure the Replica
    • Replica configuration (Other Region)is displayed only when selected
    Replica countRequiredNumber of Replicas to configure
    • Up to 5 can be configured per cluster
    • If you select more than one value, additionally enter the Replica name and service type information
    Replica nameRequiredReplica server name
    • must start with a lowercase English letter, and using lowercase letters, numbers, and special characters(-) enter 3 to 19 characters
    • The entered Replica name is displayed as the cluster name in the list
    Service Type > Server TypeEssentialReplica server type
    • Standard: standard specification commonly used
    • High Capacity: large-capacity server with 24 vCores or more
    Service Type > Planned ComputeSelectStatus of resources with Planned Compute configured
    • In Use: Number of resources with Planned Compute configured that are currently in use
    • Configured: Number of resources with Planned Compute configured
    • Coverage Preview: Amount applied per resource by Planned Compute
    Service Type > Block StorageRequiredBlock Storage configuration for using a replica DB
    • Basic OS: Area used on the server where the DB is installed
      • Applied identically according to the storage type set in the source DB
      • Capacity cannot be set
    • DATA: Storage area for table data, archive files, etc.
      • Applied identically according to the storage type set in the source DB
      • Capacity cannot be set
    • Additional: Storage area for DATA, Archive, TEMP, Backup data
      • Applied identically according to the storage type set in the source DB
      • In a replica, only DATA and TEMP purposes can be added
      • After selecting Use, enter the storage purpose and capacity. Capacity must be a multiple of 8 within the range 16 to 5,120
      • To add storage, click the Add button; to delete, click the x button. Up to 9 can be added.
    IP access controlSelectService Access Policy Configuration
    • Since the access policy is set for the IP entered on the page, a separate Security Group policy configuration is not required
    • Enter in IP format (example: 192.168.10.1) or CIDR format (example: 192.168.10.0/24, 192.168.10.1/32) and click the Add button
    • To delete an entered IP, click the x button next to the entered IP
    maintenance periodSelectDatabase maintenance window
    • Select Use to set the day, start time, and duration
    • It is recommended to configure a maintenance window for stable database management. Patch operations will be performed at the scheduled time, causing service interruption
    • If set to unused, we are not responsible for issues arising from patches not being applied.
    tagSelectionAdd Tag
    • Add Tag After clicking the Add Tag button, enter or select Key and Value
    Table. PostgreSQL (DBaaS) Replica configuration items

Reconfigure Replica

If a network failure or replication delay with the Master Cluster occurs, you can re-replicate the Master Cluster’s data using the Replica reconstruction feature.

To reconfigure the Replica, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Go to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL (DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to reconfigure the replica. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Replica Reconstruction Click the button. 4. Replica Reconfiguration Notification A popup window opens.
  5. Replica Reconfiguration Notification popup window, click the Confirm button.

Promoting a Replica Cluster to a Master Cluster

You can promote a fully configured Replica Cluster to a Master Cluster.

Caution
When the Master is promoted, synchronization with the existing Master Cluster is halted.

To promote a Replica Cluster to Master, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Go to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL (DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List page, click the resource to promote to Master. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the Master Promotion button. 4. Master Promotion Notification The popup window opens.
  5. Master Promotion Notification In the popup window, click the Confirm button.
Backing up and restoring the DB
DB Server Connection