SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SAN replication - does SQL service need to be shut down before copying?


SAN replication - does SQL service need to be shut down before copying?

Author
Message
sqld-_-ba
sqld-_-ba
SSCrazy
SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)

Group: General Forum Members
Points: 2594 Visits: 1131

We're moving to another datacenter. The plan is to replicate all data using SAN replication (HP 3PAR) to the new DC, physically move the servers, and start them up.

The goal is a one-time move, not synchronous/asynchronous SAN replication for Disaster Recovery, or anything like that. We're also trying to reduce the down-time of applications.

Does the SQL service on the datacenter need to be stopped before the SAN 'copy' takes place ?

Is there chance of data corruption if it's not stopped ? Will kicking off the SAN replication automatically 'quiesce' SQL in-flight transactions, like VMWare which works with the VSS service (we'll see I/O frozen messages in the SQL error log) ?


Sue_H
Sue_H
SSC-Dedicated
SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)SSC-Dedicated (33K reputation)

Group: General Forum Members
Points: 33172 Visits: 9431
sqld-_-ba - Thursday, December 21, 2017 9:25 AM

We're moving to another datacenter. The plan is to replicate all data using SAN replication (HP 3PAR) to the new DC, physically move the servers, and start them up.

The goal is a one-time move, not synchronous/asynchronous SAN replication for Disaster Recovery, or anything like that. We're also trying to reduce the down-time of applications.

Does the SQL service on the datacenter need to be stopped before the SAN 'copy' takes place ?

Is there chance of data corruption if it's not stopped ? Will kicking off the SAN replication automatically 'quiesce' SQL in-flight transactions, like VMWare which works with the VSS service (we'll see I/O frozen messages in the SQL error log) ?



How it all works depends on the vendor for the SAN. They implement things differently and can have different approaches based on your infrastructure, what you purchased (or are willing to purchase), etc. Best to probably contact whoever you work with from HP.

Sue



Steve Jones
Steve Jones
SSC Guru
SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)SSC Guru (327K reputation)

Group: Administrators
Points: 327464 Visits: 20087
If it's a one time thing,I'd shut things down. After all, don't they need to be down for the move? A little more time as insurance isn't bad.

That being said, as Sue mentioned, SAN vendors do have implementations that work great for this without any need to shut down the db.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
alen teplitsky
alen teplitsky
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16206 Visits: 4754
depending on your workload, i'd look at shutting them down so as not to lose any transactions after the copy

You don't have any spare servers to set up a temporary AlwaysOn cluster?
Arsh
Arsh
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2188 Visits: 822
If the replication works at bit level , shutting down might not be required. We used a product called DoubleTake which works at bit level and hence didn't require the shut down. For the in-flight queries its best to get a confirmation from the stake holders at SAN management.

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search