Wednesday, May 11, 2011

Microsoft Exchange 2010 Installation Step-By-Step Part 2 (Organization Configuration)

Now that the base install of Exchange 2010 is up and running as per my previous article we can start the finalisation of the deployment tasks.

A good link to follow is the standard one on Technet (Exchange has a link to it on the Management Console). http://technet.microsoft.com/en-us/library/bb125262(EXCHG.140).aspx?v=14.0.639.21&t=exchgf1

I find the best way to configure Exchange is to go through each setting and configure as you go along. The Exchange Management Console (EMC) is set out to start with the Organisation Configuration, followed by the Server Configuration and finally the Recipient Configuration. In multi-Exchange environments each of these could split off but as we are building a standalone environment all of these apply. See clipping below.

image

 

Let’s start with Organization Configuration – Mailbox

image

The first tab on the viewing pane is the Mailbox tab. By default Exchange creates a single Database and stores it on the C: Drive of the server. It is always advisable to separate your data from your system so it would be better to move the database to separate volume. I have created an E: Drive on this server so here are the steps to move the database to separate volume.

1. Right-Click on the Database Name and click on ‘Move Database Path’

2. In the window that opens direct the database and log files to the new volume. In this example I have pre-created a ‘Data’ folder and ‘Logs’ folder and I am moving the relevant files to this location. This is accomplished by changing the path in the text boxes provided as per the example below.

image

Click on ‘Move’. Exchange will warn you that it will need to dismount the database and this will cause user access errors. Bear this in mind if you are doing this post deploying Exchange into your production environment.

image

Click on ‘Yes’. The wizard will now move the data and logs and will communicate once done as below. Naturally the larger the data in question, the longer this process will take.

image

I generally leave the rest of the tabs in this section (Organization Configuration – Mailbox) which are generated by Exchange during the installation.

 

Let’s move to the next section – Organization Configuration – Client Access

This section has two tabs as per the example below. I leave them as they were generated by Exchange during the installation.

image

 

Now on to Organization Configuration – Hub Transport

The Hub Transport Section has several tabs as per the clipping below:

image

I generally leave Remote Domains on default. Let’s move onto Accepted Domains.

You will note that in this Tab, Exchange has created a default accepted domain as per the AD organisation of the Exchange server. In this example it is sft.local.

image

We do however need to add our external mail domain to this list else Exchange will not accept mail for our domain. Right-Click in the pane and click on ‘New Accepted Domain’. A window will open.

image

Type the domain name in the format domain.com in both text boxes as it is easier to manage when you start having multiple accepted domains. Select the ‘Authoritative Domain’ and click ‘New’. In this example Exchange is standalone but you may select internal / external relay in larger installations if you so require.

Exchange will create the new domain. You now need to set it to default.

image

Right-click on the newly created domain and click on ‘Set as Default’. Click Yes when challenged by the system.

In the E-Mail Address Policies Tab when need to create an e-mail address policy. Right-click in the pane and click on ‘New E-Mail Address Policy..'.’

image

As this is an example domain I am using I select my ‘Users’ OU but you can set a policy per OU if you so wish. Simpler is always better so try and keep your policies as few as possible. Give the Policy a name and select All Recipient Types and then click ‘Next’.

image

There are no custom values in this example. Click ‘Next’.

image

We now need to create our e-mail address policy. Click on Add.

image

I have selected name.last name as my default but you can set it to your organisation standard. I also have selected the ‘Select the accepted domain to the e-mail address’ and selected the domain I created in the previous step not the default AD domain. Click ‘Ok’ then Click ‘Next’.

image

You can select to apply the policy immediately or else defer it or put it on hold. In this example we apply it immediately. Click ‘Next’.

image

Click Next and the policy is created and applied.

I leave Transport Rules and Journal Rules as they do not apply to my organisation. Next we move on to ‘Send Connectors’.

image

We need to configure a ‘Send Connector’ to enable Exchange to send e-mail. Right-Click in the pane and click on ‘New Send Connector’.

image

Give the connector a name… I used ‘Default Connector’ and set the type to ‘Custom’. Click ‘Next’.

image

We are allowing this Exchange to send to everyone. Click ‘Add’ and in the address field type “*” i.e. Shift-Eight. Click ‘Ok’ then click ‘Next’.

image

Select ‘DNS’ as your preferred Network Setting. Click ‘Next’

image

As this is a standalone installation the source server is the current server. Click ‘Next’.

image

You are now ready to create the Send Connector. Click ‘New’ and then ‘Finish’.

The last two tabs of the Hub Transport Role I leave in their default state. You can however amend the Transport rules in the last tab where you can specify maximum mail size, number of recipients etc.

The final tab in Organization Configuration is Unified Messaging but as we are not creating this server to have a UM role. This part is not touched.

We are now complete with the Organization Configuration section of the installation.

