| 0 comments ]

Creating and Monitoring Exchange Clusters

Add a note hereThe process to create any clustered resource, including an Exchange cluster, is a lengthy one, but one that can be completed effectively if you have prepared adequately ahead of time. The following list represents the basic, high-level steps that you must complete to create an Exchange Server 2003 cluster.


Note

Add a note hereThe remaining discussion in this chapter assumes that you will be creating a single quorum cluster, which is the most widely used type at the current time.

  1. Add a note hereProcure the required servers and storage device, making sure that all hardware is listed on the Hardware Compatibility List, located at www.microsoft.com/whdc/hcl/.

  2. Add a note hereInstall and configure the hardware as directed by the hardware vendor.

  3. Add a note hereInstall Windows Server 2003 Enterprise Edition or Datacenter Edition on each server that will be part of the cluster.

  4. Add a note hereJoin all servers that will be part of the cluster to the domain.

  5. Add a note hereUse the Windows Components Wizard to install the required services on each server, as discussed in Exercise 3.1.

  6. Add a note hereConfigure the servers to support the shared storage device per the hardware vendor’s instructions.

  7. Add a note hereConfigure the two network interfaces in each server to connect to the two different networks required. One network interface in each server will be part of the private network that is used for administrative traffic among cluster nodes, including the heartbeat. The other network interface will be part of the publicly accessible network that will service incoming client requests. These two networks should be on different subnets and not connected to each other in any way. Figure 4.4 provides a simplified illustration of how this will look.

    Add a note here Click to collapse
    Add a note hereFigure 4.4: Two networks are used for a cluster.

  8. Add a note herePrepare the Active Directory forest for the Exchange installation as discussed in Exercise 3.2.

  9. Add a note herePrepare the Active Directory domain into which the cluster will be installed, as well as any other domains that will have Exchange users or Exchange administrators, as discussed in Exercise 3.3.

  10. Add a note hereCreate a domain user account using Active Directory Users and Computers that will be used by the MSCS. The password on this account should be configured to never expire, although you can go back later and change the password as required by your organization’s security policies. This account will be used when the cluster is created and will be given special cluster-related rights.

  11. Add a note hereVerify that the cluster service is running on each server that will be a member of the cluster by opening the Cluster Administrator (located in the Administrative Tools folder). The cluster service must be operational before installing Exchange onto any server that will be a part of the cluster.

  12. Add a note hereCreate the first member of the cluster, as discussed later in Exercise 4.1.

  13. Add a note hereAdd the remaining servers to the cluster, as discussed later in Exercise 4.2.

  14. Add a note hereInstall the Microsoft Distributed Transaction Coordinator as a cluster resource, as discussed later in Exercise 4.3.

  15. Add a note hereCompletely install Exchange Server 2003 on the first node, as discussed in Exercise 3.4.

  16. Add a note hereGrant the cluster service account you created in Step 10 the Exchange Full Administrator permission, as discussed later in Exercise 4.4.

  17. Add a note hereInstall Exchange Server 2003 on each of the remaining cluster nodes, as discussed previously in Exercise 3.4.

  18. Add a note hereCreate an Exchange virtual server on each active cluster node, as discussed later in Exercise 4.5.

Add a note hereWith that high-level examination of the Exchange cluster creation process out of the way, we can now move forward into the more detailed subprocesses that are involved.

Add a note here Creating a Cluster

Add a note hereOnce you’ve gotten to this point, you’ve undoubtedly done your homework and are well prepared to create the cluster for your Exchange Server 2003 installation. As a last-minute checklist, be sure you have answers for the following questions:

  • Add a note hereWhich quorum model will you be using?

  • Add a note hereDo you have a standard configuration and operating procedure for your shared storage device?

  • Add a note hereHave you set aside the required IP addresses and hardware required to create the subnets for your private and public networks? (Each of these IP addresses should be statically configured.)

  • Add a note hereHave you acquired the required static IP address for the cluster as a whole?

  • Add a note hereHave you determined the NetBIOS cluster name? (This must be 15 characters or less.)

  • Add a note hereHave you determined the failover and failback policies that you will need for your clustered resource?

