Patent ID: 8195979

Claim:
A computer implemented method for realizing application high availability, wherein the application is installed respectively on a first node and a second node, the first node being used as an active node and the second node being used as a passive node, the method comprising: monitoring access operations to files by the application during execution of the application on the active node; replicating a monitored update to a file by the application if the application performed an update to the file during the access operations, such replication being from the active node to a storage device accessible by the passive node; sniffing execution of the application on the active node; switching the application to and initiating the application on the second node in response to sniffing a failure in the execution of the application on the active node; wherein a first sub file system is created on the first node and a first dedicated block device is mounted on the first sub file system, and a second sub file system is created on the second node and a second dedicated block device is mounted on the second sub file system, and wherein (i) the replicating step further comprises replicating the updates in the first dedicated block device to the second dedicated block device and (ii) redirecting monitored updates to the file by the application to the first sub file system; determining whether the application is a high availability application; redirecting the updates to the file by the application to the first sub file system; and replicating the updates in the first dedicated block device to the second dedicated block device in response to a determination that the application is a high availability application.