Patent ID: 8924534

Claim:
A method comprising: monitoring a resource consumption of a virtual machine on a host computer in a computer network; suspending the virtual machine based on the resource consumption, including at least one of a central processor utilization, a memory utilization, a network Input/Output (I/O), and a storage I/O of the virtual machine, to free at least one resource on the host computer; and losslessly handling a request intended for the suspended virtual machine to seamlessly resume the suspended virtual machine, the request including at least one of a network traffic intended for the suspended virtual machine and a non-network request, wherein the suspending of the virtual machine comprises: decoupling the virtual machine from a first virtual switch; coupling the virtual machine to a second virtual switch to which an appliance virtual machine is coupled, wherein the second virtual switch has no connectivity with a physical network interface such that the second virtual switch has no uplink; and updating routing information of the appliance virtual machine to enable routing of the request destined for the virtual machine through the appliance virtual machine, wherein the decoupling, coupling and updating are executed in response to determining that the resource consumption is below a threshold.