Add a note here Exercise 4.1 walks through the required steps to create a new cluster.

Add a note here EXERCISE 4.1: Creating a New Cluster

  1. Add a note hereOn the first node, open the Cluster Administrator by selecting Start > All Programs > Administrative Tools > Cluster Administrator. You should see the Open Connection to Cluster dialog box.

    Add a note here Image from book
  2. Add a note hereIf you do not see this dialog box, click the File menu and select Open Connection.

  3. Add a note hereFrom the Action drop-down, select Create New Cluster and then click OK. The New Server Cluster Wizard opens.

  4. Add a note hereClick Next to dismiss the opening page of the New Server Cluster Wizard.

  5. Add a note hereOn the Cluster Name and Domain page, seen below, select the domain that the cluster will belong to. The default selection is the domain in which the cluster is located. You will also need to enter a NetBIOS-friendly cluster name in the Cluster Name box. Click Next.

    Add a note here Click to collapse
  6. Add a note hereIn the Select Computer page, seen below, select the server that will be the first node of the new cluster. By default, this is the computer on which you are performing the process. Click Next.

    Add a note here Click to collapse
  7. Add a note hereThe Analyzing Configuration page will appear, and the analysis process will run for a short period of time. When the process is done you may see an output similar to that shown below. Cautions indicate areas you may wish to investigate and correct if required. Warnings prevent the creation of the cluster. Click Next after viewing the output.

    Add a note here Click to collapse

    Note

    Add a note hereThe analysis results shown here are consistent with the cluster creation process on a server that does not have an external shared storage device.

  8. Add a note hereOn the IP Address page, enter the IP address that is being assigned to the cluster itself. Click Next.

  9. Add a note hereOn the Cluster Service Account page, enter the credentials for the domain user account that you created previously to act as the cluster service account. Click Next.

  10. Add a note hereOn the Proposed Cluster Configuration page, you will be able to review the proposed configuration. Clicking the Quorum button will allow you change the type of quorum being used, if applicable. Click Next to create the cluster.

  11. Add a note hereClick Finish to complete the New Server Cluster Wizard. You will see your new single node cluster in the Cluster Administrator.

    Add a note here Click to collapse

Add a note hereThat’s all there is to creating a new cluster and the first node in the cluster. Congratulations! Now it’s time to move on to adding additional nodes to the cluster. Exercise 4.2 shows the required steps to add a new node to an existing cluster.

Add a note here EXERCISE 4.2: Adding Nodes to an Existing Cluster

  1. Add a note hereIf it is not already open, open the Cluster Administrator. If the cluster does not appear in the Cluster Administrator, choose File > Open Connection and supply the required information to connect to the cluster.

  2. Add a note hereRight-click the cluster name in the Cluster Administrator and select New > Node from the context menu.

  3. Add a note hereClick Next to dismiss the opening page of the Add Nodes Wizard.

  4. Add a note hereOn the Select Computers page, seen below, enter the names of the rest of the servers that are to be added to the cluster. Click Next.

    Add a note here Click to collapse
  5. Add a note hereThe Analyzing Configuration page will appear, and the analysis process will run for a short period of time. Click Next after viewing the output.

  6. Add a note hereOn the Cluster Service Account page, enter the credentials for the domain user account that you created previously to act as the cluster service account. Click Next.

  7. Add a note hereOn the Proposed Cluster Configuration page, you will be able to review the proposed configuration. Click Next.

  8. Add a note hereThe Adding Nodes to the Cluster dialog box appears, detailing the status of the node addition. Click Next.

  9. Add a note hereClick Finish to complete the Add Nodes Wizard.


Add a note here Configuring the Exchange Cluster

