Results 1 to 7 of 7

Thread: port conflict with two zimbra servers on the same lan

  1. #1
    ecobrazim is offline Loyal Member
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    91
    Rep Power
    6

    Question port conflict with two zimbra servers on the same lan

    zcs-NETWORK-6.0.9_GA_2686.UBUNTU10_64

    Hi all,

    My setup will help explain my problem so here it is:

    I have a single server running kvm. on that server I have zimbra oss 6.0.8 (live)
    and I added a vm to test zimbra ne 6.0.9 (test)

    I only have a single IP.

    At installation I changed all the default ports to avoid any conflicts with the live zimbra server. so 993 became 1993, etc.

    The only port which I can't seem to change is the admin port 7071.

    I tried the following as the user zimbra:

    Code:
    $ zmprov ms `zmhostname` zimbraAdminPort 17071
    Code:
    $ zmprov mcf zimbraAdminPort 17071
    Code:
    $ zmlocalconfig -e zimbra_admin_service_port=17071
    ... each time restarting zimbra with:

    Code:
    $ zmcontrol restart
    sadly the port remains on 7071.

    Any advice on how to change the admin port or simply setup the two servers to work together without any risk of affecting the live one is very welcome! :)

  2. #2
    ecobrazim is offline Loyal Member
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    91
    Rep Power
    6

    Default

    Did anyone ever manage to change the admin port? I'd really like to try out the network edition but I can't have the admin console conflict with the one in production.

    Thoughts and experiences anyone?

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by ecobrazim View Post
    Did anyone ever manage to change the admin port? I'd really like to try out the network edition but I can't have the admin console conflict with the one in production.

    Thoughts and experiences anyone?
    Why don't you set it up in a Split Domain?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    ecobrazim is offline Loyal Member
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    91
    Rep Power
    6

    Default

    Hi phoenix,

    Thanks for your reply.

    I thought about it but wasn't sure about two things which you might be able to answer:

    1. Will I be able to properly test all functionalities of the network edition?
    2. How complex will it be to revert back to the original situation?

    I have a zimbra oss in 'prod' which I'd like to move to an ne edition but can not risk down time or headaches.

    Maybe the easiest would be to ask for an extra ip for a couple of months to test ne properly.

    Anyway, any thoughts on the risk to the original infrastructure are welcome

  5. #5
    psgandalf is offline Active Member
    Join Date
    Nov 2007
    Posts
    27
    Rep Power
    7

    Default

    If you don't have to be able to access the admin page from outside there is no problem having the same port on two machines. If you need to access from the outside either if you have a firewall/router that can forward port to different port numbers NAT ex:
    port 7071 -> port 7071 on prod. server. Port 8081 -> port 7071 on test. server. If that's not an option put a server with pound Apsis Gmbh or another reverse proxy. With such you can forward for an example test.yourdomain.com to testserver port 7071

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by ecobrazim View Post
    Hi phoenix,

    Thanks for your reply.

    I thought about it but wasn't sure about two things which you might be able to answer:

    1. Will I be able to properly test all functionalities of the network edition?
    2. How complex will it be to revert back to the original situation?

    I have a zimbra oss in 'prod' which I'd like to move to an ne edition but can not risk down time or headaches.

    Maybe the easiest would be to ask for an extra ip for a couple of months to test ne properly.

    Anyway, any thoughts on the risk to the original infrastructure are welcome
    There should be no problem using a split domain, you can test the functionality in that environment. The NE would relay through your production server and the production server would forward mail for accounts which don't exist in it's server. To reverse the split domain you need to disable the attributes you've set in the command examples in the wiki article - there's details in the wiki (IIRC) and in the forums on what's needed. Obviously the only thing you woin't get is a full load for incoming email but that shouldn't be a problem.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    ecobrazim is offline Loyal Member
    Join Date
    Sep 2008
    Location
    Belgium
    Posts
    91
    Rep Power
    6

    Default

    Hi all,

    Thank you so much for your help! I still find it odd that neither of my commands ever changed the default admin port but hey, no matter. I decided to simply buy an extra IP to avoid hours of fiddling on a production environment. That way I might have a few days left to test before the license runs out.

    Thanks again for your help and advice.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 07:40 AM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  3. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  5. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM

Posting Permissions

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