Patent ID: 8819691

Claim:
A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to: determine resource requirements for a plurality of logical partitions running in a plurality of power domains within one or more servers; identify possible combinations of the plurality of logical partitions allocated to the plurality of power domains that satisfy the resource requirements for the plurality of logical partitions; identify an optimal combination of the plurality of logical partitions allocated to the plurality of power domains having a lowest number of active power domains; migrate one or more of the plurality of logical partitions to run in a subset of the plurality of power domains according to the optimal combination such that at least one power domain within the plurality of power domains is unused; and transition the at least one unused power domain to a low power state, wherein identifying the combination of the plurality of logical partitions allocated to the plurality of power domains having a lowest number of active power domains comprises: identifying a plurality of combinations of the plurality of logical partitions allocated to the plurality of power domains having a lowest number of active power domains; and selecting the combination of the plurality of logical partitions allocated to the plurality of power domains based on a user defined policy.