Showing posts with label shipping. Show all posts
Showing posts with label shipping. Show all posts

Thursday, March 22, 2012

active/passive cluster vs log shipping

Hi all, I am trying to weigh the pros and cons vs implementing a sql
active/passive cluster & using log shipping as a failover strategy. I have
successfully setup a custom log shipping infrastructure using sql standard
edition and windows server 2003 standard edition for a client and it is
running fine.
I am in the process of specing out and implementing a sql database setup for
a new client and am faced with what method to go with?
What are the pros & cons from a failover perspective between clustering and
log shipping?
To go with clustering I would have to go with enterprise edition of both
windows and sql. Luckily the data center is providing a shared SAN, so I do
not have to invest in that. Also, they are leasing us the sql enterprise
licenses, so that should cut down some expense.
Do I get any performance gains with going with clustering vs log shipping?
To my understanding clustering a sql database is always active/passive i.e.
2 sql servers can never be load balanced for performance. So in that case if
all I need is failover wouldnt log shipping do it? I guess the difference is
between going down for 5 mins vs going down for 20 mins?
Any advice here is much appreciated.
thanks!
P.S. I do not know if this helps any, but we will start off with sql2k, but
migrate to 2005 when it releases.
Careful with the term active/passive. We now use single-instance or
multi-instance. If you have multi-instance, this means you have more than
one instance in the cluster, likely one instance per node. The cluster
basically takes care of failover on its own. With log-shipping, there is
manual intervention and users are down until you notice the problem, hop in
your car and drive to the data centre.
Log shipping is good for disaster recovery, where you need to establish a
remote DR site.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
..
<param@.community.nospam> wrote in message
news:OkUGMI8ZFHA.3572@.TK2MSFTNGP12.phx.gbl...
Hi all, I am trying to weigh the pros and cons vs implementing a sql
active/passive cluster & using log shipping as a failover strategy. I have
successfully setup a custom log shipping infrastructure using sql standard
edition and windows server 2003 standard edition for a client and it is
running fine.
I am in the process of specing out and implementing a sql database setup for
a new client and am faced with what method to go with?
What are the pros & cons from a failover perspective between clustering and
log shipping?
To go with clustering I would have to go with enterprise edition of both
windows and sql. Luckily the data center is providing a shared SAN, so I do
not have to invest in that. Also, they are leasing us the sql enterprise
licenses, so that should cut down some expense.
Do I get any performance gains with going with clustering vs log shipping?
To my understanding clustering a sql database is always active/passive i.e.
2 sql servers can never be load balanced for performance. So in that case if
all I need is failover wouldnt log shipping do it? I guess the difference is
between going down for 5 mins vs going down for 20 mins?
Any advice here is much appreciated.
thanks!
P.S. I do not know if this helps any, but we will start off with sql2k, but
migrate to 2005 when it releases.
|||Or instead of hop in a car and drive to the data center, remote into the
network and update a dns record to point the database server to the standby
server and you are done
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:uMFQyM8ZFHA.2212@.TK2MSFTNGP14.phx.gbl...
> Careful with the term active/passive. We now use single-instance or
> multi-instance. If you have multi-instance, this means you have more than
> one instance in the cluster, likely one instance per node. The cluster
> basically takes care of failover on its own. With log-shipping, there is
> manual intervention and users are down until you notice the problem, hop
> in
> your car and drive to the data centre.
> Log shipping is good for disaster recovery, where you need to establish a
> remote DR site.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinpub.com
> .
> <param@.community.nospam> wrote in message
> news:OkUGMI8ZFHA.3572@.TK2MSFTNGP12.phx.gbl...
> Hi all, I am trying to weigh the pros and cons vs implementing a sql
> active/passive cluster & using log shipping as a failover strategy. I have
> successfully setup a custom log shipping infrastructure using sql standard
> edition and windows server 2003 standard edition for a client and it is
> running fine.
> I am in the process of specing out and implementing a sql database setup
> for
> a new client and am faced with what method to go with?
> What are the pros & cons from a failover perspective between clustering
> and
> log shipping?
> To go with clustering I would have to go with enterprise edition of both
> windows and sql. Luckily the data center is providing a shared SAN, so I
> do
> not have to invest in that. Also, they are leasing us the sql enterprise
> licenses, so that should cut down some expense.
> Do I get any performance gains with going with clustering vs log shipping?
> To my understanding clustering a sql database is always active/passive
> i.e.
> 2 sql servers can never be load balanced for performance. So in that case
> if
> all I need is failover wouldnt log shipping do it? I guess the difference
> is
> between going down for 5 mins vs going down for 20 mins?
> Any advice here is much appreciated.
> thanks!
> P.S. I do not know if this helps any, but we will start off with sql2k,
> but
> migrate to 2005 when it releases.
>
>
|||As long as you _can_ remote in...
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
..
<param@.community.nospam> wrote in message
news:%23BzVoZ8ZFHA.1088@.TK2MSFTNGP14.phx.gbl...
Or instead of hop in a car and drive to the data center, remote into the
network and update a dns record to point the database server to the standby
server and you are done
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:uMFQyM8ZFHA.2212@.TK2MSFTNGP14.phx.gbl...
> Careful with the term active/passive. We now use single-instance or
> multi-instance. If you have multi-instance, this means you have more than
> one instance in the cluster, likely one instance per node. The cluster
> basically takes care of failover on its own. With log-shipping, there is
> manual intervention and users are down until you notice the problem, hop
> in
> your car and drive to the data centre.
> Log shipping is good for disaster recovery, where you need to establish a
> remote DR site.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinpub.com
> .
> <param@.community.nospam> wrote in message
> news:OkUGMI8ZFHA.3572@.TK2MSFTNGP12.phx.gbl...
> Hi all, I am trying to weigh the pros and cons vs implementing a sql
> active/passive cluster & using log shipping as a failover strategy. I have
> successfully setup a custom log shipping infrastructure using sql standard
> edition and windows server 2003 standard edition for a client and it is
> running fine.
> I am in the process of specing out and implementing a sql database setup
> for
> a new client and am faced with what method to go with?
> What are the pros & cons from a failover perspective between clustering
> and
> log shipping?
> To go with clustering I would have to go with enterprise edition of both
> windows and sql. Luckily the data center is providing a shared SAN, so I
> do
> not have to invest in that. Also, they are leasing us the sql enterprise
> licenses, so that should cut down some expense.
> Do I get any performance gains with going with clustering vs log shipping?
> To my understanding clustering a sql database is always active/passive
> i.e.
> 2 sql servers can never be load balanced for performance. So in that case
> if
> all I need is failover wouldnt log shipping do it? I guess the difference
> is
> between going down for 5 mins vs going down for 20 mins?
> Any advice here is much appreciated.
> thanks!
> P.S. I do not know if this helps any, but we will start off with sql2k,
> but
> migrate to 2005 when it releases.
>
>
|||So assuming I could remote in, what other benefits do clustering provide me
over log shipping? Is down time the only one?
thanks
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:%23fQEQ18ZFHA.3068@.TK2MSFTNGP12.phx.gbl...
> As long as you _can_ remote in...
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinpub.com
> .
> <param@.community.nospam> wrote in message
> news:%23BzVoZ8ZFHA.1088@.TK2MSFTNGP14.phx.gbl...
> Or instead of hop in a car and drive to the data center, remote into the
> network and update a dns record to point the database server to the
> standby
> server and you are done
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:uMFQyM8ZFHA.2212@.TK2MSFTNGP14.phx.gbl...
>
|||In addition to down-time reduction, you have the benefit of faster upgrades
while keeping the system up. For example, let's say you need to apply a
service pack to the OS. Assuming that things are running on node 1, apply
the SP to node 2, move the groups to node 2 and then apply the SP to node 1.
Total down time is the time it took to move the groups (under 1 min). Also,
you could add a node and remove a node to the cluster to upgrade the
hardware (assuming Windows 2000 Data Centre or Windows 2003 Enterprise).
You can run, say, 1 SQL instance on 1 node and another instance on the
other. While not load-balancing in the purest sense of the term, this does
distribute the workload.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
..
<param@.community.nospam> wrote in message
news:uaOhCj$ZFHA.664@.TK2MSFTNGP12.phx.gbl...
So assuming I could remote in, what other benefits do clustering provide me
over log shipping? Is down time the only one?
thanks
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:%23fQEQ18ZFHA.3068@.TK2MSFTNGP12.phx.gbl...
> As long as you _can_ remote in...
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinpub.com
> .
> <param@.community.nospam> wrote in message
> news:%23BzVoZ8ZFHA.1088@.TK2MSFTNGP14.phx.gbl...
> Or instead of hop in a car and drive to the data center, remote into the
> network and update a dns record to point the database server to the
> standby
> server and you are done
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:uMFQyM8ZFHA.2212@.TK2MSFTNGP14.phx.gbl...
>

