If a standby database is already
presentcreated, then this step can be ignored. Dbvisit Standby can work with existing standby databases.
To integrateDbvisit Standby
with anwill automatically register the 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.Perquisites for creating the standby database are:- Oracle software must be installed on the standby server.
- Enough free space on the standby server must be available for the standby database.
- The Oracle background (cdump, udump, bdump etc. ) and admin directories are created.These directories can be created by Dbvisit if you choose the option to create missing filesystem directories automatically.
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
ii) Different structure as primary database.
b) ASM standby database (for Oracle version 10.2 and higher) with
i) Same structure as primary database or
ii) Different structure as primary database.
Dbvisit Standby - standby database creation methods
The following methods are available to create the standby database:
- Direct transfer to the standby server (on the fly creation) over the network.
- Using a temporary location to create a complete backup of the primary database and then transferring the complete backup from the temporary location on the primary server to the standby server over the network.
- Transportable Media which uses a temporary location to create a complete backup of the primary database and manually transferring the complete backup to the standby server using TRANSPORATBLE MEDIA. Transportable media is an external device such as a USB drive that is first plugged into the primary server and then manually transferred to the standby site and plugged into the standby server to complete the process.
Option 1 should be chosen for smaller databases.
Option 2 should be chosen for larger databases.
Option 3 should be chosen for very large databases or slow networks.
Option 2 and 3 will require adequate space on the primary server to make a (compressed) copy of the database files.
Standby database spfile/pfile
Align |
---|
The spfile.ora (pfile.ora for Oracle database version less than 9) is created for the standby database using init.ora or spfile.ora file from the primary database. Oracle database parameters for the standby database can be customised. If an existing init.ora or spfile.ora file is already present on the standby server, it will be overwritten. The Create Standby Database wizard will guide the process and for customizing of Oracle standby database during the creation process. The settings can be saved as a template for future use. If a standby database template has been created previously, then this can be used to create the standby database. No further questions will be asked. |
Creation of standby database using CLI or GUI
The creation of the standby database can be done either through the command line interface (CLI) or the web based graphical user interface (GUI). The CLI commands are indicated with a and the web based or GUI commands are indicated with a
. This step is to create a new standby database and involves automatically taking a backup of the primary database. The primary database will not be shutdown during this process. This step can be done through a command line interface (CLI) OR a GUI web-based interface (GUI).
Note |
---|
Choose either CLI or GUI to configure DBvisit Standby- NOT BOTH |
Create standby database by CLI
1. Start the Dbvisit Standby command console from the Start Menu > Programs > Dbvisit > Dbvisit Standby Command Console.
2. Confirm that this is the primary server.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
3. Choose option 7:
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
4. You are asked to choose for which primary database you want to create a standby database. Choose the required DDC and follow the on-screen instructions:
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
5. Once the standby database has been completed, choose option E to exit.
Create standby database by GUI
1. Click on the Create New Standby Database under the Home -> Setup menu.
2. Select Database from drop-down menu
3. If not using ASM for the standby database, select No and press Continue.
4. A precondition is executing to ensure the standby server environment is correct. This process may take a while to complete.
5. Select the options below as required.
6. Continue with process until creation of standby database is complete.
7. Creation of standby database only needs to be run on the primary server. Not on the standby server.