Jump to content

DR Triburg: Difference between revisions

From TetraWiki
Faisal (talk | contribs)
Created page with "category:Triburg category:Zimbra Secondary MX of Triburg - dr.triburg.co.in Zimbra Version - Release 7.2.5_GA_2906.RHEL6_64_20130911101145 CentOS6_64 FOSS edition ..."
 
 
(3 intermediate revisions by the same user not shown)
Line 36: Line 36:


To verify check the logs on both server properly.
To verify check the logs on both server properly.
==LDAP synchronization Process ( User Accounts Synchronization ) ==
'''
Reference''' - http://blog.zimbra.com/blog/archives/2007/05/exporting-and-importing-zimbra-ldap-data.html
http://wiki.zimbra.com/wiki/LDAP_data_import_export
'''On Main mail server i.e mail.triburg.co.in'''
su - zimbra
/opt/zimbra/libexec/zmslapcat backup
ls -l backup
ldap.bak.20140417131701
Change "lmtp:mail.triburg.co.in:7025" to "smtp:124.30.5.188:2525" .Change all entry of mail.triburg.co.in to dr.triburg.co.in .
save in file ldap-copy-dr.ldif
'''on the DR Server'''
copy the created ldap-copy-dr.ldif
First Take Backup of DR's LDAP via
/opt/zimbra/libexec/zmslapcat  /opt/zimbra/backup
Ldap file will be created in /opt/zimbra/backup directory
Now follow the below process
su - zimbra
zmcontrol stop
rm -rf /opt/zimbra/data/ldap/hdb/*
mkdir -p /opt/zimbra/data/ldap/hdb/db /opt/zimbra/data/ldap/hdb/logs
chown -R zimbra:zimbra /opt/zimbra/data/ldap
/opt/zimbra/openldap/sbin/slapadd -q -b "" -F /opt/zimbra/data/ldap/config -cv -l /tmp/ldap-copy-dr.ldiff
Start zimbra and test the admin console and mail's flow .

Latest revision as of 04:00, 18 June 2015


Secondary MX of Triburg - dr.triburg.co.in

Zimbra Version - Release 7.2.5_GA_2906.RHEL6_64_20130911101145 CentOS6_64 FOSS edition

Processs:- Installed Zimbra on the server.

domain: triburg.co.in

Migrated All the users from their mail.triburg.co.in to dr.triburg.co.in

Migrated the Distribution List to mail.triburg.co.in to dr.triburg.co.in

Changes made on mail.triburg.co.in

An additional port 2525 has been added for receiving of the mails.

vim /opt/zimbra/postfix/conf/master.cf.in
2525      inet  n       -       n       -       -       smtpd

Ref: https://wiki.zimbra.com/wiki/Adding_additional_SMTP_listener_ports

zmmtactl stop
zmmtactl start

Changes made on dr.triburg.co.in

zmprov ma username@triburg.co.in zimbraMailTransport smtp:124.30.5.188:2525


All the mails coming to dr.triburg.co.in will be redirected to mail.triburg.co.in on port 2525

To verify check the logs on both server properly.

LDAP synchronization Process ( User Accounts Synchronization )[edit]

Reference - http://blog.zimbra.com/blog/archives/2007/05/exporting-and-importing-zimbra-ldap-data.html

http://wiki.zimbra.com/wiki/LDAP_data_import_export

On Main mail server i.e mail.triburg.co.in

su - zimbra 
/opt/zimbra/libexec/zmslapcat backup
ls -l backup 
ldap.bak.20140417131701


Change "lmtp:mail.triburg.co.in:7025" to "smtp:124.30.5.188:2525" .Change all entry of mail.triburg.co.in to dr.triburg.co.in .

save in file ldap-copy-dr.ldif


on the DR Server

copy the created ldap-copy-dr.ldif

First Take Backup of DR's LDAP via

/opt/zimbra/libexec/zmslapcat  /opt/zimbra/backup

Ldap file will be created in /opt/zimbra/backup directory

Now follow the below process

su - zimbra 
zmcontrol stop
rm -rf /opt/zimbra/data/ldap/hdb/*
mkdir -p /opt/zimbra/data/ldap/hdb/db /opt/zimbra/data/ldap/hdb/logs
chown -R zimbra:zimbra /opt/zimbra/data/ldap
/opt/zimbra/openldap/sbin/slapadd -q -b "" -F /opt/zimbra/data/ldap/config -cv -l /tmp/ldap-copy-dr.ldiff

Start zimbra and test the admin console and mail's flow .