Virtual machine management using onboarding operations and openstack control
AssigneeNew H3C Cloud Technologies Co., Ltd.
InventorYongpeng Wu
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a virtual machine management method and apparatus. The method includes: acquiring virtual machine information of each virtual machine in a virtualization platform, receiving a first onboarding operation instruction for a target virtual machine in the virtualization platform, configuring a network and a virtual network console VNC of the target virtual machine, and when the configuration succeeds, storing in an already-onboarded virtual machine list in a database table virtual machine information of the target virtual machine. With the application of examples of the present disclosure, a unified management and control of virtual machines in the virtualization platform by a cloud management platform can be realized.
Claims12
A virtual machine management method, wherein being applicable to a cloud management platform, the method comprising:
- acquiring virtual machine information of each virtual machine in a virtualization platform;
- receiving a first onboarding operation instruction for a target virtual machine in the virtualization platform;
- configuring a network and a virtual network console (VNC) of the target virtual machine, and when configuration succeeds, storing, in an already-onboarded virtual machine list in a database table, virtual machine information of the target virtual machine;
- receiving a second onboarding operation instruction for a target hard disk of the target virtual machine, wherein the target hard disk is any non-system disk mounted by the target virtual machine;
- and
- storing, in a hard disk list in the database table, the hard disk path of the target hard disk in the virtualization platform, and establishing a correlation between a hard disk list entry corresponding to the target hard disk and an already-onboarded virtual machine list entry corresponding to the target virtual machine.
A virtual machine management apparatus, applicable to a cloud management platform, wherein the apparatus comprises an onboarding operation module and an OpenStack control module,
- wherein the onboarding operation module is configured to acquire virtual machine information of each virtual machine in a virtualization platform;
- the onboarding operation module is further configured to receive a first onboarding operation instruction for a target virtual machine in the virtualization platform;
- the OpenStack control module is configured to configure a network and a VNC of the target virtual machine, and when configuration succeeds, store, in an already-onboarded virtual machine list in a database table, the virtual machine information of the target virtual machine;
- the onboarding operation module is further configured to receive a second onboarding operation instruction for a target hard disk of the target virtual machine, wherein the target hard disk is any non-system disk mounted by the target virtual machine;
- and
- the OpenStack control module is further configured to store, in a hard disk list in the database table, the hard disk path of the target hard disk in the virtualization platform, and establish a correlation between a hard disk list entry corresponding to the target hard disk and an already-onboarded virtual machine list entry corresponding to the target virtual machine.
Dependencies are inferred from the claim text.