Previous Topic: Business Objects Report Server (DR)Next Topic: Configuration of Disaster Recovery


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:

  1. 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:
  2. On the primary system, export the configured OAuth, SiteMinder, and OpenID Connect services and Policies using the following procedure.
  3. SSH to Primary Gateway server 1.
  4. Make sure ssg_export_full.sh under the /opt/SecureSpan/DR folder is executable. Use this command:
    chmod 755 ./ssg_export_full.sh
    
  5. 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
    
  6. At the primary site on Layer 7 server 1, execute the following command:
    ./ssg_export__full.sh
    
  7. Use sftp to copy the output file (ssg_export_orig_timestamp.sql) to the DR site Gateway server under the /opt/SecureSpan/DR directory.
  8. Stop the DR site Gateway process using this command: service ssg stop
  9. 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. 

  10. Start the DR site Gateway process by entering the following command:
    service ssg start
    
  11. Shut down the Gateway. Issue this command:
    service ssg stop