restart 

Follow
dbvcli restart {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Restart the primary or standby cluster

Option

Type

Description

--role

string

cluster to restart (primary or standby)

Example
-bash-4.2$ ./dbvcli -d PG5433 restart
Connecting to the Local Agent at :7890 ✓

Confirmation
Are you sure you want to restart the source cluster on
centlin71.oraclekiwi.co.nz?

Confirm Operation:

(•) Yes
( ) No

Getting current cluster state ✓

2024-11-01 13:38:14: Using pg_ctl to restart cluster at /u01/PG5433 on 5433...
2024-11-01 13:38:15: pg_ctl: waiting for server to shut down..... done
2024-11-01 13:38:15: pg_ctl: server stopped
2024-11-01 13:38:15: pg_ctl: waiting for server to start....2024-11-01 13:38:15.245 NZDT [5207] LOG:  redirecting log output to logging collector process
2024-11-01 13:38:15: pg_ctl: 2024-11-01 13:38:15.245 NZDT [5207] HINT:  Future log output will appear in directory "log".
2024-11-01 13:38:15: pg_ctl:  done
2024-11-01 13:38:15: pg_ctl: server started
2024-11-01 13:38:15: done
2024-11-01 13:38:15: done
Task succeeded

Have more questions? Submit a request

Comments