Best Practice? Disable Mail Flow prior to switch?
Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By larcara

Thread: Best Practice? Disable Mail Flow prior to switch?

  1. #1
    Active Member
    Join Date
    Jun 2017
    Location
    Cape Town, South Africa
    Posts
    18

    Best Practice? Disable Mail Flow prior to switch?

    Good day everyone.
    I am going to switch over to my new environment this weekend and would like to know if I am on the right track.
    My big question is stopping the mail from flowing while both servers are active on the network. Will stopping Zimbra with "zmcontrol stop" stop mail from entering into the server?

    EXPORT - OLD Server:
    1. Disable the VM network.
    2. "zxsuite backup doSmartScan"
    3. Shut zimbra down (zmcontrol stop)
    4. Shut postfix down (postfix stop)
    5. Enable the network.
    6. "rsync -avH /migrate/ root@<NEW Server>:/opt/zimbra/backup/migrate/"
    7. Disable network on OLD Server.
    8. Shut server Down.


    IMPORT - NEW Server:
    1. Import Backup.
    2. NETWORK: Change IP address to OLD Server IP.
    3. NAMED: Change all IP ADDRESSES in /etc/named.conf and /etc/named/<domain> files.
    4. Take over SSL certificate using the following guidelines:
      --- https://wiki.zimbra.com/wiki/Transfe...etween_servers
      --- https://wiki.zimbra.com/wiki/Install..._Collaboration
      ** https://ssl.comodo.com/support/csr-g...bra-server.php
      ** https://ssl.comodo.com/support/certi...bra-server.php
    5. Restart System and test server.


    kind regards
    aubrey
    if you fart in the woods and nobody hears you, does it count?

  2. #2
    Zextras employee ZeXtras Reseller
    Participant

    Join Date
    Aug 2016
    Posts
    27
    Hi, cyber7!

    Quote Originally Posted by cyber7 View Post
    ...
    My big question is stopping the mail from flowing while both servers are active on the network. Will stopping Zimbra with "zmcontrol stop" stop mail from entering into the server?
    ...
    Yes, `zmcontrol stop` command shuts down all zimbra related services, but in this way, you could leave some messages on the mail queue.

    The best option is to setup some iptables rule to isolate the server, leaving the services running.
    You could monitor the log, restart the services, check that all the queues are empty, execute the last SmartScan and finally stop the server.

    Another thing to take care is that the old server will try to restart zimbra after a reboot, so remember to disable the service

    Quote Originally Posted by cyber7 View Post

    IMPORT - NEW Server:
    1. Import Backup.
    2. NETWORK: Change IP address to OLD Server IP.
    3. NAMED: Change all IP ADDRESSES in /etc/named.conf and /etc/named/<domain> files.
    4. Take over SSL certificate using the following guidelines:
      --- https://wiki.zimbra.com/wiki/Transfe...etween_servers
      --- https://wiki.zimbra.com/wiki/Install..._Collaboration
      ** https://ssl.comodo.com/support/csr-g...bra-server.php
      ** https://ssl.comodo.com/support/certi...bra-server.php
    5. Restart System and test server.
    Before import the backup you must be sure that the server is well configured: Zextras backup will import Domain, Cos, Account etc, but you have to manually configure and test Global and Server configuration, and all the customization made on the old server (Postfix, MTA Network, Signature, etc etc)

    Remember also to update /etc/hosts, with the correct FQDN and check all DNS resolution.

    In conclusion: Test the new server, maybe on a different subnet, to be sure that everything will work fine

    Have a nice day.
    Luca, the Zextras team
    cyber7 likes this.
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

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
  •