A method for automatically allocating an IP address to a virtual machine on an ESXI host

An IP address and automatic allocation technology, applied in the field of cloud computing, can solve the problems of no IP address available for virtual machines, low degree of automation, and failure to obtain addresses, etc.

Inactive Publication Date: 2019-05-10
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Disadvantage: The allocation of IP addresses depends entirely on the DHCP service. If there is a problem with the DHCP service, when the virtual machine requests an address from the DHCP server again, for example, after the virtual machine is turned off and then turned on, the address will not be obtained, causing the virtual machine to have no IP address. available
Disadvantages: misoperation may occur, low degree of automation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for automatically allocating an IP address to a virtual machine on an ESXI host
  • A method for automatically allocating an IP address to a virtual machine on an ESXI host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The invention provides a method for automatically assigning an IP address to a virtual machine on an ESXI host, and the specific steps are:

[0030] Step 1: Encapsulate the virtual machine resource operation interface of the vCenter management platform based on the vmware api interface,

[0031] Step 2: Create an IP resource pool through the vCenter management platform,

[0032] Step 3: The vCenter management platform calls the virtual machine resource operation interface to create a virtual machine on the ESXI host, selects an available IP address for the virtual machine from the IP resource pool, and writes the IP address and corresponding network-related information through the virtual machine resource operation interface Enter the IP configuration file corresponding to the network card of the virtual machine, restart the network, make the IP configuration file take effect, and confirm whether the virtual machine is successfully created and whether the corresponding ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for automatically allocating an IP address to a virtual machine on an ESXI host, and relates to the technical field of cloud computing. the virtual machine resource operation interface of the vCenter management platform is packaged based on the vmware api interface; An IP resource pool is created through a vCenter management platform; the vCenter management platform calls a virtual machine resource operation interface to create a virtual machine on the ESXI host; an available IP address for the virtual machine is selected from the IP resource pool, and the IP address and the corresponding network related information are written into an IP configuration file of a network card corresponding to the virtual machine through the virtual machine resource operationinterface, the network is restarted to enable the IP configuration file to take effect, and whether the virtual machine is successfully created and whether the corresponding IP address is bound or not is confirmed to complete the automatic distribution of the IP address.

Description

technical field [0001] The invention discloses a method for automatically assigning an IP address to a virtual machine on an ESXI host, and relates to the technical field of cloud computing. Background technique [0002] Creating a virtual machine on an ESXI host managed by vCenter cannot automatically assign an IP address. Two methods are generally used in the prior art: [0003] DHCP service: For the corresponding network, deploy the DHCP service, and automatically send a DHCP request to obtain an IP address when binding the network card. Advantages: The IP address is managed by the DHCP server, which generally does not cause IP address conflicts. Disadvantages: The allocation of IP addresses depends entirely on the DHCP service. If there is a problem with the DHCP service, when the virtual machine requests an address from the DHCP server again, for example, after the virtual machine is turned off and then turned on, the address will not be obtained, resulting in no IP ad...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12
Inventor 彭海燕于昊
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products