Add a note here After the cluster has been created and all nodes added, you are ready to begin installing Exchange Server 2003 on all nodes. Before you can do this, however, you must install the Microsoft Distributed Transaction Coordinator. Exercise 4.3 outlines the required steps to install the MSDTC.

Add a note here EXERCISE 4.3: Installing the Microsoft Distributed Transaction Coordinator

  1. Add a note hereIf it is not already open, open the Cluster Administrator. If the cluster does not appear in the Cluster Administrator, choose File > Open Connection and supply the required information to connect to the cluster.

  2. Add a note hereExpand the Groups container and right-click the Cluster Group item. Select New > Resource from the context menu.

  3. Add a note hereThe New Resource dialog box opens, as seen below. Enter a name and description for the new resource. Select Distributed Transaction Coordinator from the Resource Type drop-down list and click Next.

    Add a note here Click to collapse
  4. Add a note hereOn the Possible Owners page, select the first server in the node and click Next.

  5. Add a note hereOn the Dependencies page, select the cluster name and disk resource. Click Next.

  6. Add a note hereClick Finish.

  7. Add a note hereAfter the MSDTC resource appears in the Cluster Administrator, right-click it and select Bring Online.


Add a note here After you’ve created the MSDTC resource, you can install Exchange Server 2003 on the first node in the cluster, as discussed previously in Exercise 3.4. Once you have done this, complete the steps in Exercise 4.4 to grant the cluster service account the Exchange Full Administrator permission.

Add a note hereYou can now install Exchange Server 2003 on the remaining cluster nodes, one at a time, following the procedure discussed in Exercise 4.4. Once you’ve completed this step, you are ready to complete the Exchange cluster creation process by creating the Exchange virtual servers and associated resources. An Exchange virtual server consists of the following additional resources that, all together, make up a cluster resource group:

  • Add a note hereAn IP address resource

  • Add a note hereA network name resource

  • Add a note hereA disk resource

  • Add a note hereAn Exchange 2003 System Attendant resource

Add a note here EXERCISE 4.4: Granting the Exchange Full Administrator Permission

  1. Add a note hereOpen the Exchange System Manager.

  2. Add a note hereRight-click the organization name and select Delegate Control from the context menu. The Exchange Administration Delegation Wizard opens.

  3. Add a note hereClick Next to dismiss the opening page of the wizard.

  4. Add a note hereOn the Users or Groups page, seen below, click the Add button to locate and grant the cluster service account the Exchange Full Administrator permission. Click Next.

    Add a note here Click to collapse
  5. Add a note hereClick Finish to complete the Exchange Administration Delegation Wizard.


Add a note here Exercise 4.5 walks you through the required steps to create the Exchange virtual server and its related resources.

