Home Forums HAast (High Availability for Asterisk) Installation & Upgrade Best way to install HAAst into live environment

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Customer Inquiry
    Participant
    Post count: 201

    We are running Asterisk on a server in our data center. We would like to install HAAst and create a cluster. What is the best way to proceed? We run a 24 hour call center and cannot afford any extended outage during installation.

    Telium Support Group
    Moderator
    Post count: 263

    Whenever you switch from a standalone to a clustered PBX there will be an outage. This can last from seconds to an hours depending on how to perform the cutover.

    It is possible to install HAAst into a live environment, but the “best” way depends a bit on your situation. If you cannot tolerate downtime, then you need to:

    1. Install HAAst on the live system but do not start the HAAst service
    2. Setup the second node (Asterisk and HAAst) but do not start the HAAst service
    3. Fully configure HAAst so the nodes will see each other
    4. At the next failure, maintenance window, or opportunity you chose, start the HAAst service on both nodes and the cluster will form

    If you are running FreePBX as your configuration generator we do not generally recommend the above approach, as FreePBX will crash/misbehave if you synchronize configuration data from (even slightly) different versions / enabled options / installed options. (And it’s very easy to accidentally install/enable different modules on FreePBX nodes). For this reason if you run FreePBX we recommend the following procedure:

    1. Install HAAst on the live system (per the installation guide)
    2. Configure HAAst on the live system
    3. Apply any Asterisk updates you wish
    4. Finalize your Asterisk dialplan and ensure Asterisk works as you wish
    5. During your maintenance window shutdown the PBX
    6. Use ‘dd’ or similar tool to mirror the PBX to a second PBX
    7. Restart both PBX’s (leave the new PBX unplugged from the network)
    8. Customize the second PBX with unique network and HAAst information
    9. Reconnect the second PBX to the network and the nodes should find each other
    10. The nodes should now report the cluster is live

    At a high level this should get you up and running with a working cluster. Our detailed installation guide has more specifics that take you through each of the steps above. As well, be sure to read the maintenance guide for instructions on updating.

    When Telium performs a live site installation, we bring up the cluster with minimal interruption in phone service (unless of course the customer approves more extensive failover test) as described above.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.