Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: removing a server from multiserver install

  1. #1
    djingo is offline Intermediate Member
    Join Date
    Dec 2007
    Posts
    24
    Rep Power
    7

    Default removing a server from multiserver install

    Dear all,
    we have a distributed install with 3 servers (all running ZCS Ne 5.0.5):
    - Server A having master ldap
    - Server B having replica,mailstore,mta
    - Server C having replica, mailstore,mta

    We are in the process of removing Server C from our multiserver installtion.
    The server does not contain any mailbox/user account in its mailstore.
    What do i need to do to remove this server from the ldap/global system ?

    Do i just need to uninstall from the server C or are there any steps i need to do? (server A and server B need to be still in production)

    Thanks all for the help as my searches on the forum didn' show up a clear answer,

    Mark

  2. #2
    Klug's Avatar
    Klug is online now Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    zmprov has a deleteserver command.

  3. #3
    djingo is offline Intermediate Member
    Join Date
    Dec 2007
    Posts
    24
    Rep Power
    7

    Default

    Thank you Klug.

    In which sequence should i proceed?
    1) uninstall zimbra from server C
    2) run zmprov deleteserver on master ldap

    Or first zmprov deleteserver and later on remove zimbra installation?

    Thanks for the support

  4. #4
    Klug's Avatar
    Klug is online now Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    Never tried, sorry 8-(

    What I would do is run zmprov to delete the server logicaly from the insfrastructure, then stop it.

    And reformat it if you want to use it for stg else.

  5. #5
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    You don't need to uninstall Zimbra from the server to be deleted, but you should shut down Zimbra on the server to be deleted first!

    I would also just be sure that nothing remains on that server, like distribution lists or something else you might not think to look for...

    Next, on the LDAP master as the zimbra user, just run:

    zmprov ds fqdn_of_server_to_be_deleted

    Afterwards, you can also update all the ssh keys on the remaining servers to remove the ssh key of the server you just deleted by running on all remaining servers as the zimbra user:

    zmupdateauthkeys

    At that point you can reformat the disks on the deleted server and you are done! After a while the Admin Console will update as well with the deleted server no longer showing up anywhere.

  6. #6
    stuartg.orion is offline Senior Member
    Join Date
    May 2007
    Location
    Auckland
    Posts
    68
    Rep Power
    8

    Default

    This method returns the following error for me after running the zmprov ds:

    ERROR: service.FAILURE (system failure: ZimbraLdapContext)

  7. #7
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    In the Multi-Server Installation Guide there is a section on LDAP replicas, containing the steps to add (and remove) an LDAP replica.

    You may need to go through the steps to remove the LDAP replica from server C before running the zmprov ds command again against server C.

    Please keep us posted as to your progress.

    Hope that helps,
    Mark

  8. #8
    stuartg.orion is offline Senior Member
    Join Date
    May 2007
    Location
    Auckland
    Posts
    68
    Rep Power
    8

    Default

    This wiki document did the trick:

    Promoting Replica to LDAP Master 6.0 - Zimbra :: Wiki

    Although there are some errors on the page as mentioned in the discussion tab.

  9. #9
    nlebihan is offline Member
    Join Date
    Jun 2010
    Posts
    10
    Rep Power
    5

    Default

    But there is nothing about deleting any existing server, only promote how to.
    I tried the following command and got the following error message:

    zmprov ds ldap1.domain.com
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

    After promotting a new ldap master following this how to Promoting Replica to LDAP Master 6.0 - Zimbra :: Wiki
    i just want to delete any link to the old ldap master...

    If somebody knows ...

    Thanks in advance

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,484
    Rep Power
    56

    Default

    Quote Originally Posted by nlebihan View Post
    After promotting a new ldap master following this how to Promoting Replica to LDAP Master 6.0 - Zimbra :: Wiki
    i just want to delete any link to the old ldap master...
    It tells you what to do in section 2.i of that article unless I'm missing something in your question?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Replies: 1
    Last Post: 06-06-2009, 08:28 PM
  3. install on nat server that uses DHCP?
    By authsum in forum Installation
    Replies: 1
    Last Post: 04-03-2008, 01:56 PM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 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
  •