CN104317639B - The method of the existing virtual machines of computer cloud platform adapter vCenter - Google Patents
The method of the existing virtual machines of computer cloud platform adapter vCenter Download PDFInfo
- Publication number
- CN104317639B CN104317639B CN201410555593.8A CN201410555593A CN104317639B CN 104317639 B CN104317639 B CN 104317639B CN 201410555593 A CN201410555593 A CN 201410555593A CN 104317639 B CN104317639 B CN 104317639B
- Authority
- CN
- China
- Prior art keywords
- vcenter
- virtual machine
- cloudstack
- cloud platform
- computer cloud
- 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.)
- Active
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method of the existing virtual machines of computer cloud platform adapter vCenter, comprise the following steps:S1:Set up and be connected with vCenter softwares in computer cloud platform, create and the virtual machine as title in vCenter and configuration;S2:The virtual machine just set up is deleted in vCenter, is disconnected with computer cloud platform;S3:IP address, MAC Address and the creation time of the existing virtual machines of vCenter are inquired about, more new computer cloud platform database is set up with vCenter and is connected again;S4:The data storage of virtual machine is changed in vCenter.
Description
Technical field
The present invention relates to cloud computing resources administrative skill field, more particularly to computer cloud platform adapter vCenter are existing
The method of virtual machine.
Background technology
CloudStack be Citrix companies CloudStack infrastructure is serviced (IaaS) product source code with
One cloud platform management software of increasing income of Apache Foundation cooperations.CloudStack can accelerate the public affairs of high scalability
Deployment, management, the configuration of republicanism private clound (IaaS).Based on CloudStack, data center operator can be fast
Speed easily builds the cloud service of oneself on existing framework.As cloud management platform of increasing income, CloudStack is installed and matched somebody with somebody
Put relatively simple there is provided the support of a variety of virtual machine platforms, more convenient, operation interface is managed based on web browser
Better appearance is generous.Now, telecom operators are not only and are using CloudStack, increasing enterprise is also utilizing
CloudStack builds cloud platform.
VMware is the commercial company for providing virtualization and cloud computing solution top in the world, is possessed in the whole world
More than 400000 client and more than 55000 affiliate.Several products set system, tens kinds of softwares can provide virtual from unit
Change the total solution to high in the clouds.VCenter refers to VMware vCenterServer, is that VMware virtual machines are collected
The software of middle management, can be managed collectively the All hosts and virtual machine of data center from single console, and vCenter makes keeper
Can be understood in depth from a position cluster of Virtual base framework, main frame, virtual machine, storage, client operating system and other
All information such as key component.
CloudStack can only manage the virtual machine for actively being initiated to set up by CloudStack, and can not adapter vCenter
The virtual machine created.Existing method is by being inserted directly into a plurality of record in CloudStack databases, changing a plurality of
Data, complex operation, when existing virtual machine quantity is larger in vCenter, is easily caused operating mistake, expends time and manpower
Resource.
The content of the invention
Goal of the invention:The technical problems to be solved by the invention are that there is provided a kind of computer in view of the shortcomings of the prior art
The method of the existing virtual machines of cloud platform adapter vCenter.
In order to solve the above-mentioned technical problem, the invention discloses a kind of computer cloud platform adapter vCenter is virtual
The method of machine, comprises the following steps:
S1:Set up and be connected with vCenter softwares in computer cloud platform, create and title in vCenter and configuration one
The virtual machine of sample;
S2:The virtual machine just set up is deleted in vCenter, is disconnected with computer cloud platform;
S3:Inquire about IP address, MAC Address and the creation time of the existing virtual machines of vCenter, more new computer cloud platform number
According to storehouse, set up and be connected with vCenter again;
S4:The data storage of virtual machine is changed in vCenter.
In the present invention, described computer cloud platform is CloudStack computer cloud platforms.
Further, the step S1 sets up to be connected in CloudStack with vCenter specifically includes:
Add vCenter clusters in CloudStack, the cluster be in vCenter existing cluster, it is necessary to which its administrative power is transferred to
In CloudStack.
Further, the step S1 is created specifically includes with the virtual machine as title in vCenter and configuration:Inquiry
Virtual machine title, OS Type, CPU, internal memory, disk size information, then create virtual further according to these configuration informations
Machine example.
Further, IP address, MAC Address and the creation time tool of the existing virtual machines of the step S3 inquiries vCenter
Body includes:Virtual machine console is opened in vCenter management clients, into VME operating system, the virtual machine is obtained
IP address, MAC Address and creation time, the creation time of wherein linux system may be referred to/root/install.log
Time.
Further, the step S3 updates the data storehouse and specifically included:Performed in CloudStack and update the data storehouse
SQL statement, can also develop an automation more new procedures, such CloudStack just can be according to IP address, MAC Address weight
Newly set up and be connected with vCenter.
Further, the step S4 changes the data storage of virtual machine in vCenter and specifically included:Check the void
The place memory of plan machine, using the shift function in vCenter management clients, arrives CloudStack's by virtual machine (vm) migration
In primary storage.
The present invention can solve well CloudStack can not compatibility vCenter the problem of created virtual machine, realize
Adapters of the CloudStack to the existing virtual machines of vCenter, operating procedure is simple, can in large quantity will be existing in vCenter
Virtual machine is imported in CloudStack, saves time and human resources, reduces moving costs.
Brief description of the drawings
The present invention is done with reference to the accompanying drawings and detailed description and further illustrated, of the invention is above-mentioned
And/or otherwise advantage will become apparent.
Fig. 1 has the step flow of the method for virtual machine for the CloudStack adapters vCenter in the embodiment of the present invention
Figure.
Embodiment
The invention discloses a kind of method of the existing virtual machines of computer cloud platform adapter vCenter, comprise the following steps:
S1:Set up and be connected with vCenter softwares in computer cloud platform, establishment is with title in vCenter softwares and matching somebody with somebody
Put the same virtual machine;
S2:The virtual machine just set up is deleted in vCenter, is disconnected with computer cloud platform;
S3:Inquire about IP address, MAC Address and the creation time of the existing virtual machines of vCenter, more new computer cloud platform number
According to storehouse, set up and be connected with vCenter again;
S4:The data storage of virtual machine is changed in vCenter.
In the present invention, described computer cloud platform is CloudStack computer cloud platforms.
In the present invention, the step S1 is specifically included:VCenter clusters are added in CloudStack, the cluster is
Existing cluster in vCenter, its administrative power is transferred in CloudStack;
Virtual machine title, OS Type, CPU, internal memory, disk size information are inquired about, is then configured further according to these
Information creating virtual machine instance.
In the present invention, the step S3 is specifically included:Inquire about IP address, MAC Address and the wound of the existing virtual machines of vCenter
The time of building specifically includes:Open virtual machine in vCenter management clients, obtain the IP address of the virtual machine, MAC Address and
The creation time of creation time, wherein linux system is set to file/root/install.log time.
In the present invention, the step S3 includes:The SQL statement for updating the data storehouse is performed in CloudStack,
CloudStack sets up with vCenter and is connected according to the IP address of virtual machine, MAC Address is had again.
In the present invention, the step S4 includes:The place memory of the virtual machine is checked, visitor is managed using vCenter
Shift function in the end of family, by the primary storage of virtual machine (vm) migration to CloudStack.
The invention provides the method for the existing virtual machines of CloudStack adapters vCenter, by CloudStack
Establishment and the virtual machine as title in vCenter and configuration, the virtual machine just set up then is deleted in vCenter, is updated
CloudStack databases, change virtual-machine data storage, so as to realize that CloudStack platforms are taken over more conveniently
The existing virtual machines of vCenter, maneuvering sequence is simple, saves time and human resources, reduces moving costs.
Embodiment
The method that a kind of existing virtual machines of CloudStack adapters vCenter are provided in the embodiment of the present invention, step stream
Journey is as shown in figure 1, specifically include following steps:
Step S1:In CloudStack with vCenter set up be connected, create with vCenter in title and configure
Virtual machine.
Specifically, adding vCenter clusters in CloudStack, set up and be connected with vCenter, so that
CloudStack can existing cluster in adapter vCenter;Then inquiry virtual machine title, OS Type, CPU, internal memory,
Disk size information, these virtual machine informations can be inquired about on the interface of vCenter management clients and obtained, according to these
Configuration information creates virtual machine instance on CloudStack administration interfaces.
Step S2:The virtual machine just set up is deleted in vCenter, is disconnected with CloudStack.
Specifically, inquiring about the virtual machine just created by CloudStack in vCenter management clients, select from magnetic
Disk deletes the virtual machine, although so deleting virtual machine in vCenter, CloudStack does not know, still preserves
The information of the virtual machine, and in fact CloudStack and the virtual machine just created are already off is connected.
Step S3:IP address, MAC Address and the creation time of the existing virtual machines of vCenter are inquired about, CloudStack is updated
Database, sets up with vCenter and is connected again;
Specifically, opening virtual machine console in vCenter management clients, into system, it is virtual that acquisition to be connected
IP address, MAC Address and the creation time of machine, if wherein (SuSE) Linux OS, creation time typically may be referred to/root/
Install.log time.Then only need to update CloudStack databases four table vm_instance, nics,
Corresponding virtual machine title, IP address, MAC Address and creation time in volumes, user_ip_address, SQL statement is such as
Under:
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 modification database SQL statement, such CloudStack just can according to IP address,
The virtual machine that MAC Address to be connected with vCenter again sets up communication.
Step S4:The data storage of virtual machine is changed in vCenter.
Specifically, because CloudStack when creating vCenter clusters will carry primary storage again, this primary storage is used for
Virtual machine file is deposited, and existing virtual machine is not in the primary storage of this new carry, so needs should in vCenter
The storage of virtual machine, which is moved on on the new carries of CloudStack, to be used to create in the primary storage of vCenter virtual machines, it is possible to use
Shift function in vCenter management clients completes data storage change.
By the above method, establishment and the virtual machine as title in vCenter and configuration in CloudStack,
The virtual machine just set up is deleted in vCenter, CloudStack databases, change virtual-machine data storage, so that more is updated
The existing virtual machines of CloudStack platform adapters vCenter are conveniently and efficiently realized, time and human resources, reduction migration are saved
Cost.
The invention provides the method for the existing virtual machines of computer cloud platform adapter vCenter, the technical side is implemented
The method and approach of case are a lot, and described above is only the preferred embodiment of the present invention, it is noted that for the art
For those of ordinary skill, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvement
Protection scope of the present invention is also should be regarded as with retouching.Each part being not known in the present embodiment can use prior art to be subject to
Realize.
Claims (1)
1. the method for the existing virtual machines of computer cloud platform adapter vCenter, it is characterised in that comprise the following steps:
S1:Set up and be connected with vCenter softwares in computer cloud platform, create and title in vCenter softwares and configuration one
The virtual machine of sample;
S2:The virtual machine just set up is deleted in vCenter, is disconnected with computer cloud platform;
S3:Inquire about IP address, MAC Address and the creation time of the existing virtual machines of vCenter, more new computer cloud platform data
Storehouse, sets up with vCenter and is connected again;
S4:The data storage of virtual machine is changed in vCenter;
Described computer cloud platform is CloudStack computer cloud platforms;
The step S1 is specifically included:VCenter clusters are added in CloudStack, the cluster is existing in vCenter
Cluster, its administrative power is transferred in CloudStack;
Virtual machine title, OS Type, CPU, internal memory, disk size information are inquired about, then further according to these configuration informations
Create virtual machine instance;
The step S3 is specifically included:IP address, MAC Address and the creation time of the existing virtual machines of inquiry vCenter are specifically wrapped
Include:Virtual machine is opened in vCenter management clients, IP address, MAC Address and the creation time of the virtual machine is obtained, its
The creation time of middle linux system is set to file/root/install.log time;
The step S3 includes:The SQL statement for updating the data storehouse is performed in CloudStack, CloudStack is according to existing void
The IP address of plan machine, MAC Address are set up with vCenter and are connected again;
The step S4 includes:The place memory of the virtual machine is checked, the migration work(in vCenter management clients is used
Can, by the primary storage of virtual machine (vm) migration to 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 CN104317639A (en) | 2015-01-28 |
CN104317639B true 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) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577442B (en) * | 2015-12-28 | 2019-02-05 | 中电科华云信息技术有限公司 | Storage virtual machine based on cloud platform receives pipe method |
CN107908629B (en) * | 2017-06-20 | 2021-03-02 | 平安科技(深圳)有限公司 | Information query method, terminal and equipment |
CN109997345B (en) * | 2017-10-25 | 2022-03-11 | 深圳市互盟科技股份有限公司 | Virtual machine control system and method based on cloud computing |
WO2019080012A1 (en) * | 2017-10-25 | 2019-05-02 | 深圳市互盟科技股份有限公司 | Method for cloudstack to take over original vcenter cluster |
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 |
CN113691894B (en) * | 2021-08-23 | 2022-04-22 | 成都理工大学 | 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 |
---|
求教openstack和exsi的结合接管问题;sxmatch;《http://bbs.csdn.net/topics/390905645》;20141016;第2页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104317639A (en) | 2015-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317639B (en) | The method of the existing virtual machines of computer cloud platform adapter vCenter | |
US10102026B2 (en) | Migrating virtual asset | |
EP3588356A1 (en) | Cross-application identity and access management | |
CN107066242B (en) | Method and system for determining identification of software in software container | |
US10296384B2 (en) | Dynamic workload deployment for data integration services | |
US8978032B2 (en) | Host naming application programming interface | |
US8930668B2 (en) | Storage black box | |
US9003141B2 (en) | Enhanced software application platform | |
CN113595796A (en) | Network-based resource configuration discovery service | |
US10061665B2 (en) | Preserving management services with self-contained metadata through the disaster recovery life cycle | |
CN103150202B (en) | Method for allowing CloudStack to be compatible with virtual machine existing in vCenter | |
US20180343300A1 (en) | Methods and apparatus to perform data migration in a distributed environment | |
CN103235725A (en) | Linux-based rapid deployment method for Oracle database in cloud computing | |
CN105577442B (en) | Storage virtual machine based on cloud platform receives pipe method | |
CN109923835B (en) | Local and off-site communications | |
CN104239122A (en) | VM (virtual machine) migration method and device | |
CN113168406A (en) | Isolated hierarchical runtime environment for multi-tenant databases | |
CN111061617B (en) | Space-based network networking simulation test system based on cloud computing | |
CN109150964A (en) | A kind of transportable data managing method and services migrating method | |
CN112068953B (en) | Cloud resource fine management traceability system and method | |
US20220138220A1 (en) | Dedicated replication channels for replicating records between regions | |
CN104484221A (en) | Method for taking over existing vCenter cluster by CloudStack | |
US11061715B2 (en) | Techniques for hybrid computer thread creation and management | |
CN109144526B (en) | Rapid deployment system and method for substation automation software | |
Sehgal | Introduction to OpenStack |
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 |