On part 1 and 2 we created the Virtual Machines for our Lab and installed Active Directory Domain Services to our Domain Controller Machine. In part 3 we are going to prepare out Active Directory computer and our Exchange computer to install Exchange Server 2010.
Add the Exchange VM to the Domain
First let’s connect to out Exchange VM. As we did with the DC VM, open your Azure Management Portal, navigate to VIRTUAL MACHINES, select (highlight) the Exchange VM, and click on CONNECT on the lower pane. Click save on the in-browse popup.
Open the directory where the file was saved, and open the file. Click Connect on the Remote Connection is from an unknown warning message. On the Windows Security Windows insert your credentials, remember to write VM_Name\User_Name.
On the certification error warning click Yes and wait to your remote desktop session to start.
Once you are connected to your Exchange VM, verify the IP and DNS configuration. In PowerShell run the command ipconfig /all verify that the IP address is the one you assigned to your Exchange VM and that the DNS server IP address is the correct one.
After verifying the VM IP configuration, our next step is to make of this computer a Domain Join computer. So to start, on the Initial Configuration Tasks window that opens automatically you will notice that on the same window the Full Computer Name and Workgroup are VLAB08EX and WORKGROUP respectively. To change this click on Provide Computer Name and Domain.
Finally, you will now see that the Full computer name changed to form of Name.Doman (VLAB08EX.contosovlab.com) and Workgroup is now Domain and changed to your domain name (contosovlab.com). Click Close to continue.
Congratulations! Your computer is now a domain join computer
Exchange Server 2010 Prerequisites and preparations.
First you should verify that the computers where you are installing Exchange and your DC meet the following systems prerequisites. In our Lab we can continue with the installation, if you have other servers in your lab I would recommend you read the systems prerequisites.
Note: If you haven’t downloaded the Exchange server installation files you can do it from this link, you will need to access to this file from both computers the DC and the Exchange VMs. (You can just download the file to both computers).
Note: The steps followed here are specific to our lab (Windows Server 2008 R2 DC and Windows Server 2008 Exchange machine, and we will be installing Exchange Server 2010 SP3). Finally, as we have only one computer for the exchange role, we will be using a Multi-Role server, meaning that the same server will have all three of the core Exchange 2010 roles installed (Client Access, Hub Transport, and Mailbox server roles). Here is a great post with more information on Multi-Role servers.
First let us prepare our DC virtual machine for Exchange server Installation. For our specific environment, we need to make sure of the following.
- Verify the Forest functional level is Windows server 2003 or higher. (If you remember from part #2 we set the forest functional level to Windows Server 2008 R2).
You can verify the forest functional level. Open the Server Manager, Expand the option on Roles, Active Directory Domain Services, and select Active Directory Users and Computers. On the main (center) pane right click to your domain computer (contocovlab.com) and select properties.
- If you’re deploying a new Exchange organization, and you’re preparing your AD schema and Domains using a computer running Windows Server 2008, you must first install the Active Directory management tools on the Windows Server 2008 computer prior to preparing the schema or domains. They should be already installed if you are following this Lab.
However if AD DS Tools are not installed on your computer you can install it by running the following commands in PowerShell:
Import-Module ServerManager Add-WindowsFeature RSAT-ADDS
- Prepare the Schema. Navigate to the directory where you extracted the Exchange installation files and run the following:
- Prepare Active Directory
.\setup /PrepareAD /OrganizationName:Org_Name
With those 4 steps we finish preparing the Active Directory.
- Servers running Exchange 2010 must have Windows Server 2008 SP2 or higher. We are using Windows server 2008 R2, which is fine.
- You have to join the computer to Active Directory forest and Domain. We joined the computer to the domain in the steps above.
- Download and Install
Microsoft Office 2010 Filter Packs on the server that will host the edge transport or the mailbox roles. Note: Make sure to download the 64-bit installation file.
- Open PowerShell as an Administrator and run the following command:
- Then we need to install a number of components that vary depending on the Exchange serve roles we plan to install on our computer. We will be using the typical installation, (Client Access, Hub Transport, and Mailbox server roles installed on the same computer). Therefore, in our lab we have to run the following command to install the necessary components:
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy –Restart
- Run Windows Update on your computer, make sure you have all critical updates installed.
If you want the installation requirements for specific roles check here.
With those 6 steps we are ready to start the installation of Exchange 2010.