Patent ID: 8171349

Claim:
A method comprising: migrating, to a target physical machine from a source physical machine, a virtual machine having an executable service and a monitoring agent for monitoring the executable service, wherein the executable service continues to run after the migrating; in response to the migrating, starting a monitoring manager that issues a command to start the executable service; determining whether the command is for the executable service that is already running in the migrated virtual machine, wherein the determining comprises: the monitoring agent in the migrated virtual machine checking information stored prior to the migrating, wherein the stored information includes a particular command to start the executable service received by the monitoring agent prior to the migrating, and comparing the command issued by the started monitoring manager with the particular command; and in response to the determining, associating the started monitoring manager with the already running executable service in the migrated virtual machine, wherein the monitoring manager cooperates with the monitoring agent to detect fault of the executable service.