Unknown's avatar

About Michel de Rooij

Michel de Rooij, with over 25 years of mixed consulting and automation experience with Exchange and related technologies, is a consultant for Rapid Circle. He assists organizations in their journey to and using Microsoft 365, primarily focusing on Exchange and associated technologies and automating processes using PowerShell or Graph. Michel's authorship of several Exchange books and role in the Office 365 for IT Pros author team are a testament to his knowledge. Besides writing for Practical365.com, he maintains a blog on eightwone.com with supporting scripts on GitHub. Michel has been a Microsoft MVP since 2013.

Exchange 2010 Mailbox Role Calculator 16.5


The Microsoft Exchange Team published an updated of the Exchange Mailbox Role Calculator, bringing it to version 16.5.

Additions since version 14.4:

  • Added virtualization support;
  • Added database symmetrical distribution with resilience support, cross-site fail-over option;
  • Added exportable scripts to support preparation of storage and creation of database copies;
  • Added server failure simulations.
  • Added throughput requirements information.

Bug fixes since 14.4:

  • Fixed an issue with diskpart.ps1 that prevented the script from executing;
  • Fixed secondary datacenter disk calculations to use the correct formula for calculating the formatted disk capacity for the transaction log disks;
  • Fixed “—“ rounding logic error that could occur in the results tables of the Activation worksheet for site resilient scenarios;
  • Fixed a scenario where the calculator would report there were too many copies in the secondary datacenter validation checks.

You can download the calculator here or consult the changeblog here. Related announcement by Exchange team here. Usage instructions can be found here.

Exchange 2010 SP2 features, MCM:Exchange 2010 exam-only


The first day of TechEd NA 2011 brought us much exciting and some less exciting news on the Exchange frontier.

First, the announcement of changes in Exchange 2010 Service Pack 2. Besides some 500 bug fixes, SP2 contains the following new features:

  • Address Book Policies (also known as GAL segmentation). ABPs are meant to segmentize the address book, giving users a certain view of the address book like Address List Segregation did for Exchange 2003/2007. ABPs were already announced back in January. I wonder how this affects for instance MailTips, as MailTips might report on organization-wide figures (sending mail to X users) while the end user may only see a small fragment of the population. Also, be advised that clients bypassing the CAS server for directory lookups, e.g. LDAP queries, don’t benefit from ABPs. Think Outlook for Mac but also multifunctionals, fax solutions etc.;
  • OWA mini. This will be a lightweight browser like OMA in the past, meant for simple browsers;
  • Hybrid Configuration. This wizard is to make the configuration of an on-premises Exchange and Office 365/Exchange Online more simple, reducing the steps required from 49 to 6;
  • OWA Cross-Site redirection. This will allow clients to be silently redirected to the proper site if they log on to a CAS server located in a site different than the site where their mailbox is hosted and externalURL has been specified there. This greatly increases the single sign-on experience.

Be advised that Exchange Server 2010 Service Pack 2 will require schema changes to support the new features. SP2 is scheduled for the 2nd half of 2011.

Second, starting July 2011, Microsoft announced the exam-only Microsoft Certified Master: Exchange Server 2010 certification. This is for IT Professionals with 5 years of experience who think they can do the exams without the intensive 3 weeks training. Microsoft already did the same thing to the MCM: SQL Server 2008 program last year. The Exchange MCM exam is two-fold:

  1. MCM: Exchange Server 2010, Knowledge Exam. This exam will be offered by Prometric at select testing centers worldwide;
  2. MCM: Exchange Server 2010, Lab. This exam will be offered by Microsoft via direct remote proctoring at select Microsoft facilities worldwide.

I think while its great to have the option to take the exam in a facility in the region, but the absence of 3 week intensive training including meeting and being tutored by some people of the Exchange team and meeting Exchange fellows from all over the world seems a big miss. Also, how will the market respond to MCM’s who did the 3-week training versus MCM’s who didn’t; would the latter be considered inferior or less knowledgeable? If I had the choice, I’d go through the additional 3 weeks of training, extending your network and having a chance to ask your questions at the source.

