restart

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

Restart the primary or standby database

Option

Type

Description

--role

string

database to restart (primary or standby)

Example
[oracle@nzoel19c2 bin]$ ./dbvcli -d orclcdb restart  --role standby
Connecting to the Local Agent at :7890 ✓


A Local Agent connection can only be used for this operation if executed on the standby host: nzoel19c1.oraclekiwi.co.nz

A Local Agent connection is not available; attempting a Control Center
connection.

Connecting to the Control Center at localhost:4433 ✓

Checking available actions for this configuration ✓

Configuration orclcdb (nzoel19c2.oraclekiwi.co.nz -> nzoel19c1.oraclekiwi.co.nz)

┌───────────────┐┌───────────────┐
│               ││               │
│    Primary    ││    Standby    │
│               ││               │
│    ONLINE     ││  RECOVERING   │
│               ││               │
└───────────────┘└───────────────┘

Database Prompt Skipped (Using Database: standby)

Restarting the standby database on host nzoel19c1.oraclekiwi.co.nz ✓

Successfully restarted the standby database on host nzoel19c1.oraclekiwi.co.nz
Have more questions? Submit a request

Comments