Showing posts with label active. Show all posts
Showing posts with label active. Show all posts

Friday, March 30, 2012

Recently Rebuilt SQL2K Cluster

I have recently had to rebuild my SQL Server 2000 sp3a 2 node active/passive
cluster running on Windows 2000 AS SP4. We ran into issues about two weeks
ago after a SAN migration (I'll spare all the gory details). When my
previous cluster died, I used one of the nodes as a stand alone instance of
SQL Server (to run our production database). On the other former node, I
removed the OS clustering software and had to manually remove SQL Server. I
eventually (with the assistance of Donna L. at MS) was able to get a single
node cluster of SQL2K running on physical server PRODSQL01 (the virtual
server name is PRODSQLCL01). While the cluster was running as a single node
cluster, I applied sp3a and the 818 hotfix. I then migrated the data from
the stand alone instance to PRODSQLCL01 and started to use it for production.
I turned my attention to the other box and removed and reinstalled the
Windows 2000 cluster software. This box is now called PRODSQL02. I was able
to add PRODSQL02 to the windows cluster, and the successfully added it via
SQL Server setup to the virtual server. My issue now is that PRODSQL02 has
the RTM versions of the binaries. I am not sure if I have a setup issue or I
misunderstand point 3.10 of the sp3a readme. Currently the virtual server is
running on PRODSQL01. If I attempt follow the steps under "If you need to
rebuild a node in the failover cluster..." from PRODSQL02 I am only able to
select the Virtual Server, and if I continue setup I get this error "all
cluster disks available to this virtual server are owned by other node(s)"
and then "Setup was unable to verify the state of the server for an upgrade.
Verify the server is able to start and that you provided a valid sa password
and restart setup". I understand that the virtual resources are only
available on the currently active node, but the way I read the instructions I
should be able to run the service pack installation on the inactive node. Do
I need to rerun the SP (and hotfix) setup on SQL01 (since the virtual server
is running there)? Do I need to move the resources to SQL02 and run the SP
setup there? I just need clarification of where to run the SP setup since I
just added SQL02 to this cluster.
You should be able to run setup on the non-host node and it will upgrade the
local binaries. Try rebooting the newly added RTM node and see if it helps.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
"Justin Hoffmann" <Justin Hoffmann@.discussions.microsoft.com> wrote in
message news:A214ED19-F6CD-4D25-90CE-0A1D456750BD@.microsoft.com...
>I have recently had to rebuild my SQL Server 2000 sp3a 2 node
>active/passive
> cluster running on Windows 2000 AS SP4. We ran into issues about two
> weeks
> ago after a SAN migration (I'll spare all the gory details). When my
> previous cluster died, I used one of the nodes as a stand alone instance
> of
> SQL Server (to run our production database). On the other former node, I
> removed the OS clustering software and had to manually remove SQL Server.
> I
> eventually (with the assistance of Donna L. at MS) was able to get a
> single
> node cluster of SQL2K running on physical server PRODSQL01 (the virtual
> server name is PRODSQLCL01). While the cluster was running as a single
> node
> cluster, I applied sp3a and the 818 hotfix. I then migrated the data from
> the stand alone instance to PRODSQLCL01 and started to use it for
> production.
> I turned my attention to the other box and removed and reinstalled the
> Windows 2000 cluster software. This box is now called PRODSQL02. I was
> able
> to add PRODSQL02 to the windows cluster, and the successfully added it via
> SQL Server setup to the virtual server. My issue now is that PRODSQL02
> has
> the RTM versions of the binaries. I am not sure if I have a setup issue
> or I
> misunderstand point 3.10 of the sp3a readme. Currently the virtual server
> is
> running on PRODSQL01. If I attempt follow the steps under "If you need to
> rebuild a node in the failover cluster..." from PRODSQL02 I am only able
> to
> select the Virtual Server, and if I continue setup I get this error "all
> cluster disks available to this virtual server are owned by other node(s)"
> and then "Setup was unable to verify the state of the server for an
> upgrade.
> Verify the server is able to start and that you provided a valid sa
> password
> and restart setup". I understand that the virtual resources are only
> available on the currently active node, but the way I read the
> instructions I
> should be able to run the service pack installation on the inactive node.
> Do
> I need to rerun the SP (and hotfix) setup on SQL01 (since the virtual
> server
> is running there)? Do I need to move the resources to SQL02 and run the
> SP
> setup there? I just need clarification of where to run the SP setup since
> I
> just added SQL02 to this cluster.
>
|||Geoff:
I've rebooted the newly added RTM node several times and it doesn't seem to
help. When I launch SP3 setup (via setup.bat in the local sql2ksp3
directory) on the newly added RTM node I get to the screen that says Computer
Name. Local Computer is grayed out, there is a box for the existing Virtual
Server name. When I type the virtual server name in the box and press next,
I get the error messages I mentioned in my original post. Is there anything
else you can recommend?
Thanks,
Justin
"Geoff N. Hiten" wrote:

> You should be able to run setup on the non-host node and it will upgrade the
> local binaries. Try rebooting the newly added RTM node and see if it helps.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
> Senior Database Administrator
>
|||This is how I wound up fixing this:
I ran sp3a setup from PRODSQL01, which was the machine in control of the SQL
Virtual server at the time. It updated the binaries on PRODSQL02, but in
order to do so, the SQL Server service was stopped. Once sp3a setup
completed, I had to reboot PRODSQL02. When it was back up, I verified the
version of the sqlservr.exe file, and it was 8.00.760 (right click,
properties, version). Once I established that sp3a took on the newly added
node, I started the setup for the 8.00.818 security hotfix. SQL Server went
down briefly again, and then the binaries on the newly added box were
updated. I then installed MDAC 2.8 on this node and rebooted. Once
PRODSQL02 was running again I tested moving the cluster resources from 01 to
02. It succeeded. While SQL was running on 02 I ran throught setting up
Imceda SQL Lite Speed (again, it was on 01 but not 02). Once that completed,
I was able to verify that my normally scheduled transaction log backups
completed successfully. Both machines run SQL Server and perform the
backups correctly. I am not sure about the root cause of the issue I
encountered with not being able to run the sp and hotfix on the newly added
node when it wasn't running the Virtual SQL Server (the sp3a readme seems to
indicate that you can), but I finally have a 2 node active passive cluster
running again.
|||Just to clarify, it is active passive, so only one node runs the Virtual SQL
Server at any time. I was trying to say that each node is able to run SQL
Server, and each node is able to run the SQL Lite Speed backups. I had been
concerned that somehow I would get PRODSQL02 all patched but then failing
over would not work correctly. Everything is working OK.
"Justin Hoffmann" wrote:

> This is how I wound up fixing this:
> I ran sp3a setup from PRODSQL01, which was the machine in control of the SQL
> Virtual server at the time. It updated the binaries on PRODSQL02, but in
> order to do so, the SQL Server service was stopped. Once sp3a setup
> completed, I had to reboot PRODSQL02. When it was back up, I verified the
> version of the sqlservr.exe file, and it was 8.00.760 (right click,
> properties, version). Once I established that sp3a took on the newly added
> node, I started the setup for the 8.00.818 security hotfix. SQL Server went
> down briefly again, and then the binaries on the newly added box were
> updated. I then installed MDAC 2.8 on this node and rebooted. Once
> PRODSQL02 was running again I tested moving the cluster resources from 01 to
> 02. It succeeded. While SQL was running on 02 I ran throught setting up
> Imceda SQL Lite Speed (again, it was on 01 but not 02). Once that completed,
> I was able to verify that my normally scheduled transaction log backups
> completed successfully. Both machines run SQL Server and perform the
> backups correctly. I am not sure about the root cause of the issue I
> encountered with not being able to run the sp and hotfix on the newly added
> node when it wasn't running the Virtual SQL Server (the sp3a readme seems to
> indicate that you can), but I finally have a 2 node active passive cluster
> running again.
|||The current correct term is "Single-Instance". "Active-Active" and its
cousins all refer to technology used specifically in SQL server 7.0 only.
Sometimes the binary only upgrade doesn't work right. Your solution is the
fallback solution but it does have the obvious downside of taking the SQL
server offline for a short time during the upgrade.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Adminstrator
"Justin Hoffmann" <JustinHoffmann@.discussions.microsoft.com> wrote in
message news:DA3E156A-EAFD-45D9-B72E-AB4A657D53A0@.microsoft.com...[vbcol=seagreen]
> Just to clarify, it is active passive, so only one node runs the Virtual
> SQL
> Server at any time. I was trying to say that each node is able to run SQL
> Server, and each node is able to run the SQL Lite Speed backups. I had
> been
> concerned that somehow I would get PRODSQL02 all patched but then failing
> over would not work correctly. Everything is working OK.
> "Justin Hoffmann" wrote:

