Backing Up and Restoring the Authentication and Directory Server Database 81
4Enter the following commands to change the directory and stop the VCX
Authentication and Directory service.
cd /opt/3com/VCX/scripts/rc3.d
./S20vcxdata stop
5Enter the following commands to start the VCX Authentication and
Directory server database backup utility:
cd /opt/3com/VCX/vcxdata/bin
./backupVcxdata
The utility prompts you to verify that Tomcat and the VCX Authentication
and Directory server services are stopped.
Enter y to confirm the services are stopped.
The Enter the VCX Site Identification i.e. Site Id prompt
appears.
6Enter the site ID of the Master Definition site.
A backup file named vcxdata<site ID>backup.<version number>.tgz is
generated and saved in the /opt/3com/VCX/vcxdata/db/export/ directory.
Unless you plan to use this backup file immediately to restore the
database on another server, you should copy the file to an archive server.
7Restart the Tomcat and the VCX Authentication and Directory services.
aLog in to the server hosting Tomcat using the tomcat account and
enter the following commands:
cd /opt/3com/VCX/scripts/rc3.d
./S70tomcat start
bLog in to the server hosting the Authentication and Directory service
using the cworks account and enter the following commands:
cd /opt/3com/VCX/scripts/rc3.d
./S20vcxdata start
Restoring the VCX
Authentication and
Directory Server
Database
VCX systems, whether single-site or multi-site, typically include redundant
pairs of servers. The steps in this section describe how to restore an
archived database backup file on a pair (primary and secondary) of VCX
Authentication and Directory servers. The procedure also assumes
database replication is enabled between the two servers. Depending on
the reason for the restoration, you may need to execute the steps on only
one server.