Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-2010, 06:23 AM
Intermediate Member
 
Posts: 24
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
Reply With Quote
  #2 (permalink)  
Old 05-06-2010, 07:14 AM
Moderator
 
Posts: 2,207
Default

zmprov has a deleteserver command.
Reply With Quote
  #3 (permalink)  
Old 05-06-2010, 07:21 AM
Intermediate Member
 
Posts: 24
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
Reply With Quote
  #4 (permalink)  
Old 05-06-2010, 07:30 AM
Moderator
 
Posts: 2,207
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.
Reply With Quote
  #5 (permalink)  
Old 05-06-2010, 02:24 PM
Moderator
 
Posts: 1,209
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.
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #6 (permalink)  
Old 06-13-2010, 02:57 PM
Senior Member
 
Posts: 66
Default

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

ERROR: service.FAILURE (system failure: ZimbraLdapContext)
Reply With Quote
  #7 (permalink)  
Old 06-14-2010, 06:22 AM
Moderator
 
Posts: 1,209
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
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #8 (permalink)  
Old 06-14-2010, 09:27 PM
Senior Member
 
Posts: 66
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.
Reply With Quote
  #9 (permalink)  
Old 06-28-2010, 09:00 AM
Member
 
Posts: 10
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
Reply With Quote
  #10 (permalink)  
Old 06-28-2010, 09:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.