Quantcast
Channel: High Availability (Clustering) forum
Viewing all articles
Browse latest Browse all 5654

Migration of clustered sql server (and back again)

$
0
0

Hello, I've got the following problem:

Cluster on Windows Server 2008 r2, 4 nodes. There is an SQL 2008 r2 server on them - let's call it SQLServ.

We decided to test-migrate SQLServ to an existing cluster on Windows server 2012.

I launched Cluster Manager on one of the nodes of 2012 cluster, and picked More Actions/Copy Cluster Roles. After running through wizard, I ended with SQLServ role created, in which there were Network Name (SQLServ), IP address and disks (we stayed on the same storage). On 2008 the role was taken offline automaticaly at that moment. Then I ran a full setup of SQL 2008 (create new failover instance). When during installation i enter SQLServ as a name, it raised an error "Name already existS". So i went to 2012 cluster manager and renamed SQLServ to _SQLServ, took the resourses out of it. The installation ran fine. At that moment i had SQLServ working on 2012 cluster. 

Then, we decided to take it back, as it was all only for testing purposes.

I took role offline on 2012 cluster. and tried to bring it back online on 2008. I got some errors related to permissions to CNO SQLServ in AD. It seems, migration wizard kills it and then recreates. I gave full control over SQLServ CNO in AD to Cluster2008 CNO. The same thing with DNS record.

But the network name doesn't come online. I got following errors:

Event id 1207 source - failover clustering

"Cluster network name resource 'SQL Network Name (SQLServ)' cannot be brought online. The computer object associated with the resource could not be updated in domain 'domain.com' for the following reason:
Unable to set DnsHostName attribute.

The text for the associated error code is: An operations error occurred."

I collected cluster.log using get-cluster log, here is it's content (most interesting part of it):

0000028c.0000207c::2015/12/23-13:40:15.086 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Initiating the Network Name operation : 'Verifying computer object associated with network name resource SQLServ'
0000028c.0000207c::2015/12/23-13:40:15.086 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Trying to find computer account SQLServ object GUID(400f72354024d44f9440b504cdf4abec) on any available domain controller.
0000028c.0000207c::2015/12/23-13:40:15.102 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Found computer account SQLServ on domain controller \\DomainController.rccf.ru.
0000028c.0000207c::2015/12/23-13:40:15.102 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Trying to obtain the VSToken for Core Cluster Name resource
0000028c.0000207c::2015/12/23-13:40:15.133 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: GetCoreNetnameObject_VSToken returning status 0
0000028c.0000207c::2015/12/23-13:40:15.133 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Obtained the security token for cluster name account.
0000028c.0000207c::2015/12/23-13:40:15.164 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Got new Logon Session.
0000028c.0000207c::2015/12/23-13:40:15.164 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Checking necessary attributes for computer account SQLServ
0000028c.0000207c::2015/12/23-13:40:15.164 ERR   [RES] Network Name <SQL Network Name (SQLServ)>: DnsHostName attribute in DS doesn't match. Expected: SQLServ.domain.com Actual: _SQLServ.domain.com
0000028c.0000207c::2015/12/23-13:40:15.164 WARN  [RES] Network Name <SQL Network Name (SQLServ)>: There are missing entries in the ServicePrincipalName attribute.
0000028c.0000207c::2015/12/23-13:40:15.164 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Updating attributes for computer account SQLServ
0000028c.0000207c::2015/12/23-13:40:15.164 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Updating DNS Host Label attribute for computer account SQLServ
0000028c.0000207c::2015/12/23-13:40:15.164 ERR   [RES] Network Name <SQL Network Name (SQLServ)>: Unable to set DnsHostName attribute for computer account SQLServ, status 80072020.
0000028c.0000207c::2015/12/23-13:40:15.164 ERR   [RES] Network Name <SQL Network Name (SQLServ)>: Unable to set DnsHostName attribute for computer account SQLServ, status 00000000.
0000028c.0000207c::2015/12/23-13:40:15.195 WARN  [RES] Network Name <SQL Network Name (SQLServ)>: Trying to remove credentials for LocalSystem returned status C0000225, STATUS_NOT_FOUND is a non-critical failure for a remove operation
0000028c.0000207c::2015/12/23-13:40:15.195 ERR   [RHS] Online for resource SQL Network Name (SQLServ) failed.
0000145c.00002770::2015/12/23-13:40:15.195 WARN  [RCM] HandleMonitorReply: ONLINERESOURCE for 'SQL Network Name (SQLServ)', gen(16) result 5018.
0000145c.00002770::2015/12/23-13:40:15.195 INFO  [RCM] TransitionToState(SQL Network Name (SQLServ)) OnlinePending-->ProcessingFailure.
0000145c.00002770::2015/12/23-13:40:15.195 INFO  [RCM] rcm::RcmGroup::UpdateStateIfChanged: (SQLServ, Pending --> Failed)
0000145c.00002770::2015/12/23-13:40:15.195 ERR   [RCM] rcm::RcmResource::HandleFailure: (SQL Network Name (SQLServ))
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] Since no top level resource will be offlined by this resource's failure, resetting restartAction to 1
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] resource SQL Network Name (SQLServ): failure count: 4, restartAction: 1.
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] TransitionToState(SQL Network Name (SQLServ)) ProcessingFailure-->[WaitingToTerminate to Failed].
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] rcm::RcmGroup::UpdateStateIfChanged: (SQLServ, Failed --> Pending)
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] TransitionToState(SQL Network Name (SQLServ)) [WaitingToTerminate to Failed]-->[Terminating to Failed].
0000145c.00002770::2015/12/23-13:40:15.414 WARN  [RCM] resource 'SQL Network Name (SQLServ)' has exceeded its restart limit.
0000145c.00002770::2015/12/23-13:40:15.414 INFO  [RCM] Will retry online of SQL Network Name (SQLServ) in 3600000 milliseconds.
0000028c.00001c98::2015/12/23-13:40:15.414 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Terminating resource...
0000028c.00001c98::2015/12/23-13:40:15.414 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: Offline of resource continuing...
0000028c.00001c98::2015/12/23-13:40:15.445 INFO  [RES] Network Name <SQL Network Name (SQLServ)>: DNS name SQLServ successful removed from LSA

So, there is some kind of conflict. I went to AD and listed the attributes of SQLServ CNO. DNSHostName is SQLServ. I've searched for _SQLServ in registry and in AD - nothing.

Any suggestions other then remove everything and then install again. (Repair doesn't work)

And even if there were no options. What could/should i do to effectively migrate forwards and backwards?


Viewing all articles
Browse latest Browse all 5654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>