摘要 |
Provided are a fibre channel storage area network (FC SAN) configuration method and apparatus. The method comprises: sending, by a first server, a registration request message to a switch, the registration request message comprising a first identifier of a first VM and a WWGN of a port group of the first VM, N ports, used on any server, of the first VM belonging to the port group of the first VM, and the registration message allowing the switch to establish a corresponding relationship between the first identifier and the WWGN and allowing a storage device to establish a corresponding relationship between the first identifier and the WWGN. Since the configuration of a first partition configured in the switch and the corresponding relationship of an LUN configured in the storage device are both based on the WWGN, a network administrator does not need to re-configure a partition in the migration process of the first VM, and the storage device does not need to re-configure the corresponding relationship between the first VM and the accessible LUN either, so that the migration efficiency and flexibility of the VM are improved. |