Moving Instance to new Hardware (drive)

  • Hi,

    I have a clustered environment with 2 instances: a and b. We are replacing the storage and I need to know the best way to move the instance (a and b) to the new storage. My thoughts:

    SQL2005

    Backup all databases

    Detach user dbs

    Detach system dbs

    move Instance folder (mssqlA) to new drive

    Attach system dbs

    Attach user dbs

    I'm testing these steps now in our dev environment. Thoughts/Suggestions/Gotcha's to know about?

    Thanks.

  • When we have upgraded the servers here that's the way we do it, but if you use replication you can set up the new server as a subscriber of it and synchronize all the data at first, them move the jobs, users, log ins and roles.

    Frank.

  • Using the method above what happens to my instance name? Will it stay the same (sorry it may be obvious but I'm asking to be sure)

    Thanks.

  • I hope your apps have the server name in the connection string... 🙂 rather than the IP Address

    Once everything is ready, you should turn off the old server, then rename the new one to be as the old one and restart it, the downtime is less than 10 minutes. If you have good IT people, you can ask them to create a DNS rule that will redirect all the traffic that goes to the old server name to go to the new one, in this case, the downtime is zero.

    Make sure to sync the databases after you move to the new server, since the old server could have active connections on it that may or may not modify data. in order to do this, instead of shut down the old server, just rename it (e.g. to oldProductionSrvr) and then rename the new one, if you use the DNS to redirect the traffic it will be easier.

    Frank.

  • You're not changing servers, right? I mean keeping the Windows hosts (names, IPs, etc.) the same? Just changing storage? I think your original plan makes sense if you are doing that.

    I might keep the paths the same from Windows as I replace storage (using same drive letters) if possible.

  • Right just adding a new drive for storage to replace the current drive (but after we move over the data we can change the drive back if that's required?)

    thanks for the replies.

  • You can change it in Windows. That maps the drives to a particlar LUN/storage path.

    Or if you do the detach, attach, as long as you don't have code referencing drives, such as main plans or something similar), you will be fine.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply