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

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 Display Modes
  #1 (permalink)  
Old 10-02-2009, 08:11 AM
Loyal Member
 
Posts: 87
Question Zimbra data - what to store where and how to do it

Hi everyone

I'm planning a test installation of Zimbra in an OpenVZ container with a view to buying NE Pro for our 15 users in a few months.

I know Zimbra stores loads of data, but I'm trying to work out what to put where, and how to do it.
The container has exclusive access to 1TB RAID 1 (don't have enough spare bays in the backplane for RAID 10) and 30GB on the internal boot drive of the machine.
I'd like as much as possible to be stored on the RAID array because the 30GB internal boot drive isn't mirrored (yet)

From what I can work out there are at least 3 areas of data storage in Zimbra:
- mysql database
- binary blob attachment files
- logs
What else?

How do I go about changing what is stored where?
Is that something that should be configured at installation time?

Or should I just shove everything on the RAID 1 and be done with it?
Rather than stuff being stored in different places.

Cheers, B
Reply With Quote
  #2 (permalink)  
Old 10-02-2009, 03:22 PM
Partner (VAR/HSP)
 
Posts: 61
Default

I would try and keep it as simple as possible.
Only thing I would consider splitting off in your setup is /opt/zimbra/backups if you are are using the network edition. They have the potential to get very large and having them on separate storage with a separate quota/partition size would be very sensible.
To get storage into your OpenVZ container, look up how to bind mounts: Bind mounts - OpenVZ Wiki
So you mount /mnt/slowstorage in the host, then re-bind mount it into the container.
But this is only an issue with the network edition and if you have not enough space for the data and all the backups.
__________________
http://www.solutionsfirst.com.au/hosting/zimbra/
Australia's premier Zimbra Hosting Partner
Resellers wanted!
Reply With Quote
  #3 (permalink)  
Old 10-02-2009, 04:33 PM
Loyal Member
 
Posts: 87
Default

Ah ok. Yeah that makes sense. It's best to have backups on separate storage anyway. I was planning that we would take an ext drive out of the office on a rotation.
Are all the various storage locations changeable through the admin interface?
Reply With Quote
  #4 (permalink)  
Old 10-02-2009, 05:47 PM
Partner (VAR/HSP)
 
Posts: 61
Default

No I don't believe you can change the storage location through the admin interface. I would tread carefully on changing anything other than /opt/zimbra/backups
__________________
http://www.solutionsfirst.com.au/hosting/zimbra/
Australia's premier Zimbra Hosting Partner
Resellers wanted!
Reply With Quote
  #5 (permalink)  
Old 10-03-2009, 08:36 AM
Loyal Member
 
Posts: 87
Default

Thanks for the heads up on the Bind Mounts as well, that was something I needed to look into next.

Yeah fair enough. I might just move the whole OpenVZ VE onto the RAID 1 array so I don't have to change much.
I'm guessing people using SANs need to change a fair number of locations though?

Cheers, B
Reply With Quote
  #6 (permalink)  
Old 10-03-2009, 05:38 PM
Partner (VAR/HSP)
 
Posts: 61
Default

There is always HSM if you want to consider two types of storage. But for me, in my experience, simplicity trumps almost anything else.
__________________
http://www.solutionsfirst.com.au/hosting/zimbra/
Australia's premier Zimbra Hosting Partner
Resellers wanted!
Reply With Quote
  #7 (permalink)  
Old 10-05-2009, 05:15 AM
Elite Member
 
Posts: 369
Default

Rather than RAID 1 i would prefer using RAID 5. Write performance goes down using RAID 1.
Reply With Quote
  #8 (permalink)  
Old 10-05-2009, 06:10 AM
Moderator
 
Posts: 5,806
Default

Wrong way round Veronica. Write speed goes down on RAID5 but increases on RAID1.

Wiki :: Performance Tuning
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #9 (permalink)  
Old 10-05-2009, 08:17 AM
Elite Member
 
Posts: 369
Default

Well as number of disks increases in RAID1, write performance decreases. Each block must be written to each participating disk as a result each write incurs a performance hit.
Reply With Quote
  #10 (permalink)  
Old 10-05-2009, 08:37 AM
Eno Eno is offline
Junior Member
 
Posts: 6
Default

You don't need write performance for a mail server ( even for Zimbra ). Raid5 is quiet good and not expensive.
Reply With Quote

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0