Installing a Two Node Exchange Server 2007 Single Copy Cluster (SCC) in a Virtual Server Test
[LEFT][CODE]http://www.msexchange.org/tutorials/Installing-Two-Node-Exchange-Server-2007-Single-Copy-Cluster-Virtual-Server-Environment-Part1.html[/CODE]
[B][SIZE=3][B]Part 1: Preparing the virtual environment[/B][/SIZE][/B]
[B]Introduction[/B]
Exchange Server 2007 supports two types of cluster setups – Cluster Continuous Replication (CCR) and Single Copy Clusters (SCC). In this three part article series we’ll install and configure a two node active/passive Single Copy Cluster in a Virtual Server 2005 R2 test environment. An Exchange 2007 Single Copy Cluster is very similar to a Exchange Server 2003 active/passive cluster, although a few changes and improvements have been introduced in Exchange Server 2007. A Single Copy Cluster is basically a clustered mailbox server, which consists of two or more servers (known as nodes) which shares the same storage (typically for databases and log files). The shared storage subsystem is typically an SAN or a NAS.
[INDENT] [B]Note
[/B]Exchange Server 2007 doesn’t support active/active clusters like is the case with previous Exchange versions, only active/passive.[/INDENT]An Exchange 2007 Single Copy Cluster (SCC) provides high availability of server resources, as one node takes over should the active node for some reason fail. In addition you can apply Hot Fixes, Service Packs etc. to the nodes without having any downtime of your mission-critical messaging environment at all. But bear in mind that a single copy cluster is susceptible to failure of the shared storage subsystem. This means that no matter how many nodes are part of your cluster you’ll always have a single point of failure when using this type of cluster opposite cluster continuous replication (CCR), which provides storage group fail-over via the new log file shipping and reply technology (I’ll cover CCR in another article series here on MSExchange.org).
Since most of you don’t have the necessary hardware for a cluster, before you decide you want to deploy a cluster in your environment, I thought it would be a good idea to show you how to install a single copy cluster in a virtual server 2005 R2 environment.
[INDENT] [B]Note
[/B]Pretty much all of the steps in the section where we install a clustered Exchange 2007 Mailbox server can also be used when installing the cluster on “real” hardware.[/INDENT][B]Prerequisites[/B]
In order to follow the steps throughout this article series, you need the following:
[LIST][*] One physical machine running Virtual Server 2005 R2. Since this product is free to download from the Microsoft web site, this shouldn’t be a problem.[*] A Windows 2003 Active Directory forest with at least one Domain Controller (raised to 2000 or 2003 forest functional level). [*] At least one existing Exchange 2007 Hub Transport/Client Access Server already installed in the above forest[*] Two virtual guests running Windows 2003 R2 or Windows 2003 SP1 Enterprise Edition with at least 512MB RAM and two virtual NICs each - one for the Public network and one for the Private network. This means you need to create an additional virtual network on the virtual host server, [B]None[/B][B] (Guest Only)[/B] is sufficient for this network.[/LIST]
[INDENT] [B]Note
[/B]In order to install Exchange 2007 Single Copy Cluster, you need to install the cluster HotFix mentioned in[URL="http://support.microsoft.com/?id=898790"][B]MS KB article 898790[/B][/URL] (at the time of this writing you need to contact Microsoft Product Support Services in order to acquire this HotFix)
[B]Warning
[/B]Since Exchange Server 2007 Beta 2 isn’t supported in a production environment, unless you’re participating in the Rapid Deployment Program (RDP) or Technology Adopter Program (TAP), you should install the Single Copy Cluster in a test domain.[/INDENT][B]Configuring the Network Settings for the Cluster nodes[/B]
When you have started the two virtual guests that are to be the nodes in the cluster, start by naming the machines [B]E2K7Node1[/B] and [B]E2K7Node2[/B] or whatever naming scheme you want to use (these names have nothing to do with the Exchange server name which your clients will connect to). Now name the two network connections [B]Public[/B] and [B]Private[/B] for the external and the internal network respectively (remember to do so on both nodes).
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0011156406254578.jpg[/IMG]
[B]Figure 1:[/B] Network Connections[/INDENT]Click [B]Advanced[/B] > [B]Advanced Settings[/B], if it’s not already the case make sure Public is listed first on the binding order list, then [B]Private[/B] and lastly [B]Remote Access Connections[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0021156406254609.jpg[/IMG]
[B]Figure 2:[/B] Binding order[/INDENT]Also make sure you untick [B]File and Printer Sharing for Microsoft Networks[/B] for the [B]Private[/B] network connection.
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0031156406254609.jpg[/IMG]
[B]Figure 3: [/B]Disabling File and Printer Sharing for Microsoft Networks[/INDENT]Configure the [B]Public network[/B] with the respective network settings you use in your test environment.
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0041156406420296.jpg[/IMG]
[B]Figure 4:[/B] Configuring the Public network[/INDENT]Configure the [B]Private network[/B] with an IP address and a subnet mask. Nothing else is required since this network is only used for communication (heartbeats) between the nodes in the cluster.
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0051156406420296.jpg[/IMG]
[B]Figure 5:[/B] Configuring the Private network[/INDENT]Now click[B] Advanced[/B] then select the [B]DNS[/B] tab. Here you should untick both [B]Register this connection's addresses in DNS [/B]and [B]Use this connection's DNS suffix[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0061156406420296.jpg[/IMG]
[B]Figure 6:[/B] Configuring DNS settings for the Private network[/INDENT]Click the [B]WINS[/B] tab. Untick [B]Enable LMHOSTS lookup[/B] and select [B]Disable NetBIOS over TCP/IP[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0071156406867984.jpg[/IMG]
[B]Figure 7:[/B] Configuring WINS settings for the Private network[/INDENT]Click [B]OK[/B] three times and close the network connections window.
Now add both Windows 2003 Servers as member servers in your Active Directory test domain.
[B]Creating the Shared Quorum Cluster Disk[/B]
As those of you with cluster experience are aware of, a Windows cluster requires a quorum cluster disk. This quorum disk is used to store cluster configuration database checkpoints and log files which helps manage the cluster as well as maintain consistency. Since we’re dealing with a virtual environment we need to create this disk in the Virtual Server 2005 R2 web console. This is done by opening the [B]Virtual Server Manager[/B] then clicking [B]Create[/B] > [B]Fixed Size Virtual Hard Disk[/B] under [B]Virtual Disks[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image009a1156406868000.JPG[/IMG]
[B]Figure 8:[/B] Creating a fixed size virtual hard disk[/INDENT]Place the virtual hard disk file (.VHD) in the folder containing your two virtual Windows 2003 Servers, then set the size to [B]500MB[/B] (or less if you’re low on disk space). Then click [B]Create[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image011a1156406868000.JPG[/IMG]
[B]Figure 9:[/B] Specifying the virtual hard disk file name and size[/INDENT]We now need to add the virtual quorum disk to each of the two virtual Windows 2003 Servers. Let's add it to [B]E2K7SCCNode1[/B] first, we do this by clicking [B]Master Status [/B]> [B]E2K7SCCNode1[/B] > [B]Edit Configuration[/B]. Since this disk needs to be shared between the nodes, we need to click [B]SCSI Adapters[/B] then [B]Add SCSI Adapter[/B]. Under the new SCSI adapter tick [B]Share SCSI Bus for Clustering[/B] then set the [B]SCSI adapter ID[/B] to [B]6[/B] (or whatever is unused in your environment).
[INDENT] [IMG]http://www.msexchange.org/img/upl/image012a1156407104671.JPG[/IMG]
[B]Figure 10:[/B] Adding an additional shared SCSI adapter[/INDENT]Click [B]OK[/B].
We now need to make the new disk visible on each node, therefore click [B]Hard disks [/B]> [B]Add disk[/B] then select [B]SCSI 1 ID 0 in the Attachment[/B] drop-down menu. Finally specify the path to the virtual Quorum disk, which in this example is [B]O:\virtual\scc\shared disks\quorum.vhd. [/B]
[INDENT] [IMG]http://www.msexchange.org/img/upl/image014a1156407104687.JPG[/IMG]
[B]Figure 11:[/B] Adding an additional virtual hard disk[/INDENT]Click[B] OK[/B].
[INDENT] [B]Note[/B]
Remember to add the SCSI adapter as well as the quorum disk to both servers.[/INDENT]We now need to partition the Quorum disk in the Disk Management console on [B]E2K7SCCNode1[/B], therefore start the [B]virtual machine[/B] > logon using a domain admin account > click [B]Start [/B]> [B]Run[/B] and type [B]Compmgmt.msc[/B]. Under [B]Storage [/B]click [B]Disk Management[/B]. Click [B]Next[/B]three times in the appearing[B] Initialize and Convert Disk Wizard[/B], then click [B]Finish[/B].
The detected disk now needs to be partitioned, in order to do so right-click the unallocated space then select new partition.
[INDENT] [IMG]http://www.msexchange.org/img/upl/image016a1156407104687.JPG[/IMG]
[B]Figure 12: [/B]Partitioning the quorum disk[/INDENT]Click [B]Next[/B] three times and select the drive letter [B]Q[/B] (for quorum), then click [B]Next[/B] again. Use [B]NTFS[/B] as the file system type and type [B]Quorum[/B] in the [B]Volume label[/B] field. To speed up the formatting process it’s a good idea to tick [B]Perform a quick format[/B].
[INDENT] [IMG]http://www.msexchange.org/img/upl/image0171156407269640.jpg[/IMG]
[B]Figure 13:[/B] Specifying how the new partition should be formatted
[/INDENT]Now turn off [B]E2K7SCCNode1[/B] then turn on [B]E2K7SCCNode2[/B] and log on to the server with a domain admin account. Again click [B]Start [/B]> [B]Run[/B] and type [B]Compmgmt.msc[/B]. Under [B]Storage [/B]click [B]Disk Management[/B]. Mark the Quorum disk (disk 1) active and assign it the drive letter [B]Q[/B]. Now verify you can access the [B]Q:[/B] drive from Windows Explorer, also try to create a test file on each server and make sure you can see it both ways.
[INDENT] [IMG]http://www.msexchange.org/img/upl/image019a1156407269640.JPG[/IMG]
[B]Figure 14:[/B] Allocate the new partition to the drive letter Q[/INDENT][INDENT] [B]Note
[/B]Since we need at least one more shared disk (for the shared Exchange databases and log files), you need to go through the above steps for each virtual disk you add to the [B]SCSI 1[/B] adapter. Nope I won’t detail the steps for adding additional disks to the cluster nodes, as the process is more or less identical.[/INDENT]Okay we have reached the end of part one. In part two (which will be released soon here on MSExchange.org), we’ll go through creating and configuring the Windows 2003 Cluster.
[/LEFT]