Research Article

An Energy and SLA-Aware Resource Management Strategy in Cloud Data Centers

Algorithm 2

CWP.
Input:
(1)Put all active hosts except saturated ones into
(2)Calculate of each host in
(3);
(4)for ()
(5)for ()
(6)  if ()
(7)   Destroy all VM reallocations of the host;
(8)   continue;
(9)  end if
(10)end for
(11);
(12) Update ;
(13)end for
(14)return