Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
In The Enterprise
»
SQL 2000 SP4 Cluster - Cluster Services...
SQL 2000 SP4 Cluster - Cluster Services overwriting registry parameters
Rate Topic
Display Mode
Topic Options
Author
Message
quackhandle1975
quackhandle1975
Posted Wednesday, September 02, 2009 3:28 AM
SSCommitted
Group: General Forum Members
Last Login: Thursday, May 16, 2013 8:24 AM
Points: 1,610,
Visits: 590
The Setup:
Windows Server 2003 Enterprise SP2 7GB RAM
SQL Server 2000 SP4 + AWE Hotfix
2 Node cluster Active/Passive
10 SQL Instances Running
The Issue:
SQL Instance fails to come back on after taking it offline. From event viewer the error states that the ERRORLOG can't be found. When checking in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\GSQP038A\MSSQLServer\Parameters\
SQLArg0 -dR:\Program Files\Microsoft SQL Server\MSSQL$GSQQ009A\data\master.mdf
SQLArg1 -eR:\Program Files\Microsoft SQL Server\MSSQL$GSQQ009A\log\ERRORLOG
SQLArg2 -lR:\Program Files\Microsoft SQL Server\MSSQL$GSQQ009A\data\mastlog.ldf
From above the details are obviously incorrec,t the instance name is different (GSQQ009A resides on the same cluster as GSQP038A)
and the path is incorrect, drive paths should be O:\ and not R:\
When we update the registry with the correct details, the service has to be started by restarting the SQL Service via the services.mmc and not cluster admin.mmc. The SQL Service comes back online however takes longer than it should.
Then we bring Service back online via cluster admin and all is fine however the registry parameters have now changed back to incorrect drive/instance so when taken offline again it will not come back online.
So the problem lies (we think) with MS Clustering Services overwriting registry keys from another SQL Instance. This occurs on both nodes.
Any ideas as to why this is happening?
Thanks In Advance
Scott
SQL 2K acts like a spoilt child - you need to coax it round with lollipops.
Post #781284
quackhandle1975
quackhandle1975
Posted Tuesday, September 08, 2009 3:47 AM
SSCommitted
Group: General Forum Members
Last Login: Thursday, May 16, 2013 8:24 AM
Points: 1,610,
Visits: 590
A workaround was found by hacking the registry values and changing to correct path/instance name before the sql server service was failed over. This works with no errors, however why the issue occured at all is still unknown.
qh
SQL 2K acts like a spoilt child - you need to coax it round with lollipops.
Post #784090
ganci.mark
ganci.mark
Posted Wednesday, September 09, 2009 11:29 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 11:55 AM
Points: 592,
Visits: 422
I am having a registry issue also.
Different in that when I install SQL 2000 to new nodes added to the cluster,
The HKey_local_machine\software\microsoft\microsoft SQL Server\instancename\MSSQLSERVER\
is not being set up completely and does not match the registries on the other nodes.
Missing keys, unc's instead of drive letter, default port instead of what we assigned, named pipes incorrect etc...
In this 4 node cluster there are 4 instances.
2 of the 4 instances installed great and work just fine across all 4 nodes.
The other 2 are giving trouble on the two new nodes.
After many reinstalls,my last attempt will be to export reg key from 2 working nodes and apply on new nodes and see if that resolves issue when I fail over. I am hopeful but right now might be 50/50.
I just hate that I have to do this reg hack.
I think it is somehow related to communication with the cluster resources.
not sure. Have posted in two spots and nobody has touched this isssue yet.
Post #785197
quackhandle1975
quackhandle1975
Posted Monday, September 14, 2009 4:58 AM
SSCommitted
Group: General Forum Members
Last Login: Thursday, May 16, 2013 8:24 AM
Points: 1,610,
Visits: 590
Thanks for the reply. I had a similar issue to you where the named pipes registry settings for the cluster causing the problems was incorrect.
Again I had to hack this to change it, however I am not sure if this was related to the original issue. I feel that because this is a SQL 2000 Cluster issue many DBAs won't be aware of these issue or possible solutions as they are running 2005/8 Clusters.
MSDN/MS aside are there any SQL 2000 Cluster troubleshooting websites out there?
Rgds.
qh
SQL 2K acts like a spoilt child - you need to coax it round with lollipops.
Post #787322
ganci.mark
ganci.mark
Posted Monday, September 14, 2009 6:20 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 11:55 AM
Points: 592,
Visits: 422
I resolved my issue.
I exported the reg key from a working node and applied it to the new nodes.
(the keys between working nodes were virtually identical so I knew this would be safe)
Works great now.
I am not sure why this occurred even after repeated install attempts.(add node install)
Also 2 other instances out of 4 installed just fine.
Thanks
Mark G.
Post #787374
Random Visitor
Random Visitor
Posted Wednesday, May 25, 2011 12:22 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 11, 2012 9:51 AM
Points: 16,
Visits: 107
Hi,
I've got very similar problems to the first post - 2 SQLServer 2000 instances - one on each node of a 2 node cluster. I change the startup parameters on one to bring it up in single user mode but cluster admin couldn't start it and the instance is 'failed' . Had been stopping an starting it all ok up until this point. Have tried moving groups onto one node - they move ok but still doesn't start the failed instance. What I have noticed though is that on the node where both instances are located only details of the failed instance is showing in the registry on that node. Details of the running instance - although on the same node - don't appear but they
do
appear in the registry of the other node that has nothing running on it. It does only show details of that single instance though - not both of them.
The errorlog of the instance that is failing to start says:
2011-05-25 18:17:24.53 server Copyright (C) 1988-2002 Microsoft Corporation.
2011-05-25 18:17:24.53 server All rights reserved.
2011-05-25 18:17:24.53 server Server Process ID is 4268.
2011-05-25 18:17:24.53 server Logging SQL Server messages in file 'J:\logs\ERRORLOG'.
2011-05-25 18:17:24.53 server initconfig: Error 3(The system cannot find the path specified.) opening 'I:\data\master.mdf' for configuration information.
The instance did start - with logs going to that drive - until I tried to startup in single user mode but now seems to be totally messed up. Any ideas? I've checked the KB articles I could find and got a dump of the cluster resource checkpoints and all components seem to be listed. Have run out of ideas now.
Post #1114980
ganci.mark
ganci.mark
Posted Wednesday, May 25, 2011 12:46 PM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 11:55 AM
Points: 592,
Visits: 422
Hello. What was the original trouble or reason for trying to start in single users mode?
Also based on this message in your log:
2011-05-25 18:17:24.53 server initconfig: Error 3(The system cannot find the path specified.) opening 'I:\data\master.mdf' for configuration information.
Have you confirmed that that location and file exists and is accessible? ('I:\data\master.mdf')
Post #1114987
Random Visitor
Random Visitor
Posted Wednesday, May 25, 2011 3:55 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 11, 2012 9:51 AM
Points: 16,
Visits: 107
Hi, the Drive exists and is accessible but the data folder is no longer there - so no mdf! A copy of the master.mdf exists on the original drive still - I moved the master to a new location (per the log description) sometime before and that seemed to work ok. So - as SQLServer is offline in the cluster I simply copied the db files back to the location and the cluster admin can now bring it online ! phew.
I tried to put the instance into single user mode earlier to move the model db to a new location per Microsoft's tech article instructions, I wanted to detach and attach it. Initially the single user mode didn't appear to work - I put the parameters into Enterprise Manager and I think maybe I got it wrong to start off with. It is in single user mode now as when I try to start up with E.M I can't connect and I get the 'instance is in single user mode' message.
Thanks for making me take proper notice of the error log :)
Post #1115113
ganci.mark
ganci.mark
Posted Thursday, May 26, 2011 9:34 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 11:55 AM
Points: 592,
Visits: 422
You're welcome. I can't tell you how many times I have wasted hours of stressful troubleshooting and the problem/solution was right there in front of me the whole time.
Regards,
Mark Ganci
Post #1115618
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.