CN109067931A - A kind of method and system of cloud management platform virtual machine floating IP address setting - Google Patents

A kind of method and system of cloud management platform virtual machine floating IP address setting Download PDF

Info

Publication number
CN109067931A
CN109067931A CN201810799239.8A CN201810799239A CN109067931A CN 109067931 A CN109067931 A CN 109067931A CN 201810799239 A CN201810799239 A CN 201810799239A CN 109067931 A CN109067931 A CN 109067931A
Authority
CN
China
Prior art keywords
floating
address
virtual machine
cloud management
management platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810799239.8A
Other languages
Chinese (zh)
Inventor
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810799239.8A priority Critical patent/CN109067931A/en
Publication of CN109067931A publication Critical patent/CN109067931A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of method and systems of cloud management platform virtual machine floating IP address setting, which comprises one virtual machine of selection selects the floating internet protocol address obtained, selects a network card interface of virtual machine;It calls OpenStack platform to bind the floating IP address interface, the floating IP address is tied on the virtual machine.The embodiment of the present invention is based on cloud management platform, and Floating IP address is arranged to virtual machine, can be improved the convenience of virtual machine access, to realize effective management to virtual machine.

Description

A kind of method and system of cloud management platform virtual machine floating IP address setting
Technical field
The present invention relates to cloud computing technology, method and be that espespecially a kind of cloud management platform virtual machine floating IP address is arranged System.
Background technique
In recent years, calculating virtualization realizes universal substantially in the data center field of every profession and trade, in modernization data In the heart, virtual machine becomes bearer service system and informationization more and more instead of the role of traditional hardware host The calculating core of system.
The IP address that one Floating IP address is usually disclosed in one, can be routed to, and entity will not be automatically assigned to Equipment.Project administrator temporarily distributes dynamic IP to one or more entity device.This entity device has to be distributed automatically Static IP is used for the communication of internal internetwork device.This intranet uses private address, these private address cannot be routed to.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of cloud management platform virtual machine floating IP address The method and system of setting can be improved the convenience of virtual machine access, thus real by the way that Floating IP address is arranged to virtual machine Now to effective management of virtual machine.
In order to reach the object of the invention, on the one hand, the embodiment of the invention provides a kind of floatings of cloud management platform virtual machine The method of IP address setting, comprising:
A virtual machine is selected, the floating internet protocol address obtained is selected, selects one of virtual machine Network card interface;
It calls OpenStack platform to bind the floating IP address interface, the floating IP address is tied to the void On quasi- machine.
It is further, described that the floating IP address is tied on the virtual machine further include:
After binding success by floating IP address information preservation into intelligence connection manager ICM database.
Further, before a floating internet protocol address for selecting to have obtained further include:
Virtual control center, virtual data center where selection target virtual machine select an external network, input point With quantity, OpenStack platform is called to distribute Floating IP address interface, by the Floating IP address information preservation in ICM number after obtaining successfully According in library.
Further, the method also includes:
A virtual machine is selected, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
Further, the method also includes:
The floating IP address with the virtual machine binding selected is inquired by Floating IP address inquiry system.
On the other hand, it is the embodiment of the invention also provides a kind of setting of cloud management platform virtual machine floating IP address System, comprising:
Selecting module selects the floating internet protocol address obtained, selection for selecting a virtual machine One network card interface of virtual machine;
Binding module, for calling OpenStack platform to bind the floating IP address interface, by the floating IP address It is tied on the virtual machine.
Further, the binding module is also used to:
After binding success by floating IP address information preservation into intelligence connection manager ICM database.
Further, the system also includes:
Module is obtained, for available floating IP address in acquisition system;
After obtaining successfully by the floating IP address information preservation in ICM database.
Further, the system also includes:
Module is unbinded, for selecting a virtual machine, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
Further, the system also includes:
Enquiry module, for inquiring the floating IP address of virtual machine binding.
The embodiment of the present invention selects the floating internet protocol address obtained by one virtual machine of selection, Select a network card interface of virtual machine;OpenStack platform is called to bind the floating IP address interface, by the Floating IP address On address binding to the virtual machine.The embodiment of the present invention is based on cloud management platform, and Floating IP address is arranged to virtual machine, can be improved The convenience of virtual machine access, to realize effective management to virtual machine.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the method for cloud management of embodiment of the present invention platform virtual machine floating IP address setting;
Fig. 2 is the system architecture figure of the method for cloud management of embodiment of the present invention platform virtual machine floating IP address setting;
Fig. 3 is the structure chart of the system of cloud management of embodiment of the present invention platform virtual machine floating IP address setting.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 1 is the flow chart of the method for cloud management of embodiment of the present invention platform virtual machine floating IP address setting, such as Fig. 1 institute Show, the method for the embodiment of the present invention the following steps are included:
Step 100: one virtual machine of selection selects the floating internet protocol address obtained, and selection is virtual One network card interface of machine;
Step 101: calling OpenStack platform to bind the floating IP address interface, the floating IP address is bound Onto the virtual machine.
Specifically, the present embodiments relate to a kind of cloud management platform virtual machine floating IP address setting method in, Project administrator temporarily distributes dynamic IP to one or more entity device, this entity device has the static IP distributed automatically For the communication of internal internetwork device, this intranet uses private address, these private address cannot be routed to Situation, the service of network entity could be identified and be accessed by outer net in method Floating IP address through the embodiment of the present invention.
Similarly, Floating IP address is distributed into virtual machine, so that it may in the service that extranet access virtual machine provides;In addition, false If there are two virtual machines to provide same web services, one of service hangs, and user will access the service needs of another Remember its IP address.Using Floating IP address, Floating IP address can be distributed to another virtual machine when hanging by one of service, be used Family passes through this Floating IP address access web services always, without perceiving the variation of IP.
Based on the above background, the embodiment of the invention provides a kind of method that virtual machine Floating IP address is arranged, the service of raising is visited The convenience asked, to realize effective management to virtual machine.
It is further, described that the floating IP address is tied on the virtual machine further include:
Floating IP address information preservation to intelligence is joined into manager (Intelligent Contact after binding success Management, ICM) in database.
Further, before a floating internet protocol address for selecting to have obtained further include:
Virtual control center, virtual data center where selection target virtual machine select an external network, input point With quantity, OpenStack platform is called to distribute Floating IP address interface, by the Floating IP address information preservation in ICM number after obtaining successfully According in library.
Further, the method also includes:
A virtual machine is selected, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
Further, the method also includes:
The floating IP address with the virtual machine binding selected is inquired by Floating IP address inquiry system.
Technical solution of the embodiment of the present invention is elaborated as follows:
Fig. 2 is the system architecture figure of the method for cloud management of embodiment of the present invention platform virtual machine floating IP address setting, such as Shown in Fig. 2, a kind of method to virtual machine setting Floating IP address that the embodiment of the present invention proposes mainly includes that Floating IP address obtains, is floating Dynamic IP setting, Floating IP address inquire three parts.Wherein,
Floating IP address obtains, available Floating IP address in acquisition system.
Floating IP address setting binds a Floating IP address for virtual machine.
Floating IP address inquiry, the Floating IP address that inquiry virtual machine has been bound.
The system based on the setting of cloud management platform virtual machine floating IP address in the embodiment of the present invention is specific as follows:
Floating IP address obtains system: Virtual control center, virtual data center first where selection target virtual machine, then An external network is selected, quantity allotted is inputted, calls OpenStack platform to distribute Floating IP address interface, will be floated after obtaining successfully Dynamic IP information preservation is in the intelligence connection manager ICM database of Cisco.
System is arranged in Floating IP address: the setting of Floating IP address includes binding Floating IP address and unbundlings Floating IP address.A virtual machine is selected, The Floating IP address obtained in selection previous step, selects a network card interface of virtual machine, calls the binding of OpenStack platform This Floating IP address is tied on this virtual machine by Floating IP address interface, and relevant information is saved in ICM database after binding success; A virtual machine is selected, OpenStack platform is called to unbind Floating IP address interface, after unbinding successfully, updates ICM database.
Floating IP address inquiry system:
A virtual machine is selected, the Floating IP address that this virtual machine has been bound can be inquired.
The embodiment of the present invention is based on cloud management platform, and Floating IP address is arranged to virtual machine, can be improved virtual machine access just Victory, to realize effective management to virtual machine.
The embodiment of the present invention, which is realized in cloud management platform, is arranged Floating IP address to virtual machine, access can be facilitated empty convenient for user The service that quasi- machine provides, further effectively improves Virtual Machine Manager efficiency.
Fig. 3 is the structure chart of the system of cloud management of embodiment of the present invention platform virtual machine floating IP address setting, such as Fig. 3 institute Show, a kind of system of on the other hand cloud management platform virtual machine floating IP address setting that the embodiment of the present invention provides, comprising:
Selecting module 301 selects the floating internet protocol address obtained for one virtual machine of selection, Select a network card interface of virtual machine;
Binding module 302, for calling OpenStack platform to bind the floating IP address interface, by the Floating IP address On address binding to the virtual machine.
Further, the binding module 302 is also used to:
After binding success by floating IP address information preservation into intelligence connection manager ICM database.
Further, the system also includes:
Module is obtained, for available floating IP address in acquisition system;
After obtaining successfully by the floating IP address information preservation in ICM database.
Further, the system also includes:
Module is unbinded, for selecting a virtual machine, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
Further, the system also includes:
Enquiry module, for inquiring the floating IP address of virtual machine binding.
The embodiment of the present invention selects the floating internet protocol address obtained by one virtual machine of selection, Select a network card interface of virtual machine;OpenStack platform is called to bind the floating IP address interface, by the Floating IP address On address binding to the virtual machine.The embodiment of the present invention is based on cloud management platform, and Floating IP address is arranged to virtual machine, can be improved The convenience of virtual machine access, to realize effective management to virtual machine.
Specifically, the embodiment of the present invention includes Floating IP address to obtain, Floating IP address setting, Floating IP address inquiry.
Wherein Floating IP address obtains, Floating IP address setting, Floating IP address is inquired, and mainly includes following three parts:
Floating IP address obtains system: Virtual control center, virtual data center first where selection target virtual machine, then An external network is selected, quantity allotted is inputted, calls OpenStack platform to distribute Floating IP address interface, will be floated after obtaining successfully Dynamic IP information preservation is in ICM database.
System is arranged in Floating IP address: the setting of Floating IP address includes binding Floating IP address and unbundlings Floating IP address.A virtual machine is selected, The Floating IP address obtained in selection previous step, selects a network card interface of virtual machine, calls the binding of OpenStack platform This Floating IP address is tied on this virtual machine by Floating IP address interface, and relevant information is saved in ICM database after binding success; A virtual machine is selected, OpenStack platform is called to unbind Floating IP address interface, after unbinding successfully, updates ICM database.
Floating IP address inquiry system:
A virtual machine is selected, the Floating IP address that this virtual machine has been bound can be inquired.
In conclusion the embodiment of the invention provides a kind of method that virtual machine Floating IP address is arranged in cloud management platform and being System, including Floating IP address obtains, Floating IP address setting, Floating IP address inquiry, the convenience of virtual machine service access can be improved, thus real Now to effective management of virtual machine.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of method of cloud management platform virtual machine floating IP address setting characterized by comprising
A virtual machine is selected, the floating internet protocol address obtained is selected, selects a network interface card of virtual machine Interface;
It calls OpenStack platform to bind the floating IP address interface, the floating IP address is tied to the virtual machine On.
2. the method for cloud management platform virtual machine floating IP address setting according to claim 1, which is characterized in that described The floating IP address is tied on the virtual machine further include:
After binding success by floating IP address information preservation into intelligence connection manager ICM database.
3. the method for cloud management platform virtual machine floating IP address setting according to claim 1, which is characterized in that described Before the floating internet protocol address that selection has obtained further include:
Virtual control center, virtual data center where selection target virtual machine select an external network, input distribution number Amount calls OpenStack platform to distribute Floating IP address interface, by the Floating IP address information preservation in ICM database after obtaining successfully In.
4. the method for cloud management platform virtual machine floating IP address setting according to claim 1, which is characterized in that also wrap It includes:
A virtual machine is selected, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
5. the method for cloud management platform virtual machine floating IP address setting according to claim 2, which is characterized in that also wrap It includes:
The floating IP address with the virtual machine binding selected is inquired by Floating IP address inquiry system.
6. a kind of system of cloud management platform virtual machine floating IP address setting characterized by comprising
Selecting module selects the floating internet protocol address obtained, selection is virtual for selecting a virtual machine One network card interface of machine;
Binding module binds the floating IP address for calling OpenStack platform to bind the floating IP address interface Onto the virtual machine.
7. the system of cloud management platform virtual machine floating IP address setting according to claim 6, which is characterized in that described Binding module is also used to:
After binding success by floating IP address information preservation into intelligence connection manager ICM database.
8. the system of cloud management platform virtual machine floating IP address setting according to claim 6, which is characterized in that also wrap It includes:
Module is obtained, for available floating IP address in acquisition system;
After obtaining successfully by the floating IP address information preservation in ICM database.
9. the system of cloud management platform virtual machine floating IP address setting according to claim 6, which is characterized in that also wrap It includes:
Module is unbinded, for selecting a virtual machine, OpenStack platform is called to unbind the floating IP address interface;
After unbinding successfully, the ICM database is updated.
10. the system of cloud management platform virtual machine floating IP address setting according to claim 7, which is characterized in that also Include:
Enquiry module, for inquiring the floating IP address of virtual machine binding.
CN201810799239.8A 2018-07-19 2018-07-19 A kind of method and system of cloud management platform virtual machine floating IP address setting Pending CN109067931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810799239.8A CN109067931A (en) 2018-07-19 2018-07-19 A kind of method and system of cloud management platform virtual machine floating IP address setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810799239.8A CN109067931A (en) 2018-07-19 2018-07-19 A kind of method and system of cloud management platform virtual machine floating IP address setting