C

Monday, May 9, 2011

Microsoft Exchange 2010 Installation Step-By-Step Part 1 (Software Installation and Pre-Requisites)

In today’s times, the uptime for any mail environment must be as close as possible to 100% as e-mail is the de facto communication mechanism for most organisations and any down time translates to lost opportunities and efficiencies.

Microsoft Exchange has been our de-facto mail server since version 5.5. The latest version of Exchange (2010) is what we will be dealing with in this article. Generally Exchange is installed by an Exchange expert once and then left to run for years on end. However if you do not have an Exchange expert handy I hope that this article will assist you in building your Exchange with a step-by-step installation and configuration guide for a simple, standalone environment.

Due to the long and complex nature of a modern Exchange installation, this article will be split into two parts. Part 1 deals with the installation of a standalone Exchange server in an Active Directory domain environment. Subsequent part(s) will deal with configuring the Exchange for additional  services e.g. Outlook Anywhere and ActiveSync which will allow your users to connect via their workstations / mobile devices from anywhere… assuming of course they have Internet access.

Installing the Pre-Requisites

There are a number of pre-requisites required for an Exchange 2010 installation. Although the Exchange installation wizard will not allow you to continue until these are in place it will save a little time to have these done before you run the Exchange 2010 wizard.

The basics (What I have done so far):

  • I have already created a domain and added the soon-to-be Exchange server to that domain.
  • The server is running Windows Server 2008 R2 SP1. Note that Exchange since version 2007 has only been able to run on a x64 platform.
  • I have run the latest updates.
  • I have disabled the built-in Windows Firewall as the Server is in a DMZ between two TMG servers
  • I have also disabled UAC as it makes remote work easier over a very slow Internet connection.

Pre-Requisite Number 1 (ADDS and .Net 3.5 SP1):

  • Open Server Manager and click on ‘Add Roles’
  • Tick ‘Active Directory Domain Services’ and click ‘Next’
  • You will be prompted to add the ‘.Net Framework 3.5 SP1’ which you will also need for Exchange so click on ‘Add Required Features’ then click on ‘Next’ and install the role and the feature.

image

Pre-Requisite Number 2 (IIS):

  • Open Server Manager and Click on ‘Add Roles’
  • Tick the ‘Web Server (IIS)’ block and Click Next.

image

In IIS I enable all features except the ones shown in the clippings below:

  • ASP
  • CGI

image

  • FTP server
  • IIS Hostable Web Core

image

Once you have selected the correct features go ahead and install IIS.

Pre-Requisite Number 3 (RPC over HTTP Proxy)

This is needed to enable the Outlook Anywhere functionality but is not documented in any part of the Exchange 2010 install and all pre-requisite tests pass without this feature being in place. It is important to get this in before you start the Exchange 2010 install to save your self precious time later.

  • Open Server Manager and click on ‘Add Features’

image

  • Tick the RPC over HTTP Proxy and click ‘Next’ and then ‘Install’. If there are some IIS features that you have not installed as a prerequisite you will be prompted to add these at this point.

Pre-Requisite Number 4 (2007 Office System Converter):

image

Pre-Requisite Number 5 (Set the .Net TCP Port Sharing Service to Automatic)

Open the Services MMC and find the .Net TCP Port Sharing Service. You will note that it has not started and is set to disabled by default.

image

Double-Click the service name and set the ‘Startup Type’ to Automatic.

image

Apply the change, click ‘Ok’ then right-click on the service and click on ‘Start’

image

We are now ready to start the Exchange 2010 install!

Double-click ‘Setup.exe’ on the Exchange 2010 DVD.

image

Click on ‘Choose Exchange language option’

Select install only languages from the DVD

image

Click on Install Microsoft Exchange

image

Click ‘Next’

image

Accept the License Terms and Click ‘Next’

image

Select your preferred Error Reporting an Click ‘Next’

image

We are installing a ‘typical’ Exchange which hosts all the Exchange roles on a single server. Choose the top option and click ‘Next’

image

Specify the Exchange Organisation. I usually leave this at the default ‘First Organisation’. Click ‘Next’

image

Specify non-standard client settings i.e. if you have Outlook 2003 or Entourage running then select yes. We do not for this example so the selection stays on ‘No’. Click ‘Next’

image

Specify the mail domain i.e. the FQDN of the mail server on the Internet i.e. mail.domain.com. Then click ‘Next’

image

Select your preference for ‘Customer Experience Improvement Program’ then click ‘Next’.

image

Exchange setup will now run through a Readiness Check. If you have followed the pre-requisite steps above the final screen should look like the one below. Now click ‘Install’.

image

Exchange 2010 will now go through the installation process. In this example it took approximately 20 minutes.

image

Click ‘Finish’. The Exchange Management Console (EMC) will now open and we can now start the configuration which is detailed in the next article.

image

C