SQ L Fail Over Options
SQ L Fail Over Options
Copyright 1995-2010 SolarWinds, Inc. all rights reserved worldwide. No part of this document may be reproduced by any means nor modified, decompiled, disassembled, published or distributed, in whole or in part, or translated to any electronic medium or other means without the written consent of SolarWinds. All right, title and interest in and to the software and documentation are and shall remain the exclusive property of SolarWinds and its licensors. SolarWinds, the SolarWinds logo, ipMonitor, LANsurveyor, and Orion are among the trademarks or registered trademarks of the company in the United States and/or other countries. All other trademarks contained in this document and in the Software are the property of their respective owners. SOLARWINDS DISCLAIMS ALL WARRANTIES, CONDITIONS OR OTHER TERMS, EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, ON SOFTWARE AND DOCUMENTATION FURNISHED HEREUNDER INCLUDING WITHOUT LIMITATION THE WARRANTIES OF DESIGN, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SOLARWINDS, ITS SUPPLIERS OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES, WHETHER ARISING IN TORT, CONTRACT OR ANY OTHER LEGAL THEORY EVEN IF SOLARWINDS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Microsoft, Windows 2000 Server, Windows 2003 Server, and Windows 2008 Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Graph Layout Toolkit and Graph Editor Toolkit 1992 - 2001 Tom Sawyer Software, Oakland, California. All Rights Reserved. Portions Copyright ComponentOne, LLC 1991-2002. All Rights Reserved. Document Revised: 09/15/2010
This technical reference document also provides a list of links to additional options from vendors other than Microsoft. For more information, see Other SQL Failover Solutions on page 4.
SQL Clustering
SQL Clustering refers to a configuration where two or more SQL Servers, generally called nodes are configured to work together, representing themselves as a single virtual server to the rest of the network. When a client connects to a SQL Server cluster, both the client and the cluster behave as though the connection exists between the client and a single SQL Server, not multiple. If any SQL Server node in the cluster fails, its responsibilities are taken over by another SQL Server in the cluster. The end-user notices little, if any, functional difference before, during, or after the failover.
SQL Clustering Characteristics Supports High Availability and Disaster Recovery Advantages Failover is quick, usually resulting in less than a minute or two of downtime. Disadvantages Failover is automatic; no manual intervention is required. Clustering does not require any servers to be renamed. Failing back is quick, usually resulting in less than a minute or two of downtime. More expensive than log shipping. Requires more set up and more on-going maintenance than log shipping. Requires more experienced DBAs and network administrators.
For more information about configuring clustering for SQL Server 2005, see How to: Create a New SQL Server 2005 Failover Cluster (Setup).For more information about configuring clustering for SQL Server 2008, see Installing a SQL Server 2008 R2 Failover Cluster.
Log Shipping
Log shipping automates the backup of database and transaction log files on a primary (production) server, and then restores them onto a standby server. Similar to replication, the primary purpose of log shipping is to increase database availability by maintaining a backup server that can quickly replace a failed production server, as shown in the following diagram:
Log Shipping Characteristics Supports Disaster Recovery Advantages Relatively less expensive and easier to maintain Disadvantages Relatively less work to set up. Requires less experienced DBAs and network administrators. Failover is not quick; it may take from 15 - 60 minutes or more of downtime. Failover is not automatic; it must be manually implemented. Log shipping requires that full recovery mode is enabled on your SQL Server. Full recovery mode and the log shipping functionality put additional load and overhead on the SQL Server, so you will need to provision the appropriate hardware to handle this additional load. Microsoft recomends frequent backups in full recovery mode to limit the excessive size and growth of the transaction log. For more information, see Working with Transaction Log Backups and Recovery Model Overview. Since no two SQL servers can have the same name, if you choose to use this strategy, in the event of a failover you must run the Orion Configuration Wizard to point your Orion server to the secondary SQL server.
For more information about configuring log shipping for SQL Server 2005, see Configuring Log Shipping.For more information about configuring log shipping for SQL Server 2008, see How to: Enable Log Shipping (SQL Server Management Studio).