Friday, March 23, 2012

Rebuilding Active/Active Cluster...

Dear All,
I have the dubious pleasure of rebuilding an active/active sql cluster over
the Christmas period. With regards to this, am I better backing up and
restoring the databases or detaching them then re-attaching?
Cheers,
Adam M.
I'd do both. You probably already have a regular backup maintenance schedule, right? So, those backups would be available to you to restore if necessary.
Go ahead and detach. I'd write an attach script beforehand to ease bringing the databases online if you have more than a handful.
Remember, the system databases will be deleted and new ones put in there place if you uninstall and reinstall; so, you might want to copy them to a another directory before you start the reinstallation process.
Also, when you detach the databases, keep track of the various users defaultdb designations. If you reattach in a different order than when the databases were brought online, the logins will be mapped to other databases as their respective defaults.
Sincerely,
Anthony Thomas

"Adam David Moss" <no@.email.address> wrote in message news:OrvRwHzzEHA.2716@.TK2MSFTNGP14.phx.gbl...

> Dear All,
> I have the dubious pleasure of rebuilding an active/active sql cluster over
> the Christmas period. With regards to this, am I better backing up and
> restoring the databases or detaching them then re-attaching?
> Cheers,
>
> Adam M.
>|||Cheers dude. Much appreciated.
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> wrote in message
news:%23MH70d0zEHA.3336@.TK2MSFTNGP11.phx.gbl...
I'd do both. You probably already have a regular backup maintenance
schedule, right? So, those backups would be available to you to restore if
necessary.
Go ahead and detach. I'd write an attach script beforehand to ease bringing
the databases online if you have more than a handful.
Remember, the system databases will be deleted and new ones put in there
place if you uninstall and reinstall; so, you might want to copy them to a
another directory before you start the reinstallation process.
Also, when you detach the databases, keep track of the various users
defaultdb designations. If you reattach in a different order than when the
databases were brought online, the logins will be mapped to other databases
as their respective defaults.
Sincerely,
Anthony Thomas

