Patent ID: 7594231

Claim:
A computer-implemented method for providing at least one temporary resource on demand for a specified resource-time in a computer system that includes a plurality of logical partitions, the method comprising the steps of: requesting an enablement code corresponding to the at least one temporary resource for the specified resource-time; receiving the enablement code; enabling the at least one temporary resource for the specified resource-time; using the at least one temporary resource for the specified resource-time; reading a minimum resource specification for all of the plurality of logical partitions, each minimum resource specification specifying minimum resources that must be available for a corresponding logical partition to function correctly; one of the plurality of logical partitions requesting to increase a minimum resource specification corresponding to the one logical partition; determining a total of resources that are permanently enabled in the computer system; determining whether the requested increase in the minimum resource specification corresponding to the one logical partition will cause a sum of all minimum resource specifications for all of the plurality of logical partitions to exceed the total of resources that are permanently enabled in the computer system; if the requested increase in the minimum resource specification corresponding to the one logical partition will cause a sum of all minimum resource specifications for all logical partitions to exceed the total of resources that are permanently enabled in the computer system, denying the requested increase in the minimum resource specification corresponding to the one logical partition; and if the requested increase in the minimum resource specification corresponding to the one logical partition will not cause the sum of all minimum resource specifications for all logical partitions to exceed the total of resources that are permanently enabled in the computer system, performing the steps of: permitting the requested increase in the minimum resource specification corresponding to the one logical partition; and enabling the at least one temporary resource; recovering the at least one temporary resource when the specified resource-time expires.