

Disaster Recovery Guide › Installation at the DR Site › Layer 7 Gateway (DR)
Layer 7 Gateway (DR)
CA Directory and the Oracle Database are already replicated between the primary and DR sites. Layer 7 provides a script called ssg_export_full.sh to migrate the MySQL database between the primary site and the DR site.
Follow these steps:
- Install the base Layer 7 Gateway using the same CA CloudMinder Installation Guide procedure that you performed at the primary site with the following changes:
- Exclude the Create OTK/OIDC Database step up
- Stop at the step preceding the step to install license and policies.
- On the primary system, export the configured OAuth, SiteMinder, and OpenID Connect services and Policies using the following procedure.
- SSH to Primary Gateway server 1.
- Make sure ssg_export_full.sh under the /opt/SecureSpan/DR folder is executable. Use this command:
chmod 755 ./ssg_export_full.sh
- Make sure that you have a my.cnf file in the /etc/ directory.
Add your mysql root password at the end of the file. The format is:
[client]
# The following password will be sent to all standard MySQL clients
password=my_password
- At the primary site on Layer 7 server 1, execute the following command:
./ssg_export__full.sh
- Use sftp to copy the output file (ssg_export_orig_timestamp.sql) to the DR site Gateway server under the /opt/SecureSpan/DR directory.
- Stop the DR site Gateway process using this command: service ssg stop
- At the DR site Gateway, enter the following command:
mysql -u root -h hostname ssg < ssg_export_orig_timestamp.sql
For hostname, enter the hostname you used when you installed MySQL.
- Start the DR site Gateway process by entering the following command:
service ssg start
- Shut down the Gateway. Issue this command:
service ssg stop
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|