Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Performance Tuning
»
How to use 2 sql server instances with...
How to use 2 sql server instances with datafiles on a SAN
Rate Topic
Display Mode
Topic Options
Author
Message
bijucherian_in
bijucherian_in
Posted Thursday, November 12, 2009 11:44 AM
Forum Newbie
Group: General Forum Members
Last Login: Wednesday, December 30, 2009 6:02 AM
Points: 1,
Visits: 7
Hi everyone,
I would like to set up 2 difference instance of sql servers on different servers sharing same datafiles in a IBM Storage device (SAN). This is basically for load balancing. I would like to use one server for
OLTP and another one for reporting. Please let me know any issues with this kind of configuration and kindly guide me how can i do this. Basiclly i want to know the sharing of datafiles for 2 different instances.
Thanks
Post #818020
Bru Medishetty
Bru Medishetty
Posted Thursday, November 12, 2009 11:55 AM
SSCommitted
Group: General Forum Members
Last Login: Monday, February 11, 2013 8:27 AM
Points: 1,735,
Visits: 1,947
I do not think that you can share the Data / Log Files between 2 different servers at the same time.
Instead have use Replication on the OLTP and see that the replicated DB is used for replication.
You have SAN based snapshots that can help you to have the Datafiles cloned and then try to use them on the other Server.
Log Shipping/ DB Mirroring is can also be used but not a straightforward on, you need to further make changes on the destination to use it for read only purpose.
Bru Medishetty
Blog --
LearnSQLWithBru
Join on Facebook Page
Facebook.com\LearnSQLWithBru
Twitter --
BruMedishetty
Post #818026
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Friday, November 13, 2009 5:16 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 3:19 PM
Points: 31,526,
Visits: 13,863
Bru is correct. You cannot share the data files for load balancing. There is a shared READ system using a SAN for Enterprise edition, but it will not work for write files, only read only.
Bru has some good suggestions for you, but replication may be the best for a reporting situation.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #818934
Manvendra
Manvendra
Posted Monday, July 19, 2010 2:03 AM
Valued Member
Group: General Forum Members
Last Login: Saturday, February 16, 2013 11:14 PM
Points: 52,
Visits: 159
You have 3 options:
Replication
Logshipping
Database mirroring with database snapshot
Choose anyone for reporting.....ut yes again Trasactional Replication would be best option here
Post #954637
SQLRNNR
SQLRNNR
Posted Monday, July 19, 2010 12:44 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 5:03 PM
Points: 18,853,
Visits: 12,438
There is a 3rd party appliance that helps to simulate load balancing. It in essence creates a replication type of setup and keeps multiple databases in sync on different servers. But the data and log files of each cannot be shared.
I can't remember the name of the vendor, but it is out there.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #955038
Tara Kizer
Tara Kizer
Posted Monday, July 19, 2010 1:09 PM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Thursday, June 13, 2013 3:25 PM
Points: 101,
Visits: 266
If you choose to use database mirroring with a database snapshot, then you need to ensure that none of your data files is over 64GB in size. There's a Windows sparse file issue that you can encounter. And my environment did, and it caused downtime as the transaction log filled up on the primary server since the mirroring records didn't get cleared from the tlog. We were using the database snapshot for internal folks to run some adhoc queries every now and then. We've avoided the sparse file issue by adding multiple data files (my 1TB database has 21 data files now), but we decided not to use a database snapshot on the mirror just in case.
I use transactional replication for all of our reporting needs.
Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
Ramblings of a DBA (My SQL Server Blog)
Subscribe to my blog
Post #955049
TheSQLGuru
TheSQLGuru
Posted Tuesday, July 20, 2010 7:55 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 11:35 AM
Points: 3,672,
Visits: 5,172
CirquedeSQLeil (7/19/2010)
There is a 3rd party appliance that helps to simulate load balancing. It in essence creates a replication type of setup and keeps multiple databases in sync on different servers. But the data and log files of each cannot be shared.
I can't remember the name of the vendor, but it is out there.
Xkoto or Gridscale maybe?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru at GMail
Post #955588
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.