"Adam David Moss" <no@.email.address> wrote in message
news:OrvRwHzzEHA.2716@.TK2MSFTNGP14.phx.gbl...
> Dear All,
> I have the dubious pleasure of rebuilding an active/active sql cluster
over
> the Christmas period. With regards to this, am I better backing up and
> restoring the databases or detaching them then re-attaching?
> Cheers,
>
> Adam M.
>

Rebuilding Active/Active Cluster...

Dear All,
I have the dubious pleasure of rebuilding an active/active sql cluster over
the Christmas period. With regards to this, am I better backing up and
restoring the databases or detaching them then re-attaching?
Cheers,
Adam M.I'd do both. You probably already have a regular backup maintenance schedul
e, right? So, those backups would be available to you to restore if necessa
ry.
Go ahead and detach. I'd write an attach script beforehand to ease bringing
the databases online if you have more than a handful.
Remember, the system databases will be deleted and new ones put in there pla
ce if you uninstall and reinstall; so, you might want to copy them to a anot
her directory before you start the reinstallation process.
Also, when you detach the databases, keep track of the various users default
db designations. If you reattach in a different order than when the databas
es were brought online, the logins will be mapped to other databases as thei
r respective defaults.
Sincerely,
Anthony Thomas
--
"Adam David Moss" <no@.email.address> wrote in message news:OrvRwHzzEHA.2716@.TK2MSFTNGP14.phx
.gbl...
> Dear All,
>
> I have the dubious pleasure of rebuilding an active/active sql cluster ove
r
> the Christmas period. With regards to this, am I better backing up and
> restoring the databases or detaching them then re-attaching?
>
> Cheers,
>
>
> Adam M.
>
>|||Cheers dude. Much appreciated.
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> wrote in message
news:%23MH70d0zEHA.3336@.TK2MSFTNGP11.phx.gbl...
I'd do both. You probably already have a regular backup maintenance
schedule, right? So, those backups would be available to you to restore if
necessary.
Go ahead and detach. I'd write an attach script beforehand to ease bringing
the databases online if you have more than a handful.
Remember, the system databases will be deleted and new ones put in there
place if you uninstall and reinstall; so, you might want to copy them to a
another directory before you start the reinstallation process.
Also, when you detach the databases, keep track of the various users
defaultdb designations. If you reattach in a different order than when the
databases were brought online, the logins will be mapped to other databases
as their respective defaults.
Sincerely,
Anthony Thomas
"Adam David Moss" <no@.email.address> wrote in message
news:OrvRwHzzEHA.2716@.TK2MSFTNGP14.phx.gbl...
> Dear All,
> I have the dubious pleasure of rebuilding an active/active sql cluster
over
> the Christmas period. With regards to this, am I better backing up and
> restoring the databases or detaching them then re-attaching?
> Cheers,
>
> Adam M.
>

