Hi all,
I have 04 Servers, i perform flow this guide: htps://files.zimbra.com/website/docs/8.6/Zimbra_OS_Multi-Server_Install_8.6.0.pdf
This multiserver installation order:
1st: ldap1.examble.com
- zimbra-core
- zimbra-ldap
2nd: mailbox1.examble.com
- zimbra-core
- zimbra-logger
- zimbra-snmp
- zimbra-store
- zimbra-apache
- zimbra-spell
- zimbra-convertd
3rd: mta1.examble.com
- zimbra-mta
- zimbra-dnscache
4th: ldap2.examble.com, (i perform flow this guide: https://wiki.zimbra.com/wiki/LDAP_Multi ... eplication)
- zimbra-core
- zimbra-ldap
After successfull install ldap2.examble.com, i added to mta1 and mailbox1 servers by this command:
zmlocalconfig -e ldap_url="ldap://ldap1.examble.com:389 ldap://ldap2.examble.com:389"
zmcontrol restart
These servers are operating correctly, but when this ldap1.examble.com server is down, client cannot authenticate to mailbox1 via https and IMAP, mta1 via smtp.
Client can authenticate only to mailbox1 and mta1 when I restart services ([zimbra@mta1 ~]$ zmcontrol restart and [zimbra@mailbox1~]$ zmcontrol restart) on both mailbox1 and mta1 servers
Could you tell me about mistake, and send me solution
Thanks in advance!
Have a problem about LDAP_Multi_Master_Replication
Re: Have a problem about LDAP_Multi_Master_Replication
what is the output of below command on both ldap server and are the ldap servers in sync?
$ /opt/zimbra/libexec/zmldapmmrtool -q
$ /opt/zimbra/libexec/zmldapmmrtool -q
Re: Have a problem about LDAP_Multi_Master_Replication
Thank you Raun!Raun wrote:what is the output of below command on both ldap server and are the ldap servers in sync?
$ /opt/zimbra/libexec/zmldapmmrtool -q
1. This first case, as root I turned off "poweroff" ldap1.example.com
The output of below command on Ldap2
[zimbra@ldap2 ~]$ /opt/zimbra/libexec/zmldapmmrtool -q
Master replication information
Master replica 1
rid: 100 URI: ldap://ldap1.examble.com:389/ TLS: critical
On mailbox1.example.com I perform (zmcontrol restart) command, client can authenticate to mta1 and mailbox1
[zimbra@mailbox1 ~]$ zmcontrol restart
Host mailbox1.example.com
Stopping vmware-ha...skipped.
/opt/zimbra/bin/zmhactl missing or not executable.
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...Done.
Host mailbox1.example.com
Connect: Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting snmp...Done.
Starting spell...Done.
Starting stats...Done.
Starting service webapp...Done.
Starting zimbra webapp...Done.
Starting zimbraAdmin webapp...Done.
Starting zimlet webapp...Done.
Status show on mailbox1.examble.com this flow figure, I think about misstake, mailbox1 cannot detect ldap1 server is down 2. Different of test case
When on ldap1.examble.com I perform (zmcontrol stop) command, client can authenticate to mta1 and maibox1 and Monitor server status on mailbox1 But I don`t want restart services on mailbox1.example.com and mta1.example.com, I want mta1 and mailbox1 detect it and auto connect to ldap2.example.com to client authentication
Re: Have a problem about LDAP_Multi_Master_Replication
Looks like you failed to set ldap_master_url config key.trungnt wrote:Hi all,
After successfull install ldap2.examble.com, i added to mta1 and mailbox1 servers by this command:
zmlocalconfig -e ldap_url="ldap://ldap1.examble.com:389 ldap://ldap2.examble.com:389"
Could you tell me about mistake, and send me solution
Thanks in advance!
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Re: Have a problem about LDAP_Multi_Master_Replication
Thank you quanah!quanah wrote:Looks like you failed to set ldap_master_url config key.trungnt wrote:Hi all,
After successfull install ldap2.examble.com, i added to mta1 and mailbox1 servers by this command:
zmlocalconfig -e ldap_url="ldap://ldap1.examble.com:389 ldap://ldap2.examble.com:389"
Could you tell me about mistake, and send me solution
Thanks in advance!
Affter I set ldap_master_url config key on mta1 and mailbox1, my system is working, but When i shutdown Ldap1 (poweroff) Moitor status on mailbox1 show this folow figure
On mailbox1.example.com server
[zimbra@mailbox1 ~]$ zmlocalconfig -s ldap_master_url
ldap_master_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
[zimbra@mailbox1 ~]$ zmlocalconfig -s ldap_url
ldap_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
On mta1.example.com server
[zimbra@mta1 ~]$ zmlocalconfig -s ldap_master_url
ldap_master_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
[zimbra@mta1 ~]$ zmlocalconfig -s ldap_url
ldap_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
On ldap1.example.com server
[zimbra@ldap1 ~]$ zmlocalconfig -s ldap_master_url
ldap_master_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
[zimbra@ldap1 ~]$ zmlocalconfig -s ldap_url
ldap_url = ldap://ldap1.example.com:389 ldap://ldap2.example.com:389
On ldap2.example.com server
[zimbra@ldap2 ~]$ zmlocalconfig -s ldap_master_url
ldap_master_url = ldap://ldap2.example.com:389 ldap://ldap1.example.com:389
[zimbra@ldap2 ~]$ zmlocalconfig -s ldap_url
ldap_url = ldap://ldap2.example.com:389 ldap://ldap1.example.com:389
Could you tell me please about solution
- vavai
- Advanced member
- Posts: 174
- Joined: Thu Nov 14, 2013 2:41 pm
- Location: Indonesia
- ZCS/ZD Version: 0
- Contact:
Re: Have a problem about LDAP_Multi_Master_Replication
Hi,
Did you mean that ldap1 status on Zimbra Admin didn't updated as "red" status? The monitor status are updated frequently after a while, CMIIW.
Did you mean that ldap1 status on Zimbra Admin didn't updated as "red" status? The monitor status are updated frequently after a while, CMIIW.
Re: Have a problem about LDAP_Multi_Master_Replication
Thank vavai!vavai wrote:Hi,
Did you mean that ldap1 status on Zimbra Admin didn't updated as "red" status? The monitor status are updated frequently after a while, CMIIW.
Yes i do, ldap1 status on Zimbra Admin didn't updated as "red" status. please help me!
Tks
Re: Have a problem about LDAP_Multi_Master_Replication
I would not rely on the admin console to provide accurate information on the up/down status of a server.trungnt wrote:Thank vavai!vavai wrote:Hi,
Did you mean that ldap1 status on Zimbra Admin didn't updated as "red" status? The monitor status are updated frequently after a while, CMIIW.
Yes i do, ldap1 status on Zimbra Admin didn't updated as "red" status. please help me!
Tks
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Re: Have a problem about LDAP_Multi_Master_Replication
Thank you for your reply,quanah wrote:I would not rely on the admin console to provide accurate information on the up/down status of a server.trungnt wrote:Thank vavai!vavai wrote:Hi,
Did you mean that ldap1 status on Zimbra Admin didn't updated as "red" status? The monitor status are updated frequently after a while, CMIIW.
Yes i do, ldap1 status on Zimbra Admin didn't updated as "red" status. please help me!
Tks
Could you tell me about, command or tools or guide to resovle it.
Tks