<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Collection of Random Thoughts : cluster</title><link>http://blogs.technet.com/benw/archive/tags/cluster/default.aspx</link><description>Tags: cluster</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Exchange 2007 Cluster Setup - Did it complete?</title><link>http://blogs.technet.com/benw/archive/2007/08/06/exchange-2007-cluster-setup-did-it-complete.aspx</link><pubDate>Tue, 07 Aug 2007 06:30:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1715259</guid><dc:creator>benw</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/benw/comments/1715259.aspx</comments><wfw:commentRss>http://blogs.technet.com/benw/commentrss.aspx?PostID=1715259</wfw:commentRss><wfw:comment>http://blogs.technet.com/benw/rsscomments.aspx?PostID=1715259</wfw:comment><description>&lt;P&gt;As you no doubt know by now, Exchange 2007 introduces different types of clustering.&amp;nbsp; It still retains the traditional Single Copy cluster where all data is stored in a central location (i.e. SAN).&amp;nbsp; It also introduces the concept of Cluster Continuous Replication, or CCR, where centralized storage is not required, rather each server contains a separate copy of the data.&amp;nbsp; This is achieved by an initial "seeding", and is then maintained by replication of log files.&amp;nbsp; Service Pack 1 for Exchange 2007 includes &lt;STRIKE&gt;yet a third type of cluster&lt;/STRIKE&gt; a new technology for managing server failures, called Standby Continuous Replication, or SCR, but we'll leave that for another post.&lt;/P&gt;
&lt;P&gt;[edit] as was pointed out to me, SCR isn't actually a clustered solution, as it does not use Windows clustering.&amp;nbsp; I've thus modified the original post to reflect that.&amp;nbsp; However, it can be used as the target for an Exchange 2007 cluster.&amp;nbsp; More details to come when I post about SCR.&lt;/P&gt;
&lt;P&gt;For today, I've installed a new CCR cluster, but I didn't allow it to complete.&amp;nbsp; Let's have a look at the setup log.&amp;nbsp; This is located in the c:\ExchangeSetupLogs directory.&amp;nbsp; The one that contains the most information is ExchangeSetup.log.&amp;nbsp; Since this log file contains a lot of information, I'll only post part of it.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[8/3/2007 4:46:12 PM] [0] Starting Microsoft Exchange 2007 Setup&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] **********************************************&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] Setup version: 8.0.685.24.&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] Logged on user: E12CCR\Administrator.&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] Command Line Parameter Name='mode', Value='Install'.&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] Command Line Parameter Name='sourcedir', Value='D:\i386'.&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] Command Line Parameter Name='fromsetup', Value=''.&lt;BR&gt;[8/3/2007 4:46:12 PM] [0] ExSetupUI was started with the following command: '-mode:install -sourcedir:D:\i386 /FromSetup'.&lt;BR&gt;[8/3/2007 4:46:17 PM] [0] Setup is choosing the domain controller to use&lt;BR&gt;[8/3/2007 4:46:18 PM] [0] Setup is choosing a local domain controller...&lt;BR&gt;[8/3/2007 4:46:20 PM] [0] Setup has chosen the local domain controller e12dc.E12CCR.com for initial queries&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use e12dc.E12CCR.com&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Setup is choosing a global catalog...&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Setup has chosen the global catalog server e12dc.E12CCR.com.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Setup will use the domain controller 'e12dc.E12CCR.com'.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Setup will use the global catalog 'e12dc.E12CCR.com'.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=E12CCR,DC=com'.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Exchange organization container for the organization is 'CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=E12CCR,DC=com'.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] This machine is part of a Windows failover cluster.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] This server is not an active node for any Clustered Mailbox servers.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'E12CCR2-N1'.&lt;BR&gt;[8/3/2007 4:46:21 PM] [0] No Exchange Server with identity 'E12CCR2-N1' was found.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The following roles are unpacked: &lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The following roles are installed: &lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The local server does not have any Exchange files installed.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] Setup will use the path 'D:\i386' for installing Exchange.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The server is cluster type: 'None'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The requested cluster type: 'None'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] The installation mode is set to: 'Install'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] An Exchange organization with name 'First Organization' was found in this forest.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] Active Directory Initialization status : 'True'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] Schema Update Required Status : 'False'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] Organization Configuration Update Required Status : 'False'.&lt;BR&gt;[8/3/2007 4:46:36 PM] [0] Domain Configuration Update Required Status : 'False'.&lt;BR&gt;[8/3/2007 4:46:37 PM] [0] Applying default role selection state 
&lt;P&gt;This simply shows an overview of the setup choices that have been made.&lt;/P&gt;
&lt;P&gt;[8/3/2007 4:52:39 PM] [1] Setup launched task 'test-setuphealth -DomainController 'e12dc.E12CCR.com' -DownloadConfigurationUpdates $false -ExchangeVersion '8.0.685.24' -Roles 'ClusterMailbox' -ScanType 'PrecheckInstall' -SetupRoles 'AdminTools','Mailbox','ClusterMailbox' -CmsName 'CCR-EVS2' -CmsDataPath 'E:\Exchsrvr\MDBData' -CmsIPAddress '10.10.201.230' -CmsSharedStorage $false -CreatePublicDB $false'&lt;/P&gt;
&lt;P&gt;This is showing the pre-requisite check tests that are being performed, and shows that the setup roles that have been selected are AdminTools, Mailbox, ClusterMailbox.&amp;nbsp; Most of the rest of the log file just shows the progress of each role, so I won't bore you with that.&amp;nbsp; Let's get on to the interesting part.&amp;nbsp; Once the mailbox role finishes installing, setup runs the new-ClusteredMailboxServer to create the actual cluster.&amp;nbsp; One nice thing is that you don't have to worry about creating the Exchange group in Cluster Admin as you had to do with Exchange 2003.&amp;nbsp; Setup now creates it for you automatically.&amp;nbsp; Ok - here is the failure.&amp;nbsp; Note the section in Bold.&lt;/P&gt;
&lt;P&gt;[8/6/2007 5:36:17 PM] [1] Processing component 'Mailbox System Attendant Dependent Tasks' (Configuring tasks dependent on System Attendant service).&lt;BR&gt;[8/6/2007 5:36:17 PM] [1] Executing 'start-ClusteredMailboxServer -Identity:$RoleName', handleError = False&lt;BR&gt;[8/6/2007 5:36:17 PM] [2] Launching sub-task '$error.Clear(); start-ClusteredMailboxServer -Identity:$RoleName'.&lt;BR&gt;[8/6/2007 5:36:18 PM] [2] Beginning processing.&lt;BR&gt;[8/6/2007 5:36:18 PM] [2] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'e12dc.E12CCR.com', Preferred Global Catalog: 'e12dc.E12CCR.com', Preferred Domain Controllers: '{ e12dc.E12CCR.com }'&lt;BR&gt;[8/6/2007 5:36:18 PM] [2] Searching objects "ccr-evs2" of type "Server" under the root "$null".&lt;BR&gt;[8/6/2007 5:36:18 PM] [2] Previous operation run on domain controller 'e12dc.E12CCR.com'.&lt;BR&gt;[8/6/2007 5:36:18 PM] [2] Start-ClusteredMailboxServer is trying to start clustered mailbox server ccr-evs2.&lt;BR&gt;[8/6/2007 5:37:05 PM] [2] Start-ClusteredMailboxServer finished starting (bringing online) clustered mailbox server ccr-evs2.&lt;BR&gt;&lt;STRONG&gt;[8/6/2007 5:37:05 PM] [2] [ERROR] Unexpected Error&lt;BR&gt;[8/6/2007 5:37:05 PM] [2] [ERROR] Clustered mailbox server 'ccr-evs2' is not in a started (online) state (Failed). The cluster resource 'First Storage Group/Mailbox Database (ccr-evs2)' is in state (Failed).&lt;BR&gt;&lt;/STRONG&gt;[8/6/2007 5:37:05 PM] [2] Ending processing.&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] The following 1 error(s) occurred during task execution:&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] 0. ErrorRecord: Clustered mailbox server 'ccr-evs2' is not in a started (online) state (Failed). The cluster resource 'First Storage Group/Mailbox Database (ccr-evs2)' is in state (Failed).&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] 0. ErrorRecord: Microsoft.Exchange.Management.Tasks.NewCmsNotOnline: Clustered mailbox server 'ccr-evs2' is not in a started (online) state (Failed). The cluster resource 'First Storage Group/Mailbox Database (ccr-evs2)' is in state (Failed).&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] [ERROR] Clustered mailbox server 'ccr-evs2' is not in a started (online) state (Failed). The cluster resource 'First Storage Group/Mailbox Database (ccr-evs2)' is in state (Failed).&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] Setup is halting task execution because of one or more errors in a critical task.&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] Finished executing component tasks.&lt;BR&gt;[8/6/2007 5:37:05 PM] [1] Ending processing.&lt;BR&gt;[8/6/2007 5:40:48 PM] [0] End of Setup 
&lt;P&gt;The Setup UI will now show that setup has completed with an error.&amp;nbsp; Ok, so let's re-run setup to allow it to complete.&amp;nbsp; What's that?&amp;nbsp; The Setup UI only allows you to Add or Remove roles.&amp;nbsp; Oh yeah - since this was set up as a Cluster, you can't have any other roles on it, and you can't de-select the Active Cluster role.&amp;nbsp; Now at this point, I can actually go in to Cluster Admin, and verify that all the resources are online.&amp;nbsp; In the above case where my First Storage Group/Mailbox Databases (ccr-evs2) was in a failed state, I simply brought it online, and it came online just fine.&amp;nbsp; Since all the resources are online, you might think that everything is hunky dory.&amp;nbsp; Not so, my friend.&amp;nbsp; We've got a BIG problem.&amp;nbsp; The System Attendant Object was never fully provisioned.&amp;nbsp; If you leave your cluster running in the above state, you'll see lots of issues related to many tasks that the System Attendant Mailbox is used for.&amp;nbsp; In my above setup, if we look at the System Attendant object using ADSIEdit, we will find that there are no proxy addresses (BAD BAD BAD), and msExchPoliciesIncluded is not set.&amp;nbsp; This will cause massive problems with Free/Busy, and you'll see NDR's being generated for any messages sent to your System Attendant mailbox (duh - it doesn't have an e-mail address) 
&lt;P&gt;OK - so how do you fix it?&amp;nbsp; Well, before we get there, there is one more thing you need to look at that will tell you if setup encountered any problems that need to be fixed.&amp;nbsp; Open up the registry, and navigate to 
&lt;P&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\v8.0 
&lt;P&gt;and see which subkeys exist.&amp;nbsp; You should see a separate key for Each role that is installed.&amp;nbsp; For the above cluster, if setup had completed successfully, you would only see the following keys. 
&lt;P&gt;v8.0&lt;BR&gt;&amp;nbsp;&amp;nbsp; AdminTools&lt;BR&gt;&amp;nbsp;&amp;nbsp; MailboxRole&lt;BR&gt;&amp;nbsp;&amp;nbsp; Setup 
&lt;P&gt;In my case, however, I saw one more (bolded) 
&lt;P&gt;v8.0&lt;BR&gt;&amp;nbsp;&amp;nbsp; AdminTools&lt;BR&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; ClusteredMailboxServer&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; MailboxRole&lt;BR&gt;&amp;nbsp;&amp;nbsp; Setup&lt;/P&gt;
&lt;P&gt;Viewing that key showed a Value with a name of "WaterMark" that contained a hex string.&amp;nbsp; This Watermark is very important!&amp;nbsp; It is how setup&amp;nbsp;notes where it left off, and what still needs to be completed.&lt;/P&gt;
&lt;P&gt;Ok - now on to the resolution.&amp;nbsp; If you experience a failure during setup (clustered or not), the best way to resolve it in almost all cases is to run setup from the command prompt.&amp;nbsp; The command-line version of setup is called from setup.com.&amp;nbsp; For my cluster issue, since the Mailbox role completed, I don't have to actually run setup and select a role to install, rather I need to re-setup the cluster.&amp;nbsp; The command I used was&lt;/P&gt;
&lt;P&gt;setup.com /newcms /cmsname:ccr-evs2 /cmsipaddress:10.10.21.230 /cmsdatapath:e:\exchsrvr\mdbdata&lt;/P&gt;
&lt;P&gt;When this command is run on an existing cluster with this same name, all setup will do is determine if there are any actions that have not been completed.&amp;nbsp; In other words, it checks for a Watermark.&amp;nbsp; In my case, it picked up at about 75% or so, and ran through to completion successfully.&amp;nbsp; Inspecting the setup log after completion shows the following tasks (which I'd consider fairly important!)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;[8/6/2007 5:51:55 PM] [1] Executing 'enable-SystemAttendantMailbox -Identity:$RoleFqdnOrName -DomainController $RoleDomainController', handleError = True&lt;BR&gt;&lt;/STRONG&gt;[8/6/2007 5:51:55 PM] [2] Launching sub-task '$error.Clear(); enable-SystemAttendantMailbox -Identity:$RoleFqdnOrName -DomainController $RoleDomainController'.&lt;BR&gt;[8/6/2007 5:51:55 PM] [2] Beginning processing.&lt;BR&gt;[8/6/2007 5:51:55 PM] [2] Searching objects "ccr-evs2" of type "ADSystemAttendantMailbox" under the root "First Organization".&lt;BR&gt;[8/6/2007 5:51:55 PM] [2] Previous operation run on domain controller 'e12dc.E12CCR.com'.&lt;BR&gt;[8/6/2007 5:51:55 PM] [2] Processing object "Microsoft System Attendant".&lt;BR&gt;&lt;STRONG&gt;[8/6/2007 5:51:55 PM] [2] Applying RUS policy to the given recipient "Microsoft System Attendant" with the home domain controller "e12dc.E12CCR.com".&lt;BR&gt;[8/6/2007 5:52:17 PM] [2] The RUS server that will apply policies on the specified recipient is "CCR-EVS2.E12CCR.com".&lt;/STRONG&gt;&lt;BR&gt;[8/6/2007 5:52:17 PM] [2] Saving object "Microsoft System Attendant" of type "ADSystemAttendantMailbox" and state "Changed".&lt;BR&gt;[8/6/2007 5:52:17 PM] [2] Previous operation run on domain controller 'e12dc.E12CCR.com'.&lt;BR&gt;[8/6/2007 5:52:17 PM] [2] Ending processing. 
&lt;P&gt;If you aren't installing a cluster, you may still see a Watermark value for one of the other roles (ClientAccess, HubTransport, Mailbox, UnifiedMessaging, etc. 
&lt;P&gt;If you have a watermark for one of those roles, you need to note which role has a watermark, then run the following 
&lt;P&gt;setup.com /roles:mb (or insert the name of the role that shows the watermark) 
&lt;P&gt;This will allow setup to process that role, and based on the watermark in the registry, it will continue where it left off.&amp;nbsp; Once setup completes successfully, the watermark value will be removed. 
&lt;P&gt;I'm hoping and expecting that Service Pack 1 for Exchange 2007 will be able to handle issues like this one much better, as it should include&amp;nbsp;a "Reinstall" option.&amp;nbsp; If not, you can always fall back to the trusty command-line options.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1715259" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/benw/archive/tags/exchange+2007/default.aspx">exchange 2007</category><category domain="http://blogs.technet.com/benw/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://blogs.technet.com/benw/archive/tags/CCR/default.aspx">CCR</category><category domain="http://blogs.technet.com/benw/archive/tags/cluster/default.aspx">cluster</category></item></channel></rss>