Showing posts with label migrating. Show all posts
Showing posts with label migrating. Show all posts

Thursday, March 22, 2012

changing the compatibility level

Hi

I am migrating from sql server 2000 to sql server 2005.

When i do back up and Restore of the databases the compatibility level remains 80 (2000).

my concern is

1) should i change the compatibility level to 90 (2005)

2) Am i missing out any thing if i dont change the compatibility level

3) What are the issues that can come up if changed to 90 (2005)

Please reply .I am in a fix

Thanks in advance

If you still have the original SQL 2000 server/database, don't kill it yet

Run the SQL 2005 Upgrade Advisor on it and it'll give you a list of "errors", and "warnings" if you upgrade to 2005 (Errors are must-fix)

You can decide for yourself if # of errors is huge enough to keep the new DB in 80 mode; if not I suggest 90 mode (we did that, don't require restart either)

But honestly, I can only believe MS' words on that SQL2005 IS BETTER, as I don't have any benchmark comparison

Top 30 features of SQL 2005

http://www.microsoft.com/sql/prodinfo/features/top30features.mspx

sql

Thursday, March 8, 2012

Changing queries for SQL Server 2000

I am currently using ASP as the front end and SQL Server 7.0 as backend. We are migrating SQL Server 7.0 to SQL Server 2000. How this will affect my queries used in the fron-end. Also as for as T-SQL is concerned what are all the changes happened in SQL Server 2000 (which is not there in SQL Server 7.0)?I think 2000 is pretty good backwards compatible with SQL 7.0 scripts, check out these pages for features in SQL 2K.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_00_1lbn.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsqlmag2k/html/CoolestFeatures.asp

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/sql/reskit/sql2000/part1/c0261.asp

HTH

Sunday, February 19, 2012

Changing horses in midstream...

This is NOT my choice, but I am being forced to plan for migrating my 2 SQL database clusters (SQL 2000 SP3 running on Windows 2000 Advanced Server SP4) from their current SAN environment to a new SAN environment (from EMC Clariion to IBM DS4300).

The SAN hosts a quorum disk, a data disk and a log disk for both clusters. Each cluster is a 2-node Active/Passive cluster.

I have never done anything like this before and neither has the 3rd party contract service provider charged with making it happen. They did prepare a 56-step plan for the migration (plus 14 steps for backing out), but I wondered if anyone here had any experience in this realm.

We have a 4-hour window to complete the migration; realistically that is not enough time to perform a bare-metal install (which I would almost prefer to do). Your thoughts and comments are welcome (prayers are welcome, too).

Regards,

hmscottAssuming that you have two complete sets of hardware (SAN, server, infratructure), this is relatively easy. Run both systems in parallel, loading the new system from a dump of the existing one. At a point in time near cutover, do a full dump/restore. Once you reach user downtime, do a differential backup and restore it to the new box. Change the cluster ip address of the new cluster to that of the existing cluster, and you ought to be "up and running" with little fuss, muss, or bother.

It helped that we did this three times for QA before we had to do it in production. The confidence and having the bugs worked out helped a lot.

-PatP|||Nope, I do not have 2 complete sets of hardware. I have 2 clusters currently running in production (each with 2 nodes). I do not have any additional server hardware to allocate.

I do (or will) have two complete SANs (an existing EMC Clariion CX500 and a proposed IBM DS4300).

I have raised the possibility of consolidating the two clusters prior to the migration (which would yield 2 "free" servers), but this has not yet been accepted (the two clusters operate in different subnets).

Regards,

hmscott

Assuming that you have two complete sets of hardware (SAN, server, infratructure), this is relatively easy. Run both systems in parallel, loading the new system from a dump of the existing one. At a point in time near cutover, do a full dump/restore. Once you reach user downtime, do a differential backup and restore it to the new box. Change the cluster ip address of the new cluster to that of the existing cluster, and you ought to be "up and running" with little fuss, muss, or bother.

It helped that we did this three times for QA before we had to do it in production. The confidence and having the bugs worked out helped a lot.

-PatP|||Ok, then another scenario that we looked at was to install both SANs at the same time. In other words have one SAN available as drive X and the other available as drive Y. Periodically move one database at a time using detach/attach, as database usage permits. This avoids the trauma of dropping the whole load at once, and allows some "practice" on the less critical elements.

It is relatively ugly if you need to move master, model, and msdb too. If you need to do that, then what you have to do becomes a bit more complex, but it isn't a "show stopper" either.

-PatP|||What about the Quorum disk? That's the one I am stuck on. Moving the databases doesn't bother me too much. I've done master, model, tempdb and msdb before; but I am more concerned with MSCS and how it will react.

