The present invention provides a method for managing hardware resources, a method for querying the location of hardware resources, and a related apparatus, wherein the method for managing hardware resources includes receiving a hardware resource allocation request message delivered by a VNF management entity. step; And allocating, by the VIM, hardware resources of a corresponding location to a virtual machine according to the location information of the hardware resources, wherein the hardware resource allocation message executes a virtualized network function component (VNFC). Used to request a VIM to allocate hardware resources to the virtual machine, wherein the hardware resource allocation request message includes location information of the hardware resources for which the virtual computer requests allocation. Embodiments of the present invention meet the requirements of sensitive services.
展开▼