Patent ID: 8341644

Claim:
A system, which comprises: a processor; a departure logical partition (LPAR); an arrival LPAR; a relocating workload partition (WPAR) running on said departure LPAR, said relocating WPAR being allocated an amount of a resource of said departure LPAR; a WPAR manager, said WPAR manager including program instructions to determine the amount of said resource allocated to said WPAR on said departure LPAR, and program instructions to allocate to said relocating WPAR on said arrival LPAR an amount of said resource substantially equal to the amount of said resource allocated to said relocating WPAR on said departure LPAR; wherein: if there are WPARs on said arrival LPAR that are allocated on a percentage basis and the WPARs on the departure machine are allocated on a percentage basis said allocating instructions give said relocating WPAR a percentage-base allocation on said arrival LPAR according to % ⁢ ⁢ A = TRDep × % ⁢ ⁢ B TRArr wherein: % A is the percentage of the resource allocated to the relocating WPAR after relocation; % B is the percentage of the resource allocated to the relocating WPAR before relocation; TRDep is the total amount of the resource on the departure LPAR; and, TRArr is the total amount of the resource on the arrival LPAR; and, if there are WPARs on said arrival LPAR that are allocated on percentage basis and the WPARs on said departure LPAR are allocated on a share basis, said allocating instructions give said relocating WPAR a percentage-based allocation on said arrival LPAR according to % ⁢ ⁢ A = SB × TRDep × 100 TSDep × TRArr wherein: % A is percentage of the resource allocated to the relocating WPAR after relocation; TRDep is the total amount of the resource on the departure LPAR; TRArr is the total amount of the resource on the arrival LPAR; SB is the share of the resource allocated to the relocating WPAR before relocation; TSDep is the total shares of the resource on the departure LPAR; and, TSArr is the total shares of the resource on the arrival LPAR.