Publications (1)

Publication Number Publication Date
CN109067931A true CN109067931A (en) 2018-12-21

Family

ID=64817572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810799239.8A Pending CN109067931A (en) 2018-07-19 2018-07-19 A kind of method and system of cloud management platform virtual machine floating IP address setting

Country Status (1)

Country Link
CN (1) CN109067931A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990123A (en) * 2019-12-05 2020-04-10 北京京东尚科信息技术有限公司 Method and device for constructing virtual machine network system
CN112003745A (en) * 2020-08-18 2020-11-27 北京浪潮数据技术有限公司 Management node access method, device and computer readable storage medium
CN112738293A (en) * 2020-12-29 2021-04-30 浪潮云信息技术股份公司 Method for connecting virtual machine with external network
US11429411B2 (en) 2019-08-30 2022-08-30 Nutanix, Inc. Fast ARP cache rewrites in a cloud-based virtualization environment
US11438280B2 (en) 2019-08-30 2022-09-06 Nutanix, Inc. Handling IP network addresses in a virtualization system
US11550616B2 (en) 2019-08-30 2023-01-10 Nutanix, Inc. Virtual IP support for bare metal cloud infrastructures

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
US20160134584A1 (en) * 2014-11-12 2016-05-12 International Business Machines Corporation Dynamically assigning network addresses
CN107741874A (en) * 2017-10-12 2018-02-27 武汉中地数码科技有限公司 A kind of GIS clouds virtual machine automatically creates method and system
CN107800814A (en) * 2016-09-05 2018-03-13 国网江苏省电力公司信息通信分公司 Virtual machine deployment method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
US20160134584A1 (en) * 2014-11-12 2016-05-12 International Business Machines Corporation Dynamically assigning network addresses
CN107800814A (en) * 2016-09-05 2018-03-13 国网江苏省电力公司信息通信分公司 Virtual machine deployment method and device
CN107741874A (en) * 2017-10-12 2018-02-27 武汉中地数码科技有限公司 A kind of GIS clouds virtual machine automatically creates method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11429411B2 (en) 2019-08-30 2022-08-30 Nutanix, Inc. Fast ARP cache rewrites in a cloud-based virtualization environment
US11438280B2 (en) 2019-08-30 2022-09-06 Nutanix, Inc. Handling IP network addresses in a virtualization system
US11550616B2 (en) 2019-08-30 2023-01-10 Nutanix, Inc. Virtual IP support for bare metal cloud infrastructures
CN110990123A (en) * 2019-12-05 2020-04-10 北京京东尚科信息技术有限公司 Method and device for constructing virtual machine network system
CN110990123B (en) * 2019-12-05 2023-11-03 北京京东尚科信息技术有限公司 Method and device for constructing virtual machine network system
CN112003745A (en) * 2020-08-18 2020-11-27 北京浪潮数据技术有限公司 Management node access method, device and computer readable storage medium
CN112738293A (en) * 2020-12-29 2021-04-30 浪潮云信息技术股份公司 Method for connecting virtual machine with external network
CN112738293B (en) * 2020-12-29 2023-03-10 浪潮云信息技术股份公司 Method for connecting virtual machine with external network

