Patent ID: 7587480

Claim:
A method for use in a network of interconnected grid compute nodes, comprising: storing system criteria for a first grid compute node; deploying a grid-enabled application in a memory device of the first grid compute node; running the deployed grid-enabled application on a processor of the first grid compute node; running a cleaning service on the first grid compute node, wherein the cleaning service takes an initial snapshot of the first grid compute node before the deployed grid-enabled application is run on the first grid compute node, the initial snapshot being separate from the system criteria; storing the initial snapshot in the first grid compute node; using the cleaning service to stop running of the deployed grid-enabled application; preventing acceptance or execution of a first query received from the network of interconnected grid compute nodes; taking a current snapshot of the first grid compute node when running of the grid-enabled application is stopped and when acceptance or execution of the first query is being prevented; comparing the current snapshot of the first grid compute node with the initial snapshot to identify parts of the current snapshot that do not meet the system criteria; and adjusting, using the cleaning service, the first compute node to meet the system criteria.