Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mailstore sizes

Status
Not open for further replies.

patstone

IS-IT--Management
Aug 20, 2004
168
GB
Hi, I am about to migrate from Exch 03 to Exch 07, 800 mailboxes in total. I have 4 luns on my SAN carved out for each storage group and I want to spread my mailboxes alphabetically across these 4 luns. Can anyone supply a script or someway of determining how to evenly spread the mailboxes.

What I don’t want is to be left with a mailbox store called “Users U to Z” taking up 20% of lun 4 and another mailbox store called “Users N to T” that take up 80% of lun 3

Thanks
 
Well, you're assuming that the user account are evenly spread among the letters in the alphabet. And that's rarely the case. You'll certainly have more users in N-T than in U-Z.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
Just export the mailbox users from exchange management 2003 for each storage group and import into excel.

Sort by user and total the mailbox size and divide by 4 and just select the users in a autosum until you hit 1/4.

You could cheat with the user names to and use exchange ps to migrate from the list as well to the correct sg in 2007 as well.
 
If you're dead set on doing it via 1/3 to each SG, PowerShell can certainly take all users who beging with "A" and move them to SG 1, etc. PowerShell is very powerfull.

Pat Richard MVP
Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
 
I would rather classify my users by grouping than by names. The sales department, executives, etc. Then you could set policies up that can manage their mailboxes based upon roles instead of managing them one by one.
 
Once u did my suggestion above the easier way to move them from the excel file is
Import-CSV Alias.csv | ForEach {Move-Mailbox -Identity $_.Alias -TargetDatabase $_.Database -BadItemLimit 10 -MaxThreads 8 -Confirm: $false

In excel have a column alias with the users logon and database with the destination sg ie servername\sg1.

You can spawn as many instances of this script as you feel confortable with to make migration faster.
 
There is already a powershell script to load balance users between storage groups based on mailbox size but I agree that by department makes far more sense as it minimises the cross store traffic and improves SIS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top