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

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.

View Poll Results: Is this a stupid questions?
Yeah RTFHM (H=hidden) !@!#$#$%@ 0 0%
No man, pure genius! 1 100.00%
Meh. 0 0%
I dunno, I'm busy Mother's Day shopping (reminder!) 0 0%
Voters: 1. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-10-2006, 09:24 PM
Intermediate Member
 
Posts: 23
Default LDAP Replication: Updated materials/docs/howtos/zen-mind-waves??

Hi there,

I've poked through the Multi-Site Installation guide and some notes I found in the Wiki as well as some release notes about setting LDAP replication up. I've tried a couple times to get it running and not been able. Each time I try, I have a working multisite setup, with a master LDAP host, and mail routing working and the address books displaying names/addresses properly, mail routes from mailboxes on one server to users on another, so all in all, everything is function _until_ I try LDAP replication.

I think something important to note, just from reading other posts, is I do _not_ have my MX and A records setup officially. I _am_ running named on each server to do caching and I have setup the zones for my domain and that stuff all works fine, I just haven't transferred authority for my domain over to my nameservers, as our mail is currently outsourced and I'm migrating it in-house. All name resolution in-house on systems involved is pointing to my inhouse-DNS servers, so it should seem to Zimbra and any services involved that my nameservers are _THEBOSSOF_ my domain...ie-they aren't talking to any DNS servers out on the interweeb.

(as an aside, is it objectionable to be running named on your zimbra servers for caching and resolution? the DNS load is currently distributed across three zimbra/dns servers)

I noticed in rsharpe's post from a few days ago (LDAP Replication Stops)
that KevinH mentioned there may be a a fix in a 3.1.1 patch release coming soon...and today I notice 3.1.1_GA_394...it this the magic I've been hoping for??

Anyway, I did a pretty poor job of keeping my errors logged, and now that I've stoped LDAP replication and resetup the hurt...but what did happen was Zimbra-store would error like mad, postfix spitting out a ton of messages about things not working, like pages and pages of it, so I'd edit the ldap_url and put different concoctions in there of my main and backup servers, trying just the main one, or just the localhost one, or localhost first and main second, little success. I did notice initially in my [b]zmlocalconfig[b] output, that the second server defined in ldap_url has the port number stapled on the end, but it was the only one...like
ldap_url="ldap://backup.example.com ldap://main.example.com:389"
which seemed wierd.

So with some tinkering of ldap_url I did get all the services to finally startup again without err...but when I went into admin console and clicked on the second server, got


Message: Csfe service error
Error code: service.PROXY_ERROR
Method: ZmCsfeCommand.invoke
Details:error while proxying request to target server (url=https://hr2.kinglandford.com:7071/service/admin/soap/): Connection refused


Any ideas on this? I realize I haven't got the necessary details here for someone to really diagnose this, but I hope to open up some dialogue on this replication subject. I've been showing lots of people the interface and the admin interface, and they're totally floored, often comments about how much they hate Exchange and want to dump it for Zimbra (after seeing it). So I've recommended it a few places, and I know that one of the questions is how it handles multiple sites and message routing, etc, etc.

Thanks for any input or direction on this, and thanks to the Zimbra guys for a great product (my days of being whipped into submission by qmail are over).
Reply With Quote
  #2 (permalink)  
Old 05-11-2006, 02:05 PM
Zimbra Employee
 
Posts: 4,784
Default

LDAP replication should be working better in 3.1.1. Your best bet is to upgrade to that and then restest it. Start first with replication off and then turn it on. It's still not 100% as we've hit some errors but it should be working better.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 05-11-2006, 05:26 PM
Intermediate Member
 
Posts: 23
Default

Thanks for the reply Kevin, appreciated. It is 3.1.1 latest RHEL package that I'm working with, and it was acting up with. I'm sitting on it a bit, as I have some other servers to bring online, and then I'll test again before we have to go into production.

Just want to make check, I'm uncertain which is authoritative document on setting up replication, the post you made awhile back in the forums (I think the date on it was November, 2005), or the Wiki (http://wiki.zimbra.com/index.php?title=LDAP) or a release note I saw in a CVS awhile back (link seems to be dead at the moment...but it's http://cvs.zimbra.com:8080/viewrep/~...tion_howto.txt)

Reason I ask is there is a little variance in the post-install steps where you update the ssh keys and tell the second machine to become an LDAP replica, etc.

Thanks for you help, much appreciated!

-Andre
Reply With Quote
  #4 (permalink)  
Old 05-11-2006, 06:35 PM
Zimbra Employee
 
Posts: 4,784
Default

I think the how-to in the docs dir is the *most* recent. In general this feature is pretty new. I talked some a couple folks and it seems the *fix* for 3.1.1 was to just comment out replication. So we never got it working. Lots of nasty problems with BDB, SASL, and SSL.

BTW: How big is the system your building? For most smaller systems you don't *need* a replica. Unless your getting hammered by spam and want to offload the mta/replica some dedicated boxes it won't be a huge hit.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 05-13-2006, 10:16 AM
Intermediate Member
 
Posts: 23
Default

It's not so much that I have a big site, we're only talking a few hundred mailboxes here, involving three servers and possible one or two more as other "arms" of the business get involved, but it's all about geography and cost savings.

Where I'm located in the Northwest Territories (northern Canada, up by Santa's workshop) bandwidth is at a premium cost and it's not as plentiful as I'd like. We also find the responsivness of our WAN connections and stability are limited, so my mandate is keeping as much traffic off the WAN and on the local networks as possible. Updates to my LDAP databases will be so infrequent that any LDAP replication would pale in comparison to the bandwidth used in lookup of every message that passes the MTA. I know LDAP is light in that regard (hence the Lightweigh in LDAP) but I also have to consider the times that our site-to-site WAN links degrade or go down completely. It would be nice if mail operations in the local office could continue gracefully while just queueing any remote mail for when the link is back up.

Does this make sense, or am I outotlunch?

Thanks,
Andre
Reply With Quote
  #6 (permalink)  
Old 05-14-2006, 05:58 PM
Zimbra Employee
 
Posts: 4,784
Default

Yep makes perfect sense. Slow WANs and bandwidth concerns are very valid reasons to replicate. Hopefully we'll get this working soon. Current plan is the next release.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 05-16-2006, 08:19 AM
Elite Member & Volunteer
 
Posts: 255
Default

Quote:
Originally Posted by KevinH
I think the how-to in the docs dir is the *most* recent. In general this feature is pretty new. I talked some a couple folks and it seems the *fix* for 3.1.1 was to just comment out replication. So we never got it working. Lots of nasty problems with BDB, SASL, and SSL.

BTW: How big is the system your building? For most smaller systems you don't *need* a replica. Unless your getting hammered by spam and want to offload the mta/replica some dedicated boxes it won't be a huge hit.

Is there a bug that we can track or vote upon for this Kevin????? Thanks!
Reply With Quote
  #8 (permalink)  
Old 05-20-2006, 06:17 PM
Zimbra Employee
 
Posts: 4,784
Default

I don't see one.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0