Zimbra LDAP Multi Master Replication Untuk LDAP Master 1

Zimbra LDAP Multi Master Replication Untuk LDAP Master 1

Zimbra LDAP Multi Master Replication Untuk LDAP Master 1Zimbra LDAP Multi Master Replication Untuk LDAP Master 1, fungsi memiliki 2 ldap master. Ketika LDAP Master utama RTO atau Service mati, semua user masih bisa login menggunakan LDAP Master 2. LDAP Master bisa digunakan lebih dari 2 misal 3 LDAP Master. Sebelum melakukan konfigurasi, berikut informasi pada tutorial ini.

Informasi versi yang digunakan:

  1. Zimbra OSE 8.8.15
  2. Centos 7.6

Hostname yang digunakan:

  1. LDAP Master 1: ldap1.saad.my.id
  2. LDAP Master 2: ldap2.saad.my.id

DNS yang digunakan:

  1. DNS Public

Langkah-langkah Multi Master Replication

1. Buat A Record ldap1.saad.my.id pada cpanel, pointing ke ip public server ldap master 1
2. Ikuti langkah 1-5 pada tutorial ini https://saad.web.id/2019/04/membuat-mail-server-dengan-zimbra-8-8-12-di-centos-7/
3. Ubah /etc/resolv.conf

nano /etc/resolv.conf

tambahkan dns google atau dns ISP

nameserver 8.8.8.8

4. Install zimbra dengan seperti berikut:

Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] n
Install zimbra-mta [Y] n
Install zimbra-dnscache [N] n
Install zimbra-snmp [Y] n
Install zimbra-store [Y] n
Install zimbra-apache [Y] n
Install zimbra-spell [Y] n
Install zimbra-memcached [Y] n
Install zimbra-proxy [Y] n
Checking required space for zimbra-core
Installing:
zimbra-core
zimbra-ldap

The system will be modified. Continue? [N] y

5. Masukkan domain yang digunakan

DNS ERROR resolving MX for ldap1.saad.my.id
It is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] yes
Create domain: [ldap1.saad.my.id] saad.my.id

DNS ERROR resolving MX for saad.my.id
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes] No

Konfigurasi Menu Instalasi Zimbra

6. Pilih 1 Enter

Main menu

1) Common Configuration:
2) zimbra-ldap: Enabled
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) 1

7. Pilih 4, Atur password LDAP Admin

Common configuration

1) Hostname: ldap1.saad.my.id
2) Ldap master host: ldap1.saad.my.id
3) Ldap port: 389
4) Ldap Admin password: set
5) Store ephemeral attributes outside Ldap: no
6) Secure interprocess communications: yes
7) TimeZone: America/Los_Angeles
8) IP Mode: ipv4
9) Default SSL digest: sha256

Select, or 'r' for previous menu [r] 4

Password for ldap admin user (min 6 characters): [neXx95tW] Password10@@@@

8. Ubah timezone zimbra

Common configuration

1) Hostname: ldap1.saad.my.id
2) Ldap master host: ldap1.saad.my.id
3) Ldap port: 389
4) Ldap Admin password: set
5) Store ephemeral attributes outside Ldap: no
6) Secure interprocess communications: yes
7) TimeZone: America/Los_Angeles
8) IP Mode: ipv4
9) Default SSL digest: sha256

Select, or 'r' for previous menu [r] 7

Enter the number for the local timezone: [31] 48

9. Kembali ke main menu

Common configuration

1) Hostname: ldap1.saad.my.id
2) Ldap master host: ldap1.saad.my.id
3) Ldap port: 389
4) Ldap Admin password: set
5) Store ephemeral attributes outside Ldap: no
6) Secure interprocess communications: yes
7) TimeZone: Asia/Bangkok
8) IP Mode: ipv4
9) Default SSL digest: sha256

Select, or 'r' for previous menu [r] r

10. Pilih no 2

Main menu

1) Common Configuration:
2) zimbra-ldap: Enabled
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) 2

11. Set password pada menu 4-9 dengan password yang sama

Ldap configuration

1) Status: Enabled
2) Create Domain: yes
3) Domain to create: saad.my.id
4) Ldap root password: set
5) Ldap replication password: set
6) Ldap postfix password: set
7) Ldap amavis password: set
8) Ldap nginx password: set
9) Ldap Bes Searcher password: set

Select, or 'r' for previous menu [r] 4

Password for ldap root user (min 6 characters): [neXx95tW] Password10@@@@

12. Kembali ke main menu

Ldap configuration

1) Status: Enabled
2) Create Domain: yes
3) Domain to create: saad.my.id
4) Ldap root password: set
5) Ldap replication password: set
6) Ldap postfix password: set
7) Ldap amavis password: set
8) Ldap nginx password: set
9) Ldap Bes Searcher password: set

Select, or 'r' for previous menu [r] r

13. Apply konfigurasi seperti berikut

Main menu

1) Common Configuration:
2) zimbra-ldap: Enabled
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes] yes
Save config in file: [/opt/zimbra/config.31786]
Saving config in /opt/zimbra/config.31786...done.
The system will be modified - continue? [No] Yes

14. Pilih no tanpa notify ke zimbra

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Server.
The only information that will be transmitted is:
The VERSION of zcs installed (8.8.15_GA_3829_RHEL7_64)
The ADMIN EMAIL ADDRESS created (admin@saad.my.id)

Notify Zimbra of your installation? [Yes] no

Lanjut –> https://saad.web.id/2019/08/zimbra-ldap-multi-master-replication-untuk-ldap-master-2/

Berikut layanan yang ada di saadwebid terkait zimbra
Layanan Jasa Maintenance Zimbra
Layanan Jasa Migrasi Zimbra Mail Server
VPS/Cloud Zimbra
SSL Zimbra Mail Server
SMTP Relay
Layanan Antivirus, Antispam dan Antimalware

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

×

Hello!

Klik salah satu dibawah untuk chat WhatsApp atau kirim email kepada kami ke info@saad.web.id

× WhatsApp Kami