samedi 10 décembre 2011

Upgrading to Exchange 2010 SP2 : Best practices for Database Availability Group “DAG”

Database Availability Group or “DAG” is the high availability feature for the mailbox server role. DAG is a critical feature in an Exchange organization. It means that databases included in the DAG must be high available and no disconnection or unavailability is tolerated. Assuming that applying a new service pack will impact the availability of mailbox servers, we need to make some rules to achieve our aim and after that we make a strategy for the upgrade process:

  1. We have to apply Service Pack only to passive node
  2. If any software is monitoring our DAG , we have to put the DAG members in maintenance mode like in SCOM.2011-12-09_161418

2011-12-09_161450

or you run the following PowerShell script if there is no SCOM monitoring : StartDagServerMaintenance.ps1

Now, in order to install the SP2, you have to proceed by:

  1. Run the cmdlet : Get-DatabaseAvailabilityGroup – status | Format-List PrimaryActiveManager   As a result, you know which server is the active partner and the preferred one in the cluster configurationps1 
  2. After that, you have to set another DAG partner to hold the active copy of the database. You have to run: Move-ActiveMailboxDatabase –Server <DAG Memeber>ps2
  3. Before applying The SP2, you have to block the Active Manager, this process responsible for detecting the state of a partner in the DAG, so that, you block the failover. In fact, when the Active partner fails, you cannot failover to the second one because, you are in process of installing the SP. You have to run : Set-MailboxServer –Identity <ServerName> –DatabaseCopyAutoActivationPolicy:Blockedps3

Now, It’s time to install the Exchange 2010 SP2 on the passive partner.

mbx1

mbx2

Good news, the installation in the passive partner succeeded without error. Now, we have to do this steps in the passive node:

  1. Enable the failover for the passive partner by running : Set-MailboxServer –Identity <ServerName> –DatabaseCopyAutoActivationPolicy:Unrestricted
  2. Disable the DAG maintenance by running the following script: StopDagServerMaintenance.ps1

Finally, you have to repeat all steps listed above for each DAG partner.

Good luck

vendredi 9 décembre 2011

Move-ActiveMailboxDatabase Failed

I have configured two server as partner in a DAG scenario. I tried to move a database from one server to the other. The passive database is healthy. The move request with the EMC or PowerShell command failed. This is a screenshot of the error :

movemailboxdatabase

By the way, the solution is so strange!!! I did the following :

  1. Stop the database Copy
  2. Resume the Database Copy
  3. Move the mailbox succeeded ! Great but Strange :-)

Exchange 2010 SP2: IIS 6 WMI Compatibility is required

When you install the Service Pack 2 of Exchange 2010, you may encounter this error ‘The IIS 6 WMI Compatibility component is required’. In fact, when you upgrade your client access server role you  have to add this component. It’s a new prerequisites for CAS role.

ins3

Because I’m a PowerShell fun, this Cmdlet will solve the issue :

  • Open Windows PowerShell
  • Type : Import-Module ServerManager
  • Type : Add-WindowsFeature Web-WMI

NB: You only encounter this error when you upgrade from Ex2010 SP1 to SP2. But, when you install Exchange 2010 SP2 for the first time in your organization, you only check the box ‘Automatically install Windows Server roles and features required for Exchange’ and Exchange 2010 install all prerequisites for you.

ins11

Exchange 2010 SP2 and Forefront Protection For Exchange 2010 (FPE 2010)

 

The Exchange 2010 service pack 2 is released, so you have to upgrade to this new SP. But, many companies have deployed Forefront for Exchange to make their messaging solution more secure against Spams and virus.

The problem: Is there any known issue that will be produced when upgrading to Exchange SP2 in an infrastructure that contains FPE 2010 ?

Answer: Until now, there’s no any announcement from Microsoft about that. But, in my test lab, I do the following:

  1. Download and install the recent update of FPE2010 ( Download)
  2. Install the SP2 of Exchange (Download)

I haven’t received any issues. It seems to be fine. Exchange 2010 SP2 and FPE 2010 seems to be compatible. But, we must wait for Microsoft to announce that.

Out Of Office and Distribution Group

Out Of Office is a very useful feature and it’s known as OOO. You can configure it easily in you MS Outlook. For Exchange administrator’s there are different kinds of recipients such as Distribution Group. In fact, with DG you can send one mail to a list of users or contacts. But, if the member’s of a specific DG are Out Of Office for a period, how we configure OOF for the DG?

With Exchange 2010 you can configure the distribution group to send OOO message. You have to go to the properties of the DG and check the box “Send Out Of Office message to the originator”

ts-ooo

How this option works? let see this scenario:

Case: We have  5 members in a DG named TS. A user send an email to the TS DG. Three of the DG members have OOO enabled. The OOO option in the DG is enabled.

As a result: The sender will receive three OOO messages !!!

Conclusion: This option take effect if at least one of the DG member have OOO configured. The sender will receive OOO message from each member having OOO configured. The content of each OOO is the content configured by each member in the DG.

mardi 6 décembre 2011

Remote session was disconnected because there are no remote desktop (Terminal server) Client access licences available for this computer

In order to make a connection to my TS server, I received this error message. I thought that my TS server folks. I made a search in technet to find a solution but no way. This error is only in my client machine, and for others, RDC worked like a charm. I thought that my client is unable to receive a good licence from TS licence server, so, I tried to delete this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing
And it worked like a charm. How lucky I'am !

Service Pack 2 for Exchange 2010 is available

The Service Pack 2 for Exchange 2010 is now available. You can download it from this MS link :
http://www.microsoft.com/download/en/details.aspx?id=28190

For the new features : http://technet.microsoft.com/en-us/library/hh529928.aspx

Enjoy ! :)

Qui êtes-vous ?

Ma photo
MCC | MCT | MCITP Exchange 2010 | MCITP Exchange 2007 | MCITP Server Administrator