Align |
---|
This step can be skipped, if a standby database is already present. Dbvisit Standby can work with existing standby databases. To integrate Dbvisit Standby with an existing standby database, skip this section and go to section Dbvisit Standby commands (running or executing Dbvisit Standby). Dbvisit Standby does not distinguish between an existing standby database and a standby database created through Dbvisit Standby.Dbvisit Standby can automatically create the standby database. The standby database will reside on the standby server and is an exact binary copy of the primary database.The standby database only needs to be created once. After the standby database is created, Dbvisit Standby will automatically ensure the standby database is kept up to date with the primary database.Dbvisit Standby normally uses the network to transfer the primary database to the standby server to create the standby database. For slow networks or very large databases, use the transportable media creation method to create the standby database. The primary database will not be shutdown during standby database creation. Dbvisit Standby uses RMAN in most cases to make a backup of the primary database.
Dbvisit Standby allows the following options for creating the standby database: a) Regular file system standby database with i) Same structure as primary database or b) ASM standby database (for Oracle version 10.2 and higher) with i) Same structure as primary database or |
...
The example below shows how to create standby database on the fly (by direct transfer to the standby server). Creating a standby database is performed on the primary server (primary node).
For a complete overview of creating the standby database, please see Start the Dbvisit Standby command console from the Start Menu > Programs > Dbvisit > Standby.
...
1. To create a standby database, choose option 7.
========================================================= Dbvisit Database setup |
2. Choose the primary database to create a standby for. Only Dbvisit Standby configured databases will be shown :
=>Creating Standby Database. |
3. The primary database must be up and running for the setup to proceed. Total size of the primary database is calculated and displayed. The Dbvisit Standby installation files are also copied to the standby server initially. If uncompleted creation of the standby database is detected, a restart option will be available. Standby database can also be created using a saved template:
Database w120n is up. |
4. An ASM (for Oracle versions 10.2 or higher) or normal file system standby database can be created:
------------------------------------------------------------------------------ |
5. It is possible to transfer datafiles directly to the standby server, but only if both primary and standby databases are filesystem, and the primary database does not contain Oracle Managed Files (OMF):
------------------------------------------------------------------------------ |
6. It is possible to use secure shell (SSH) compression "on the fly" during transfer of the database files. Using SSH compression may speed up the transfer if the network is slow, however it may take additional CPU cycles:
------------------------------------------------------------------------------ |
7. It is possible to create missing filesystem directories on the standby server automatically:
------------------------------------------------------------------------------ |
...
8. Oracle database parameters for the standby database can be customised:
------------------------------------------------------------------------------ The following oracle database parameters will be set in the standby database pf le or spfile: |
...
------------------------------------------------------------------------------- audit_file_dest C:\ORACLE\ |
...
ADMIN\W120N\ |
...
ADUMP background_dump_dest C:\ORACLE\ |
...
ADMIN\W120N\BDUMP compatible 10.2.0.1.0 control_files C:\ORACLE\ORADATA\W120N\CONTROL01.CTL, :\ORACLE\ORADATA\W120N\CONTROL02.CTL, C:\ORACLE\ORADATA\W120N\CONTROL03.CTL core_dump_ |
...
dest C:\ORACLE\ADMIN\W120N\CDUMP db_block_ |
...
size 8192 db_file_multiblock_read_ |
...
count 16 db_ |
...
name w120n db_recovery_file_dest_ |
...
size 2621440000 |
...
dispatchers (PROTOCOL=TCP) (SERVICE=w120nXDB) job_queue_ |
...
processes 10 log_archive_dest_ |
...
1 LOCATION=C:\oracle\oraarch\w120n log_archive_ |
...
format ARC_%%ORACLE_SID%%%S_%R.%T open_ |
...
cursors 300 pga_aggregate_ |
...
target 155189248 |
...
processes 50 remote_login_ |
...
passwordfile EXCLUSIVE |
...
sessions 60 sga_ |
...
target 469762048 |
...
spfile OS default standby_file_ |
...
management AUTO undo_ |
...
management AUTO undo_ |
...
tablespace UNDOTBS1 user_dump_ |
...
It is possible to specify the locations of standby datafiles, redo logs and tempfiles different as primary, or alternatively keep the same structure for the standby database as primary:
dest C:\ORACLE\ADMIN\W120N\UDUMP |
...
|
------------------------------------------------------------------------------- What would you like to do: 1 - |
...
Proceed with creating the standby database 2 - Edit oracle database parameters for the standby database pfile/spfile 3 - Terminate processing Please enter your choice [1]: Validating oracle database parameters... please wait SUCCEEDED |
9. It is possible to specify the locations of standby datafiles, redo logs and tempfiles different as primary, or alternatively keep the same structure for the standby database as primary:
------------------------------------------------------------------------------ Primary database contains non OMF datafiles and/or tempfiles. To create non-OMF standby datafiles and/or tempfiles Dbvisit requires you to provide valid filesystem locations on the standby. Review and confirm standby locations to create standby non-OMF datafiles and tempfiles. |
...
------------------------------------------------------------------------------- Primary ===> Standby ------------------------------------------------------------------------------- C:\ORACLE\ORADATA\W120N ===> C:\ORACLE\ORADATA\W120N ------------------------------------------------------------------------------- What would you like to do: 1 - Confirm standby location(s) are correct and continue 2 - Provide different standby location(s) Please enter your choice [1]: Standby locations validated Primary database contains non OMF redo logs. To create non OMF redo logs Dbvisit requires you to specify valid filesystem locations on the standby. Review and confirm standby locations to create standby non OMF redo logs. ------------------------------------------------------------------------------- Primary ===> Standby ------------------------------------------------------------------------------- C:\ORACLE\ORADATA\W120N ===> C:\ORACLE\ORADATA\W120N ------------------------------------------------------------------------------- What would you like to do: 1 - Confirm standby location(s) are correct and continue 2 - Provide different standby location(s) Please enter your choice [1]: Standby locations validated. |
...
10. Provided answers can be stored as a template for future use (re-running creating of a standby database):
------------------------------------------------------------------------------ |
11. The standby database will now be created. Once completed the next stepsto take will be shown:
Creating standby database... |
12. The standby database has been created. The Dbvisit Standby setup menu will be redisplayed:
=========================================================
|
13. Exit out of the main menu and run Dbvisit Standby as normal.
14. Dbvisit Standby can now be run on completion of the standby database creation. To run Dbvisit Standby go to section Dbvisit Standby commands (running or executing Dbvisit Standby).
...
Create standby database using GUI
The example below shows how to create an ASM standby database using a temporary location to create the initial backup. Creating a standby database is performed on the primary server (primary node).
For a complete overview of creating the standby database, please see Creating Standby Databases automatically with Dbvisit Standby
- Home > Setup > Create New Standby Database > select Database from drop-down menu
- We are using ASM for the standby database, select Yes and press Continue.
...