Add a note here EXERCISE 4.5: Creating the Exchange Virtual Server and Related Resources

  1. Add a note hereIf it is not already open, open the Cluster Administrator. If the cluster does not appear in the Cluster Administrator, choose File > Open Connection and supply the required information to connect to the cluster.

  2. Add a note hereRight-click the Groups container and select New > Group from the context menu. The New Group dialog box, seen below, opens. Enter the name and description and click Next.

    Add a note here Click to collapse
  3. Add a note hereOn the Preferred Owners page, verify that no cluster nodes are listed in the Preferred Owners list and click Next.

  4. Add a note hereClick Finish. The new virtual server (also known as a cluster resource group) will be displayed under the Groups container, as seen below.

    Add a note here Click to collapse
  5. Add a note hereTo create the IP address resource, right-click the newly created virtual server and select New > Resource. The New Resource page opens.

    Add a note here Click to collapse
  6. Add a note hereEnter a name and description for the resource. Select the IP Address option from the Resource Type drop-down and make sure the correct group is selected. Click Next.

  7. Add a note hereOn the Possible Owners page, ensure that the first server in the node is listed in the Possible Owners list and click Next.

  8. Add a note hereOn the Dependencies page, ensure that no resources are listed in the Resource Dependencies list and click Next.

  9. Add a note hereOn the TCP/IP Address Parameters page, enter the statically assigned IP address and subnet mask that will be used as the IP address of the Exchange virtual server. This IP address, as with any other IP address, must be unique within your cluster and your network. Click Finish.

  10. Add a note hereTo create the network name resource, right-click the virtual server again and select New > Resource from the context menu.

  11. Add a note hereOn the New Resource page, enter the name and description. Select the Network Name option from the Resource Type drop-down and make sure the correct group is selected, as seen below. Click Next.

    Add a note here Click to collapse
  12. Add a note hereOn the Possible Owners page, ensure that the first server in the node is listed in the Possible Owners list and click Next.

  13. Add a note hereOn the Dependencies page, ensure that the Exchange IP Address resource is listed in the Resource Dependencies list, as seen below, and click Next.

    Add a note here Click to collapse
  14. Add a note hereOn the Network Name Parameters page, seen below, enter a NetBIOS-friendly name and click Finish.

    Add a note here Click to collapse
  15. Add a note hereTo create the disk resource, right-click the virtual server again and select New > Resource from the context menu.

  16. Add a note hereOn the New Resource page, enter the name and description. Select the Physical Disk option from the Resource Type drop-down, and make sure the correct group is selected. Click Next.


    Note

    Add a note hereYou will need a SCSI or Fibre Channel disk in order to be able to configure the Physical Disk resource.

  17. Add a note hereOn the Possible Owners page, ensure that the first server in the node is listed in the Possible Owners list and click Next.

  18. Add a note hereOn the Dependencies page, ensure that no resources are listed in the Resource Dependencies list and click Next.

  19. Add a note hereOn the Disk Parameters page, select the desired disk. Click Finish.

  20. Add a note hereRight-click the virtual server and select Bring Online from the context menu. Notice that the status icon of the virtual server changes briefly to Online Pending and then to Online.

  21. Add a note hereRight-click the virtual server and select New > Resource to create the Exchange System Attendant resource.

  22. Add a note hereOn the New Resource page, enter the name and description. Select the Microsoft Exchange System Attendant option from the Resource Type drop-down, and make sure the correct group is selected. Click Next.

    Add a note hereAfter you’ve completed the steps in Exercise 4.5, you will need to repeat the same process on each node that will be in an active state within the cluster.

  23. Add a note hereOn the Possible Owners page, ensure that the first server in the node is listed in the Possible Owners list and click Next.

  24. Add a note hereOn the Dependencies page, ensure that the Network Name and Physical Disk resources are listed under the Resource Dependencies list and click Next.

  25. Add a note hereOn the Data Directory page, verify that the data directory location points to the physical disk resource that has been assigned to this Exchange virtual server. This is the location that will be used by this Exchange virtual server to store the transaction log files, public folder store files, and mailbox store files.

  26. Add a note hereClick Finish.

  27. Add a note hereBring the Exchange virtual server back online again.


Add a note here Monitoring Exchange Clusters

Add a note hereOnce you’ve gone through all of the work to create and configure your Exchange cluster, you’ll undoubtedly want to perform some monitoring on it to ensure proper operation. For Active/Passive clusters, no real special monitoring need be performed over and above that for any other Exchange Server 2003 computer. For Active/Active clusters, you will want to pay special attention to the following two items that can indicate problems, both currently and in the future. If you monitor either, or both, of these conditions routinely occurring for periods of time greater than 10 minutes, you will need to move mailboxes off the servers:

  • Add a note hereThe number of concurrent users accessing their mailboxes exceeds 1,900.

  • Add a note hereThe CPU load directly attributable to users accessing their mailboxes exceeds 40 percent.

Add a note hereBy their very nature, clusters are designed to be reliable and redundant in their operations. In most cases, you may never even notice a problem until a failover occurs. Should a node experience failover, you will want to examine the Event Logs immediately to try to locate any clues to the cause of the event.

0 comments

Post a Comment