Hot Standbay with Zextras Backup
Results 1 to 2 of 2

Thread: Hot Standbay with Zextras Backup

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    2

    Hot Standbay with Zextras Backup

    Hello everyone,

    We are trying to implement a sort of Hot Standby architecture. Our mail server is quite small (~100 mailbox) but for us a downtime on the mail server could be a big problem...

    So, the idea is to have two virtual server, the second one just a copy of the master server.
    We will manually turn on the slave server just if the master one will fail.

    We installed ZexTras Backup module that is use a NFS connection mounted in RW on the master and in RO mode on the slave (we know that NFS is not the best solution, but for this first time we will try with NFS, maybe in a second time we will use a dedicated ISCSI storage changing the RW/RO setting.)

    We will update the slave server using the "import backup" function, setting as the import path the NFS repository that has been written by the master server.
    We tested it, and for ~100GB of mails it takes some hours as we expected..
    Then we modified one account on the master server adding few mails, and one contact in the address list.
    So we tried to redone the import (on all account and domain), but the Zextras Backup seems to ignore the previous restore. It just rewrite all mail on all account.
    In fact, our idea is to do an import every hour, so in case of a failure on the first server we will have almost alle the mail messages on the second server.

    So we will know, there is the possibilty to do a sort of "incremental restore"?

    Thanks

  2. #2
    CTO ZeXtras Employee d0s0n's Avatar
    Join Date
    Apr 2011
    Posts
    570
    Hi TnNet and welcome to the forums.

    Quote Originally Posted by tnnet View Post
    Hello everyone,

    We are trying to implement a sort of Hot Standby architecture. Our mail server is quite small (~100 mailbox) but for us a downtime on the mail server could be a big problem...
    It's Cool Feature and it's also in our ToDoList from the beginning... but for now it is unsupported and it isn't yet planned

    Quote Originally Posted by tnnet View Post
    So, the idea is to have two virtual server, the second one just a copy of the master server.
    We will manually turn on the slave server just if the master one will fail.

    We installed ZexTras Backup module that is use a NFS connection mounted in RW on the master and in RO mode on the slave (we know that NFS is not the best solution, but for this first time we will try with NFS, maybe in a second time we will use a dedicated ISCSI storage changing the RW/RO setting.)

    We will update the slave server using the "import backup" function, setting as the import path the NFS repository that has been written by the master server.
    We tested it, and for ~100GB of mails it takes some hours as we expected..
    Then we modified one account on the master server adding few mails, and one contact in the address list.
    So we tried to redone the import (on all account and domain), but the Zextras Backup seems to ignore the previous restore. It just rewrite all mail on all account.
    In fact, our idea is to do an import every hour, so in case of a failure on the first server we will have almost alle the mail messages on the second server.

    So we will know, there is the possibilty to do a sort of "incremental restore"?

    Thanks
    To do something like this, ZxBackup needs to have the map_files data. These maps are created on every import so if you want a slave machine synced with the first, The only way is to follow the Incremental Migration Guide just as if you were performing a migration toward a new clean server (slave). Obviously the worst side effect in this way is that you don't remove all deleted files from the slave machine. There are also many others issues like for example:
    • How to turn back to the master as it becomes available
    • RealTime synchronization
    • Licensing for the slave host



    ZeXtras Suite is always in continuous evolution and we are always open to customers feedbacks and suggestions.

    D0s0n
    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    Head of ZeXtras System Administrators

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •