Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for obtaining the IP address of a virtual machine in a vcenter environment

An IP address and obtaining method technology, applied in the field of cloud computing virtualization management, can solve the problems of inability to provide functions, inconvenient IT management, and inability to manage and obtain IP addresses of virtual machines, and achieve the effect of convenient upgrade and flexible application.

Active Publication Date: 2022-03-25
CHINA TOBACCO ZHEJIANG IND
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the virtual machine is defined by the virtual machine name in Vcenter. The IP address of the virtual machine cannot be managed by Vcenter because it is above the virtual machine system level, that is, it can only be managed under the virtual machine system level in Vcenter. MAC address (Media Access ControlAddress), unable to manage or obtain the IP address of the virtual machine
Since it is often necessary to manage or locate virtual machines based on IP addresses in IT management, such functions cannot be provided in the Vcenter environment, which brings great inconvenience to IT management

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 obtaining the IP address of a virtual machine in a vcenter environment
  • A method for obtaining the IP address of a virtual machine in a vcenter environment
  • A method for obtaining the IP address of a virtual machine in a vcenter environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0024] like figure 1 , figure 2 , image 3 A method for obtaining an IP address of a virtual machine in a Vcenter environment is shown, which divides the Vcenter Table (Vcenter table) into the following 4 data tables when the method realizes the virtual machine IP address identification function:

[0025] Name-MAC Table (virtual machine name-MAC address table): the virtual machine name and MAC address correspondence table in Vcenter;

[0026] MIB Learning Table: This table is responsible for learning the MAC address from the switch through SNMP, and regularly extracts the MAC address and the mapping between MAC and IP in the network traffic data through the SNMP MIB (Management Information Base) library. Relational data, storing MIB oid (Object Identifier) ​​information;

[0027] MAC-IP Table (MAC-IP address table): This table is respon...

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 present invention provides a virtual machine IP address acquisition method in a Vcenter environment, the method does not require special hardware requirements, is adaptable to various network environments, and is flexible in application; the method includes the following steps: 1) After the system is started, the Vcenter-poller Get the virtual machine information from the Vcenter interface, extract the virtual machine name and the corresponding MAC address, if a virtual machine has multiple MAC addresses, then generate multiple records of the virtual machine name and MAC address; 2) execute SNMP on the switches in the network ‑poller, the MAC address and IP address of the network data are saved in the switch MIB library, and the SNMP poller needs to be executed regularly, and the obtained MAC and IP address pairs are stored in the MAC‑IP Table; 3) After executing SNMP‑poller, execute IP-match, find out the corresponding relationship between the virtual machine name and IP address according to the Name-MAC Table and MAC-IP Table, and store it in the Name-IP Table, 4) This part of the virtual machine cannot be obtained by executing SNMP-poller on the switch Therefore, host-poller is executed to obtain the correspondence between the MAC and IP addresses of the virtual machine from the physical machine through SNMP.

Description

technical field [0001] The invention relates to the field of cloud computing virtualization management, in particular to a method for obtaining an IP address of a virtual machine in a Vcenter environment. Background technique [0002] Vcenter (VMware vCenter Server) provides a scalable and extensible platform that lays the foundation for virtualization management to centrally manage VMware vSphere environments. Virtual machines are configured, scheduled and monitored through Vcenter, greatly improving IT administrators' control over the virtual environment. However, the virtual machine is defined by the virtual machine name in Vcenter. Since the IP address of the virtual machine is above the virtual machine system level, it cannot be managed by Vcenter, that is, in Vcenter, only the virtual machine system level can be managed. The MAC address (Media Access ControlAddress) of the virtual machine cannot be managed or obtained. Since it is often necessary to manage or locate ...

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 Patents(China)
IPC IPC(8): H04L61/2503H04L41/0213G06F9/455
CPCH04L41/0213G06F9/45558H04L61/5007
Inventor 李威董惠良杜旋姜学峰汪炎平李健俊王正敏
Owner CHINA TOBACCO ZHEJIANG IND