Triggering a test failover

Last Updated : Dec 05, 2022 |
Prolog information
Trigger a graceful failover to verify high availability of your contact center.
  1. On Configuration Server, start the SSH session.
  2. To access the active Routing Core Server, run the following command:
    ADDITIONAL INFORMATION:
    ssh mega@<server_IP_address>, where <server_IP_address> is the static IP address of the active Routing Core Server.
  3. In the command prompt, run the following command:
    ADDITIONAL INFORMATION:
    docker exec -it main bash
  4. To verify that the Routing Core Server is active, run the following commands:
    ADDITIONAL INFORMATION: cd /app/aicore/state_tools
    ./ss_tester
    If the Routing Core Server is active, the command output displays the following before the list of actions:HA info: role:active sync_conn:1(out) relay_conn:0(in)
    DO_HA_SYNC: true shmsync_state:0xa
  5. On the active Routing Core Server, run the following commands:
    ADDITIONAL INFORMATION: sudo killall -2 ar_service
    docker-compose -f mega.yml down
    STEP RESULT:
    The contact center fails over to an alternate server.