VMware Cloud Community
MR-T
Immortal
Immortal

How are people keeping their VC databases replicated for DR?

Simple question really, I'm interested to know how other people keep VirtualCenter SQL databases replicated for DR purposes.

So site A is live running SQL 2000 and Site B simply keeps the copy ready for a DR.

The methods I'm aware of are:

1) Log Shipping (but requires SQL enterprise)

2) Publisher\Distriutor method

3) SQL2005 mirroring

4) SAN replication technology (Mirrorview, CA etc)

Has anyone monitored the traffic between these instances to see what load they're seeing?

If anyone has experience with 3PAR storage I'd love to hear about it.

Thanks

Reply
0 Kudos
17 Replies
sbeaver
Leadership
Leadership

1) Log Shipping (but requires SQL enterprise)

2) Publisher\Distriutor method

3) SQL2005 mirroring

4) SAN replication technology (Mirrorview, CA etc)

Of the 4 ways you have listed I will mention what we use. We have 2 DMX seperated by about 1000 miles. We use SDRF to replicate the SAN data and I just got back from a DR test and it worked flawless

Message was edited by:

Daryll

Had to split off and delete a message, so I changed the language of this posting to make sense.

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
kix1979
Immortal
Immortal

I agree with Steve, using database tools for this is far more efficient and reliably.

Thomas H. Bryant III
Reply
0 Kudos
MR-T
Immortal
Immortal

Nice one Steve.

I'm being pushed to use the SAN replication method if possible, so it's nice to hear you've already tested this.

Reply
0 Kudos
TTCO
Contributor
Contributor

If you have two sites you can run the SQL server on a MS Cluster that has one host in each site (req. a SAN as well that can replicate the data). Provides you with an almost transparent solution. If the SQL DB is down/restarted you might need to restart the VC services... (TT)

Reply
0 Kudos
MR-T
Immortal
Immortal

Do you require the enterprise version of SQL to setup clustering?

Reply
0 Kudos
mattpound
Hot Shot
Hot Shot

Well according to this http://msdn2.microsoft.com/en-us/library/ms143761.aspx

You can do two node clustering with Standard Edition. It also says you can do log shipping with Standard as well.

Reply
0 Kudos
mattpound
Hot Shot
Hot Shot

And I think you need MSCS as well.

Microsoft Cluster Server (MSCS) must be configured on at least one node of your server cluster. MSCS is only supported if it is installed on a hardware configuration that has been tested for compatibility with the MSCS software. You must also run SQL Server 2005 Enterprise Edition or Standard Edition in conjunction with MSCS. SQL Server 2005 Enterprise Edition supports failover clusters with up to 8 nodes. SQL Server 2005 Standard Edition supports 2-node failover clusters.[/i]

MSCS requires Windows 2003 Enterprise.

Reply
0 Kudos
MR-T
Immortal
Immortal

loads of money then.

I read the info about mixing the versions the other day, but it's cost.

Reply
0 Kudos
mattpound
Hot Shot
Hot Shot

I would investigate Database Mirroring. Looks very promising from what I've read.

http://msdn2.microsoft.com/en-us/library/ms177412.aspx

Reply
0 Kudos
MR-T
Immortal
Immortal

Yeah, I've had a look at this and it's just what I need.

If only I was allowed to install SQL2005!

Reply
0 Kudos
NeelR
Contributor
Contributor

Why SQL 2005?

Also, can you DB mirror on 2 VM's? Or is this specifically about physical SQL Servers?

Reply
0 Kudos
bjd145-1
Enthusiast
Enthusiast

A couple things come to mind.

  1. You don't need Enterprise Edition with SQL Server 2005 to setup Log Shipping. All you need is log shipping\

  2. If you have SQL Server 2000, then you can do a poor man's log shipping by backing up your transaction logs ever 15 minutes and using a tool like SyncBack (or a custom script) to sync those transaction logs to your DR site. You can even write a quick script to restore the files which infact I just blogged about here - http://www.bjd145.org/2007/11/restoring-database-with-transaction.html earlier today

Reply
0 Kudos
daniel_uk
Hot Shot
Hot Shot

I am implementing neverfail across some of my companys SQL infrastructure...

Thing with Log shipping is the remote server for SQL isnt the same name etc so its going to increase recovery time, with neverfail it copys incremental data at byte level to the second node and also starts services in the event of faliure

www.neverfailgroup.com

Dan

PS I'm not a saleman

Reply
0 Kudos
NeelR
Contributor
Contributor

Does the SQL Server need a 1 gb connection?

Reply
0 Kudos
bjd145-1
Enthusiast
Enthusiast

No it doesn't require a Gig connection which is nice. Now it would be useful to have if your database is large but the VC database is typical less than a couple GB. With 20 esx servers and a couple hundred VMs, my database is only 1.5GB

Reply
0 Kudos
johnxon
Contributor
Contributor

If you can get a 1GB connection, would be better in our experiance...

Reply
0 Kudos
bjd145-1
Enthusiast
Enthusiast

Agreed, if you can get Gig - it would be nice and preferred. But Gig is hard to come by for true DR since most DRs are across a WAN link. For our site, we have only a T3 (45Mbps) between sites. But even with that, a nightly replication of the full 1.5GB bak file only takes 15 minutes. You can setup to replication the smaller transaction logs every fifteen minutes and that only takes about a minute to replicated those over. Once you have a single bak file restored on the DR SQL server, all you would need is the transactions to apply to maintain consistency. This is how SQL Server 2005 Log shipping is done. Once the databse is created over on DR, then it never sends over the full bak file. Only the transaction log backups. This saves alot on time and bandwidth.

Reply
0 Kudos