Wednesday, October 12, 2011

Migrating to Exchange 2010 (Part 1)

Ah, upgrades and migrations. Nothing every happens the same way it does in the lab! First off though, I do have to say that my upgrade/migration from Exchange 2003 to Exchange 2010 SP1 was successful and relatively transparent to my end users. Of course, we have a pretty small office and only one server, so there were not a lot of moving parts.

Before working in production, I did two lab-based migrations using some older copies of my Active Directory and Exchange servers - probably a tad too old, since I ran into totally different troubleshooting hurdles in production. Also, there were several things I couldn't completely test in our lab environment, like our BlackBerry BES implementation or inbound and outbound mail connectors. But hey, I love flying by the seat of my pants.

One of the benefits of being late to Exchange 2010 was that there was lots of information on the Internet when I went search for solutions and nothing was insurmountable.
My primary source of guidance was the Microsoft Exchange Deployment Assistant, which is an online checklist of steps to follow. It asks a few questions about your environment and the produces a "customized" checklist. I have a few caveats about it though.
  1. It assumes you are installing the various Exchange server roles on different machines or at different times. Since I was using the "typical" installation process my CAS, Hub and Mailbox roles were being installed together.
  2. You must check off the completed steps in order. Sure, you can skip around and follow the instructions however you want, but if you like crossing things off a list as you go along and something early in the list is delayed, you can't check of any of the later tasks. For example, "Adding digital certificates on the CAS" is something that is listed very early in the checklist. I had to wait several days for my new SAN certificate to be issued but that didn't prevent me from moving forward with my migration. However, I couldn't play along with with the checklist.
These are small gripes and if you are a stickler for documentation, you can print, email or copy/paste the instructions from the deployment assistant into your own project plan.

In the lab, the typical installation went along with out a hitch. However, I was not blessed with such luck in production. The CAS and Hub Transport roles installed fine, but the installation choked on the Mailbox role with the following error.

Couldn't resolve the user or group "mydomain.local/Microsoft Exchange Security Groups/Discovery Management." If the user or group is a foreign forest principal, you must have either a two-way trust or an outgoing trust.
I found the solution in several places, but it was very nicely documented here on Peter Schmidt's blog.

Just to clarify, you are deleting the "DiscoverySearchMailbox" user from Active Directory, rerunning your install for the mailbox role and then rerunning "setup /prepareAD" to recreate the user you deleted. Interestingly, I can't see the Discovery Search Mailbox in my Recipient Configuration in production, but I can in my test lab. (Odd... maybe one day I'll figure that out.)

At this point, Exchange 2010 is humming along right next my Exchange 2003 server and everything is happy and still working the way it did before, mostly because we have a Barracuda appliance that collects our inbound mail and delivers it to the Exchange 2003 server, so really nothing had changed.

I created a Receive Connector for the Barracuda, updated the Barracuda to deliver mail the Exchange 2010 server, then created my new Send Connector as per the Deployment Assistant and removed the Send Connector on the Exchange 2003 server.  Once I verified that inbound and outbound mail was still flowing it was time to take a breather and regroup for the next round.

Coming up - Getting BlackBerry BES to work again, fixing certificate errors with Outlook 2007, creating an external relay for some legacy devices on my network and figuring out why I couldn't mount an new database after I created it.  Stay tuned.

Thursday, October 6, 2011

Replication Warnings? - It could be just one Attribute.

Active Directory can be a funny beast.  This week, I noticed a reoccuring replication error that didn't seem to be sorting itself within a reasonable time frame.  I was seeing NTDS Replication Warning 1083, referencing a specific user account: 

Event Type: Warning
Event Source: NTDS Replication
Event Category: Replication
Event ID: 1083
Date:  10/3/2011
Time:  11:45:00 AM
User:  NT AUTHORITY\ANONYMOUS LOGON
Computer: DC1
Description:
Active Directory could not update the following object with changes received from the domain controller at the following network address because Active Directory was busy processing information.

Object:
CN=Joe Smith,OU=Accounts,DC=mydomain,DC=org
Network address:
a5b5b72d-c74b-486a-9dfa-f6516f37b38b._msdcs.caclo.org