Rebuilding Active/Active Cluster...

Dear All,
I have the dubious pleasure of rebuilding an active/active sql cluster over
the Christmas period. With regards to this, am I better backing up and
restoring the databases or detaching them then re-attaching?
Cheers,
Adam M.Cheers dude. Much appreciated.
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> wrote in message
news:%23MH70d0zEHA.3336@.TK2MSFTNGP11.phx.gbl...
I'd do both. You probably already have a regular backup maintenance
schedule, right? So, those backups would be available to you to restore if
necessary.
Go ahead and detach. I'd write an attach script beforehand to ease bringing
the databases online if you have more than a handful.
Remember, the system databases will be deleted and new ones put in there
place if you uninstall and reinstall; so, you might want to copy them to a
another directory before you start the reinstallation process.
Also, when you detach the databases, keep track of the various users
defaultdb designations. If you reattach in a different order than when the
databases were brought online, the logins will be mapped to other databases
as their respective defaults.
Sincerely,
Anthony Thomas
"Adam David Moss" <no@.email.address> wrote in message
news:OrvRwHzzEHA.2716@.TK2MSFTNGP14.phx.gbl...
> Dear All,
> I have the dubious pleasure of rebuilding an active/active sql cluster
over
> the Christmas period. With regards to this, am I better backing up and
> restoring the databases or detaching them then re-attaching?
> Cheers,
>
> Adam M.
>sql

Wednesday, March 21, 2012

Rebuild one node of an active/passive cluster

Is there a documentation on how to rebuild one node of an active/passaive SQL
Server cluster from the O/S up with the SQL Server in use by the other node?
Sort of. Your OS build should be documented in your disaster recovery
documents since it is your unique installation. The steps to add it back in
as a cluster member and a working SQL server are documented in BOL under the
topic 'Maintaining a Failover Cluster'.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Tom" <Tom@.discussions.microsoft.com> wrote in message
news:2F3CB6D3-5AFD-49F3-A66B-734E7A772197@.microsoft.com...
> Is there a documentation on how to rebuild one node of an active/passaive
SQL
> Server cluster from the O/S up with the SQL Server in use by the other
node?
>
sql

Rebuild one node of an active/passive cluster

Is there a documentation on how to rebuild one node of an active/passaive SQL
Server cluster from the O/S up with the SQL Server in use by the other node?
Tom,
You might want to post this in .clustering.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Tom wrote:
> Is there a documentation on how to rebuild one node of an active/passaive SQL
> Server cluster from the O/S up with the SQL Server in use by the other node?

Rebuild one node of an active/passive cluster

Is there a documentation on how to rebuild one node of an active/passaive SQ
L
Server cluster from the O/S up with the SQL Server in use by the other node?Tom,
You might want to post this in .clustering.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Tom wrote:[vbcol=seagreen]
> Is there a documentation on how to rebuild one node of an active/passaive
SQL
> Server cluster from the O/S up with the SQL Server in use by the other node?[/vbco
l]

Rebuild one node of an active/passive cluster

Is there a documentation on how to rebuild one node of an active/passaive SQL
Server cluster from the O/S up with the SQL Server in use by the other node?Tom,
You might want to post this in .clustering.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Tom wrote:
> Is there a documentation on how to rebuild one node of an active/passaive SQL
> Server cluster from the O/S up with the SQL Server in use by the other node?

Rebuild one node from SQL Cluster

hi guys,
I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
is on Active/Passive config. One of the node giving problem and i am planning
to rebuild it until this question strikes my mind. After rebuild, how do i
join back to existing SQL Cluster?
TIA
oh...it's k...i got it
http://www.microsoft.com/technet/pro...rt4/c1261.mspx
"Adding or Removing a Cluster Node from the Virtual Server Definition
Another new feature of SQL Server 2000 failover clustering is the ability to
add or remove a cluster node from a SQL Server virtual server definition.
Adding nodes to the existing SQL Server virtual server definition performs
all the necessary operations on the new nodes (including installing binaries,
system components, and creating services) and performs the necessary
modifications to the cluster configuration. "
"rupart" wrote:

> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am planning
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIA
|||You'll get the right audience looking at this if you plst to
ms.p.sqlserver.clustering.
There are these links
http://www.microsoft.com/technet/pro.../failclus.mspx
http://www.microsoft.com/downloads/d...displaylang=en
http://www.sql-server-performance.co...stall_main.asp
http://support.microsoft.com/?kbid=301600
Which should help but some questions first.
What SP level is the OS and SQL currently at?
There are issues adding back failed nodes to SP4 level (I had them).
Also you must follow certain guidelines when evicting/adding nodes otherwise
you could render your cluster unusable.
Also have a backup plan in case this actually does happen. I restored the
critical databases to another cluster just prior to doing the actual work on
a live system just in case it all went wrong.
Also if you have access to a "virtual server system" Virtual Server 2005 or
VMWare create a system similar to you current one to try the process out.
Nik Marshall-Blank MCSD/MCDBA
"rupart" <rupart@.discussions.microsoft.com> wrote in message
news:7BE08633-F659-4B34-9F5E-806A3550CA02@.microsoft.com...
> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am
> planning
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIA

Rebuild one node from SQL Cluster

hi guys,
I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
is on Active/Passive config. One of the node giving problem and i am planning
to rebuild it until this question strikes my mind. After rebuild, how do i
join back to existing SQL Cluster?
TIAoh...it's k...i got it
http://www.microsoft.com/technet/prodtechnol/sql/2000/reskit/part4/c1261.mspx
"Adding or Removing a Cluster Node from the Virtual Server Definition
Another new feature of SQL Server 2000 failover clustering is the ability to
add or remove a cluster node from a SQL Server virtual server definition.
Adding nodes to the existing SQL Server virtual server definition performs
all the necessary operations on the new nodes (including installing binaries,
system components, and creating services) and performs the necessary
modifications to the cluster configuration. "
"rupart" wrote:
> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am planning
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIA|||You'll get the right audience looking at this if you plst to
ms.p.sqlserver.clustering.
There are these links
http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/failclus.mspx
http://www.microsoft.com/downloads/details.aspx?FamilyID=96f76ed7-9634-4300-9159-89638f4b4ef7&displaylang=en
http://www.sql-server-performance.com/sqlserver2000_clustering_install_main.asp
http://support.microsoft.com/?kbid=301600
Which should help but some questions first.
What SP level is the OS and SQL currently at?
There are issues adding back failed nodes to SP4 level (I had them).
Also you must follow certain guidelines when evicting/adding nodes otherwise
you could render your cluster unusable.
Also have a backup plan in case this actually does happen. I restored the
critical databases to another cluster just prior to doing the actual work on
a live system just in case it all went wrong.
Also if you have access to a "virtual server system" Virtual Server 2005 or
VMWare create a system similar to you current one to try the process out.
--
Nik Marshall-Blank MCSD/MCDBA
"rupart" <rupart@.discussions.microsoft.com> wrote in message
news:7BE08633-F659-4B34-9F5E-806A3550CA02@.microsoft.com...
> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am
> planning
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIAsql

Rebuild one node from SQL Cluster

hi guys,
I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
is on Active/Passive config. One of the node giving problem and i am plannin
g
to rebuild it until this question strikes my mind. After rebuild, how do i
join back to existing SQL Cluster?
TIAoh...it's k...i got it
[url]http://www.microsoft.com/technet/prodtechnol/sql/2000/reskit/part4/c1261.mspx[/url
]
"Adding or Removing a Cluster Node from the Virtual Server Definition
Another new feature of SQL Server 2000 failover clustering is the ability to
add or remove a cluster node from a SQL Server virtual server definition.
Adding nodes to the existing SQL Server virtual server definition performs
all the necessary operations on the new nodes (including installing binaries
,
system components, and creating services) and performs the necessary
modifications to the cluster configuration. "
"rupart" wrote:

> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am plann
ing
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIA|||You'll get the right audience looking at this if you plst to
ms.p.sqlserver.clustering.
There are these links
http://www.microsoft.com/technet/pr...n/failclus.mspx
http://www.microsoft.com/downloads/...&displaylang=en
http://www.sql-server-performance.c...om/?kbid=301600
Which should help but some questions first.
What SP level is the OS and SQL currently at?
There are issues adding back failed nodes to SP4 level (I had them).
Also you must follow certain guidelines when evicting/adding nodes otherwise
you could render your cluster unusable.
Also have a backup plan in case this actually does happen. I restored the
critical databases to another cluster just prior to doing the actual work on
a live system just in case it all went wrong.
Also if you have access to a "virtual server system" Virtual Server 2005 or
VMWare create a system similar to you current one to try the process out.
Nik Marshall-Blank MCSD/MCDBA
"rupart" <rupart@.discussions.microsoft.com> wrote in message
news:7BE08633-F659-4B34-9F5E-806A3550CA02@.microsoft.com...
> hi guys,
> I have SQL Cluster running on 2 servers running on Win2k3. The SQL Cluster
> is on Active/Passive config. One of the node giving problem and i am
> planning
> to rebuild it until this question strikes my mind. After rebuild, how do i
> join back to existing SQL Cluster?
> TIA

Rebuild Master Database on 2 Node Cluster

Very new to Windows2000/SQL2000 Clustering, recently set up an Active/Passive
2 node SQL Cluster. Unfortunately one of the Collation settings needs to
change. After spending some time looking Microsoft site and other support
sites it seems that the easiest/quickest way to do this is detach the user
databases,rebuild the Master database and select new collation setings and
then reattach the user databases. In a non-clustered environment this seems
quite straightforward but not sure on a Cluster. Looking at M/Soft KB
298568 it states;
1.)Make sure that the SQL Server resources are being controlled by the node
in which you execute Rebuildm.exe.
2.)Bring the SQL Server virtual server offline by using the SQL Server
Service Manager.
I guess what it means from point 2 is that stop the SQL Service, however
doesn't this mean the the second node will then kick in? If so, should I not
be pausing or stopping the cluster service on Node 2? Also I guess that I
need to reinstall SP3 so the system databases are upgraded?
Appreciate any guidance that can be given here.
Many Thanks
Hello,
Here is the answer to your question
Qs. I guess what it means from point 2 is that stop the SQL Service, however
doesn't this mean the the second node will then kick in? If so, should I not
be pausing or stopping the cluster service on Node 2? Also I guess that I
need to reinstall SP3 so the system databases are upgraded?
Ans. You are correct, taking the SQL Server virtual server offline means stopping SQL Service. This does NOT mean that the second node will kick in. Also, you do not need to reinstall SP3 as by default rebuildm will
reinstall the SQL service packs by looking at the registry. But if you had installed any hotfixes or security patches after the service pack then those needs to be reapplied.
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||Thankyou very much for response. I have gone ahead and attempted this
tonight and when I run the RebuildM.exe I receive Fatal Error ' Language
dependent respurce file
C:/Source/SQL2000/X86/Binn/Resources/1033/Rebuildm.rll could not be found.
Slightly confused as I copied the entire contents of SQL2000 install CD to
the C/Source folder on Node1. The only thing I can see is that the folder is
called Res and not Resources, not sure if I rename this to Resources if it
will resolve or could cause other problems. Any Ideas would be great, cannot
find anything on the web regarding this.
Thanks
"Dazza" wrote:

