Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-2008, 03:14 AM
Elite Member
 
Posts: 296
Default High availability using Open Source edition

Dear All,

we understand that HA feature is already available in NE edition,
however, just to see have anyone already tried to do ZCS
high availability using open source edition?


Here's my thought :

hardwares : 2 servers + SAN

1. ZCS installation

Install ZCS as usual in two servers, and then

chkconfig zimbra off
/etc/init.d/zimbra stop

cd /opt/zimbra
tar zcvf zcs.tgz ./* (only on server1)
cd /opt
mv zimbra zimbra.old
ln -s /app/zimbra ./zimbra

(in server 1)
mount <SAN volume> /app
cd /app
mkdir zimbra
cd zimbra
tar zxvf /opt/zcs.tgz


2. Modify /etc/init.d/zimbra script

modify /etc/init.d/zimbra script, so that it looks like :
=============================
restart)
## for cluster
ip addr add x.x.x.x dev eth0
mount <SAN volume> /app
##
command shutdown
command startup
RETVAL=$?
if [ -d /var/lock/subsys -a $RETVAL -eq 0 ]; then
touch /var/lock/subsys/zimbra
fi
;;
start)
## for cluster
ip addr add x.x.x.x dev eth1
mount <SAN volume> /app
##
command startup
RETVAL=$?
if [ -d /var/lock/subsys -a $RETVAL -eq 0 ]; then
touch /var/lock/subsys/zimbra
fi
;;
stop)
## for cluster
ip addr del x.x.x.x dev eth1
##
command shutdown
RETVAL=$?
if [ -d /var/lock/subsys -a $RETVAL -eq 0 ]; then
rm -f /var/lock/subsys/zimbra
fi

## for cluster
umount /app
##
;;
==============================================

copy /etc/init.d/zimbra script to another host.

3. write a monitoring script and run script in the server
which doesn't run ZCS in the beginning. Basically, it will
check remote ZCS services and remote host network availability.

if remote host/ZCS services stops, then start to bring up
ZCS locally.
=======================================

Could anyone provide some idea on this ??
Any comment on this will be highly appreciated.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-14-2009, 06:39 AM
Starter Member
 
Posts: 1
Default HA in open source

Hi All.

Any luck with setting up HA in the open source edition?

@tiger2000: Regarding your concept described above: I dont think it is going to work. A Zimbra Employee advised me, that Zimbra must run in /opt/zimbra (is hardcoded in several places). Thats also the reason why you can not run two Zimbra instances on a single server.

Cheers
stub2
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.