PROVIDING AN SFX FAILOVER SYSTEM USING MYSQL REPLICATION Anne L. Highsmith Head of Consortia Systems Texas A&M University

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Advertisements

beas WEB App Installation
The Scaling IQ Test: When Dev and Admin Collide Richard Campbell Strangeloop Networks.
How do I setup SQL log Shipping and why should I care Steve
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 8: Managing and Troubleshooting DNS.
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
27-Jun-15 Rails. What is Rails? Rails is a framework for building web applications This involves: Getting information from the user (client), using HTML.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
NETOP ONDEMAND What’s new in version 2.1? DECEMBER 09 NETOP ONDEMAND1.
Reliable MySQL Using Replication Issac Goldstand Mirimar Networks
5. SQL Restore tasks Objectives –Learn howto recover databases from disaster Contents –View database and transaction log backup files –Perform a complete.
Cisco Confidential 1 © 2011 Cisco and/or its affiliates. All rights reserved.
Installing a New Windows Server 2008 Domain Controller in a New Windows Server 2008 R2.
SFX System Administration SFX Training, SFX File Structure The SFX installation is contained in one directory: /exlibris/sfx_ver/sfx_version_3.
Default: Zoom 65% then screenshot. DB XStudio tests Launcher DB XStudio XAgent tests Backup DB tests Launcher.
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Event Viewer Was of getting to event viewer Go to –Start –Control Panel, –Administrative Tools –Event Viewer Go to –Start.
DB-12: Achieving High Availability with Clusters and OpenEdge® Replication Combining the two technologies Hugo Loera Chávez Senior Tech Support Engineer.
Additional SugarCRM details for complete, functional, and portable deployment.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Configuring CIFS Upon completion of this module, you should be able to: Configure the Data Mover for a Windows environment Create and Join a CIFS Server.
In-Line Cell Manager Configuration and Loading Date: Octobre2014.
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
Experiences Deploying Xrootd at RAL Chris Brew (RAL)
Session 5: Working with MySQL iNET Academy Open Source Web Development.
DBMaintPlus August 23, DBMaintPlus SQL Database Maintenance Utility for RB-ERP Version V9.3 and above Disclaimer The DBMaintPlus Utility is designed.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
SXe on Windows 2000 Installing Windows 2000 Server, Progress, and SXe.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
DB-2: OpenEdge® Replication: How to get Home in Time … Brian Bowman Sr. Solutions Engineer Sandy Caiado Sr. Solutions Engineer.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
Basic Router Configuration 1.1 Global configuration Cisco allows us to configure the router to support various protocols and interfaces. The router stores.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation MongoDB Architecture.
Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab.
Working with ShakeCast A Training Manual. Contents  Module 1: Introduction to key concepts  Module 2: ShakeCast installation  Module 3: System configuration.
High Availability in DB2 Nishant Sinha
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
Brain Software. Things you need Administrator Rights Know how to open a folder Know how to unzip a file??? Know any special changes your IT department.
Linux Operations and Administration
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
1 Systems Administration. 2 Copyright Statement All of the information and material inclusive of text, images, logos, product names is either the property.
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Your EC2 Instance. How to Connect to your EC2 Instance?
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
How to setup DSS V6 iSCSI Failover with XenServer using Multipath Software Version: DSS ver up55 Presentation updated: February 2011.
DSpace Statistics Graham Triggs Head of Repository Systems, Symplectic.
OE REPLICATION AKA FATHOM REPLICATION. WHO AM I Currently with Eaton Corp as a Sr. Progress DBA for the past 12 years Started Programming with Progress.
All the things you need to know before setting up AlwaysOn Michael Steineke SQL & BI Solution Lead Enterprise Architect Concurrency, Inc.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
EGI-InSPIRE RI Pakiti Michal Prochazka, (Daniel Kouril)
DBMS ● What are they? ● Why used ● Examples? – Oracle – Access – MySQL – Postgres – SQLServer – Sqlite.
Fundamental of Databases
Welcome POS Synchronize Concept 08 Sept 2015.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
SQL Replication for RCSQL 4.5
Fujitsu Training Documentation Online Storage Migration
Upgrade SFX V3 to V4 Lieve Rottiers.
Software Version System Part1: Subversion at CERN
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Hardware Appliance Installation and Configuration
MySQL Backup, Transfer and Restore
Configuration Of A Pull Network.
SFX File Structure SFX Training, 2005.
Revision Update and Reports
Presentation transcript:

PROVIDING AN SFX FAILOVER SYSTEM USING MYSQL REPLICATION Anne L. Highsmith Head of Consortia Systems Texas A&M University

Failing over gracefully, or, What to do when your computer crashes

Whys and hows of a failover  SFX is a critical application requiring as much public uptime as possible  Decided to model SFX failover on our Voyager system  What does it cost to run a failover? (double your server, double your fun, double your invoice?)

The name game Failover server (bonden.tamu.edu) (public name of service) Production server (killick.tamu.edu) DB update via replication

Failing over our way 1  The licence request contained:  Server names and ips for the production and failover server  Service name and ip for the “public name” of the service.  The /etc/hosts file on each server contains:  Server names and ips for the production and failover server  Service name and ip for the “public name” of the service.

Failing over our way 2 – ifconfig  Sysadmin uses ifconfig to configure name for linkresolver.tamu.edu on production server  When switching between servers, the sysadmin uses ifconfig to take down the name on production and bring it up on failover. Takes about 5 min.  Avoids DNS reload

Initial data load on failover

Production and failover setup  Install vanilla SFX 4 on failover server  Verify that vanilla installation works, then take it down and remove /exlibris/sfx_ver/sfx_4[slot]  Run a full cold backup on production  Transfer cold backup files to failover server and unpack

MySQL documentation: cation-howto.html MySQL replication setup & testing

Special setup for replication (1)  Run binary logging on production but not failover  Set up a unique server id for both source and target  Create a userid on the source server that the target server can use to query for updates  DBA finishes MySQL replication setup [i.e. MAGIC HAPPENS HERE]

Special setup for replication (2)  Leave reverse proxy apache down on failover  Disable admin updates to failover by setting up [instance]/config/connection_admin.config_ (optional)

Software updates on failover  KBDB updates are unnecessary, because replication takes care of them.  Software updates must still be applied  Use a special option on the rev-up process /[sfxglb41_path]/admin/revision/rev-up --type=sw - -type=kbsw –backup=no  Apache restarts after update not a problem

Failover testing  Steps to switch from production to failover  Stop replication process on failover (DBA)  Start reverse apache on failover (SFX sysadmin)  Move the linkresolver interface from production to failover (Computer center sysadmin).  Steps to switch back to production  Move the linkresolver interface back to production (Computer center sysadmin)  Stop reverse apache on failover (SFX sysadmin)  Rebuild database on failover (DBA)  Start replication process on failover (DBA)

Implications of running on failover  Switchover/switchback creates a synchronization issue between databases  Failover database logged new statistics  When production came back, it created stat requests with keys that duplicated those already in failover  Replication to failover couldn’t be restarted until all of the potential duplicates were deleted  Decided to rebuild failover database after “use” and lose statistics