Results 1 to 2 of 2

Thread: High availability using Open Source edition

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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.

  2. #2
    stub2 is offline Starter Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    6

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Installation] Zimbra Desktop - Ubuntu 8.04 Hardy
    By kaltera in forum Installation Help
    Replies: 1
    Last Post: 06-18-2008, 04:43 AM
  2. [SOLVED] Is zimbra really open source product ?
    By hernad in forum Developers
    Replies: 3
    Last Post: 08-18-2007, 10:30 PM
  3. Error message in Server status
    By Max Ma in forum Installation
    Replies: 20
    Last Post: 04-19-2007, 08:55 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •