Results 1 to 2 of 2

Thread: Renaming servers(but not accounts)in multi-server install

  1. #1
    Join Date
    Feb 2012
    Rep Power

    Default [Solved] Renaming servers(but not accounts)in multi-server install

    Good day to you all.

    I'm sort of in a weird spot in that... the pilot/lab for my companies Zimbra installation is also now a production environment.

    There are three servers (LDAP, mailbox store, and MTA), all within

    there are active accounts all with as their domain.

    Additional servers were added (LDAP slave, more mailbox stores, Proxy...) with

    For future administration purposes we would like to rename all of the servers to (mainly for SSL purposes) while keeping all user information intact.

    My search-fu isn't very strong but what I seem to have pieced together is that I should start with the LDAP server renaming, then the mailbox store and finally the MTA. (following ZmSetServerName - Zimbra :: Wiki)

    The question here is... what is the flag -skipusers ... this seems of interest in my situation.

    I also considered just promoting an LDAP slave in domainB to the master instead of trying to rename the master... would this be the safer bet?

    When it comes down to it I'm not terribly worried about any of the servers currently within only (3 total) as they are the ones in production, not domainB.

    If I can safely get those renamed then I think everything else should fall into place. Any tips/advice would be greatly appreciated and thanks in advance!
    Last edited by zjdw25; 02-20-2012 at 07:23 AM.

  2. #2
    Join Date
    Feb 2012
    Rep Power


    This is what worked for me for 7.1.3:
    The solution was to use zmsetservername.
    zmsetservername -s to skip users and just rename the server. On mailboxstores there are a couple attribute values that tie an account to a specific mailbox. (zmprov ga zimbraMailHost zimbraMailTransport) So doing the server rename in two steps is the safe way to do it.

    1) Ensure the new server names are valid DNS entries
    2) zmsetservername -s -o -v -n [skip users]
    3) do OS based renaming.. change hostname, /etc/hosts etc
    4) check all servers and ensure ldap_url is configured properly (if you renamed any ldap servers) zmlocalconfig -e ldap_url="ldap://new.ldap.slave:389 ldap://new.ldap.master:389"
    5) generate new self signed SSL certs.

    *** verify that all the above went smoothly. Services start successfully. zmprov commands work as expected. No bad things in /opt/zimbra/log/mailbox.log

    6) if all of that goes well and services start alright then run "zmsetservername -u -o -v -n" to change the user database to point accounts to the new mailbox store. (ldap must be running for this to work)

Similar Threads

  1. Replies: 5
    Last Post: 04-27-2012, 10:40 AM
  2. Q: Install on a CentOS Dedicated server...
    By dgentile in forum Installation
    Replies: 6
    Last Post: 01-25-2011, 01:36 PM
  3. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  4. Multi Server Install
    By rrojas in forum Installation
    Replies: 2
    Last Post: 04-13-2007, 07:20 AM

Posting Permissions

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