Zero Hour Sleep
24Aug/111

Creating a DAG in Exchange 2010 SP1 multi-tenant mode

After my posts about Exchange multi-tenant or hosting mode I got a lot of questions about how to create Database Availability Group, or DAG, when running Exchange hosted. So I decided to dedicate a post on how to configure/create DAG using powershell.

Technically the below applies to any exchange setup but, since when running in hosting mode there is no more Exchange Management Console, it might be specially useful if you are trying to configure a DAG while running exchange in multi-tenant mode.

The setup

For this article I am using 2 Exchange 2010 SP1 servers running the mailbox role in multi-tenant mode configured as below

Name LAN IP Replication network IP
VSMBX1 10.2.1.71 192.168.99.71
VSMBX2 10.2.1.72 192.168.99.72
10Aug/110

Cannot install the Certificate Authority Web Enrollment component

I have recently been faced with a Certificate Authority server running on Microsoft Windows 2008 R2 that was refusing to have the Web Enrollment component installed.

I have tried installing by the GUI and using powershell using add-windowsfeature ADCS-Web-Enrollment and both method failed with the following error

"Certification Authority Web Enrollment cannot be installed on this computer or Error: Cannot install Certification Authority Web Enrollment."

The solution to this problem is

  1. Run regedit on the server
  2. Browse to HKLocalMachine\System\CurrentControlSet\Services\CertSvc\Configuration
  3. Change the SetupStatus key to 0×6001 (it was 0x6003 in my case)

Et voila you should be able to install the web enrollment now without issues