| 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.
|  | 
08-28-2008, 08:21 AM
| | | Install in directory other than /opt/zimbra Quick question:
Is there a list of things to be done when you would want to install Zimbra in a directory other than /opt/zimbra?
Thanks! | 
08-28-2008, 10:10 AM
| | | A quick examination of the installer script says there's no "official" way to do this -- I did it by merely making /opt/zimbra a symlink to /appl/zimbra509, which seems to be working ok... though I had a "can't find the license" problem on install, and don't know if that was why. | 
08-29-2008, 09:55 AM
| | | I'd never seen those switches to ln(1), but note that the man page says they'll probably fail... and even if you *do* get the link, everything else on your machine (fsck, updatedb, etc) will become very unhappy.
I'm going to vote for both bugs; it is *not* the province of a release manager to decide where an application subsystem must live on my machines.
FWIW, 5.0.9 on CentOS 5.2 installed over the symlink just fine for me. | 
08-29-2008, 11:45 AM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | using hardlinks in that way is a horribly bad idea. don't do it.
/opt/zimbra is hardcoded in quite a few places. as zimbra is such an isolated (mostly) self-sufficient package, keeping it in a known constant place isn't such a bad idea. | 
08-29-2008, 11:51 AM
| | | Quote:
Originally Posted by dijichi2 using hardlinks in that way is a horribly bad idea. don't do it.
/opt/zimbra is hardcoded in quite a few places. as zimbra is such an isolated (mostly) self-sufficient package, keeping it in a known constant place isn't such a bad idea. | I agree, but our configuration (local storage mirrored pairwise via drdb) requires different install-directories, once we add an active-active cluster configuration to this. Or vhosts, but let's not open that can of worms... | 
08-29-2008, 12:41 PM
| | | Yup, see?
"Deciding the install location of a software package does not fall within the purview of a release manager". I know I've heard that somewhere... :-) | 
08-29-2008, 03:18 PM
| | OpenSource Builder & Moderator | |
Posts: 1,166
| | Quote: |
I agree, but our configuration (local storage mirrored pairwise via drdb) requires different install-directories, once we add an active-active cluster configuration to this. Or vhosts, but let's not open that can of worms...
| have you got zimbra working succesfully under drbd? do you replicate the entire /opt/zimbra or just storage and use application-level replication for ldap/sql?
zimbra was designed to really be the only thing on a box hence the certain assumptions it's made like installation path. why does /opt/zimbra cause a problem for your setup, is it not flexible to change paths?
please do let us know how you get on with active-active, that would be a holy grail of HA for zimbra - it's currently a huge hole in it technically. it's rumoured to provide storage replication in version 5.5.. | 
08-29-2008, 11:48 PM
| | | Zimbra and active-active HA clustering Quote:
Originally Posted by dijichi2 have you got zimbra working succesfully under drbd? do you replicate the entire /opt/zimbra or just storage and use application-level replication for ldap/sql? | No, we're succesfully replicating /opt/zimbra to another box. We're pairing them, two boxes mirror one another. Quote:
Originally Posted by dijichi2 zimbra was designed to really be the only thing on a box hence the certain assumptions it's made like installation path. why does /opt/zimbra cause a problem for your setup, is it not flexible to change paths? | It's not the setup that makes the problem. If we want to run a pair of those boxes as active-active cluster, we NEED the directories to be different, to run both packages at the same time on ONE box, in failure case. To be exact, we need one directory to be different. But it's easier to have them both different. The pathname is the one thing that keeps us from trying. Quote:
Originally Posted by dijichi2 please do let us know how you get on with active-active, that would be a holy grail of HA for zimbra - it's currently a huge hole in it technically. it's rumoured to provide storage replication in version 5.5.. | I'll keep posting our accomplishments here. | 
01-04-2011, 11:03 AM
| | | Solution Solved using:
mount --bind /home/zimbra/ /opt/zimbra/
You can change /home/zimbra for whatever you want  And you must create both directories before | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |