Configuring Avaya Analytics for Disaster Recovery

Last Updated : Feb 13, 2023 |

About this task

Use this procedure to configure geo-redundancy at the primary (Data Center1) and the standby site (Data Center2).

Before you begin

Complete the Avaya Analytics™ deployment on Avaya Common Services.

During Avaya Analytics™ deployment on Avaya Common Services for DC1 and DC2 sites, ensure that the same passwords are employed for Postgres user, Measure Processor user, and Historical Reporting user in the spreadsheet as below:

  • Postgres user:

    ORCA tab – crunchydb:password

  • Measure Processor user:

    ORCA tab – crunchydb:encodedMpuserPassword

  • Historical Reporting user:

    MSTR tab – dbLogin:loginPW

    ORCA tab – crunchydb:encodedMstuserPassword

Geo configuration synchronizes the passwords in the database. Therefore, if the implementation passwords do not match, the internal connection strings become invalid on DC2 after the Geo configuration.

Warning:

When you configure Geo, you can take a backup. Restoring this backup later onto the Geo Primary system interferes with the Geo Standby functionality. Therefore, if you are restoring a full backup or incremental backup on Geo Primary, reconfigure Geo Standby to sync with the restored Geo Primary system.

Procedure

  1. To configure the primary data center, do the following:
    1. Log in to the Cluster Control Manager (CCM) console in the DC1 cluster as the cust user.
    2. To switch to the root user, enter su.
    3. To run the Analytics Administration script as root user, use the following command:

      ccm release orca analytics

    4. To select the Geo/High Availability option, enter the corresponding number.
    5. To select the Geo Options option, enter the corresponding number.
    6. To configure the primary cluster, select Configure Primary Geo cluster by entering the corresponding number.
    7. In the Proceed to Primary Geo cluster config field, enter y.
    8. Enter CCM IP address of the Geo Standby cluster.
    9. Enter the Username to login to ccm of the Geo Standby cluster(DC2).
    10. Enter the password to login to ccm of the Geo Standby cluster(DC2) and click enter.
      Note:

      The script will take few minutes to run, meanwhile it returns IP address and PV name, make a note of it.

      You must use this IP address and PV name for configuring the standby data center.

  2. Return to the previous page by entering b.
  3. Quit the current page by entering q.
  4. Return to the main menu by entering m.
  5. Log in to the Cluster Control Manager (CCM) console in the DC2 cluster as the cust user.
  6. To switch to the root user, enter su.
  7. To disable firewall on DC2(Standby), do the following:
    1. Run cluster_ssh.

      It displays the available nodes on the system. For example;

      1. node164182.puneccq.avaya.com

      2. node164183.puneccq.avaya.com

      3. node164184.puneccq.avaya.com

    2. Run the firewall config command for each node and exit.
      Note:

      The IP Address argument is the same IP provided as output from Geo Primary config.

    3. For example; Select [1].
      Last login: Tue May 31 21:10:27 2022 from 135.27.164.178
      DeployType=Cluster Node
      [ccmuser@node164182 ~]$ sudo firewall-cmd --permanent --direct --add-rule ipv4 filter OUTPUT 0 -o eth0 -d IP_Address -j ACCEPT
      [ccmuser@node164182 ~]$ sudo systemctl restart firewalld
      [ccmuser@node164182 ~]$ exit
  8. To configure the standby data center, do the following:
    1. Log in to the Cluster Control Manager (CCM) console in the DC2 cluster as the cust user.
    2. To switch to the root user, enter su.
    3. To run the Analytics Administration script as root user, use the following command:

      ccm release orca analytics

    4. To select the Geo/High Availability option, enter the corresponding number.
    5. To select the Geo Options option, enter the corresponding number.
    6. To configure the standby cluster, select Configure Standby Geo cluster option by entering the corresponding number.
    7. In the Proceed to Standby Geo cluster config field, enter y.

      Entering n cancels the operation.

    8. At the prompt for IP address, enter the IP address and at the prompt of PV name, enter PV name that you noted while configuring the primary data center.
      Note:

      The script will take few minutes to run.

  9. Return to the previous page by entering b.
  10. Quit the current page by entering q.
  11. To return to the main menu, type m and press Enter.
    Note:

    Once the above steps are completed successfully the Analytics database and MicroStrategy database will start to sync.

    The MSTR will not be accessible for standby data center.