34 CHAPTER 2: VCX™ CONNECT SERVER INSTALLATION
Copying the Database Backup File to the Secondary Server
1While still logged in to the cworks account on the primary VCX Connect
server, navigate to the directory that contains the database backup files.
cd /opt/3com/VCX/vcxdata/db/export/
2Identify the backup file that you just created. Backup file names have this
format:
vcxdata<site ID>backup.<version of vcxdata>.tgz
3Use this command to copy the database backup file from the primary
VCX Connect server to the secondary server:
scp vcxdata<site ID>backup.*.tgz cworks@<IP address of the
secondary VCX Connect server>:/opt/3com/VCX/vcxdata/db/import
4When prompted for the cworks password, enter it, and the file is copied
to the secondary server.
Restoring the Database on the Secondary Server
On the secondary VCX Connect server:
1Log in to the tomcat account.
2Enter the following commands to change the directory and stop Tomcat:
cd /opt/3com/VCX/scripts/rc3.d
./S70tomcat stop
3Log in to the cworks account and enter these commands to stop the
database service:
cd /opt/3com/VCX/scripts/rc3.d
./S20vcxdata stop
On the secondary VCX Connect server:
1Log in to the cworks account and enter these commands:
cd /opt/3com/VCX/vcxdata/bin
./restoreVcxdata
2The script prompts you to confirm that the tomcat and vcxdata processes
have been stopped. Enter y to confirm.
3When prompted for the site ID, enter the site description that you
configured on both the primary and secondary VCX Connect servers.
The database backup file is used to populate the database on the
secondary VCX Connect server.