Similar Documents

Publication Publication Date Title
CN109067931A (en) A kind of method and system of cloud management platform virtual machine floating IP address setting
CN106533935B (en) A kind of method and apparatus obtaining business chain information in cloud computing system
US6445704B1 (en) Method and apparatus for virtualizing a locally initiated outbound connection from a connection manager
CN104704471B (en) Virtual machine multicast/broadcast in virtual network
CN104487948B (en) The system and method for workflow layout for being used together with cloud computing environment
CN102571698B (en) Access authority control method, system and device for virtual machine
CN108510389A (en) Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN106067858B (en) Communication means, apparatus and system between container
CN106301829A (en) A kind of method and apparatus of Network dilatation
CN105763670B (en) A kind of method and device for container allocation IP address
CN105138389A (en) Method and system for managing virtual devices in cluster
CN108255497A (en) The dispositions method and device of a kind of application
CN111327668B (en) Network management method, device, equipment and storage medium
CN106610871A (en) Cloud operating system architecture
CN106254471A (en) Resource United Dispatching method and system under a kind of isomery cloud environment
CN106209402A (en) The telescopic method of a kind of virtual network function and equipment
CN105872038A (en) High concurrency processing method and device of cloud desktop system
CN109005433B (en) A kind of video cloud service platform architecture and implementation method
CN108390956A (en) A kind of method and system for virtual machine configuration internet protocol address
CN110049503A (en) A kind of method and apparatus obtaining data
CN108256006A (en) A kind of direct broadcasting room badge picture loading method and system
CN110445886A (en) A kind of method and system realizing domain name access and accelerating
CN107430582A (en) Thin client system, connection management device, virtual machine operations device, method and storage medium
CN110691042A (en) Resource allocation method and device
CN106059888A (en) IP (Internet Protocol) address assignment method and device based on open network operating system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221

RJ01 Rejection of invention patent application after publication