Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Avatar photoCustomer Inquiry
    Participant
    Post count: 203

    I have an older version of FreePBX(TM) that is working fine with HAAst; the MySQL configuration and the Asterisk configuration files are synchronizing great. However, the AstDB has problems and I suspect it is not synchronizing. How do I fix this?

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    Instead of relying on FreePBX to recreate the AstDB, you should let HAAst synchronize it. (This is the standard HAAst configuration as of Jan 2016). To have HAAst synchronize the AstDB add an entry like this to the haast configuration:


    asteriskdb/description=Asterisk internal database
    asteriskdb/type=astdb
    asteriskdb/interval=300
    asteriskdb/debug=off
    asteriskdb/postsynccondition=never
    asteriskdb/postsyncruntime=60

    If you use the sample Asterisk sync file (sample_files/synchronizations/asteriskconfig.sync.conf) then this will be setup for you automatically.

    Warning: Do not try to synchronize this file using ‘file’ type. HAAst must read and write this file using SQL commands or you risk corrupting the file. As well, do not put this file on a DRBD partition, nor put it on a network share if there is any chance of the peer reading/writing this file at the same time.

    HAAst also has the ability replicated all keys from the AstDB, or generate new values for keys which must be unique, or leave each node with original values. Please contact Telium support for details on how to configure HAAst to control these keys during replication.

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