A method, system and apparatus for dynamically repartitioning a
partitioned computer system in response to workload demands are provided.
In one embodiment, a monitoring software is used to monitor workloads on
all resources in all the partitions. If a workload on a resource in a
partition is determined to exceed a maximum threshold, a similar resource
is allocated to the partition. The similar resource is preferentially an
unassigned or unallocated resource. However, resources from other
partitions may also be used. In another embodiment, a workload schedule
is stored in a workload profile. If a scheduled workload in any of the
resources of a partition is to exceed a maximum threshold, additional
similar resources will be allocated to the partition before the scheduled
workload.