Patent ID: 8484654

Claim:
A computer program product for migrating a logical partition (LPAR), the computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising: computer-readable program code configured to determine a configuration of an LPAR having allocated resources residing on a computer and assigned to a first physical port of the computer, wherein the configuration includes a label that specifies a first network topology that is provided by the first physical port of the computer, and wherein the configuration includes a sub-label that specifies a characteristic of the first physical port and the first target physical port has a first physical port sub-label that matches the sub-label; computer-readable program code configured to identify a first target physical port with available capacity to service the LPAR; computer-readable program code configured to migrate the LPAR from the first physical port to the first target physical port by reassigning the LPAR to the first target physical port, wherein the first target physical port has a port label that matches the label included in the configuration of the LPAR and specifies a second network topology that is provided by the first target physical port; and computer-readable program code configured to automatically select the first target physical port from one or more target physical ports, each having a respective port label and a physical port sub-label, based on the label and sub-label included in the configuration for the LPAR, the port labels, and the physical port sub-labels.