[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Balancing accounts between servers



I wrote a script a while back to balance accounts based on "number of accounts" not on size.  But it could probably be modified to suit your needs.

I'm planning to go back to it here this summer and redesign it based on some of our experiences since I originally wrote it....trying to put users who have the most shares in common on the same servers first as Fred mentioned, then secondly balance by size and number of users.

It's a set of Ruby scripts that extrapolates out a bunch of the zmprov commands and I'd have to check to see if there's anything specific to our site that I'd have to pull out first.

Matt Mencel
Western Illinois University




From: "Fred Seaton" <F-Seaton@wiu.edu>
To: "Doug Curtis" <doug.curtis@oit.gatech.edu>
Cc: "zimbra-hied-admins" <zimbra-hied-admins@sfu.ca>
Sent: Thursday, May 5, 2011 8:48:00 AM
Subject: Re: Balancing accounts between servers

Do you have a lot users sharing resources with each other (i.e., calendars, contacts, documents, etc.)?  You might want to at least group those who share with each other to be on the same server, or, at least be sure that staff members in the same department are on the same server.

I was working on a script to identify the interdependencies and I posted a question to the forums, but didn't hear anything back:

  http://www.zimbra.com/forums/administrators/48631-calculating-interdependencies-between-zimbra-mail-hosts.html#post214576

--
Fred Seaton
Western Illinois University


From: "Doug Curtis" <doug.curtis@oit.gatech.edu>
To: "zimbra-hied-admins" <zimbra-hied-admins@sfu.ca>
Sent: Thursday, May 5, 2011 8:33:13 AM
Subject: Balancing accounts between servers

We are working on balancing our accounts between our eight mailstores.  We have primary and HSM storage on the machines.  I am working on a script that would determine the sizes of each store on each server and then move accounts based on their sizes to each of the stores.

While working on the script, I was thinking that maybe someone else has already written a script to do this.  Does anyone have such a script that they'd be willing to share?

Thanks,

Doug

--
Doug Curtis
doug.curtis@oit.gatech.edu
Georgia Tech OIT/A&I
404.385.0390