Table of Contents |
---|
1. Configuration and Cluster Information
This option is used to display the information regarding
Parameters relevant to the type of DR cluster created
The databases that are in the cluster
Size of the databases
The overall size of the cluster
tablespace information
To view the cluster information, Click on any PostgreSQL configuration on the dashboard, and on the right ACTIONS pane, this option is available.
...
1.1 Generic Cluster Information
The information displayed is of the Primary Cluster. The standby information is almost the same.
The status of the primary cluster (online). On standby, this might be either Hot Standby or Warm Standby.
The database name and their sizes that are in the cluster
The total number of databases.
The total size of the databases that reside in the cluster
The default and non-default tablespaces that reside in the cluster.
2. Configuration information
2.1 Configuration Information for Streaming Mode.
The Configuration name along with the status of the DR.
The mode using which the DR cluster was created (WAL STREAMING).
The backup location and the port in which the primary cluster is running.
The backup location and the port in which the standby cluster is running.
The listen_address parameter and its value from postgresql.conf file.
...
2.2 Configuration Information for WAL Archiving Mode.
The configuration name and the status of the configuration (In Sync)
The method used for creating the DR cluster (WAL Archiving).
The backup location in primary where the WAL Archive files are copied with the port of the cluster.
The restore location where the WAL files are copied on the standby with the port of the standby cluster.
The configuration parameter changes done by Dbvisit
archive_command
archive_mode
archive_timeout
restore_command
archive_cleanup_command
2.3 Configuration Information for WAL Shipping Mode.
The configuration name and the time gap information are displayed based on how far the standby cluster is behind the primary(The sync happens based on the automated standby update settings provided during DR cluster creation).
The method using which the standby cluster was created(WAL Shipping Method).
The backup location on the primary where the wal files are copied and the port of the Primary cluster.
The location where the wal files are copied to the standby cluster and the port of the standby cluster.
3. Start/Stop Cluster
Both the primary and standby clusters can be stopped and started directly from the control center. This action can be performed irrespective of the method used for creating the DR cluster.
...
The Selected cluster to perform the operation (Primary).
The status of the cluster (online)
The start button is greyed out as the cluster is already up and running.
Click the stop button to stop the cluster.
Click the restart button to stop and start the cluster to Online.
The Selected cluster to perform the operation (Standby).
The status of the cluster (Hot Standby)
The start button is greyed out as the cluster is already up and running.
Click the stop button to stop the cluster.
Click the restart button to stop and start the cluster in Hot Standby mode.
4. WAL Shipping mode options.
There are four options specific to WAL Shipping mode.
Backup and send Logs
Apply Logs
Automated Standby Update
Standby update delay
4.1 Backup and send logs.
This option is available only on WAL Shipping mode manually.
Click on Backup & Send Logs to manually copy the wal logs from primary to standby.
Click on start to begin the operation.
The current time gap information that displays how far the standby is behind the primary.
4.2 Apply Logs
Click on Apply Logs to manually apply the copied wal logs on standby.
Click on Start to begin the operation.
The current time gap information that displays how far the standby is behind the primary.
...
4.3 Automated Standby Update
The automated standby update ( 1 ) option is only available for the WAL Shipping method. By default,
this option is enabled ( 2 ) and the time is set to 300 sec ( 4 ). This ensures that the wal files are copied from primary to standby every 5mins and applied on the standby. The time gap information ( 4 ) will be updated as soon the wal files are applied every 5 mins. The minimum value that can be set is 60sec for the automated standby update.
...
4.4 Standby update delay.
This option can be set only for the WAL Shipping method. When this option is set, the WAL files are still copied from primary to standby, but the WAL files are not applied on the standby. The standby is always kept at a delay.
The option is available only for WAL Shipping method.
The update delay must be greater than the automated standby update time. In the below example, the automated standby update is set to 300sec (5 minutes). The update delay is set to 10 minutes. By, default the parameter is disabled and must be set manually.
The time gap information shows the time delay of the standby with primary.
To disable this parameter set it to zero and then click on the set button.