This disclosure relates generally to information handling systems, and more particularly relates to a database failover.
As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option is an information handling system. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes. Because technology and information handling needs and requirements can vary between different applications, information handling systems can also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information can be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems can include a variety of hardware and software components that can be configured to process, store, and communicate information and can include one or more computer systems, data storage systems, and networking systems.
In database servers, data for multiple databases can be tightly coupled to a server process instance, and a single database server process instance can have multiple user databases that share common system databases. The databases on the servers occasionally need to be brought down for operating system and software patching. During these periods the databases can fail over to another database server and provide some uptime for the databases. If one database causes a failure, all of the databases on the instance have to be shut down and the entire instance has to be restarted on the failover database server. During this operation there is no application access to any of the databases on the instance until the instance is restarted on the failover server.
It will be appreciated that for simplicity and clarity of illustration, elements illustrated in the Figures have not necessarily been drawn to scale. For example, the dimensions of some of the elements are exaggerated relative to other elements. Embodiments incorporating teachings of the present disclosure are shown and described with respect to the drawings presented herein, in which:
The use of the same reference symbols in different drawings indicates similar or identical items.
The following description in combination with the Figures is provided to assist in understanding the teachings disclosed herein. The following discussion will focus on specific implementations and embodiments of the teachings. This focus is provided to assist in describing the teachings and should not be interpreted as a limitation on the scope or applicability of the teachings. However, other teachings can certainly be utilized in this application.
The database server system 100 includes an application server 102 and database servers 104, 106, and 108. The database servers 104 and 106 include a database instance 110. A database instance is the collection of databases stored on the database servers 104 and 106 that share a database operating system, and common system databases. The application server 102 is in communication with a first data center including the database servers 104 and 106, and a second data center including the database server 108.
In an embodiment, the database servers 104 and 108 can be located at the first data center, and the database server 106 can be located at the second database center. The application server 102 can store a primary database assignment of “DBPTX” and a secondary database assignment of “DBSTX.” If the application server 102 attempts to access a database, such as the “TX” database, in the database instance 110 stored on the database servers 104 and 106, the application server can first initiate communication with the primary database server as stored in the application server. Therefore, the application server 102 can first initiate communication with the database instance 110 on the database server 104, via communication link 112, to retrieve and/or manipulate the data on the TX database.
As shown in
As the data on the TX database is being accessed by the application server 102 via the communication link 112, the TX database can be mirrored to the database server 106 via communication link 204, so that the database server 106 can be a failover database server with the most recent data. It should also be noted that additional application servers can be accessed the same and/or different databases within the database instance 110 and these databases can also be mirrored on the database server 106 or on different database servers.
If the TX database on the database server 104 fails or otherwise needs to shut down, the application server 102 can fail over from the database server 104 to the database server 106. A failover can be when the application server 102 changes the database server with which it is in active communication from the database server 104 to the database server 106. The failover can be an automatic event triggered by the load on one of the database servers being to high, a manual event when one of the database servers is going to be decommissioned or going to have an update installed, and/or another operation such that the database server is not accessible by the application server 102. Upon the failover, the application server 102 can communicate with the database server 106 via communication link 202, and the database instance 110 can be mirrored from the database server 106 to the database server 104 via communication link 204 as shown in
If after the failover of the application server 102 to the database server 106 the TX database is continuing to disrupt the use of the databases in database instance 110 on the database servers 104 and 106, the DNS database name DBPTX can be transferred from the database server 104 to the database server 108 as shown in
The application server 102 preferably continues to communicate with the database server 106 and the TX database preferably continues to mirror to the database server 104 while the DNS request transfer is taking place between the database servers 104 and 108. Thus, the application server 102 can continually access with TX database without experiencing any downtime. Upon the DNS request transfer being completed, the TX database can be copied from the database server 106 to the database server 108, as represented by TX database 502 in
The TX database 502 can then be mirrored from the database server 106 to the database server 108, via communication link 602, so that the most current data is located on the TX database on both database servers 106 and 108 as shown in
At a second process step 804, the application fails over from the primary database server to the mirror database server. Based on the DNS assignments in the application, during the failover the application can make a DNS request for TestDBDR database server so that the application can fail over to the mirror database. The TestDBDR DNS request can be routed to the database server having the IP address of 10.10.10.2. As the application communicates with the database server associated with the DNS request TestDBDR and the IP address 10.10.10.2, this database can become the primary database for the application in the second process step 804.
At a third process step 806, the application can continue to be in communication with the TestDBDR database server. At this point, the mirror communication link between the TestDBDR database server and the TestDB database server having the IP address 10.10.10.1 can be broken. A new mirror communication link can be established between the TestDBDR database server and a new TestDB database server having an IP address 10.10.10.3. The DNS request TestDB can be remapped from the IP address 10.10.10.1 to the IP address 10.10.10.3. Thus, if the application makes a DNS request for TestDB, the application can be placed in an active communication with database server having the IP address 10.10.10.3. At a fourth process step 808, the application is in active communication with the new primary database server having a DNS TestDB and an IP address 10.10.10.3, and the database being accessed by the application can be mirrored to the mirror database having a DNS TestDBDR and an IP address 10.10.10.2.
A domain name system request for the primary database server is remapped to the new database server at block 912. At block 914, the application server is connected with the new database server for access to the identified database. The identified database is mirrored between the new database server and the secondary database server at block 916. At block 918, the new database server is assigned as the primary database server for the application server. A primary domain name system and a secondary domain name system for the application server are assigned at block 920.
In a networked deployment, the computer system may operate in the capacity of a server or as a client user computer in a server-client user network environment, or as a peer computer system in a peer-to-peer (or distributed) network environment. The computer system 1100 can also be implemented as or incorporated into various devices, such as a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile device, a palmtop computer, a laptop computer, a desktop computer, a communications device, a wireless telephone, a land-line telephone, a control system, a camera, a scanner, a facsimile machine, a printer, a pager, a personal trusted device, a web appliance, a network router, switch or bridge, or any other machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. In a particular embodiment, the computer system 1100 can be implemented using electronic devices that provide voice, video or data communication. Further, while a single computer system 1100 is illustrated, the term “system” shall also be taken to include any collection of systems or sub-systems that individually or jointly execute a set, or multiple sets, of instructions to perform one or more computer functions.
The computer system 1100 may include a processor 1102, e.g. a central processing unit (CPU), a graphics processing unit (GPU), or both. Moreover, the computer system 1100 can include a main memory 1104 and a static memory 1106 that can communicate with each other via a bus 1108. As shown, the computer system 1100 may further include a video display unit 1110, such as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flat panel display, a solid state display, or a cathode ray tube (CRT). Additionally, the computer system 1100 may include an input device 1112, such as a keyboard, and a cursor control device 1114, such as a mouse. The computer system 1100 can also include a disk drive unit 1116, a signal generation device 1118, such as a speaker or remote control, and a network interface device 1120.
In a particular embodiment, as depicted in
In an alternative embodiment, dedicated hardware implementations such as application specific integrated circuits, programmable logic arrays and other hardware devices can be constructed to implement one or more of the methods described herein. Applications that may include the apparatus and systems of various embodiments can broadly include a variety of electronic and computer systems. One or more embodiments described herein may implement functions using two or more specific interconnected hardware modules or devices with related control and data signals that can be communicated between and through the modules, or as portions of an application-specific integrated circuit. Accordingly, the present system encompasses software, firmware, and hardware implementations.
In accordance with various embodiments of the present disclosure, the methods described herein may be implemented by software programs executable by a computer system. Further, in an exemplary, non-limited embodiment, implementations can include distributed processing, component/object distributed processing, and parallel processing. Alternatively, virtual computer system processing can be constructed to implement one or more of the methods or functionality as described herein.
The present disclosure contemplates a computer-readable medium that includes instructions 1124 or receives and executes instructions 1124 responsive to a propagated signal, so that a device connected to a network 1126 can communicate voice, video or data over the network 1126. Further, the instructions 1124 may be transmitted or received over the network 1126 via the network interface device 1120.
While the computer-readable medium is shown to be a single medium, the term “computer-readable medium” includes a single medium or multiple media, such as a centralized or distributed database, and/or associated caches and servers that store one or more sets of instructions. The term “computer-readable medium” shall also include any medium that is capable of storing, encoding or carrying a set of instructions for execution by a processor or that cause a computer system to perform any one or more of the methods or operations disclosed herein.
In a particular non-limiting, exemplary embodiment, the computer-readable medium can include a solid-state memory such as a memory card or other package that houses one or more non-volatile read-only memories. Further, the computer-readable medium can be a random access memory or other volatile re-writable memory. Additionally, the computer-readable medium can include a magneto-optical or optical medium, such as a disk or tapes or other storage device to capture carrier wave signals such as a signal communicated over a transmission medium. A digital file attachment to an e-mail or other self-contained information archive or set of archives may be considered a distribution medium that is equivalent to a tangible storage medium. Accordingly, the disclosure is considered to include any one or more of a computer-readable medium or a distribution medium and other equivalents and successor media, in which data or instructions may be stored.
Although only a few exemplary embodiments have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the exemplary embodiments without materially departing from the novel teachings and advantages of the embodiments of the present disclosure. Accordingly, all such modifications are intended to be included within the scope of the embodiments of the present disclosure as defined in the following claims. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents, but also equivalent structures.
Number | Name | Date | Kind |
---|---|---|---|
5690731 | Kurata et al. | Nov 1997 | A |
5728213 | Kurata et al. | Mar 1998 | A |
5787160 | Chaney et al. | Jul 1998 | A |
5787163 | Taylor et al. | Jul 1998 | A |
6044367 | Wolff | Mar 2000 | A |
6101508 | Wolff | Aug 2000 | A |
6134673 | Chrabaszcz | Oct 2000 | A |
6185601 | Wolff | Feb 2001 | B1 |
6278832 | Zagumennyi et al. | Aug 2001 | B1 |
6363497 | Chrabaszcz | Mar 2002 | B1 |
6393485 | Chao et al. | May 2002 | B1 |
6701453 | Chrabaszcz | Mar 2004 | B2 |
6920580 | Cramer et al. | Jul 2005 | B1 |
6944788 | Dinker et al. | Sep 2005 | B2 |
6996502 | De La Cruz et al. | Feb 2006 | B2 |
7036039 | Holland | Apr 2006 | B2 |
7039777 | Yamagami et al. | May 2006 | B2 |
7159234 | Murphy et al. | Jan 2007 | B1 |
7177886 | Pruet, III | Feb 2007 | B2 |
7194543 | Robertson et al. | Mar 2007 | B2 |
7231391 | Aronoff et al. | Jun 2007 | B2 |
7246256 | De La Cruz et al. | Jul 2007 | B2 |
7246345 | Sharma et al. | Jul 2007 | B1 |
7266816 | Sharma et al. | Sep 2007 | B1 |
7321893 | Rambacher et al. | Jan 2008 | B1 |
7383463 | Hayden et al. | Jun 2008 | B2 |
7434096 | Callaway et al. | Oct 2008 | B2 |
7444538 | Sciacca | Oct 2008 | B2 |
7478263 | Kownacki et al. | Jan 2009 | B1 |
7480827 | Callaway et al. | Jan 2009 | B2 |
7496579 | Garbow et al. | Feb 2009 | B2 |
7523341 | Hufferd et al. | Apr 2009 | B2 |
7606839 | Aronoff et al. | Oct 2009 | B2 |
7627584 | Claborn et al. | Dec 2009 | B2 |
7627776 | Petruzzo | Dec 2009 | B2 |
7631013 | Parsons et al. | Dec 2009 | B2 |
7634679 | Quintiliano | Dec 2009 | B2 |
7634683 | De La Cruz et al. | Dec 2009 | B2 |
7636741 | Kulesza et al. | Dec 2009 | B2 |
7668879 | Vivian et al. | Feb 2010 | B2 |
7694170 | Callaway et al. | Apr 2010 | B2 |
7734596 | Vivian et al. | Jun 2010 | B2 |
7734947 | Frangioso et al. | Jun 2010 | B1 |
7739540 | Akutsu et al. | Jun 2010 | B2 |
7822715 | Petruzzo | Oct 2010 | B2 |
7822871 | Stolorz et al. | Oct 2010 | B2 |
7844691 | Gopalakrishnan | Nov 2010 | B2 |
7849221 | Kumar et al. | Dec 2010 | B2 |
7912464 | Jiang | Mar 2011 | B2 |
7958385 | Frangioso et al. | Jun 2011 | B1 |
7971094 | Benn et al. | Jun 2011 | B1 |
7992034 | Callaway et al. | Aug 2011 | B2 |
8024600 | Sciacca | Sep 2011 | B2 |
8069139 | Garbow et al. | Nov 2011 | B2 |
8074107 | Sivasubramanian et al. | Dec 2011 | B2 |
8230256 | Raut | Jul 2012 | B1 |
20020188513 | Gil et al. | Dec 2002 | A1 |
20030009437 | Seiler et al. | Jan 2003 | A1 |
20030154236 | Dar et al. | Aug 2003 | A1 |
20030172331 | Cherian et al. | Sep 2003 | A1 |
20030233518 | Yamagami et al. | Dec 2003 | A1 |
20040010502 | Bomfim et al. | Jan 2004 | A1 |
20040015408 | Rauen et al. | Jan 2004 | A1 |
20040103195 | Chalasani et al. | May 2004 | A1 |
20040107381 | Bomfim et al. | Jun 2004 | A1 |
20040162836 | Aronoff et al. | Aug 2004 | A1 |
20050149684 | Sankaran et al. | Jul 2005 | A1 |
20050172161 | Cruz et al. | Aug 2005 | A1 |
20050192035 | Jiang | Sep 2005 | A1 |
20050193245 | Hayden et al. | Sep 2005 | A1 |
20050198631 | Bisher et al. | Sep 2005 | A1 |
20050268156 | Mashayekhi et al. | Dec 2005 | A1 |
20060015773 | Singh et al. | Jan 2006 | A1 |
20060248198 | Galchev | Nov 2006 | A1 |
20060259723 | Petruzzo | Nov 2006 | A1 |
20070041386 | Mar et al. | Feb 2007 | A1 |
20070245167 | De La Cruz et al. | Oct 2007 | A1 |
20080052313 | Keen | Feb 2008 | A1 |
20080098003 | Dias et al. | Apr 2008 | A1 |
20090070623 | Sciacca | Mar 2009 | A1 |
20090106328 | Callaway et al. | Apr 2009 | A1 |
20090119306 | Garbow et al. | May 2009 | A1 |
20090181775 | Nilsson et al. | Jul 2009 | A1 |
20090307166 | Routray et al. | Dec 2009 | A1 |
20100017647 | Callaway et al. | Jan 2010 | A1 |
20100030754 | Petruzzo | Feb 2010 | A1 |
20100048197 | Jiang | Feb 2010 | A1 |
20100325091 | Petruzzo | Dec 2010 | A1 |
20110035563 | Petruzzo | Feb 2011 | A1 |
20110072108 | Gopalakrishnan | Mar 2011 | A1 |
20110219108 | Lisiecki et al. | Sep 2011 | A1 |
20110246819 | Callaway et al. | Oct 2011 | A1 |
20110252273 | Callaway et al. | Oct 2011 | A1 |
20120005283 | Provo et al. | Jan 2012 | A1 |
20120011391 | Callaway et al. | Jan 2012 | A1 |
Entry |
---|
Vogels, W.; Dumitriu, D.; Birman, K.; Gamache, R.; Massa, M.; Short, R.; Vert, J.; Barrera, J.; and Gray, J., “The Design and Architecture of the Microsoft Cluster Service—A Practical Approach to High Availability and Scalability”, Jun. 1998, 28th Annual Intl Symposium on Fault-Tolerant Computing, IEEE Xplore Digital Library. |
“Your Data, Any Place, Any Time,” Microsoft SQL Data Services,Azure Service Platform, http://www.microsoft.com/azure/data.mspx. |
“MS SQL Server Plugin,” JH Software KBID 1211, http://www.simpledns.com/jhsoft/kbprint.aspx?kbid=1211&wsid=2. |
“SteelEye LifeKeeper Protection Suite for SQL Server,” InstantDoc #98732, Jun. 2008, http://www.sqlmag.com/articles/print.cfm?ArticleID=98732. |
Number | Date | Country | |
---|---|---|---|
20100257399 A1 | Oct 2010 | US |