I have just had some problems installing an Exchange 2007 SP1 CCR cluster on a Windows 2008 platform.
I got the above error code and the ExchangeSetupLogs says:
[09-03-2009 10:07:13]  [ERROR] Cluster Common Failure Exception: The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)
[09-03-2009 10:07:13]  [ERROR] The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)
Microsoft writes about the error here: http://support.microsoft.com/kb/947345/en-us
And suggest to run the setup from command prompt.
I then tried to install with this command:
Setup.com /roles:Mailbox /newcms /CMSname:MBX01 /CMSIPAddress:172.16.1.20 “/CMSDataPath:H:Exchange Server” /dc:dc01.contoso.com
That didn’t help.
I noticed in the cluster administrator that I couldn’t start System Attendant. In the event log it told me that it couldn’t find the virtual computername in AD.
I waited a couple of minutes, and then I could start the system attendant.
But that didn’t help me a lot, so I contacted Microsoft support and they suggested, that after the setup fails with the error code, then I should run this command:
Setup.com /newcms /CMSname:MBX01 /CMSIPAddress:172.16.1.20 “/CMSDataPath:H:Exchange Server” /dc:dc01.contoso.com
The first time it didn’t worked, but if I wait approx. 1 min after the failure and then run the command, then it worked.
So it seems like a replication problem with my AD.
Also I learned from Microsoft Support that it’s possible to install the passive nodes first, with this command:
Setup.com /mode:install /roles:Mailbox
This command can be run on both nodes.
Afterwards you execute the /newcms command which dosn’t copy any files – it only creates the cluster in Exchange.
Hope this can help others.