Install Dbvisit Replicate - Linux/Unix
Dbvisit Replicate can be installed as a TAR file or a RPM. The simplest way is to install the RPM, but this does require root privileges to run RPM. RPM is only available for Linux.
Dbvisit Replicate software can be run with any OS user id except root. It does not have to be the same user id as the Oracle software. However, file system read access to the redo and archive logs is required and that is why the user has to be part of the oinstall or dba group. If ASM is used on MINE, a bequeath connection must be made to the ASM instance and the user may also have to be a member of the sysasm group.
RPM
If Dbvisit Replicate has been previously installed, ensure the RPM is removed first. This can be done by running the following command as root.
rpm -e `rpm -qa | grep dbvisit_replicate`
The Dbvisit Replicate RPM follows the standards for rpm, the installation directory is set to /usr/dbvisit and dbvrep symbolic link is created in /usr/bin. Root privilege is needed to install the RPM.There is a 32bit version and a 64bit version of Dbvisit Replicate available. The install instructions are the same for both versions. Only the 64bit installation instructions are shown here.
On the source (MINE) server:
1. Copy the dbvisit_replicate-2.x.x-1.x86_64.rpm file to a temp directory on your server. (example: /usr/tmp)
2. Switch to the root user:
su -
3. Install the RPM package with command:
rpm -ivh /usr/tmp/dbvisit_replicate-2.8.0.00-1.x86_64.rpm
This installs Dbvisit Replicate in:
/usr/dbvisit/replicate/
and creates the following soft link:
/usr/bin/dbvrep -> /usr/dbvisit/replicate/dbvrep
On the target (APPLY) server:
4. Copy the dbvisit_replicate-2.x.x.x86_64.rpm file to a temp directory on your server. (example: /usr/tmp).
5. Switch to the root user:
su -
6. Install the RPM package with command:
rpm -ivh /usr/tmp/dbvisit_replicate-2.8.0.00-1.x86_64.rpm
This installs Dbvisit Replicate in:
/usr/dbvisit/replicate/
and creates the following soft link:
/usr/bin/dbvrep -> /usr/dbvisit/replicate/dbvrep
TAR File
Dbvisit Replicate can be installed with any OS user id except root. It does not have to be the same user id as the Oracle software. However, file system read access to the redo and archive logs is required and that is why the user has to be part of the oinstall or dba group. If ASM is used on MINE, a bequeath connection must be made to the ASM instance and the user may also have to be a member of the sysasm group.
There is a 32bit version and a 64bit version of Dbvisit Replicate. The install instructions are the same for both versions. Only the 64bit installation instructions are shown here.
1. Unzip the chosen dbvisit_replicate2.*.zip file to a directory on your local PC if you have not done so already.
On the source (MINE) server:
2. Create the Dbvisit main install directory on your server (if this does not yet exist).
- We recommend : /usr/dbvisit
- Make sure this directory has the correct owner and permissions.
- The tar file will create the replicate subdirectory under the main dbvisit directory. This is where Dbvisit Replicate will be installed.
3. Copy or ftp the dbvrep2.x.tar file to the Dbvisit directory (ie /usr/dbvisit).
4. Untar the dbvrep2.x.tar file with the command:
tar xvf dbvrep2.8.tar
This will have created the replicate subdirectory. This is where Dbvisit Replicate will be installed.
5. cd into the replicate directory.
cd replicate
6. Ensure Dbvisit Replicate is executable with the command:
chmod 750 dbvrep
7. Make sure that the dbvrep executable is in your PATH (modify your PATH settings or create a symbolic link, e.g. from /usr/local/bin).
On the target (APPLY) server:
8. Create the Dbvisit main install directory on your server (if this does not yet exist).
- We recommend : /usr/dbvisit
- Make sure this directory has the correct owner and permissions.
- The tar file will create the replicate subdirectory under the main dbvisit directory. This is where Dbvisit Replicate will be installed.
9. Copy or ftp the dbvrep2.x.tar file to the Dbvisit directory (ie /usr/dbvisit).
10. Untar the dbvrep2.x.tar file with command:
tar xvf dbvrep2.8.tar
11. cd into the replicate directory.
cd replicate
12. Ensure Dbvisit Replicate is executable with command:
chmod 750 dbvrep
13. Make sure that the dbvrep executable is in your PATH (modify your PATH settings or create a symbolic link, e.g. from /usr/local/bin).