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
SSCarpal Tunnel
SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)

Group: General Forum Members
Points: 4019 Visits: 1159

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 Guru
SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)SSC Guru (77K reputation)

Group: General Forum Members
Points: 77286 Visits: 15517
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 (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)SSC Guru (619K reputation)

Group: Administrators
Points: 619387 Visits: 21254
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
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27583 Visits: 4925
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
SSCertifiable
SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)SSCertifiable (5.4K reputation)

Group: General Forum Members
Points: 5367 Visits: 1001
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