Patent ID: 8719639

Claim:
A non-transitory computer-readable recording medium that stores therein a computer program causing a computer to implement a virtual machine on which a guest OS operates, the computer program, through the virtual machine, causing the computer to execute: setting a flag, when a failure occurs in the guest OS, to a memory area that has been used by the guest OS, the flag indicating that the memory area is a dump target; dumping to a file the memory area to which the flag is set, and removing the flag from the memory area about which dumping is completed; restarting the guest OS in parallel with the dumping; and stopping, when the restarted guest OS requests to access the memory area to which the flag is set, the guest OS from accessing the memory area until the flag is removed from the memory area, wherein the restarting includes, when there is a free memory sufficient to implement a virtual machine different from the virtual machine on which the guest OS in which the failure occurred has operated, restarting the guest OS on a virtual machine that is implemented using the free memory.