Holistic and Energy-Efficient Management of Datacentres