Patent ID: 7886181

Claim:
A method for recovering a failure that has occurred in a first computer, which is installed in a cluster system, the cluster system comprising the first computer and at least one second computer, wherein the first computer executes processing for providing service, and wherein the at least one second computer stores a copy of data processed by the first computer, the first computer having a first processor, a first storage unit coupled to the first processor, and a first interface coupled to the at least one second computer, each at least one second computer having a second processor, a second storage unit coupled to the second processor, and a second interface coupled to the first computer, the first storage unit storing data used for the processing, the cluster system storing system information including a state of the cluster system, the method comprising the steps of: transmitting, by the first computer, the data stored in the first storage unit to a second computer of a group consisting of the at least one second computer; storing, by the second computer, the data transmitted from the first computer in the second storage unit of the second computer; when a failure has occurred in the first computer, making, by the first computer, a determination as to whether the processing in which failure has occurred is to be re-executed by the first computer or whether the processing in which failure has occurred is to be switched over to the second computer, wherein the determination is based on the system information; when it is determined, based on the system information, that the processing in which the failure has occurred is to be re-executed by the first computer, transmitting, by the second computer, the data stored in the second storage unit to the first computer, storing, by the first computer, the data transmitted by the second computer in the first storage unit, and re-executing, by the first computer, the processing in which the failure has occurred; and when it is determined that the processing in which the failure has occurred is to be switched over to the second computer, executing, by the second computer, the processing in which the failure has occurred.