CHECK-CONFIG v2.6
The CHECK-CONFIG
subcommand checks the global parameter settings as well as the database server configuration in the BART configuration file.
The following syntax is used to check the BART configuration file global section settings.
bart CHECK-CONFIG
The following syntax is used to check the database server configuration settings.
bart CHECK-CONFIG [ –s <server_name> ]
The following table describes the CHECK-CONFIG
option:
Option | Description |
---|---|
-s <server_name> --server <server_name> | <server_name> is the name of the database server whose configuration parameter settings are to be checked. |
Example
The following code sample demonstrates successfully checking the BART configuration file global parameters with the bart CHECK-CONFIG
command:
bash-4.1$ bart CHECK-CONFIG INFO: Verifying that pg_basebackup is executable INFO: success - INFO: success - pg_basebackup(/usr/edb/as11/bin/pg_basebackup) returns version 11.400000
The following code sample demonstrates successfully checking the BART configuration file database server parameters with the bart CHECK-CONFIG
command with the –s
option:
[edb@localhost bin]$ ./bart check-config -s hr INFO: Checking server hr INFO: Verifying cluster_owner and ssh/scp connectivity INFO: success INFO: Verifying user, host, and replication connectivity INFO: success INFO: Verifying that user is a database superuser INFO: success INFO: Verifying that cluster_owner can read cluster data files INFO: success INFO: Verifying that you have permission to write to vault INFO: success INFO: /home/edb/bkup_new/hr INFO: Verifying database server configuration INFO: success INFO: Verifying that WAL archiving is working INFO: waiting 30 seconds for /home/edb/bkup_new/hr/archived_wals/00000001000000000000001E INFO: success INFO: Verifying that bart-scanner is configured and running INFO: success