Thanks for your quick input. I've always been grateful for the responses received here.

hmscott

Ok, then another scenario that we looked at was to install both SANs at the same time. In other words have one SAN available as drive X and the other available as drive Y. Periodically move one database at a time using detach/attach, as database usage permits. This avoids the trauma of dropping the whole load at once, and allows some "practice" on the less critical elements.

It is relatively ugly if you need to move master, model, and msdb too. If you need to do that, then what you have to do becomes a bit more complex, but it isn't a "show stopper" either.

-PatP|||The exact details escape me, but I can find them. The gist of the idea is:

1) Break the SQL cluster
2) Down the SQL Servers
3) Copy the files wholesale disk X to Y
4) Swap drive letters X with Y
5) Bring the SQL Servers back up
6) Reunite (heal) the cluster.

-PatP|||Okay, I think that's what the 3rd party service provider is also saying. I'm still trolling through MS for references on moving the quorum disk. If you know of any KBs off the top of your head, I would be grateful.

Have you done this before? Do you know anyone who has?

Again, thanks for your responses.

Regards,

hmscott

The exact details escape me, but I can find them. The gist of the idea is:

1) Break the SQL cluster
2) Down the SQL Servers
3) Copy the files wholesale disk X to Y
4) Swap drive letters X with Y
5) Bring the SQL Servers back up
6) Reunite (heal) the cluster.

-PatP|||I'd go to IBM for that information. As SAN vendors, they can get propaganda from Redmond that isn't available to mere mortals.

The problem is that from the Microsoft/SQL Server perspective, if you do this little slight of hand right, nothing at all happened. MS-PSS really doesn't do much with it, because from their perspective its a non-issue.

There's an ADC in Dallas that is quite familiar with the process. He's actually done this several times (I've only done this once). I'll see if he can scare up any documentation for the process that he can give me without needing blood first.

-PatP|||That would be most excellent. I have found a few documents on MS support site. Most are only tangentially related, though one seems pretty close to the mark (280353).

I really wish I did not have to do this, but our organization just switched to a single-source contract with IBM.

Thanks again,

hmscott

Changing FQDN on SQL Server 2K

Can anybody shed some light on what I might run into when the FQDN is changed
on SQL Server 2K? We are currently in the process of migrating several
domains into a single .NET domain and there are several SQL Server 2K systems
that will be changed. Researching this I have been seeing a lot of
discrepancies, thus I thought I'd run the question through this newsgroup.
Thanks!Thanks for all the assistance, it was greatly appreciated!
"Bryan.S.Walker" wrote:
> Can anybody shed some light on what I might run into when the FQDN is changed
> on SQL Server 2K? We are currently in the process of migrating several
> domains into a single .NET domain and there are several SQL Server 2K systems
> that will be changed. Researching this I have been seeing a lot of
> discrepancies, thus I thought I'd run the question through this newsgroup.
> Thanks!
>

Changing FQDN on SQL Server 2K

Can anybody shed some light on what I might run into when the FQDN is changed
on SQL Server 2K? We are currently in the process of migrating several
domains into a single .NET domain and there are several SQL Server 2K systems
that will be changed. Researching this I have been seeing a lot of
discrepancies, thus I thought I'd run the question through this newsgroup.
Thanks!
Thanks for all the assistance, it was greatly appreciated!
"Bryan.S.Walker" wrote:

> Can anybody shed some light on what I might run into when the FQDN is changed
> on SQL Server 2K? We are currently in the process of migrating several
> domains into a single .NET domain and there are several SQL Server 2K systems
> that will be changed. Researching this I have been seeing a lot of
> discrepancies, thus I thought I'd run the question through this newsgroup.
> Thanks!
>

Changing FQDN on SQL Server 2K

Can anybody shed some light on what I might run into when the FQDN is change
d
on SQL Server 2K? We are currently in the process of migrating several
domains into a single .NET domain and there are several SQL Server 2K system
s
that will be changed. Researching this I have been seeing a lot of
discrepancies, thus I thought I'd run the question through this newsgroup.
Thanks!Thanks for all the assistance, it was greatly appreciated!
"Bryan.S.Walker" wrote:

> Can anybody shed some light on what I might run into when the FQDN is chan
ged
> on SQL Server 2K? We are currently in the process of migrating several
> domains into a single .NET domain and there are several SQL Server 2K syst
ems
> that will be changed. Researching this I have been seeing a lot of
> discrepancies, thus I thought I'd run the question through this newsgroup.
> Thanks!
>