1. Field of the Invention
This invention relates to providing a backup of a computer system application in a real time environment.
2. Related Art
Backup and archival of data from applications is a particular problem where the applications are required to run continuously without interruption (24×7 applications). In such an environment, the lack of ability to quiesce and pause operations for backup is a difficult technical problem that still does not have a good, universal solution. Also, typical application vendor approved backup methods are associated with a performance impact on applications.
Indeed, currently available backup methods all have drawbacks including one or more of: requiring application vendor support, requiring application specific code in the backup product, performance impact (sometimes to the extent of temporary application shutdown) on the production or live instance of the application, or lack of guaranteed consistency and recoverability of the captured data.
Examples of prior techniques for providing backup of a production instance of the application can be found in the following articles:
http://www.falconstor.com/en/solutions/index.cfm?pg=Application&sb=VMw are&bhcp=1
http://www.dell.com/downloads/global/power/ps2q06-20060306-CommVault.pdf
http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/tips0398.html?Open
The techniques described in the above referenced articles include the backup of a production instance of an application, and in some cases, describe a requirement to quiesce that production instance to guarantee capturing a consistent application state.
There is a therefore need to provide for the universal backup of, for example, 24×7 applications in a consistent way.
An example embodiment provides for the backup of a production instance of an application in a production machine environment by creating a snapshot image that captures the state of the production machine, and then backing up the application from a backup version of the machine created using the snapshot image.
An example embodiment provides a computer system comprising at least one processor and storage. The computer system is operable to provide a first machine instance in which an application is run, to take a snapshot image of the first machine instance, to initiate a second machine instance from the snapshot and to backup the application from the second machine instance.
An example embodiment of the invention provides a universal solution to the technical problem of providing backup and archival of data from applications that run 24×7 and are unable to quiesce and pause operations without impacting production performance. An example embodiment of the invention can avoid, or at least mitigate, the drawbacks of prior approaches that include a requirement for application vendor support, a requirement for application specific code in the backup product, performance impact (sometimes to the extent of temporary application shutdown) on a production instance of the application, and a lack of guaranteed consistency and recoverability of the captured data.
In an example embodiment the production machine is a virtual machine, whereby the backup version of the machine is a backup virtual machine. In one embodiment a backup of the application can then be effected by performing an orderly shutdown of the backup virtual machine. This example does not require a quiesce of the application and backs up a second instance of the application, thus reducing impact on the production instance. In another embodiment a backup of the application can then be effected using backup software to act on the backup instance of the application. Application vendor approved backup methods can be applied without the impact on applications usually associated with those methods.
An embodiment of the invention differs from prior techniques described above in that it does not require a quiesce of the production instance and backs up a second instance, thus reducing impact.
Although various aspects of the invention are set out in the accompanying independent claims, other aspects of the invention include any combination of features from the described embodiments and/or the accompanying dependent claims with the features of the independent claims, and not solely the combinations explicitly set out in the accompanying claims.
Specific embodiments of the present invention will now be described by way of example only with reference to the accompanying Figures in which:
While the invention is susceptible to various modifications and alternative forms, specific embodiments are shown by way of example in the drawings and are herein described in detail. It should be understood, however, that drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the invention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
Backup of an application running in a live (i.e., active or production) physical or virtual machine environment (i.e., a first “instance” of the machine) can be achieved by creating a snapshot image that captures the state of the machine at a given point in time, initiating a second instance of the machine by using the snapshot image, and backing up the application from within the second instance of the machine. Because the second instance of the machine provides an operating environment that is distinct from the first instance of the machine, backing up the application from within the second instance of the machine does not impact the live operation of the application in the first instance of the machine.
In an example embodiment, the live machine environment is a live virtual machine environment. By taking a snapshot of the live virtual machine environment, a backup instance of the virtual machine can be created. Shutdown of the application in the backup instance of the virtual machine (or shutdown of the entire backup instance of the virtual machine) enables orderly shutdown of the application without impacting the live virtual machine environment. This allows the capture of a guaranteed consistent state of any application's data without requiring the application to support quiescence or hot backup. In another example embodiment, a backup instance of a production application can be effected using virtual machine technology, providing backup software with full access to supported application interfaces while reducing impact on the production instance of the application.
A first example embodiment of the invention can use existing virtual machine technology to create a second, instance of a running application. Without impacting the production instance, this second instance can be shutdown in an orderly manner, thus guaranteeing that the application saves its entire state to storage. That storage can then be backed up and thereby can capture a state of the application data that is consistent and recoverable.
For example,
The operation of a first example embodiment 100 is described with reference to
In this embodiment, a production application 42 to be protected is run in a virtual machine environment 40 as represented in
Accordingly, in step 102 the application 42 to be protected (a production instance 42.1 of the application—see
In step 104, a utility (e.g. a snapshot application programming interface (API) 44—see
In step 106, after creating such a snapshot 46 of the virtual machine environment 40.1 in which the production instance 42.1 of the application is being run, the utility 44 can be operable to use the snapshot 46 to start a second virtual machine environment 40.2 running a backup instance 42.2 of the same application, as represented in
As the second, backup instance, machine does not share network connections with the first, production instance, machine and has memory and storage distinct from that of the first, production instance, machine, the second, backup instance machine can be said to be “isolated” from the first, production instance, machine.
In step 108 the second virtual machine environment 40.2 in which the backup instance of the application is running (as represented at 40.2′ in
In step 110, after the second virtual machine environment has been shut down, the stored state of the application on storage can be retained as a backup image 52 (
In step 112, recoverability of the backup image can optionally be tested by restarting this virtual machine and testing the availability of the application after the restart.
During the process represented in
It is known use of virtual machine (VM) technology to create alternate instances of applications for the purpose of fail-over or migration (see for example http://eval.veritas.com/downloads/news/Illuminata-Aug05.pdf and http://www.usenix.org/event/usenix05/tech/general/full_papers/short_papers/nelson/nelson_html/index.html).
A further example embodiment 200 is described with reference to
Accordingly, in step 202 the application 42 to be protected (a production instance 42.1 of the application—see
In step 204, a utility (e.g. a snapshot application programming interface (API) 44—see
In step 206, after creating such a snapshot 46 of the virtual machine environment 40.1 in which the production instance 42.1 of the application is being run, the utility 44 can be operable to use the snapshot 46 to start a second virtual machine environment 40.2 running a backup instance 42.2 of the same application, as represented in
As the second, backup instance, machine does not share network connections with the first, production instance, machine and has memory and storage distinct from that of the first, production instance, machine, the second, backup instance machine can be said to be “isolated” from the first, production instance, machine.
This example embodiment can use snapshot technology to create the second, instance of a running application and then without impacting the production instance. This second instance can be accessed by conventional backup software allowing full access to application interfaces without impacting the production instance of the application.
In step 208 of
The use of the snapshot in this example enables a backup instance of one or more production applications to created using existing virtual machine technology, thereby reducing impact on the production instance, while still providing the backup software with full access to supported application interfaces. This example embodiment allows application vendor approved backup methods to be applied without the application impact usually associated with those methods.
During the process represented in
In both examples described above, the software of the application 42 can be assumed correctly to deal with broken network connections and correctly to perform an orderly shutdown. Such characteristics must be present in a business critical application.
As discussed, prior solutions to the application backup problem have always required either shutdown of the production instance, or hot backup or quiesce support from the application vendor, to guarantee consistency of the backup image. An example embodiment of the invention differs in that such requirements can be avoided.
It should be noted that virtual machine snapshots alone do not provide an adequate solution to the problem of providing backup because they can only be used to re-instate a virtual machine running the same version of the application at the captured point in time. The storage state is not guaranteed to be consistent; the application data cannot be accessed outside of this environment, and this does not allow for search and granular restore of application data. Accordingly, generating a virtual machine snapshot is not, on its own, suitable for long-term backup and archiving of application data. An embodiment of the invention differs therefrom in that it enables backup and archive software features to be provided.
Some existing backup solutions that are supported by application vendors use the production instance, thus having substantial performance impact on the production application. Existing solutions that use alternate instances of applications require that alternate instance to be constructed using a second installation of the application, which is started on a storage snapshot taken from the production instance. This invariably has one or more of the following drawbacks: It requires a quiesce of the production instance to create the storage snapshot, which has production impact, or it can not guarantee consistency of the application data. It also requires the second instance of the application to be installed and configured by the customer.
An embodiment of the process can be implemented by means of special purpose hardware, or by means of computer software operating on conventional general purpose computer hardware.
A computer program product for implementing the invention can be in the form of a computer program on a carrier medium. The carrier medium could be a storage medium, such as a solid state, magnetic, optical, magneto-optical or other storage medium. The carrier medium could be a transmission medium such as broadcast, telephonic, computer network, wired, wireless, electrical, electromagnetic, optical or indeed any other transmission medium.
Thus there has been described a system, method and computer program providing for the backup of a production instance of an application in a production machine environment by creating a snapshot image that captures the state of the machine, and then backing up the application from a backup machine created using the snapshot image. The backup of the application can be effected by shutdown of the backup machine or by using backup software to act on the backup version of the application.
Although in the described examples, virtual machine technology is used for creating a backup instance of a production application, and then the backup instance is used to create the backup of the application, other technology could be used. For example, software products that restore an image of a physical machine onto another physical machine could be used instead. Accordingly, it will be appreciated that the claimed invention is not limited to the specific examples described herein.
Thus, although the embodiments above have been described in considerable detail, numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications as well as their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
6795966 | Lim et al. | Sep 2004 | B1 |
7093086 | Van Rietschote | Aug 2006 | B1 |
7213246 | van Rietschote | May 2007 | B1 |
7246200 | van Rietschote | Jul 2007 | B1 |
7533229 | van Rietschote | May 2009 | B1 |
20060085792 | Traut | Apr 2006 | A1 |
20060225065 | Chandhok et al. | Oct 2006 | A1 |
20070260831 | Michael et al. | Nov 2007 | A1 |
20070271428 | Atluri | Nov 2007 | A1 |
Number | Date | Country |
---|---|---|
2378535 | Dec 2003 | GB |
2007130192 | Nov 2007 | WO |
Number | Date | Country | |
---|---|---|---|
20100005258 A1 | Jan 2010 | US |