CN104317639A - Method for taking over existing virtual machines of vCenter by computer cloud platform - Google Patents
Method for taking over existing virtual machines of vCenter by computer cloud platform Download PDFInfo
- Publication number
- CN104317639A CN104317639A CN201410555593.8A CN201410555593A CN104317639A CN 104317639 A CN104317639 A CN 104317639A CN 201410555593 A CN201410555593 A CN 201410555593A CN 104317639 A CN104317639 A CN 104317639A
- Authority
- CN
- China
- Prior art keywords
- vcenter
- virtual machine
- cloudstack
- cloud platform
- address
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
- H04L41/0897—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
Abstract
The invention discloses a method for taking over existing virtual machines of a vCenter by a computer cloud platform. The method comprises the following steps of 1, establishing connection with the vCenter in the computer cloud platform, and creating virtual machines of which the names and configurations are the same as those of the virtual machines in the vCenter; 2, deleting the virtual machines established in the vCenter, and disconnecting the vCenter from the computer cloud platform; 3, querying the IP (Internet Protocol) addresses, the MAC (media access control) address and the creation time of the existing virtual machines of the vCenter, updating a database of the computer cloud platform, and re-establishing connection with the vCenter; 4, changing the data storage of the virtual machines in the vCenter.
Description
Technical field
The present invention relates to cloud computing resources administrative skill field, particularly relate to the method that computing machine cloud platform adapter vCenter has virtual machine.
Background technology
CloudStack is the cloud platform management software of increasing income that namely CloudStack infrastructure is served (IaaS) product source code and cooperated with Apache Foundation by Citrix company.CloudStack can accelerate the deployment of the public and privately owned cloud (IaaS) of high scalability, management, configuration.Use based on CloudStack, data center operator can build oneself cloud service quickly and easily on existing framework.As cloud management platform of increasing income, CloudStack installs and configures relatively simple, provides the support of multiple virtual machine platform, and convenient based on web browser Comparison of Management, operation interface also better appearance is generous.Now, be not only telecom operators at employing CloudStack, increasing enterprise is also utilizing CloudStack to build cloud platform.
VMware toply in the world provides virtual and commercial company that is cloud computing solution, has more than 400000 client and more than 55000 affiliate in the whole world.Several products cover system, tens kinds of softwares can provide from the virtual total solution to high in the clouds of unit.VCenter refers to VMware vCenterServer, the software that VMware virtual machine is managed concentratedly, can from the All hosts of single control desk unified management data center and virtual machine, vCenter enables keeper understand the cluster of Virtual base framework, main frame, virtual machine, storage, all information such as client operating system and other key components in depth from a position.
CloudStack can only manage and initiatively initiate by CloudStack the virtual machine set up, and cannot the virtual machine that created of adapter vCenter.Existing method is by directly inserting many records in CloudStack database, revising many data, complicated operation, when virtual machine quantity existing in vCenter is larger, easily causes operating mistake, expends time in and human resources.
Summary of the invention
Goal of the invention: technical matters to be solved by this invention is for the deficiencies in the prior art, provides a kind of computing machine cloud platform adapter vCenter to have the method for virtual machine.
In order to solve the problems of the technologies described above, the invention discloses a kind of method that computing machine cloud platform adapter vCenter has virtual machine, comprising the following steps:
S1: connect with vCenter software in computing machine cloud platform, creates with title in vCenter and configures the same virtual machine;
S2: delete the virtual machine just set up in vCenter, disconnect with computing machine cloud platform;
S3: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time, more new computer cloud platform database, again connects with vCenter;
S4: the data changing virtual machine in vCenter store.
In the present invention, described computing machine cloud platform is CloudStack computing machine cloud platform.
Further, described step S1 connects with vCenter and specifically comprises in CloudStack: in CloudStack, add vCenter cluster, this cluster is existing cluster in vCenter, needs its administrative power to transfer in CloudStack.
Further, described step S1 creates with title in vCenter and configures the same virtual machine and specifically comprise: inquire about virtual machine title, OS Type, CPU, internal memory, disk size information, and then according to these configuration informations establishment virtual machine instance.
Further, described step S3 inquires about vCenter and has the IP address of virtual machine, MAC Address and creation-time and specifically comprise: open virtual machine control desk at vCenter administrative client, enter VME operating system, obtain the IP address of described virtual machine, MAC Address and creation-time, wherein the creation-time of linux system can with reference to the time of/root/install.log.
Further, described step S3 more new database specifically comprises: the SQL statement performing more new database in CloudStack, also can develop a robotization refresh routine, such CloudStack just can connect with vCenter according to IP address, MAC Address again.
Further, described step S4 change in vCenter virtual machine data store specifically comprise: the place storer checking described virtual machine, utilizes the shift function in vCenter administrative client, by virtual machine (vm) migration in the primary storage of CloudStack.
The present invention can solve CloudStack well can not create the problem of virtual machine by compatible vCenter, achieve CloudStack has virtual machine adapter to vCenter, operation steps is simple, can in large quantity virtual machine existing in vCenter be imported in CloudStack, save time and human resources, reduce moving costs.
Accompanying drawing explanation
To do the present invention below in conjunction with the drawings and specific embodiments and further illustrate, above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is the flow chart of steps that CloudStack adapter vCenter in the embodiment of the present invention has the method for virtual machine.
Embodiment
The invention discloses a kind of method that computing machine cloud platform adapter vCenter has virtual machine, comprise the following steps:
S1: connect with vCenter software in computing machine cloud platform, creates with title in vCenter software and configures the same virtual machine;
S2: delete the virtual machine just set up in vCenter, disconnect with computing machine cloud platform;
S3: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time, more new computer cloud platform database, again connects with vCenter;
S4: the data changing virtual machine in vCenter store.
In the present invention, described computing machine cloud platform is CloudStack computing machine cloud platform.
In the present invention, described step S1 specifically comprises: in CloudStack, add vCenter cluster, and this cluster is existing cluster in vCenter, transfers in CloudStack by its administrative power;
Inquiry virtual machine title, OS Type, CPU, internal memory, disk size information, and then create virtual machine instance according to these configuration informations.
In the present invention, described step S3 specifically comprises: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time and specifically comprises: open virtual machine at vCenter administrative client, obtain the IP address of described virtual machine, MAC Address and creation-time, wherein the creation-time of linux system is set to the time of file/root/install.log.
In the present invention, described step S3 comprises: the SQL statement performing more new database in CloudStack, and CloudStack connects with vCenter again according to the IP address of existing virtual machine, MAC Address.
In the present invention, described step S4 comprises: the place storer checking described virtual machine, uses the shift function in vCenter administrative client, by virtual machine (vm) migration in the primary storage of CloudStack.
The invention provides the method that CloudStack adapter vCenter has virtual machine, by creating with title in vCenter in CloudStack and configuring the same virtual machine, then in vCenter, delete the virtual machine just set up, upgrade CloudStack database, change virtual-machine data stores, thus realizes CloudStack platform adapter vCenter more conveniently and have virtual machine, and maneuvering sequence is simple, save time and human resources, reduce moving costs.
Embodiment
Provide a kind of method that CloudStack adapter vCenter has virtual machine in the embodiment of the present invention, steps flow chart as shown in Figure 1, specifically comprises the following steps:
Step S1: connect with vCenter in CloudStack, creates with title in vCenter and configures the same virtual machine.
Concrete, in CloudStack, add vCenter cluster, connect with vCenter, thus make CloudStack can existing cluster in adapter vCenter; Then virtual machine title, OS Type, CPU, internal memory, disk size information is inquired about, these virtual machine informations can be inquired about and obtain on the interface of vCenter administrative client, create virtual machine instance according to these configuration informations on CloudStack administration interface.
Step S2: delete the virtual machine just set up in vCenter, disconnect with CloudStack.
Concrete, the virtual machine that inquiry has just been created by CloudStack in vCenter administrative client, select to delete this virtual machine from disk, although delete virtual machine like this in vCenter, but CloudStack does not know, still save the information of this virtual machine, and in fact CloudStack has been disconnected with the virtual machine just created and has been connected.
Step S3: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time, upgrades CloudStack database, again connects with vCenter;
Concrete, open virtual machine control desk at vCenter administrative client, enter system, obtain the IP address of the virtual machine that will connect, MAC Address and creation-time, if wherein (SuSE) Linux OS, creation-time generally can with reference to the time of/root/install.log.Then only need to upgrade virtual machine title corresponding in CloudStack database four table vm_instance, nics, volumes, user_ip_address, IP address, MAC Address and creation-time, SQL statement is as follows:
UPDATE?vm_instance?SET
instance_name='test',private_mac_address='00:50:56:B5:60:1C',
private_ip_address='192.168.20.177',created='2014-07-30?11:04:41'WHERE?id=2415;
UPDATE?nics?SET
mac_address='00:50:56:B5:60:1C',ip4_address='192.168.20.177',created
created='2014-07-30?11:04:41'WHERE?instance_id=2415;
UPDATE?volumes?SET`
name`='test',path='test',chain_info='{"diskDeviceBusName":"ide0:1",
"diskChain":["[b6f6dcf514fa334d9e773b2d9379dd85]test/test.vmdk"]}',created='2014-07-3
0?11:0
4:41'WHERE?instance_id=2415;
UPDATE?user_ip_address?SET?public_ip_address='192.168.20.177',
allocated='2014-07-30?11:04:41'WHERE?id=12。
In CloudStack, perform the SQL statement in Update Table storehouse, such CloudStack just again can set up with the virtual machine that will be connected in vCenter according to IP address, MAC Address and communicate.
Step S4: the data changing virtual machine in vCenter store.
Concrete, because will carry primary storage again when CloudStack creates vCenter cluster, this primary storage is used for depositing virtual machine file, and existing virtual machine is not in the primary storage of this new carry in vCenter, so need the storage of this virtual machine to move on on the new carry of CloudStack in the primary storage creating vCenter virtual machine, the shift function in vCenter administrative client can be utilized to complete data and to store change.
Pass through said method, create in CloudStack with title in vCenter and configure the same virtual machine, the virtual machine just set up is deleted in vCenter, upgrade CloudStack database, change virtual-machine data stores, thus realize CloudStack platform adapter vCenter more conveniently and have virtual machine, save time and human resources, reduce moving costs.
The invention provides the method that computing machine cloud platform adapter vCenter has virtual machine; the method and access of this technical scheme of specific implementation is a lot; the above is only the preferred embodiment of the present invention; should be understood that; for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.The all available prior art of each ingredient not clear and definite in the present embodiment is realized.
Claims (6)
1. computing machine cloud platform adapter vCenter has the method for virtual machine, it is characterized in that, comprises the following steps:
S1: connect with vCenter software in computing machine cloud platform, creates with title in vCenter software and configures the same virtual machine;
S2: delete the virtual machine just set up in vCenter, disconnect with computing machine cloud platform;
S3: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time, more new computer cloud platform database, again connects with vCenter;
S4: the data changing virtual machine in vCenter store.
2. method according to claim 1, is characterized in that, described computing machine cloud platform is CloudStack computing machine cloud platform.
3. method according to claim 2, is characterized in that, described step S1 specifically comprises: in CloudStack, add vCenter cluster, and this cluster is existing cluster in vCenter, transfers in CloudStack by its administrative power;
Inquiry virtual machine title, OS Type, CPU, internal memory, disk size information, and then create virtual machine instance according to these configuration informations.
4. method according to claim 3, it is characterized in that, described step S3 specifically comprises: inquiry vCenter has the IP address of virtual machine, MAC Address and creation-time and specifically comprises: open virtual machine at vCenter administrative client, obtain the IP address of described virtual machine, MAC Address and creation-time, wherein the creation-time of linux system is set to the time of file/root/install.log.
5. method according to claim 4, is characterized in that, described step S3 comprises: the SQL statement performing more new database in CloudStack, and CloudStack connects with vCenter again according to the IP address of existing virtual machine, MAC Address.
6. method according to claim 4, is characterized in that, described step S4 comprises: the place storer checking described virtual machine, uses the shift function in vCenter administrative client, by virtual machine (vm) migration in the primary storage of CloudStack.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555593.8A CN104317639B (en) | 2014-10-17 | 2014-10-17 | The method of the existing virtual machines of computer cloud platform adapter vCenter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410555593.8A CN104317639B (en) | 2014-10-17 | 2014-10-17 | The method of the existing virtual machines of computer cloud platform adapter vCenter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104317639A true CN104317639A (en) | 2015-01-28 |
CN104317639B CN104317639B (en) | 2017-08-22 |
Family
ID=52372874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410555593.8A Active CN104317639B (en) | 2014-10-17 | 2014-10-17 | The method of the existing virtual machines of computer cloud platform adapter vCenter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104317639B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577442A (en) * | 2015-12-28 | 2016-05-11 | 中电科华云信息技术有限公司 | Method for receiving and managing stock virtual machine based on cloud platform |
CN107908629A (en) * | 2017-06-20 | 2018-04-13 | 平安科技(深圳)有限公司 | A kind of information query method, terminal and equipment |
WO2019080012A1 (en) * | 2017-10-25 | 2019-05-02 | 深圳市互盟科技股份有限公司 | Method for cloudstack to take over original vcenter cluster |
CN109997345A (en) * | 2017-10-25 | 2019-07-09 | 深圳市互盟科技股份有限公司 | Virtual machine control system and its method based on cloud computing |
CN110049148A (en) * | 2019-04-19 | 2019-07-23 | 浙江中烟工业有限责任公司 | Virtual machine IP address acquisition methods in a kind of Vcenter environment |
CN112000429A (en) * | 2020-08-06 | 2020-11-27 | 北京浪潮数据技术有限公司 | Connection tracking deletion method, device and equipment of cloud platform management platform |
CN113691894A (en) * | 2021-08-23 | 2021-11-23 | 成都理工大学 | System and method for providing data transmission and operation monitoring for seismic station |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254021A (en) * | 2011-07-26 | 2011-11-23 | 北京市计算中心 | Method for constructing database based on virtual machine management system |
CN103150202A (en) * | 2013-03-15 | 2013-06-12 | 汉柏科技有限公司 | Method for allowing CloudStack to be compatible with virtual machine existing in vCenter |
CN103414748A (en) * | 2013-07-12 | 2013-11-27 | 广东电子工业研究院有限公司 | Cloud platform monitoring architecture and monitoring realizing method thereof |
-
2014
- 2014-10-17 CN CN201410555593.8A patent/CN104317639B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254021A (en) * | 2011-07-26 | 2011-11-23 | 北京市计算中心 | Method for constructing database based on virtual machine management system |
CN103150202A (en) * | 2013-03-15 | 2013-06-12 | 汉柏科技有限公司 | Method for allowing CloudStack to be compatible with virtual machine existing in vCenter |
CN103414748A (en) * | 2013-07-12 | 2013-11-27 | 广东电子工业研究院有限公司 | Cloud platform monitoring architecture and monitoring realizing method thereof |
Non-Patent Citations (1)
Title |
---|
SXMATCH: "求教openstack和exsi的结合接管问题", 《HTTP://BBS.CSDN.NET/TOPICS/390905645》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577442A (en) * | 2015-12-28 | 2016-05-11 | 中电科华云信息技术有限公司 | Method for receiving and managing stock virtual machine based on cloud platform |
CN105577442B (en) * | 2015-12-28 | 2019-02-05 | 中电科华云信息技术有限公司 | Storage virtual machine based on cloud platform receives pipe method |
CN107908629A (en) * | 2017-06-20 | 2018-04-13 | 平安科技(深圳)有限公司 | A kind of information query method, terminal and equipment |
WO2019080012A1 (en) * | 2017-10-25 | 2019-05-02 | 深圳市互盟科技股份有限公司 | Method for cloudstack to take over original vcenter cluster |
CN109997345A (en) * | 2017-10-25 | 2019-07-09 | 深圳市互盟科技股份有限公司 | Virtual machine control system and its method based on cloud computing |
CN109997345B (en) * | 2017-10-25 | 2022-03-11 | 深圳市互盟科技股份有限公司 | Virtual machine control system and method based on cloud computing |
CN110049148A (en) * | 2019-04-19 | 2019-07-23 | 浙江中烟工业有限责任公司 | Virtual machine IP address acquisition methods in a kind of Vcenter environment |
CN110049148B (en) * | 2019-04-19 | 2022-03-25 | 浙江中烟工业有限责任公司 | Method for acquiring IP address of virtual machine in Vcenter environment |
CN112000429A (en) * | 2020-08-06 | 2020-11-27 | 北京浪潮数据技术有限公司 | Connection tracking deletion method, device and equipment of cloud platform management platform |
CN113691894A (en) * | 2021-08-23 | 2021-11-23 | 成都理工大学 | System and method for providing data transmission and operation monitoring for seismic station |
CN113691894B (en) * | 2021-08-23 | 2022-04-22 | 成都理工大学 | System and method for providing data transmission and operation monitoring for seismic station |
Also Published As
Publication number | Publication date |
---|---|
CN104317639B (en) | 2017-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317639A (en) | Method for taking over existing virtual machines of vCenter by computer cloud platform | |
CA3109819C (en) | Service pool architecture for multitenant services to support canary release | |
CN107947961B (en) | SDN-based Kubernetes network management system and method | |
US10666609B2 (en) | Management of domain name systems in a large-scale processing environment | |
US10148493B1 (en) | API gateway for network policy and configuration management with public cloud | |
CN103167041B (en) | A kind ofly support the system and method that the automation of cloud environment application cluster is disposed | |
WO2019007353A1 (en) | Virtual resource allocation method and apparatus | |
US10484427B2 (en) | Methods and systems for providing configuration management for computing environments | |
US9767312B2 (en) | System and method for integrating a cloud platform environment with an application server or other environment | |
US11683220B2 (en) | In-memory workflow management in edge devices | |
WO2015081766A1 (en) | Sdn based virtual machine security policy migration system and method | |
CN102427481B (en) | System for managing cloud computing service and cloud computing management method | |
CN105224466A (en) | A kind of integration test method based on Docker and system | |
RU2653292C2 (en) | Service migration across cluster boundaries | |
US10140140B2 (en) | Cloud virtual machine customization using extension framework | |
CN104156216A (en) | Heterogeneous storage management system and method oriented to cloud computing | |
CN103425511A (en) | System and method of installing and deploying application software in cloud computing environment | |
US11625280B2 (en) | Cloud-native proxy gateway to cloud resources | |
US20120303654A1 (en) | Methods and systems to automatically extract and transport data associated with workload migrations to cloud networks | |
CN102932408A (en) | Management method and platform of server cluster | |
US20200042344A1 (en) | Cloud Management Platform, and Virtual Machine Management Method and System | |
CN113196237A (en) | Container migration in a computing system | |
US11178218B2 (en) | Bidirectional communication clusters | |
US11425054B1 (en) | User-configured multi-location service deployment and scaling | |
US20170063627A1 (en) | Allocation of virtual clusters in a large-scale processing environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |