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 Display Modes
  #1 (permalink)  
Old 04-16-2009, 03:47 AM
Intermediate Member
 
Posts: 15
Default need help in zimbra replication

hello guys,

sorry for noobish questions. i'm new to this and confused.
i'm using split dns for my zimbra server here since my server is behind a firewall.
now, my boss wants me to do an ldap replication

do i have to add another zone entry in BIND configuration or should i just add an MX and A record in my current zimbra domain?

thanks for any help,
Jantoy
Reply With Quote
  #2 (permalink)  
Old 04-16-2009, 07:27 PM
Intermediate Member
 
Posts: 15
Default

hi guys,

i got the firs issue resolved. i just needed to add mx and a records

my next problem is when i was installing ldap and snmp in replica server
it won't allow me to continue if hostname and the ldap master are not the same

in common configuration, if hostname is mail2.zimbra.asi.com and my ldap master hostname is mail.zimbra.asi.com, i can't proceed with the installation

if i make them the same i get an error later in the installation


may i know what's wrong with my setup?
Reply With Quote
  #3 (permalink)  
Old 04-16-2009, 07:48 PM
Intermediate Member
 
Posts: 15
Default

i'm getting this during installation of replica server
i got not "a" option

Code:
Main menu

   1) Common Configuration:
        +Hostname:                             mail2.zimbra.asi.com
        +Ldap master host:                     mail.zimbra.asi.com
        +Ldap port:                            389
        +Ldap Admin password:                  set
        +Require secure interprocess communications: yes                        
        +TimeZone:                             (GMT+08.00) Beijing / Chongqing / Hong Kong / Urumqi

   2) zimbra-ldap:                             Enabled
   r) Start servers after configuration        yes
   s) Save config to file
   x) Expand menu
   q) Quit

Address unconfigured (**) items or correct ldap configuration  (? - help)
on master server

Code:
[zimbra@mail ~]$ host `hostname`
mail.zimbra.asi.com has address 192.36.253.120
[zimbra@mail ~]$
dig zimbra.asi.com mx

Code:
; <<>> DiG 9.3.3rc2 <<>> zimbra.asi.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54104
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;zimbra.asi.com.                        IN      MX

;; ANSWER SECTION:
zimbra.asi.com.         3600    IN      MX      5 mail.zimbra.asi.com.
zimbra.asi.com.         3600    IN      MX      10 mail2.zimbra.asi.com.

;; AUTHORITY SECTION:
zimbra.asi.com.         3600    IN      NS      192.36.253.120.zimbra.asi.com.

;; ADDITIONAL SECTION:
mail.zimbra.asi.com.    3600    IN      A       192.36.253.120
mail2.zimbra.asi.com.   3600    IN      A       192.36.253.201

;; Query time: 12 msec
;; SERVER: 192.36.253.120#53(192.36.253.120)
;; WHEN: Fri Apr 17 09:48:01 2009
;; MSG SIZE  rcvd: 136

[zimbra@mail ~]$
dig zimbra.asi.com any

Code:
; <<>> DiG 9.3.3rc2 <<>> zimbra.asi.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5419
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;zimbra.asi.com.                        IN      ANY

;; ANSWER SECTION:
zimbra.asi.com.         3600    IN      SOA     zimbra.asi.com. root.zimbra.asi.com. 2 10800 3600 604800 3600
zimbra.asi.com.         3600    IN      NS      192.36.253.120.zimbra.asi.com.
zimbra.asi.com.         3600    IN      MX      10 mail2.zimbra.asi.com.
zimbra.asi.com.         3600    IN      MX      5 mail.zimbra.asi.com.

;; ADDITIONAL SECTION:
mail.zimbra.asi.com.    3600    IN      A       192.36.253.120
mail2.zimbra.asi.com.   3600    IN      A       192.36.253.201

;; Query time: 2 msec
;; SERVER: 192.36.253.120#53(192.36.253.120)
;; WHEN: Fri Apr 17 09:49:00 2009
;; MSG SIZE  rcvd: 177

[zimbra@mail ~]$
/etc/hosts
Code:
[zimbra@mail ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6
192.36.253.201  mail2.zimbra.asi.com    mail2
192.36.253.120  mail.zimbra.asi.com     mail
[zimbra@mail ~]$
/etc/resolv.conf
Code:
[zimbra@mail ~]$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.36.253.120
[zimbra@mail ~]$
hope this information helps

anyone got an idea why this is happening?
Reply With Quote
  #4 (permalink)  
Old 04-16-2009, 07:55 PM
Intermediate Member
 
Posts: 15
Default

ok, i found something odd

i can't locate zimbra.asi.com when i do nslookup from slave server

Code:
[root@mail2 ~]# nslookup zimbra.asi.com
Server:         192.36.253.120
Address:        192.36.253.120#53

*** Can't find zimbra.asi.com: No answer
ok i think i found the root problem
my slave server cannot see the master server..

any ideas on how to resolve this?
Reply With Quote
  #5 (permalink)  
Old 04-16-2009, 08:04 PM
Intermediate Member
 
Posts: 15
Default

found out something new, apparently i placed

192.36.253.201 zimbra2.asi.com zimbra2

in slave server's /etc/hosts
changed it to

192.36.253.201 mail2.zimbra.asi.com mail2

will give an update on how it goes
Reply With Quote
  #6 (permalink)  
Old 04-16-2009, 08:18 PM
Intermediate Member
 
Posts: 15
Default

even in master server, nslookup zimbra.asi.com still gets nothing

is this because i'm using split dns?
Reply With Quote
  #7 (permalink)  
Old 04-17-2009, 12:55 AM
Intermediate Member
 
Posts: 15
Default

i reinstalled the master server and slave server.. they're working fine now

do i need to configure the servers to use the replica server? is that needed?
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