# Move folder /opt existing to another folder, do the following command on all nodes (node1 and node2) # Umount DRBD devices after rsync file/folder Zimbra at node1 For the tricks, use cp for copy data.mdb to DRBD devices ?Ĭp /opt/zimbra/data/ldap/mdb/db/data.mdb /mnt/tmp/zimbra/data/ldap/mdb/db/data.mdbĬhown zimbra.zimbra /mnt/tmp/zimbra/data/ldap/mdb/db/data.mdb Rsync -avP -exclude=data.mdb /opt/ /mnt/tmpĭata.mdb will be huge if copied by rsync so that take a long time. # After DRBD has been worked, copy file/folder /opt/zimbra into DRBD devices. # Testing data replication DRBD that has been worked : Testing Data Replication/Synchronize on DRBD
# After installed Heartbeat and online failover/failback working fine, then install DRBD for data replication on all nodes (node1 and node2) as described at this link : How To Configure Data Replication/Synchronize on CentOS 6 Using DRBD # After installed Zimbra, install and configure Heartbeat on all nodes (node1 and node2) as described at this link : How To Configure Online Failover/Failback on CentOS 6 Using Heartbeat # Stop Zimbra and DNS services on all nodes (node1 and node2)
– Set IP address of each nodes refers into include DNS and /etc/hosts
– Please change name of each nodes refers into when installing Zimbra # install Zimbra on CentOS 6 on all nodes (node1 and node2) as described at this link : How To Install Zimbra 8.6 on CentOS 6. This alias IP will be configured online failover Alias IP will be used for access clients/users.