Saturday, February 25, 2012

Accidental Log Shipping?

Hi there, was just wondering...
I setup database replication , creating a publisher and a subscriber....
all seemed to go well.
Anyway, my question is... Can Log Shipping be setup accidently while doing
this process? I know nothing
about log shipping.. and someone is trying to point blame on me for creating
'Log shipping'.
Is it possible that I could have created log shipping without even knowing..
or does it require a bit of know how.
Also... if Log shipping was setup... Does it run automatically?
And last but not least.. If it was setup, and the standby server was turned
off.. and not running... Would log shipping run?
Sorry about my ignorance.. but I have a feeling the people who are making
these accusations are out to create / pass blame across to poor old me for
their own mistakes.
thanks in advance everyone
-Simon
That depends. On SQL Server Enterprise Edition and Developer Edition it is
conceivable that someone could blunder their way through the wizard being
totally ignorant about what they are doing. However most noobs would get
scared and back out of the dialogs pretty soon fearing they were doing
something destructive.
On other editions log shipping requires significant "programming" and the
chances of setting it up unintentionally are very remote.
It is possible that you scheduled transaction log dumps which are an
important step in log shipping (but only the first step and not the only
step). This can be done using the maintenance wizard.
All in all its pretty remote.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Simon" <none@.none.com> wrote in message
news:deeKf.12140$yK1.10202@.news-server.bigpond.net.au...
> Hi there, was just wondering...
> I setup database replication , creating a publisher and a subscriber....
> all seemed to go well.
> Anyway, my question is... Can Log Shipping be setup accidently while doing
> this process? I know nothing
> about log shipping.. and someone is trying to point blame on me for
> creating 'Log shipping'.
> Is it possible that I could have created log shipping without even
> knowing.. or does it require a bit of know how.
> Also... if Log shipping was setup... Does it run automatically?
> And last but not least.. If it was setup, and the standby server was
> turned off.. and not running... Would log shipping run?
> Sorry about my ignorance.. but I have a feeling the people who are making
> these accusations are out to create / pass blame across to poor old me for
> their own mistakes.
> thanks in advance everyone
> -Simon
>
>
|||Hi Hilary, Thanks very much for your response.
If it was in my error, Would there have to be transactions in the
msdb.logshipping_primaries / secondaries table on the standby server to show
that Log shipping actually took place?
Where on the stanby server could I check history of Log shipping taking
place.
Thanks in advance once again
P.S. They have already 'supposedly' turned off Log shipping on the primary
machine... but the 'accused' standby machine hasnt been connected to the
network for months.. so if log shipping did take place months ago before it
was removed from the network, would I be able to check its history some how.
Thanks again
-Simon
"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:ueq2k1fNGHA.984@.tk2msftngp13.phx.gbl...
> That depends. On SQL Server Enterprise Edition and Developer Edition it is
> conceivable that someone could blunder their way through the wizard being
> totally ignorant about what they are doing. However most noobs would get
> scared and back out of the dialogs pretty soon fearing they were doing
> something destructive.
> On other editions log shipping requires significant "programming" and the
> chances of setting it up unintentionally are very remote.
> It is possible that you scheduled transaction log dumps which are an
> important step in log shipping (but only the first step and not the only
> step). This can be done using the maintenance wizard.
> All in all its pretty remote.
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> "Simon" <none@.none.com> wrote in message
> news:deeKf.12140$yK1.10202@.news-server.bigpond.net.au...
>
|||You would really have to be day dreaming pretty badly to "accidentally" set
this up. Using the wizards in 2000 or 2005, you would have to wade through
at least half a dozen screens, some of which have at least a dozen options
that have to be set. You could conceivably load up a script from a Resource
Kit, hit the button and create a log shipping set up, but you would have to
edit the script in the first place with at least server names and share
names, not something that I would call accidental. So, I would pretty much
have to say that it is not possible to "accidentally" setup log shipping.
That would be pretty analogous to someone accidentally building a house, it
just doesn't happen.
If log shipping is setup, you will see at least 3 jobs. Backup, copy, and
restore. The backup jb will generally be on the primary. The copy and
restore would generally be on the secondary. You will have the backup job
creating the backups in a share on the primary. The copy job would pull
them from the share on the primary to the share on the secondary. So you
can look in two places for the pieces. SQL Server Agent will have the jobs.
The file system on both primary and secondary will have a share created
which will contain tran log backups.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"Simon" <none@.none.com> wrote in message
news:deeKf.12140$yK1.10202@.news-server.bigpond.net.au...
> Hi there, was just wondering...
> I setup database replication , creating a publisher and a subscriber....
> all seemed to go well.
> Anyway, my question is... Can Log Shipping be setup accidently while doing
> this process? I know nothing
> about log shipping.. and someone is trying to point blame on me for
> creating 'Log shipping'.
> Is it possible that I could have created log shipping without even
> knowing.. or does it require a bit of know how.
> Also... if Log shipping was setup... Does it run automatically?
> And last but not least.. If it was setup, and the standby server was
> turned off.. and not running... Would log shipping run?
> Sorry about my ignorance.. but I have a feeling the people who are making
> these accusations are out to create / pass blame across to poor old me for
> their own mistakes.
> thanks in advance everyone
> -Simon
>
>