Installing and Configuring Exchange Server 2007 in Windows Server 2008

Embed Size (px)

Citation preview

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    1/22

    Installing and configuring Exchange server 2007in Windows server 2008

    Prerequisites:

    y Active Directory Domain Servicesy Domain Name Systemy Web Server (IIS)

    Other major prerequisites for Exchange Server 2007 are .Net Framework, MMC 3.0 andPowerShell installed before we deploy Exchange Server 2007.

    .Net Framework and Microsoft Management Console (MMC) 3.0 features have already installedin the Windows 2008 by default, so we have to install PowerShell and to accomplish this task wehave to follow these steps:

    1. Open Server Manager (St ar t/ Admi n ist ra tive Tools/ S er ver Manager) 2. Click on F ea tu re s, then click on Add F ea tu re s 3. Choose PowerShell on that list, and then click Next

    Final screen of the Windows PowerShell installation

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    2/22

    Now, we have to wait the Exchange Server 2007 SP1 to deploy Exchange Server 2007 onWindows Server 2008, but all Exchange Server 2007 prerequisites are done.

    Steps for Installing exchange server 2007

    Step 4: Install Microsoft Exchange

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    3/22

    A nd in the Introduction window click on N ext

    4. Click on the I accept the terms in the license agreement option and click N ext

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    4/22

    5. Select Yes or N o for the Error Reporting option. In my example Im going to enable thisfeature. When ready, click on N ext

    6. Select one of the installation types listed. We are going to select the Custom InstallationSetup. In this window you may also specify the path for the installation and we are specifyingdefault when ready, click next

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    5/22

    7. Select the roles to be installed. We are going to select Hub transport role and client accessserver role to install.

    If the installation path needs to be changed we can change it here.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    6/22

    7. In the next window you can specify client settings. Click on the Yes option if you think thatone of your clients might have Outlook 2003 on his or her system.

    If you are positive that all client computers have Outlook 2007 installed, you may click on N o.When ready, click on N ext to continue

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    7/22

    8 . Once the Readiness Checks are done running, click on the Install button to start theinstallation

    9. The entire installation takes approximately 30 minutes. When it is successful you will see thiswindow, on which you can go ahead and click Finish

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    8/22

    1 0. You should update your Exchange server right after the installation. To do so, go back to themain install screen and click on Step 5: Critical Updates for Microsoft Exchange

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    9/22

    Creating failover clustering and MultiPathing in windows 200 8 server

    Steps for Multipathing I/O

    To add MPIO on a server running Windows Server 2008 R2

    1. Open Server Manager . To open Server Manager, click Start , point to Administrative Tools , and thenclick Server Manager .

    2. In the Server Manager tree, click F eatures .

    3. In the F eatures area, click Add F eatures .

    4. In the Add Features Wizard, on the Select F eatures page, select the Multipath I/O check box, and then

    click Next .

    5. On the C onfirm Installation Selections page, click Install .

    6. When the installation has completed, on the Installation Results page, click C lose . When prompted torestart the computer, click Yes .

    7. After restarting the computer, the computer finalizes the MP IO installation.

    8. Click C lose .

    S teps for configuring Failover Clustering

    To connect the cluster servers to the networks and storage

    1. Connect and configure the networks that the servers in the cluster will use.

    2. If your test configuration includes clients or a non-clustered domain controller, make sure that these

    computers can connect to the clustered servers through at least one network.

    3. Follow the manufacturer's instructions for physically connecting the servers to the storage.

    4. Ensure that the disks (LUNs) that you want to use in the cluster are exposed to the servers that you will

    cluster (and only those servers). You can u se any of the following interfaces to expose disks or LUNs:

    y The interface provided by the manufacturer of the storage.

    y If you are using iSCS I , an appropriate iSCS I interface.

    y Microsoft Storage Manager for SANs (part of the operating system in Windows Server 2008). Touse this interface, you need to contact the manufacturer of your storage for a Virtual Disk Service

    (VDS) provider package that is designed for your storage.

    5. If you have purchased software that controls the format or function of the disk, follow instructions from

    the vendor about how to use that software with Windows Server 2008.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    10/22

    6. On one of the servers that you want to cluster, click Start , click Administrative Tools , click C omputer

    Management , and then click Disk Management . ( If the User Account C ontrol dialog box appears,

    confirm that the action it displays is what you want, and then click C ontinue .) In Disk Management,

    confirm that the cluster disks are visible.

    7. If you want to have a storage volume larger than 2 terabytes, and you are using the Windows interface to

    control the format of the disk, convert that disk to the partition style called GU I D partition table (GPT). To

    do this, back up any data on the disk, delete all volumes on the disk and then, in Disk Management, right-

    click the disk (not a partition) and click C onvert to GPT Disk .

    For volumes smaller than 2 terabytes, instead of using GPT, you can use the partition style called master boot

    record (MBR).

    Step 2: Install the failover cluster featureIn this step, you install the failover cluster feature. The servers must be running Windows Server 2008.

    To install the failover cluster feature on the servers1. If you recently installed Windows Server 2008, the Initial C onfiguration Tasks interface is displayed, as

    shown in the following illustration.

    If this interface is displayed, under C ustomize This Server , click Add features . Then skip to step 3.

    2. If the Initial C onfiguration Tasks interface is not displayed and Server Manager is not running, click

    Start , click Administrative Tools , and then click Server Manager . ( If the User Account C ontrol

    dialog box appears, confirm that the action it displays is what you want, and then click C ontinue .)

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    11/22

    In Server Manager , under F eatures Summary , click Add F eatures .

    3. In the Add F eatures Wizard , click F ailover C lustering , and then click Install .

    4. Follow the instructions in the wizard to complete the installation of the feature. When the wizard finishes,

    close it.

    5. Repeat the process for each server that you want to include in the cluster.

    Step 3: Validate the cluster configurationBefore creating a cluster, we strongly recommend that you validate your configuration. Validation helps youconfirm that the configuration of your servers, network, and storage meets a set of specific requirements forfailover clusters.

    To validate the failover cluster configuration1. To open the failover cluster snap-in, c lick Start , click Administrative Tools , and then click F ailover

    C luster Management . ( If the User Account C ontrol dialog box appears, confirm that the action it

    displays is what you want, and then click C ontinue .)

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    12/22

    2. Confirm that F ailover C luster Management is selected and then, in the center pane under

    Management , click Validate a C onfiguration .

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    13/22

    3. Follow the instructions in the wizard to specify the two servers and the tests, and then run the tests. To

    fully validate your configuration, run all tests before creating a cluster.

    4. The Summary page appears after the tests run. To view Help topics that will help you interpret the

    results, click More about cluster validation tests .

    5. While still on the Summary page, click View Report and read the test results.

    To view the results of the tests after you close the wizard, see

    SystemRoot \ Cluster \ Reports \ Validation Report date and time .html

    where SystemRoot is the folder in which the operating system is installed (for example, C: \ Windows).

    6. As necessary, make changes in the configuration and rerun the tests.

    Step 4: C reate the clusterTo create a cluster, you run the Create Cluster wizard.

    To run the C reate C luster wizard1. To open the failover cluster snap-in, c lick Start , click Administrative Tools , and then click F ailover

    C luster Management . ( If the User Account C ontrol dialog box appears, confirm that the action it

    displays is what you want, and then click C ontinue .)

    2. Confirm that F ailover C luster Management is selected and then, in the center pane under

    Management , click C reate a cluster .

    Follow the instructions in the wizard to specify:

    y The servers to include in the cluster.

    y The name of the cluster.

    y Any IP address information that is not automatically supplied by your DHCP settings.

    3. After the wizard runs and the Summary page appears, to view a report of the tasks the wizard

    performed, click View Report .

    Steps for configuring a two-node file server cluster

    To configure a two-node file server failover cluster, follow these steps:

    To configure a two-node file server failover cluster

    1. To open the failover cluster snap-in, c lick Start , click Administrative Tools , and then clickF

    ailoverC luster Management . ( If the User Account C ontrol dialog box appears, confirm that the action it

    displays is what you want, and then click C ontinue .)

    2. In the console tree, if the cluster that you created is not displayed, right-click F ailover C luster

    Management , click Manage a C luster , and then select the cluster you want to configure.

    3. In the console tree, click the plus sign next to the cluster that you created to expand the items

    underneath it.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    14/22

    4. If the clustered servers are connected to a network that is not to be used for network communication in

    the cluster (for example, a network intended only for iSCS I), then under Networks , right-click that

    network, click Properties , and then click Do not allow the cluster to use this network . Click OK .

    5. Click Services and Applications . Under Actions (on the right), click C onfigure a Service or

    Application .

    6. Review the text on the first page of the wizard, and then click next .

    7. Click F ile Server , and then click Next .

    8. Follow the instructions in the wizard to specify the following details:

    y A name for the clustered file server

    y Any IP address information that is not automatically supplied by your DHCP settingsforexample, a static IPv4 address for this clustered file server

    y The storage volume or volumes that the clustered file server should use

    9. After the wizard runs and the Summary page appears, to view a report of the tasks the wizard

    performed, click View Report .

    10. To close the wizard, click F inish .

    11. In the console tree, make sure Services and Applications is expanded, and then select the clustered file

    server that you just created.

    12. Under Actions , click Add a shared folder .

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    15/22

    The Provision a Shared F older Wizard appears. This is the same wizard that you would use to

    provision a share on a nonclustered file server.

    13. Follow the instructions in the wizard to specify the following settings for the shared folder:

    y Path and name.

    y NTFS permissions (optional).

    y Advanced settings for the SMB protocol (optional). SMB is used by Windows-based clients. Thesettings include:

    - User limits.

    - Offline settings (caching).

    - Access-based enumeration, described in Shared folders in a failover cluster

    y Whether the NFS protocol will be used, for support of UN IX -based clients (optional).

    14. After completing the wizard, confirm that the clustered file server comes online. If it does not, review the

    state of the networks and storage and correct any issues. Then right-click the new clustered file server

    and click B ring this service or application online .

    15. To perform a basic test of failover, right-click the clustered file server, click Move this service or

    application to another node , and click the available choice of node. When prompted, confirm your

    choice.

    S teps to create a cluster

    G o to Start>Failover cluster management

    The new MMC Snap-In for Failover Clustering Management appears:

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    16/22

    Select create a cluster

    Creating a Cluster

    So, hit the link Create a Cluster , and the Create Cluster Wizard appears, with some usefulinformation regarding clustering. After reading, hit Next and the fun begins. This is whereyou will enter the servers that will participate in your soon-to-be-formed cluster. Justput the name and hit add for each one of them.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    17/22

    O nce you are done listing your hit Next , and the new validation screen appears, asking if you want to validate your configuration

    Select yes to validate the configuration

    Hit Next and it starts the validate configuration

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    18/22

    A copy of this report is stored in your %w indir %\c luster \ reports directory if you need toaccess it later.

    So here it is finally, your cluster name. This is how everybody will acces this cluster and hitNext .

    So we get to a review page, with our cluster name, the nodes

    that will participate on it, even the IP addresses! Hit Next .

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    19/22

    Some time passes by, some messages, some blue bar filling up and click on finish

    We created a new cluster! You can even check a detailed report with the V iew Report button. When you press Finish , you go back to our Cluster Control Panel, with our two-node cluster created and ready to configure a highly-available service or application.

    After the cluster installation has finished the Failover cluster management will be as shown in

    below

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    20/22

    After finished creating the cluster successfully we shall proceed with installing the Activeand passive mailbox role. Since cluster in the primary requirement for Active and passivemailbox installation.

    Steps for installing Active and Passive Mailbox

    Requirements:

    y A public network interface for normal network operationsy A private network interface for the cluster heartbeaty Shared disk storage for the database, log files, and cluster quorum disk

    Once the failover cluster has been configured we can install Exchange Server 2007 on the firstnode. Run setup as normal, and when selecting the roles to install choose A ctive ClusteredMailbox Role as the server role. You will notice that a clustered mailbox server cannot co-existwith any other server role.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    21/22

    Choose Single Copy Cluster as the cluster type, give the cluster a name, and specify a path for the database files. The database path must be on a shared cluster disk.

    Finally, give the cluster an IP address.

    Exchange setup will configure all of the required cluster groups and resources for the underlyingfailover cluster automatically. Once the active node is installed repeat the setup process on the

    passive cluster node, this time choosing Passive Clustered Mailbox Role.

  • 8/8/2019 Installing and Configuring Exchange Server 2007 in Windows Server 2008

    22/22

    Managing a Single Copy Cluster

    For most Exchange administrative tasks the clustered mailbox server will appear like any other mailbox server. For example, the storage group will show up as with any other mailbox server.

    [PS] C:>Get-StorageGroup

    Name Server Replicated---- ------ ----------

    First Storage Group EXCHMAILBOX NoneSecond Storage Group EXCHMAILBOX NoneFirst Storage Group EXCHCMS None

    You can view the status of the CMS using the Exchange Management Shell.

    [PS] C:>Get-ClusteredMailboxServerStatus

    Identity : EXCHCMSClusteredMailboxServerName : EXCHCMS.contoso.comState : OnlineOperationalMachines : {EXCHMAILBOX1 Move-ClusteredMailboxServercmdlet Move-ClusteredMailboxServer at command pipelineposition 1

    Supply values for the following parameters:Identity: exchcmsTargetMachine: exchmailbox2MoveComment: Testing

    ConfirmAre you sure you want to perform this action?Moving clustered mailbox server "exchcms" to targetnode "exchmailbox2" with move comment "Testing".

    [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend[?] Help (default is "Y"):y