Hello guys,
I need help with promoting replica and demoting master servers.
according to the guide, i should stop all servers and then locate these lines in slapd.conf.in in replica server and delete it
Code:
syncrepl rid=100
provider=ldap://mail.zimbra.asi.com:389
retry="60 +"
type=refreshAndPersist
schemachecking=off
searchbase=""
bindmethod=simple
binddn=uid=zmreplica,cn=admins,cn=zimbra
credentials=@@ldap_replication_password@@
starttls=critical
logbase="cn=accesslog"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
syncdata="accesslog"
updateref ldap://mail.zimbra.asi.com:389 did i delete the correct lines?
then after that, i should edit the local config files
Code:
zmlocalconfig –e ldap_master_url= mail2.zimbra.asi.com
zmlocalconfig –e ldap_url= mail2.zimbra.asi.com
zmlocalconfig –e ldap_is_master= true
are these commands correct?
then i should change the ldap host
Code:
zmlocalconfig –e ldap_host= mail2.zimbra.asi.com
is this right?
and then run zmmtainit
Code:
/opt/zimbra/libexec/zmmtainit XX
finally start zimbra right?
i get this error whenever i start zimbra
Code:
daemon: listen URL "mail2.zimbra.asi.com" parse error=3
what am i doing wrong? pls help