Thanks to people like Dave Stork and Jeff Guillet for live reports through Twitter (#msteched).

You can watch a recording of Greg Taylor’s session on SP2 features here. The official related Exchange team blog is here. More information on the new Microsoft Certified Master: Exchange Server 2010 program here; the original announcement is here.

Besides all this, a recording of Scott Schnoll’s session on Exchange 2010 Tips & Tricks can be viewed here.

(Updated on May 17th with session links)

Virtualized Exchange 2010 SP1 UM, DAGs & Live Migration support


Today, just before TechNet North America 2011, Microsoft published a whitepaper on virtualizing Exchange 2010, “Best Practices for Virtualizing Exchange Server 2010 with Windows Server® 2008 R2 Hyper V“.

There are some interesting statements in this document which I’d like to share with you, also after the Exchange team published an article on supported scenarios regarding virtualized shortly shortly after this paper was published.

First, as Exchange fellow Steve Goodman blogged about, a virtualized Exchange 2010 SP1 UM server role is now supported, albeit under certain conditions. More information on this at Steve’s blog here.

The second thing is that live migration, or any form of live migration offered by products validated through the Windows Server Virtualization Program (SVVP) program, is now supported for Exchange 2010 SP1 Database Availability Groups. Until recently, the support statement for DAGs and virtualization was:

“Microsoft does not support combining Exchange high availability (DAGs) with hypervisor-based clustering, high availability, or migration solutions that will move or automatically failover mailbox servers that are members of a DAG between clustered root servers. DAGs are supported in hardware virtualization environments provided that the virtualization environment doesn’t employ clustered root servers, or the clustered root servers have been configured to never failover or automatically move mailbox servers that are members of a DAG to another root server.”

The Microsoft document on virtualizing Exchange Server 2010 states the following on page 29:

“Exchange server virtual machines, including Exchange Mailbox virtual machines that are part of a Database Availability Group (DAG), can be combined with host-based failover clustering and migration technology as long as the virtual machines are configured such that they will not save and restore state on disk when moved or taken offline. All failover activity must result in a cold start when the virtual machine is activated on the target node. All planned migration must either result in shut down and a cold start or an online migration that utilizes a technology such as Hyper-V live migration.”

The first option, shutdown and cold start,  is what Microsoft used to recommend for DAGs in VMWare HA/DRS configurations, i.e. perform an “online migration” (e.g. vMotion) of a shut down virtual machine. I blogged about this some weeks ago here since VMWare wasn’t always clear about this. Depending on your configuration, this might not be a satisfying solution when availability is a concern.

The online migration statement is new as well as the host-based fail-over clustering. In addition, though the paper is aimed at virtualization solutions based on Hyper-V R2, the Exchange Team article is more clear on supported scenarios for Exchange 2010 SP1 with regards to 3rd party products (VMware HA); if the product is supported through the SVVP program, usage of Exchange DAGs are supported. Great news for environments running or considering virtualizing their Exchange components.

Be advised that in addition to the Exchange team article, the paper states the following additional requirements and recommendations as best practice:

  • Exchange Server 2010 SP1;
  • Use Cluster Shared Volumes (CSV) to minimize offline time;
  • The DAG node will be evicted when offline time exceeds 5 seconds. If required, increase the heartbeat timeout to maximum 10 seconds;
  • Implementation of latest patches for the hypervisor;
  • For live migration network:
    – Enable jumbo frames and make sure network components support it;
    – Change receive buffers to 8192;
    – Maximize bandwidth.

Note that on May 17th the DAG support statement for Exchange 2010 SP1 on TechNet was updated to reflect this. However, the last two sentences might restart those “are we supported” discussions again:

“Hypervisor migration of virtual machines is supported by the hypervisor vendor; therefore, you must ensure that your hypervisor vendor has tested and supports migration of Exchange virtual machines. Microsoft supports Hyper-V Live Migration of these virtual machines.”

So, if vendor A, e.g. VMWare, has tested and supports vMotioning DAGs with their hypervisor X, Microsoft will support Live Migration for virtual machines on hypervizor X using Hyper-V? Now what kind of statement is that?

(Updates: May 16th – statements from EHLO blog, May 17th – mention updated TechNet article)

Remote PowerShell to Office 365


imageWhile trying Office 365 you might want to connect your to a remote Exchange Management Shell session instead of using the portal interface. Here’s how to proceed.

Start up a PowerShell session. The first thing we’re going to do next is store credentials in a variable for later usage:

$cred= Get-Credential

A popup will be displayed where you can enter your Office 365 admin credentials, e.g. myadminname@yourdomain.onmicrosoft.com.

Next, create a new remote PowerShell session using the following cmdlet:

$o365= New-PsSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -AllowRedirection -Authentication Basic

image

Next, we can import the session. However, this might be confusing since you have no context; are you creating a mailbox local or in the Office 365 environment?

The cool thing is that with Import-Session you can specify a prefix. This prefix can be specified before the cmdlet noun so that PowerShell knows which session you want the cmdlet to run against. As you probably know, cmdlets are normally constructed using <verb>-<noun> syntax, but this should be <verb>-<session prefix><noun>. When the session prefix is omitted, PowerShell assumes the current session.

For example, let’s import our Office 365 session with a prefix of “o365”:

Import-PsSession $o365 –Prefix o365

image

Now, we can use that “o365” prefix before the noun. For example, to get a list of our Office 365 mailboxes, you’d use something like:

Get-o365Mailbox

image

Cool and simple, eh?

Don’t forget to close your online session afterwards using:

Remove-PsSession $o365

Have fun exploring Office 365 using PowerShell.