Method and system for creating test virtual machine of unmanned aerial vehicle and electronic equipment
The invention discloses a test virtual machine creation method and system for an unmanned aerial vehicle and electronic equipment, and the method comprises the steps: obtaining first resource consumption of a virtual machine created on each host machine and second resource consumption of the virtual...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a test virtual machine creation method and system for an unmanned aerial vehicle and electronic equipment, and the method comprises the steps: obtaining first resource consumption of a virtual machine created on each host machine and second resource consumption of the virtual machine created on each host machine when a creation instruction for creating a first virtual machine is received; according to the first resource consumption and the second resource consumption, the evaluation score value of the first virtual machine deployed in each host machine is calculated, and the host machine with the maximum evaluation score value is used as the host machine for deploying the first virtual machine. Therefore, the problem of virtual machine creation failure is avoided.
本申请公开了一种无人机的测试虚拟机创建方法、系统及电子设备,在接收到创建第一虚拟机的创建指令时,获取每个宿主机上已创建的虚拟机的第一资源消耗以及每个宿主机上创建中的虚拟机的第二资源消耗,根据第一资源消耗以及第二资源消耗,计算第一虚拟机部署在各个宿主机中的评估分数值,将评估分数值最大的宿主机作为部署第一虚拟机的宿主机,通过该方法可以在创建虚拟机之前确定出资源足够充足的宿主机,从而避免了虚拟机创建失败的问题。 |
---|