Following it was the informational event 1955 about a write conflict:

Event Type: Information
Event Source: NTDS Replication
Event Category: Replication
Event ID: 1955
Date:  10/3/2011
Time:  11:45:00 AM
User:  NT AUTHORITY\ANONYMOUS LOGON
Computer: DC1
Description:
Active Directory encountered a write conflict when applying replicated changes to the following object.

Object:
CN=Joe Smith,OU=Accounts,DC=mydomain,DC=org
Time in seconds: 0 

After some research I tried the following troubleshooting steps:

1) Moved the offending user to a different OU temporarily to see if the problem resolved.  This essentially "tickles" AD into replicating that particular user. I recieved the same messages, but the user's CN had been updated to the new OU.
2) Used the LDP tool to see if there was duplicate entries for this user somehow, but only one instance was found.
3) Used repadmin to look at the time stamps of various attributes on the account, particular one with a time stamp close to the time that the replication warnings started appearing in the event log.

Repadmin was where I had the most luck.  You'll want to run the following command for Windows 2003 SP2 DCs:

repadmin /showobjmeta DC1 "CN=Joe Smith,OU=Accounts,DC=mydomain,DC=org"

This will return a list of attributes with timestamps.  In my case it was the attribute related to the last password change, which was the only one that had a timestamp of the same date when the errors began.  I reset the password on the account to "tickle" that particular attribute and the replication completed without any complaint.

Some anticodotal stories on the Internet indicate that this attribute can cause trouble if replication occurs while an account happens to be locked out.  In this case, the account was for a consultant who didn't log in very often, so the locked account went unnoticed for some time, causing the replication issue.

Tuesday, September 27, 2011

Want to be an MCT? Here’s your chance!

The upcoming 2011 North American MCT Summit offers a unique opportunity for anyone seeking to become a Microsoft Certified Trainer (MCT). Prior to the event, on October 18, there will be a 1.5 day train-the-trainer (TTT) boot camp. This will, assuming successful completion of the session, satisfy the presentation skills requirement for becoming an MCT.

Because the boot camp will be right before the MCT Summit, held October 19-21, upon completion you can then attend the Summit where you'll be able to connect with other MCTs and continue to expand your skill set.

The cost for the event is $700,which includes the TTT event, your MCT fee through the current enrollment period (which ends in April of 2012), and entry to the MCT Summit. Learn more about the MCT Summit at http://www.mctsummit.org/.

Sunday, September 18, 2011

IT Pro Events This Week!

Pacific IT Professionals has a few upcoming single day events this week, one in San Francisco and one in Los Angeles.

On Tuesday, Sept 20th in Los Angeles - Ed Horley and Richard Hicks will be talking about IPv6 and DirectAccess in the Enterprise.  Find out more at http://www.meetup.com/pacitprosla/events/26490521/?a=socialmedia.

On Friday, Sept 23th in San Francisco - CA Callahan will be covering SharePoint Administration for the Unexpected Administrator.  You know who you are - you inherited a SharePoint installation or have been asked to get one running.  Once you've got it going, then what?  This one day event will give you a chance to pick the brain of a true SharePoint expert and author of several books on SharePoint WSS 3.0 and SharePoint Foundations.  For $99, you can't afford to miss out on this "everything but the kitchen sink" session - bring a question, you'll get the answer!  For more details and to register go to http://techdays.org/2011/09/spwithca/

Wednesday, September 7, 2011

SharePoint TechDay in San Francisco!

Have you found yourself in charge of a SharePoint installation you didn't plan for? Have you installed SharePoint and are wondering "Now what?" If so, don't miss the SharePoint Administration for the Unexpected Administrator - September 23rd from 10-5pm in San Francisco.
CA Callahan, the author of Mastering Windows SharePoint Services 3.0 and Mastering Microsoft SharePoint Foundation 2010, will be covering 6 hours worth of SharePoint tips, tricks and topics. Personally, I turn to her books whenever I have a question about something in SharePoint.
Registration is open now!

MS ITPro Evangelists Blogs

More Great Blogs