> Very new to Windows2000/SQL2000 Clustering, recently set up an Active/Passive
> 2 node SQL Cluster. Unfortunately one of the Collation settings needs to
> change. After spending some time looking Microsoft site and other support
> sites it seems that the easiest/quickest way to do this is detach the user
> databases,rebuild the Master database and select new collation setings and
> then reattach the user databases. In a non-clustered environment this seems
> quite straightforward but not sure on a Cluster. Looking at M/Soft KB
> 298568 it states;
> 1.)Make sure that the SQL Server resources are being controlled by the node
> in which you execute Rebuildm.exe.
> 2.)Bring the SQL Server virtual server offline by using the SQL Server
> Service Manager.
> I guess what it means from point 2 is that stop the SQL Service, however
> doesn't this mean the the second node will then kick in? If so, should I not
> be pausing or stopping the cluster service on Node 2? Also I guess that I
> need to reinstall SP3 so the system databases are upgraded?
> Appreciate any guidance that can be given here.
> Many Thanks
>
>
|||What CD did you copy the SQL setup files from? Is it SQL Server 2000 Enterprise Edition CD?
Do you have the following files:
Rebuildm.exe and sqlsui.dll in C:\Program Files\Microsoft SQL Server\80\Tools\binn\ folder
Rebuildm.rll and Sqlsui.rll in C:Program Files\Microsoft SQL Server\80\Tools\binn\resources\1033
If not, try copying them from the CD to these directories and then try the rebuildm.exe
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||Have you run rebuildm.exe from C:\Program Files\Microsoft SQL
Server\80\Tools\binn\ folder or from C:/Source/SQL2000/X86/Binn folder?
You have to run rebuildm.exe from C:\Program Files\Microsoft SQL
Server\80\Tools\binn\ folder and specify as Data source the
C:/Source/SQL2000/X86/Data folder
HTH
Franco
"Dazza" wrote:
[vbcol=seagreen]
> Thankyou very much for response. I have gone ahead and attempted this
> tonight and when I run the RebuildM.exe I receive Fatal Error ' Language
> dependent respurce file
> C:/Source/SQL2000/X86/Binn/Resources/1033/Rebuildm.rll could not be found.
> Slightly confused as I copied the entire contents of SQL2000 install CD to
> the C/Source folder on Node1. The only thing I can see is that the folder is
> called Res and not Resources, not sure if I rename this to Resources if it
> will resolve or could cause other problems. Any Ideas would be great, cannot
> find anything on the web regarding this.
> Thanks
> "Dazza" wrote:

Tuesday, March 20, 2012

Rebuild index on a heavy loaded table when my apps is running

I am using SQL Server for my application and one of the table is very active (insert/delete) and I have to rebuild the index for that table on a regular basis. However, I don't want to stop my application when the index rebuilding is going on. Ideally, I would like to have a script automatically kicked off on a scheduled time.

My question is:

Is there any risk from rebuilding index while my app is actively updating that table? Will my app becomes slow or fails due to DB not responding or is there any risk of DB hung?

Thanks,

Jeff

You app will just wait until the index rebuilding finished as soon as it will try to read or modify the index. Anyway, try to rebuild indexes when your database load is minimal.

Monday, March 12, 2012

Rebooting Cluster Boxes

Hi

I am a 2 node active/passive 2003 cluster. I have some maintenace where I need to shut down both of the servers at the same time.

Has anyone experience any issue in this approach?

I am planning to take the cluster offline and then shutdown the servers and bring it online after the reboot. I am also running SQL so any concerns or tips as what would be the best scenario.

Hoping to get some reply.

Thanks
Anup

See this KBA http://download.microsoft.com/download/1/B/D/1BDF5B78-584E-4DE0-B36F-C44E06B0D2A3/ReadmeSql2k32sp4.htm#_installing_on_a_failover_cluster readme about how you can handle such on the cluster.

But make sure you have complete backups for system and user databases to ensure to recover when something is wrong.

Reboot SAN of SQL Cluster

We are planning a recycle of our SAN to which our active/passive 2-node SQL
cluster is attached. Is there anything special to be aware of?
We will do the following steps:
Pause the passive node
using Cluster Admin, stop SQL service
Power down active node server
power down passive node server
after SAN recycle complete
Power up active node server
power up passive node server
restart (resume) passive node
Any insight is greatly appreciated!!
Go ahead and take the entire SQL resource group offline. Then take the
cluster group offline. Down the host nodes, reboot the SAN, then restart
the nodes one at a time.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"RobinMC" <RobinMC@.discussions.microsoft.com> wrote in message
news:78418060-D070-4AEE-BBD7-83D3D827069E@.microsoft.com...
> We are planning a recycle of our SAN to which our active/passive 2-node
> SQL
> cluster is attached. Is there anything special to be aware of?
> We will do the following steps:
> Pause the passive node
> using Cluster Admin, stop SQL service
> Power down active node server
> power down passive node server
> after SAN recycle complete
> Power up active node server
> power up passive node server
> restart (resume) passive node
> Any insight is greatly appreciated!!
|||If you are on a geo cluster (2 disk arrays replicated via a dedicated
technology), first restart the node which was stopped last (for cluster
service).
Guillaume.
==================
"RobinMC" wrote:

> We are planning a recycle of our SAN to which our active/passive 2-node SQL
> cluster is attached. Is there anything special to be aware of?
> We will do the following steps:
> Pause the passive node
> using Cluster Admin, stop SQL service
> Power down active node server
> power down passive node server
> after SAN recycle complete
> Power up active node server
> power up passive node server
> restart (resume) passive node
> Any insight is greatly appreciated!!