Method and system for providing high availability to computer applications
AssigneeRed Hat, Inc.
InventorAllan Havemose
Life of this patent
Estimating the term…
Abstract
A system and method for assigning application specific IP addresses to individual applications. The system may be operable to assign a unique IP address to an application, and alias the application IP address to a NIC IP address on the host where the application is running. In an exemplary embodiment, the system may be further operable to migrate the application IP address to a new host as part of a migration, and alias the application IP address to a NIC in the new host as part of the migration.
Claims20
1-20. (canceled)
A method, comprising:
- preloading a shared library for one or more applications on at least one of a first host and a second host;
- aliasing a unique IP address of the one or more applications, by the shared library, to an IP address on the first host where the one or more applications are running;
- migrating the one or more applications' unique IP address to the second host as part of a migration of the one or more applications;
- and
- capturing, by a bridge at an IP layer of a TCP/IP stack of the first host, a state of the one or more applications' TCP/IP connections on the first host and transferring said state to the TCP/IP stack on the second host as part of the migration;
- wherein said unique IP address is assigned to each of the one or more applications by the preloaded shared library.
A non-transitory computer readable storage medium storing a computer program having instructions for:
- preloading a shared library for one or more applications;
- assigning a unique IP address, by the shared library, to the one or more applications;
- aliasing the IP address of the one or more applications, by the shared library, to a NIC IP address on a first host where the one or more applications are running;
- migrating the IP address of the one or more applications to a second host as part of a migration;
- and
- aliasing the IP address to a NIC in the second host as part of the migration;
- wherein the method further comprises capturing, by a bridge at an IP layer of a TCP/IP stack of the first host, a state of the one or more applications' TCP/IP connections on the first host and transferring said state to the TCP/IP stack on the second host as part of the migration.
The non-transitory computer readable storage medium according to claim 131, further comprising when the one or more applications fail on the first host, the computer program performs the step of re-establishing a connection to the second host.
A system, comprising:
- a first server structured to run one or more applications;
- a second server in communication with the first server;
- and
- at least one computer readable medium associated with the first server and the second server, the at least one computer readable medium including a computer program having instructions for migrating the one or more applications between the first server and the second server, wherein the computer program performs steps comprising:
- preloading a shared library for each of the one or more applications;
- assigning a unique IP address, by the shared library, to the one or more applications;
- aliasing the IP address of the one or more applications, by the shared library, to a NIC IP on a first server where the one or more applications are running;
- migrating the IP address of the one or more applications to the second server as part of a migration;
- aliasing the IP address to a NIC in the second server as part of the migration;
- and
- a bridge at an IP layer of a TCP/IP stack of the first server, the bridge capturing an internal state of TCP and IP and forwarding the internal state to the second server.
Dependencies are inferred from the claim text.