Dbvisit Standby installation (step 2) - Linux/Unix

For Dbvisit Standby 6.0 and higher, the installation must be done on both the primary and standby servers.

RAC environment

In an Oracle RAC environment, Dbvisit Standby must be installed and configured as below on each primary node in the RAC cluster.

Primary and Standby Server (or RAC nodes)

1. Unzip the dbvisit-standby6.0_<os>.zip file to a temporary directory. This can be done on a local PC.

      (where <os> is the Operating System - linux, hpux, aix, solaris etc)

2. Login as the Oracle database owner (e.g.: oracle) to the primary server.

3. Create the directory /usr/local/dbvisit and ensure that the oracle user has full access to this directory.

 

/usr/local/> chown oracle:dba dbvisit
Where oracle is the Oracle database owner and dba is the database group.

4. Copy the installation file dbvisit-standby6.0.x.tar to a temporary directory on the primary server (eg /usr/tmp).

5. Change directory to the temporary directory (/usr/tmp).

6. Untar the file.

 

/usr/tmp/> tar xvf dbvisit-standby6.0.02.tar
Where /usr/tmp/ > is the prompt of the OS showing the current directory, and 6.0.2 is the Dbvisit Standby version.

7. A new sub directory dbvisit will be created.

8. Change directory into the dbvisit directory.

 

/usr/tmp/> cd dbvisit

9. Ensure dbvisit_install has the correct privileges to be executed.

 

/usr/tmp/dbvisit/> chmod 750 dbvisit_install

10. Run dbvisit_install to install Dbvisit Standby and Dbvserver (providing the web interface to Dbvisit Standby).

 

/usr/tmp/dbvisit/> dbvisit_install

11. All the defaults can be accepted. The Dbvisit software will be installed in

/usr/local/dbvisit:

 

     ---------------------------------------------------------------------
     Welcome. Your Dbvisit Standby product is going to be installed now...
     This will install:
            - Dbvisit Standby command line version
            - Dbvserver (to provide a web interface to Dbvisit Standby)
     ---------------------------------------------------------------------
      It is recommended to make a backup of our current Dbvisit
     software location for rollback purposes.  
 
> Oracle user name on this server? [default: "oracle"]
Enter a custom value or press ENTER to accept above default:
 
Dbvserver is Dbvisit's web server software that provides the web interface
for all Dbvisit products. Dbvserver can be started at the end of this
installation procedure, but in order to do that, a user name and password
must be chosen for secure authentication.
 
> Dbvserver admin user name? [default: "admin"]
Enter a custom value or press ENTER to accept above default:
 
> Dbvserver admin user password? [default: "admin"]
Enter a custom value or press ENTER to accept above default:
 
Please specify the Dbvisit main installation directory path.
The default is /usr/local/dbvisit.
Please Note: Dbvisit Standby will be installed under the "standby" subdirectory of this path.
 
> Dbvisit installation directory path? [default: "/usr/local/dbvisit"]
Enter a custom value or press ENTER to accept above default:
 
In order to improve the Dbvisit web interface an automatic email can
be sent to Dbvisit support when an issue is detected in the web framework.
No personal information is sent and this information is solely used to improve
our software.
 
> Turn on automatic email to Dbvisit support: Yes/No [default: "Yes"]
Enter a custom value or press ENTER to accept above default:
 
+++ Thank you. Commencing installation right away...
 
Stopping all old dbvserverd processes possibly running...
Updating Dbvserver configuration file...
Detected a previous Dbvisit Standby installation, an upgrade will be performed...
Creating installation sub-directories...
Installing product files...
Updating and migrating existing DDC files in /usr/local/dbvisit...
=>Updating and migrating existing DDC files completed.
Removing old product files...
 
+++ Dbvisit product installation complete.
 
Adjusting init script templates...
 
Please find some init script templates in the dbvserver/etc/init.d
archive directory. These templates will allow your Systems Administrator
to automatically start Dbvserver after a database server reboot.
Templates are available for Sun Solaris, IBM AIX, and the Linux flavours
OpenSuSE, RedHat/Centos/Fedora & Debian/Ubuntu.
 
 
Start Dbvserver - the web framework for Dbvisit?
This will provide a web interface to Dbvisit Standby and allows it to be run through a web browser: Yes/No [default: "Yes"]
Enter a custom value or press ENTER to accept above default:
Starting Dbvserver - the web framework for Dbvisit. Please wait... done.
Dbvserver is up and running. The process name is dbvserverd.
 
+++ Next steps: Dbvisit Standby may be configured either through a browser or through
a command line utility.
  Configure Dbvisit Standby through a web browser (using Dbvserver):
    i) Please point your web browser to the following URL to login to
       Dbvserver and configure your Dbvisit product:
   Note : Dbvserver (dbvserverd) has be started for this.
   Default username/password is admin/admin
http://212.14.62.123:8081
 
  Configure Dbvisit Standby through command line:
   i)  cd /usr/local/dbvisit/standby
   ii) Run ./dbvisit_setup
 
Please ensure Dbvisit Standby software is installed on all primary and standby
servers before starting configuration.
 
dbvisit_install completed.

The Dbvisit software has been installed. Dbvisit Standby can now be configured for the primary and standby databases, and a standby database can be created.