Eliminate SQL Server Downtime Even for maintenance Eliminate Outages Enable Continuous Availability of Data (zero downtime) Enable Geographic Disaster Recovery - NO crash recovery 2009 xkoto, Inc. All Rights Reserved
What You ll Learn Today TOPIC 1 TOPIC 2 TOPIC 3 Impact of Database Downtime Availability Solutions for SQL Server Putting Continuous Availability into Practice 2009 xkoto, Inc. All Rights Reserved 2
About xkoto Founded in 2005 in Toronto Focused on database virtualization software US Headquarters in Boston Working closely with the Microsoft lab to test and certify GRIDSCALE for SQL Server 2009 xkoto, Inc. All Rights Reserved 3
What You ll Learn Today TOPIC 1 TOPIC 2 TOPIC 3 Impact of Database Downtime Availability Solutions for SQL Server Putting Continuous Availability into Practice 2009 xkoto, Inc. All Rights Reserved 4
The Impact of Planned Maintenance Scheduled Maintenance Notification - Service Will Not Be Available - Sunday April 06, 02:59 AM EDT to Sunday April 06, 09:00 AM EDT Please be advised that salesforce.com will be performing scheduled maintenance during the above time period. Salesforce will not be available during this period. Please plan accordingly. We apologize for any inconvenience to you and your business. Continue http://na5.salesforce.com 2009 xkoto, Inc. All Rights Reserved 5
The Impact of Unplanned Outages Spokesman attributed the outage to database problems. http://www.washingtonpost.com/wp-dyn/content/article/2007/07/24/ar2007072401833_2.html 2009 xkoto, Inc. All Rights Reserved 6
Database Availability Concerns Keep global business-critical applications online 24x7 Address scalability and performance issues Keep databases secure, updated and always running 2009 xkoto, Inc. All Rights Reserved 7
What You ll Learn Today TOPIC 1 TOPIC 2 TOPIC 3 Impact of Database Downtime Availability Solutions for SQL Server Putting Continuous Availability into Practice 2009 xkoto, Inc. All Rights Reserved 8
Availability Solutions Active-Passive Clustering File system clustering (SQL Server Clustering) Log record shipping (SQL Server Mirroring) Data Virtualization 2009 xkoto, Inc. All Rights Reserved 9
Active-Passive Clustering One active database server with an idle standby for failover purposes Good single-purposed solution for providing database availability ACTIVE PASSIVE Application Servers Primary Site 2009 xkoto, Inc. All Rights Reserved 10
Active-Passive Clustering One active database server with an idle standby for failover purposes Good single-purposed solution for providing database availability! Issues Single point of failure Expensive resources sit idle Outage during failover time period Outage required during most maintenance tasks ACTIVE PASSIVE PASSIVE Application Servers Remote DR Site Primary Site 2009 xkoto, Inc. All Rights Reserved 11
SQL Server Clustering Generic solution for process availability Paired database servers with shared storage Identical servers Active/passive Failover can be automated by using a witness server Single mount to the shared disk to prevent split brain Protection against server, operating system, and process failures Failover processing includes Time to detect failure Startup passive process and mount disks Database crash recovery ACTIVE Witness Server PASSIVE 2009 xkoto, Inc. All Rights Reserved. Confidential. 12
SQL Server Clustering Disadvantages Long failover times Idle secondary Shared storage is a single point of failure Only HA solution Limited to two servers Outages required for maintenance Can be configured as Active/Active with two different databases with bidirectional failover Witness Server ACTIVE PASSIVE PASSIVE ACTIVE 2009 xkoto, Inc. All Rights Reserved. Confidential. 13
SQL Server Database Mirroring Paired database servers Active/passive Log buffers are sent from the DBMS to the secondary Heartbeat can be built in or 3 rd party solution Failover processing includes Time to detect failure Limited crash recovery processing Disadvantages Secondary maybe idle Stale reads on secondary Only HA solution Limited to two servers Outages required for maintenance Can be configured as Active/Active with two different databases with bidirectional failover Protection against server, operating system, process, and disk failures Provides database level protection ACTIVE Heartbeat PASSIVE 2009 xkoto, Inc. All Rights Reserved. Confidential. 14
Data Virtualization Architectures Grid of active-active databases Replicates data for redundancy Horizontal scalability with load balancing Allows rolling maintenance ACTIVE ACTIVE Primary Site ACTIVE Application Servers Remote Site Data Virtualization Servers 2009 xkoto, Inc. All Rights Reserved 15
What You ll Learn Today TOPIC 1 TOPIC 2 TOPIC 3 Impact of Database Downtime Availability Solutions for SQL Server Putting Continuous Availability into Practice 2009 xkoto, Inc. All Rights Reserved 16
Putting Continuous Availability into Practice How GRIDSCALE Works Database Failures Database Maintenance Deploying GRIDSCALE 2009 xkoto, Inc. All Rights Reserved 17
GRIDSCALE from xkoto GRIDSCALE from xkoto is data virtualization software that manages multiple, active-active database copies running anywhere on the network 2009 xkoto, Inc. All Rights Reserved 18
Financial Select xkoto Customers Insurance Retail Transportation / Media Services / Marketing 2009 xkoto, Inc. All Rights Reserved 19
Putting Continuous Availability into Practice How GRIDSCALE Works Database Failures Database Maintenance Deploying GRIDSCALE 2009 xkoto, Inc. All Rights Reserved 20
GRIDSCALE Technology Shared-Nothing Architecture Applications 3 Tiers Native SQL Drivers Driver GRIDSCALE Server GRIDSCALE Servers DB connector Transparent to applications Databases DB Connector DB Connector Remote Site 2009 xkoto, Inc. All Rights Reserved 21
How GRIDSCALE Works Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 22
Write Processing with GRIDSCALE 1. All write SQL statements are captured and stored in the GRIDSCALE Recovery Log Applications GRIDSCALE Servers INSERT INTO EMPLOYEE (ID, NAME, SALARY) VALUES (100, Smith, 35000); UPDATE EMPLOYEE SET Databases GRIDSCALE Recovery Log Remote Site 2009 xkoto, Inc. All Rights Reserved 23
Write Processing with GRIDSCALE 1. All write SQL statements are captured and stored in the GRIDSCALE Recovery Log 2. Writes are broadcast to all databases servers (no master database server) Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 24
Write Processing with GRIDSCALE 1. All write SQL statements are captured and stored in the GRIDSCALE Recovery Log 2. Writes are broadcast to all databases servers (no master database server) 3. Each database server processes the statement independently, the first successful response is sent back to the application Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 25
Write Processing with GRIDSCALE 1. All write SQL statements are captured and stored in the GRIDSCALE Recovery Log 2. Writes are broadcast to all databases servers (no master database server) 3. Each database server processes the statement independently, the first successful response is sent back to the application 4. Responses from the remaining servers are checked for consistency Databases Applications GRIDSCALE Servers Remote Site 2009 xkoto, Inc. All Rights Reserved 26
Read Processing with GRIDSCALE Reads are only sent to one database server the most up to date and least busy Load balancing is based on a shortest queue algorithm Automatically takes into account differences in processing power and network latency You can turn off reads to remote database servers to prevent issues with network latencies Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 27
GRIDSCALE Improves Scalability 2009 xkoto, Inc. All Rights Reserved 28
GRIDSCALE for SQL Server Benchmark 2009 xkoto, Inc. All Rights Reserved 29
Putting Continuous Availability into Practice How GRIDSCALE Works Database Failures Database Maintenance Deploying GRIDSCALE 2009 xkoto, Inc. All Rights Reserved 30
Database Failure Scenario 1. Application sends a read Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 31
Database Failure Scenario 1. Application sends a read 2. Database server fails; read is automatically re-routed Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 32
Database Failure Scenario 1. Application sends a read 2. Database server fails; read is automatically re-routed 3. When the database server is brought back online, GRIDSCALE automatically resynchronizes it while the application continues INSERT INTO EMPLOYEE (ID, NAME, SALARY) VALUES (100, Smith, 35000); UPDATE EMPLOYEE SET GRIDSCALE Recovery Log Databases Applications GRIDSCALE Servers Remote Site Remote Site 2009 xkoto, Inc. All Rights Reserved 33
Database Failure Scenario 1. Application sends a read 2. Database server fails; read is automatically re-routed 3. When the database server is brought back online, GRIDSCALE will automatically re-synchronize it while the application continues 4. Once the database server is up-to-date, GRIDSCALE adds it back to the cluster Databases Applications GRIDSCALE Servers Remote Site 2009 xkoto, Inc. All Rights Reserved 34
Restoring a Database Server Restore existing backup to new/failed database server Applications GRIDSCALE Servers Databases 2009 xkoto, Inc. All Rights Reserved 35
Restoring a Database Server Restore existing backup to new/failed database server GRIDSCALE automatically re-synchronizes the old backup Applications GRIDSCALE Servers INSERT INTO EMPLOYEE (ID, NAME, SALARY) VALUES (100, Smith, 35000); UPDATE EMPLOYEE SET Databases GRIDSCALE Recovery Log 2009 xkoto, Inc. All Rights Reserved 36
Restoring a Database Server Restore existing backup to new/failed database server GRIDSCALE automatically re-synchronizes the old backup New database server is now available for load balancing Applications GRIDSCALE Servers Databases 2009 xkoto, Inc. All Rights Reserved 37
Putting Continuous Availability into Practice How GRIDSCALE Works Database Failures Database Maintenance Deploying GRIDSCALE 2009 xkoto, Inc. All Rights Reserved 38
Database Maintenance Maintenance can done through GRIDSCALE and applied to all database servers Applications GRIDSCALE Servers Databases Remote Site 2009 xkoto, Inc. All Rights Reserved 39
Database Maintenance Maintenance can be done through GRIDSCALE and applied to all database servers Maintenance can be performed in a rolling fashion Applied to each database server one at a time Applications remain online during the maintenance Databases Applications GRIDSCALE Servers Remote Site Patches, data changes, etc, 2009 xkoto, Inc. All Rights Reserved 40
Database Maintenance Maintenance can be done through GRIDSCALE and applied to all database servers Maintenance can be performed in a rolling fashion Applied to each database server one at a time Applications remain online during the maintenance Databases Applications GRIDSCALE Servers Remote Site 2009 xkoto, Inc. All Rights Reserved 41 Patches, data changes, etc,
Database Maintenance Maintenance can be done through GRIDSCALE and applied to all database servers Maintenance can be performed in a rolling fashion Applied to each database server one at a time Applications remain online during the maintenance Databases Applications GRIDSCALE Servers Remote Site 2009 xkoto, Inc. All Rights Reserved 42 Patches, data changes, etc,
Putting Continuous Availability into Practice How GRIDSCALE Works Database Failures Database Maintenance Deploying GRIDSCALE 2009 xkoto, Inc. All Rights Reserved 43
GRIDSCALE Multi-Site Architecture Applications New York -Primary Site - New Jersey -Secondary Site - Applications Atlanta -Remote Office - GRIDSCALE GRIDSCALE Databases Dual Network Connection 2009 xkoto, Inc. All Rights Reserved 44
GRIDSCALE Multi-Site Architecture Applications New York -Primary Site - New Jersey -Secondary Site - Applications Atlanta -Remote Office - Read-Only Reports GRIDSCALE GRIDSCALE Databases Dual Network Connection 2009 xkoto, Inc. All Rights Reserved 45
GRIDSCALE Technology Specifications GRIDSCALE Server Hardware 2 CPUs 2 x 36 GB 15K rpm disks Dual GigE NICs 2 GB RAM Database Support Microsoft SQL Server 2005/2008 IBM DB2 V8 & V9 OS Support Microsoft Windows Server Red Hat Enterprise Linux SUSE Linux Enterprise Server Sun Solaris IBM AIX Databases Native SQL Drivers DB Connector Applications GRIDSCALE Servers DB Connector Remote Site 2009 xkoto, Inc. All Rights Reserved 46
Benefits of GRIDSCALE 100% Uptime Provides continuous availability of business critical applications Performance Distributes load across servers and locations Savings Security Flexibility Leverages unused servers and commodity systems Database maintenance can be done anytime Enables businesses to more quickly adapt to change faster and more economically 2009 xkoto, Inc. All Rights Reserved 47
Find Out More Resource Center www.xkoto.com/resources Begin an Evaluation of GRIDSCALE Contact Us: David Tung david.tung@xkoto.com Available White Papers Technology Overview GRIDSCALE Datasheet Case Studies Analyst Reports Roger Walker roger.walker@xkoto.com General Inquiry info@xkoto.com 2009 xkoto, Inc. All Rights Reserved 48
2009 xkoto, Inc. All Rights Reserved