<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Testing Out Load Balanced Mailbox Provisioning in Exchange 2010</title>
	<atom:link href="http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/</link>
	<description>Exploring Microsoft Unified Communications and PowerShell</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:52:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Mike Pfeiffer</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-4209</link>
		<dc:creator>Mike Pfeiffer</dc:creator>
		<pubDate>Tue, 17 May 2011 19:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-4209</guid>
		<description>Yeah, this was published a few months after I wrote this post:

Understanding Automatic Mailbox Distribution
http://technet.microsoft.com/en-us/library/ff477621.aspx

1. Exchange retrieves a list of all mailbox databases in the Exchange 2010 organization.
2. Any mailbox database that&#039;s marked for exclusion from the distribution process is removed from the available list of databases. You can control which databases are excluded.
3. Any mailbox database that&#039;s outside of the database management scopes applied to the administrator performing the operation is removed from the list of available databases.
4. Any mailbox database that&#039;s outside of the local Active Directory site where the operation is being performed is removed from the list of available databases.
5. From the remaining list of mailbox databases, Exchange chooses a database randomly. If the database is online and healthy, the database is used by Exchange. If it&#039;s offline or not healthy, another database is chosen at random. If no online or healthy databases are found, the operation fails with an error.</description>
		<content:encoded><![CDATA[<p>Yeah, this was published a few months after I wrote this post:</p>
<p>Understanding Automatic Mailbox Distribution<br />
<a href="http://technet.microsoft.com/en-us/library/ff477621.aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/ff477621.aspx</a></p>
<p>1. Exchange retrieves a list of all mailbox databases in the Exchange 2010 organization.<br />
2. Any mailbox database that&#8217;s marked for exclusion from the distribution process is removed from the available list of databases. You can control which databases are excluded.<br />
3. Any mailbox database that&#8217;s outside of the database management scopes applied to the administrator performing the operation is removed from the list of available databases.<br />
4. Any mailbox database that&#8217;s outside of the local Active Directory site where the operation is being performed is removed from the list of available databases.<br />
5. From the remaining list of mailbox databases, Exchange chooses a database randomly. If the database is online and healthy, the database is used by Exchange. If it&#8217;s offline or not healthy, another database is chosen at random. If no online or healthy databases are found, the operation fails with an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-4207</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 17 May 2011 18:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-4207</guid>
		<description>Hi,

Excellent article, thank you for taking the time to write it. Once quick question, is there any documentation on how the provisioning procesess decides on malibox location? Is it a simple round robin between availble servers in the same site, or does it look at any statisitics such as iops or such?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Excellent article, thank you for taking the time to write it. Once quick question, is there any documentation on how the provisioning procesess decides on malibox location? Is it a simple round robin between availble servers in the same site, or does it look at any statisitics such as iops or such?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil`s blog on Microsoft Infrastructure</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-1014</link>
		<dc:creator>Jan Egil`s blog on Microsoft Infrastructure</dc:creator>
		<pubDate>Sun, 17 Oct 2010 14:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-1014</guid>
		<description>&lt;strong&gt;Using Cmdlet Extension Agents to customize mailbox provisioning...&lt;/strong&gt;

Exchange Server 2010 introduced a new feature for automatically assigning a database while provisioning...</description>
		<content:encoded><![CDATA[<p><strong>Using Cmdlet Extension Agents to customize mailbox provisioning&#8230;</strong></p>
<p>Exchange Server 2010 introduced a new feature for automatically assigning a database while provisioning&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Cmdlet Extension Agents to customize mailbox provisioning &#171; blog.powershell.no</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-1013</link>
		<dc:creator>Using Cmdlet Extension Agents to customize mailbox provisioning &#171; blog.powershell.no</dc:creator>
		<pubDate>Sun, 17 Oct 2010 14:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-1013</guid>
		<description>[...] Management cmdlet extension agent. This feature are demonstrated and described in further detail in this blog post by Mike [...]</description>
		<content:encoded><![CDATA[<p>[...] Management cmdlet extension agent. This feature are demonstrated and described in further detail in this blog post by Mike [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Pfeiffer</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-675</link>
		<dc:creator>Mike Pfeiffer</dc:creator>
		<pubDate>Fri, 27 Aug 2010 01:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-675</guid>
		<description>Yeah that looks like that would work...

If you need to you could use the Exchange_Mailbox WMI class to grab the 2003 mailboxes sizes. 

For example, grab all mailboxes larger than 2gb:

$largeMailboxes = Get-WmiObject -NameSpace Root\MicrosoftExchangeV2 -Class Exchange_Mailbox -ComputerName ex2003server &#124; ?{$_.size -gt 2000000}

Then you can see how many mailboxes are in the collection and the total size:

$largeMailboxes &#124; Measure-Object size -sum &#124; select count,sum

Obviously that&#039;s a rough estimate of the total size it will actually be on the other side depending on a number of factors, but if that meets your requirements you can move them in a batch:

$largeMailboxes &#124; %{New-MoveRequest -Identity $_.legacydn -TargetDatabase DB1 -BadItemLimit 100 -BatchName LargeMailboxes}

So, not a full blow script here, but maybe those examples can give you some more ideas.</description>
		<content:encoded><![CDATA[<p>Yeah that looks like that would work&#8230;</p>
<p>If you need to you could use the Exchange_Mailbox WMI class to grab the 2003 mailboxes sizes. </p>
<p>For example, grab all mailboxes larger than 2gb:</p>
<p>$largeMailboxes = Get-WmiObject -NameSpace Root\MicrosoftExchangeV2 -Class Exchange_Mailbox -ComputerName ex2003server | ?{$_.size -gt 2000000}</p>
<p>Then you can see how many mailboxes are in the collection and the total size:</p>
<p>$largeMailboxes | Measure-Object size -sum | select count,sum</p>
<p>Obviously that&#8217;s a rough estimate of the total size it will actually be on the other side depending on a number of factors, but if that meets your requirements you can move them in a batch:</p>
<p>$largeMailboxes | %{New-MoveRequest -Identity $_.legacydn -TargetDatabase DB1 -BadItemLimit 100 -BatchName LargeMailboxes}</p>
<p>So, not a full blow script here, but maybe those examples can give you some more ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Russo</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-673</link>
		<dc:creator>Brian Russo</dc:creator>
		<pubDate>Thu, 26 Aug 2010 20:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-673</guid>
		<description>Hi Mike,

That&#039;s what I had thought regarding individual mailbox size as a bit of googling had turned up empty. What we plan on doing then is to use the script below, and after a given number of mailboxes have been moved, check to see if any databases are reaching our threshold level. If so, we&#039;ll so as you also mentioned, by suspending them from the pool.

-Brian

Set-AdServerSettings -ViewEntireForest $True
$file = Read-Host &quot;Enter File Path for list of users. Example: C:\Scripts\File.txt&quot;
$batch = Read-Host &quot;Enter Batch Name for easy tracking of move requests. Example: Batch001&quot;
$list = get-content $file
$DB = @{}
foreach ($mailbox in $list) {New-MoveRequest -Identity $mailbox -TargetDatabase $DB –baditemlimit 100 -BatchName $Batch &#124; %{
		$DB[$_.database] = $DB[$_.database] + 1
	}
}
Get-MoveRequest -Batchname $batch
Write $DB</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>That&#8217;s what I had thought regarding individual mailbox size as a bit of googling had turned up empty. What we plan on doing then is to use the script below, and after a given number of mailboxes have been moved, check to see if any databases are reaching our threshold level. If so, we&#8217;ll so as you also mentioned, by suspending them from the pool.</p>
<p>-Brian</p>
<p>Set-AdServerSettings -ViewEntireForest $True<br />
$file = Read-Host &#8220;Enter File Path for list of users. Example: C:\Scripts\File.txt&#8221;<br />
$batch = Read-Host &#8220;Enter Batch Name for easy tracking of move requests. Example: Batch001&#8243;<br />
$list = get-content $file<br />
$DB = @{}<br />
foreach ($mailbox in $list) {New-MoveRequest -Identity $mailbox -TargetDatabase $DB –baditemlimit 100 -BatchName $Batch | %{<br />
		$DB[$_.database] = $DB[$_.database] + 1<br />
	}<br />
}<br />
Get-MoveRequest -Batchname $batch<br />
Write $DB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Pfeiffer</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-672</link>
		<dc:creator>Mike Pfeiffer</dc:creator>
		<pubDate>Thu, 26 Aug 2010 16:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-672</guid>
		<description>Hi Brian,

Thanks for the comment. Yes the New-MoveRequest cmdlet will use this automatic mailbox distribution logic when you do not specify a database using the TargetDatabase parameter.

I&#039;m not aware of any existing scripts that will move a mailbox based on its size, but if you want to give me more details I can try to give you some ideas.</description>
		<content:encoded><![CDATA[<p>Hi Brian,</p>
<p>Thanks for the comment. Yes the New-MoveRequest cmdlet will use this automatic mailbox distribution logic when you do not specify a database using the TargetDatabase parameter.</p>
<p>I&#8217;m not aware of any existing scripts that will move a mailbox based on its size, but if you want to give me more details I can try to give you some ideas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Russo</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-671</link>
		<dc:creator>Brian Russo</dc:creator>
		<pubDate>Thu, 26 Aug 2010 15:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-671</guid>
		<description>Thank you for the post Mike. Would the same even distribution of mailboxes also apply using the New-MoveRequest cmdlet? We will be transitioning mailboxes off a 2003 system to 2010 and I&#039;m looking for the best method to balance out the Exchange databases.

An additional question: Do you know of a PowerShell command that would also analyze the size of each individual mailbox and factor that in when assigning a database withing the DAG?

Thank you,
Brian</description>
		<content:encoded><![CDATA[<p>Thank you for the post Mike. Would the same even distribution of mailboxes also apply using the New-MoveRequest cmdlet? We will be transitioning mailboxes off a 2003 system to 2010 and I&#8217;m looking for the best method to balance out the Exchange databases.</p>
<p>An additional question: Do you know of a PowerShell command that would also analyze the size of each individual mailbox and factor that in when assigning a database withing the DAG?</p>
<p>Thank you,<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Egil`s blog on Microsoft Infrastructure</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-141</link>
		<dc:creator>Jan Egil`s blog on Microsoft Infrastructure</dc:creator>
		<pubDate>Fri, 14 May 2010 00:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-141</guid>
		<description>&lt;strong&gt;Script to spread Exchange mailboxes alphabetically across databases...&lt;/strong&gt;

I recently needed to write a script to spread mailboxes in Exchange Server 2010 alphabetically across...</description>
		<content:encoded><![CDATA[<p><strong>Script to spread Exchange mailboxes alphabetically across databases&#8230;</strong></p>
<p>I recently needed to write a script to spread mailboxes in Exchange Server 2010 alphabetically across&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Script to spread Exchange mailboxes alphabetically across databases &#171; blog.powershell.no</title>
		<link>http://www.mikepfeiffer.net/2010/04/testing-out-load-balanced-mailbox-provisioning-in-exchange-2010/comment-page-1/#comment-140</link>
		<dc:creator>Script to spread Exchange mailboxes alphabetically across databases &#171; blog.powershell.no</dc:creator>
		<pubDate>Fri, 14 May 2010 00:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikepfeiffer.net/?p=2787#comment-140</guid>
		<description>[...] load balancer will automatically select the database with the least number of mailboxes. Check out this post by Mike Pfeiffer to see this feature in [...]</description>
		<content:encoded><![CDATA[<p>[...] load balancer will automatically select the database with the least number of mailboxes. Check out this post by Mike Pfeiffer to see this feature in [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

