/
Using CLI to update Dbvisit Standby Repository

Using CLI to update Dbvisit Standby Repository

To update the Dbvisit Standby Repository from the command line interface run the dbvisit_setup menu option and select option 5. The first step is to run a check to see if the repository does require an update.  If it does, select the upgrade option, otherwise select "r" to return to the menu.

Below is an example showing you how to check if the Dbvisit Standby Repository requires an update.

oracle@dbvrlin301[/usr/dbvisit/standby]: ./dbvisit_setup
=========================================================
Dbvisit Standby Database Technology (7.0.01.11204)
 http://www.dbvisit.com
=========================================================
=>dbvisit_setup only needs to be run on the primary server.
  Is this the primary server? <Yes/No> [Yes]:

 

Should be run on primary server:

  Is this the primary server? <Yes/No> [Yes]: Yes
=========================================================
 Dbvisit Standby Database Technology (7.0.01.11204)
 http://www.dbvisit.com
 Dbvisit Database setup
 Default values will be shown in []
 
Options:
 1) New Dbvisit Database setup (combines options 2,3,4)
 1a) New Dbvisit RAC Instance setup (combines options 2,3,4)
 
 2) New Dbvisit Database configuration (DDC) file setup
 3) New Dbvisit Archive Management Module (AMM) setup
 4) New Dbvisit Database repository (DDR) setup
 
 5) Manage Dbvisit Database repository (DDR)
 6) Update Dbvisit Database configuration (DDC) file
 
 7) Create Standby Database (and template)
 8) Synchronize Standby Database
 
 9) Uninstall Dbvisit Database repository (DDR)
 E) Exit
 
=========================================================
Please enter choice :

 

Select option 5 to check/update the Dbvisit Database Repository:

Please enter choice : 5
=========================================================
Maintain Dbvisit Database repository (DDR)
 Default values will be shown in []
 
Options:
 1) Upgrade Dbvisit Database repository (DDR)
 2) Downgrade Dbvisit Database repository (DDR)
 3) Check version of Dbvisit Database repository (DDR)
 r) Return to main menu
=========================================================
Please enter choice :

 

First check if update is required:

Please enter choice : 3
 
------------------------------------------------------------------------------
=>Checking Dbvisit Database repository (DDR) version.
Choose database:
The following Oracle database(s) have a Dbvisit Database configuration (DDC)
file on this server:
DDC
 ===
1) TSTRAC1
2) Return to menu
 
Please enter choice :

 

Select Database:

Please enter choice : 1
 
Is this correct? <Yes/No> [Yes]: Yes
Database TSTRAC1 is up.
Dbvisit Database repository (DDR) version: 7.0
Dbvisit software version: 7.0
Dbvisit Database repository (DDR) up to date. No need to upgrade.
Please press <Enter> to continue...

 

If an update is required, repeat the process, but select option 1 – Upgrade Dbvisit Database Repository (DDR)