ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Elastix HA Cluster

    IT Discussion
    5
    13
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlyRagabA
      AlyRagab
      last edited by

      Configuring High Availability Cluster for Elastix Server is easy now, using DRBD and Heartbeat
      check this Document
      Elastix High Availability.pdf

      1 Reply Last reply Reply Quote 2
      • DustinB3403D
        DustinB3403
        last edited by

        Very nice.

        Tiny question, why not script this so we don't have to read the documentation?

        🙂

        AlyRagabA 1 Reply Last reply Reply Quote 0
        • AlyRagabA
          AlyRagab @DustinB3403
          last edited by

          @DustinB3403 Even so you will need to read that script 🙂
          if you can enhance by converting it to be bash script it will be grateful 🙂

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Something to consider is if you do an HA cluster of this nature, that makes this "all in one place" and you can't fail over between sites. That's why we rarely do this. That and it is a stateless system so we normally just use the platform for it as that is less complex.

            AlyRagabA 1 Reply Last reply Reply Quote 0
            • AlyRagabA
              AlyRagab @scottalanmiller
              last edited by AlyRagab

              @scottalanmiller yes, as you mentioned Scott .. but what are the considerations we should have if we need to setup fail over clustering between sites?.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @AlyRagab
                last edited by

                @AlyRagab said in Elastix HA Cluster:

                @scottalanmiller yes, as you mentioned Scott .. but what are the considerations we should have if we need to setup fail over clustering between sites?.

                You can't use thinks like DRBD. You use Rsync and you generally fail over manually to ensure no split brain. But it only takes seconds and you CAN automate it with a script instead.

                stacksofplatesS AlyRagabA 2 Replies Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @scottalanmiller
                  last edited by stacksofplates

                  @scottalanmiller said in Elastix HA Cluster:

                  @AlyRagab said in Elastix HA Cluster:

                  @scottalanmiller yes, as you mentioned Scott .. but what are the considerations we should have if we need to setup fail over clustering between sites?.

                  You can't use thinks like DRBD. You use Rsync and you generally fail over manually to ensure no split brain. But it only takes seconds and you CAN automate it with a script instead.

                  I do something similar with my KVM hosts. They are running Gluster instead of Rsync. But if one were to die I just manually start it on the other with

                  ansible host -m shell -a "virsh start vm_name" --become --ask-become-pass
                  
                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @stacksofplates
                    last edited by

                    @johnhooks said in Elastix HA Cluster:

                    @scottalanmiller said in Elastix HA Cluster:

                    @AlyRagab said in Elastix HA Cluster:

                    @scottalanmiller yes, as you mentioned Scott .. but what are the considerations we should have if we need to setup fail over clustering between sites?.

                    You can't use thinks like DRBD. You use Rsync and you generally fail over manually to ensure no split brain. But it only takes seconds and you CAN automate it with a script instead.

                    I do something similar with my KVM hosts. They are running Gluster instead of Rsync. But if one were to die I just manually start it on the other with

                    ansible host -m shell -a "virsh start vm_name" --become --ask-become-pass
                    

                    You are running Gluster over WAN links?

                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      With Elastix HA you would normally have all VMs up all of the time, synced and then only start the Asterisk service for failover, not the VM itself.

                      1 Reply Last reply Reply Quote 1
                      • stacksofplatesS
                        stacksofplates @scottalanmiller
                        last edited by

                        @scottalanmiller said in Elastix HA Cluster:

                        @johnhooks said in Elastix HA Cluster:

                        @scottalanmiller said in Elastix HA Cluster:

                        @AlyRagab said in Elastix HA Cluster:

                        @scottalanmiller yes, as you mentioned Scott .. but what are the considerations we should have if we need to setup fail over clustering between sites?.

                        You can't use thinks like DRBD. You use Rsync and you generally fail over manually to ensure no split brain. But it only takes seconds and you CAN automate it with a script instead.

                        I do something similar with my KVM hosts. They are running Gluster instead of Rsync. But if one were to die I just manually start it on the other with

                        ansible host -m shell -a "virsh start vm_name" --become --ask-become-pass
                        

                        You are running Gluster over WAN links?

                        Oh no, I just meant I'm not syncing with DRBD and manually starting at the other end.

                        1 Reply Last reply Reply Quote 1
                        • AlyRagabA
                          AlyRagab @scottalanmiller
                          last edited by

                          @scottalanmiller Using Rsync will make us stop the mysql daemon that will cause a downtime, and in case the master server went down how we make the clients connect to the second server?.

                          travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @AlyRagab
                            last edited by

                            @AlyRagab said in Elastix HA Cluster:

                            @scottalanmiller Using Rsync will make us stop the mysql daemon that will cause a downtime, and in case the master server went down how we make the clients connect to the second server?.

                            You wouldn't rsync the mysql database, you use the tools built into mysql for replication.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @AlyRagab
                              last edited by

                              @AlyRagab said in Elastix HA Cluster:

                              @scottalanmiller Using Rsync will make us stop the mysql daemon that will cause a downtime, and in case the master server went down how we make the clients connect to the second server?.

                              Clients can be connected to two at once. Or you use DNS to switch. Either way works just fine.

                              Rsync does need MySQL to stop IF you are copying that data all of the time. But do you need to? We don't. We only need VoiceMail to be synced (and only sometimes) and you only need MySQL synced on changes, not on normal usage. So only occasional MySQL stops that can be combined with updates and reboots under normal circumstances.

                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post