CN103873534B - A kind of application cluster moving method and device - Google Patents

A kind of application cluster moving method and device Download PDF

Info

Publication number
CN103873534B
CN103873534B CN201210551631.3A CN201210551631A CN103873534B CN 103873534 B CN103873534 B CN 103873534B CN 201210551631 A CN201210551631 A CN 201210551631A CN 103873534 B CN103873534 B CN 103873534B
Authority
CN
China
Prior art keywords
migration
application cluster
application
determined
cluster
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
Application number
CN201210551631.3A
Other languages
Chinese (zh)
Other versions
CN103873534A (en
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210551631.3A priority Critical patent/CN103873534B/en
Publication of CN103873534A publication Critical patent/CN103873534A/en
Application granted granted Critical
Publication of CN103873534B publication Critical patent/CN103873534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of application cluster moving method and device, the method includes:In cloud computing platform, the application cluster migration request that user sends according to the agreement of migration framework is received;The application cluster migration request is parsed, it is determined that the migration attribute information of the application cluster that request is migrated;According to the migration attribute information determined, the node resource that application cluster migrates demand is determined for compliance with idling-resource pond, according to the node resource and migration framework determined, during the application cluster of migration will be asked to move to the node resource determined.Using such scheme, the transport efficiency of application cluster in cloud computing platform can be preferably improved.

Description

A kind of application cluster moving method and device
Technical field
The present invention relates to field of cloud computer technology, more particularly, to a kind of application cluster moving method and device.
Background technology
Cloud computing be based on internet related service increase, using and delivery mode, it is generally the case that be related to pass through To provide, dynamic is easy to be extended and is often the resource for virtualizing for internet.In cloud computing platform, it is total to by way of resource pool Enjoy resource.Various services and application in for cloud resource pool, typically operate on one group of server by the network interconnection, will One group of server resource of this same application of operation and the operating system disposed on this group of server and application program are referred to as It is application cluster.During the O&M of cloud computing platform and operation, due to the breakdown maintenance of server, resource capacity expansion and money When the scheduling of source, it is required to carry out bulk migration to application cluster.But the bulk migration of application cluster is one to be compared Complicated transition process, be related to server resource distribution, operating system install, deployment, using installation and deployment and configuration and The series of steps such as application data migration.
In the prior art, the application cluster migration based on cloud computing environment mainly has following two ways:
First way:Application cluster is migrated using manual type.In specific implementation, mainly by network management Personnel are carried out manually, by manually carry out server procurement, operating system installation and deployment, network environment configuration, application software install, The required link of the migrations such as application data copy.Application cluster migration is carried out using this kind of mode, transition process it is more complicated, it is necessary to The consumption substantial amounts of artificial and time, and in transition process, also it is easier the place inconsistent with original environment occur, enter And the on-line time again of business is have impact on, therefore this kind of implementation method so that the efficiency comparison of application cluster migration is low.
The second way:Application cluster is migrated using virtual machine.In specific implementation, virtual machine by application program and Data are entirely packaged in virtual machine image file, thermophoresis is carried out to one group of virtual machine by virtual machine manager or cold is moved Move, to realize the purpose that application cluster is migrated.Although this kind of mode can be substituted manually, and the accuracy for migrating is also higher, But because virtual machine has certain performance loss, and many infrastructure services and application in cloud computing platform are direct fortune Go in physical machine, therefore, virtual machine cannot be fully solved the problem of application cluster migration so that the effect of application cluster migration Rate is lower.
In sum, the application cluster moving method based on cloud computing platform in the prior art, transport efficiency is than relatively low.
The content of the invention
A kind of application cluster moving method and device are the embodiment of the invention provides, application cluster can be preferably improved Transport efficiency.
A kind of application cluster moving method, including:In cloud computing platform, receive user and sent out according to the agreement of migration framework The application cluster migration request come;The application cluster migration request is parsed, it is determined that the application collection that request is migrated The migration attribute information of group;According to the migration attribute information determined, application cluster migration is determined for compliance with idling-resource pond The node resource of demand;According to the node resource and migration framework determined, the application cluster of migration will be asked to move to determination In the node resource for going out, wherein, transition process includes:According to the agreement of migration framework, for the node resource determined is matched somebody with somebody respectively Put Internet resources and deployment operation system;And according to the Internet resources being respectively configured for the node resource determined and the behaviour of deployment Make system, call respectively using installation script and Data Migration script, the application cluster of migration will be asked to move to what is determined In node resource;Wherein, the migration attribute information includes application installation script and Data Migration script, the application installation foot Originally it is the application information of the application cluster that request carries out application cluster migration, the Data Migration script is that request is answered The data message of the application cluster migrated with cluster.
A kind of application cluster moving apparatus, including:Receiver module, in cloud computing platform, receives user according to moving Move the application cluster migration request that the agreement of framework is sent;Determining module, for being solved to the application cluster migration request Analysis, it is determined that the migration attribute information of the application cluster that request is migrated;Configuration Manager, for according to the migration determined Attribute information, application cluster is determined for compliance with idling-resource pond and migrates the node resource of demand, and the node money that will be determined Source constitutes new opplication cluster server;Scheduling of resource module, for according to the node resource and migration framework determined, will ask The application cluster of migration is moved in the node resource determined, wherein, the migration attribute information includes application installation script With Data Migration script, the application installation script is the application program letter of the application cluster that request carries out application cluster migration Breath, the Data Migration script is the data message of the application cluster that request carries out application cluster migration;The scheduling of resource mould Block, specifically for the agreement according to migration framework, for the node resource determined is respectively configured Internet resources and deployment operation system System;And according to the Internet resources and the operating system of deployment configured for the node resource determined, call apply installation foot respectively This and Data Migration script, in applying for that the application cluster of migration moves to the node resource determined.
Using above-mentioned technical proposal, in cloud computing platform, the application cluster migration request sent to user is parsed, According to the migration attribute information that parsing is obtained, determine to meet the node resource that application cluster migrates demand in idling-resource pond, And according to the node resource and migration framework determined, the application cluster of migration will be asked to move to the node resource determined In, the transition process of whole application cluster can be carried out automatically, compared to existing technology in application cluster is carried out by virtual machine The mode of migration, reduces the complexity of the application cluster migration based on cloud computing platform, improves application cluster transport efficiency.
Brief description of the drawings
Fig. 1 be the embodiment of the present invention one in, the application cluster moving method flow chart of proposition;
Fig. 2 be the embodiment of the present invention one in, the application cluster moving apparatus structure chart of proposition;
Fig. 3 be the embodiment of the present invention two in, the application cluster moving method flow chart of proposition.
Specific embodiment
For in cloud computing platform, the relatively low problem of application cluster transport efficiency is of the invention present in prior art Embodiment technique proposed herein scheme, is submitted to according to the demand of application by the user for receiving according to the agreement of migration framework Application cluster migration request, then scheduling and distribution node resource in idling-resource pond will ask the application cluster of migration to move Move on in the node resource determined, the transition process of whole application cluster can be carried out automatically, compared to existing technology in it is logical Crossing virtual machine carries out the mode of application cluster migration, reduces the complexity of the application cluster migration based on cloud computing platform, carries Application cluster transport efficiency high.
Below in conjunction with each accompanying drawing to the main realization principle of embodiment of the present invention technical scheme, specific embodiment and It is set forth in the beneficial effect that should be able to be reached.
Embodiment one
The embodiment of the present invention one proposes a kind of application cluster moving method here, as shown in figure 1, its specific handling process is such as It is following:
Step 11, in cloud computing platform, receiving user please according to the application cluster migration that the agreement of migration framework is sent Ask.
Wherein, migration framework can be preset by programming personnel.Can set different for different application clusters Migration framework.In framework is migrated, the performance of the application cluster migration request that user sends when application cluster is migrated can be set Form and comprising content.
Step 12, the application cluster migration request to receiving is parsed, it is determined that the application cluster that request is migrated Migration attribute information.
Wherein, migration attribute information is to migrate necessary condition required when the application cluster set in framework is migrated, can With but be not limited to include following items:
A:Application cluster identification information.For example, the title of the application cluster of request migration, asks the application cluster institute of migration Server node information etc..
B:Asking the application cluster of migration needs node resource, Internet resources and the operating system configuration needs of application to believe Breath.
C:Using installation script, installation script is applied for this when application cluster is migrated, can be run, in new opplication collection Application program is installed in each node of group.
D:Needed comprising application program installation kit in attribute information is migrated, application program installation kit can upload to cloud meter In the bag management server set in calculation platform.Subsequently when in use, can be according to application installation script in bag management server Middle acquisition application program installation kit, is then answered the application program installation kit of acquisition on the node resource of new opplication cluster With deployment.
E:Data Migration script, for by the Data Migration in former application cluster to new cluster.
Alternatively, can also include:
F:Migration test script, it is whether correct for testing application cluster migration.
It is preferred that being verified to the migration attribute information, determine whether the migration attribute information meets migration frame The migration attribute information arranged in frame.In specific implementation, after migration attribute information is obtained, can also be to migration attribute information Format and content checked that whether are the information and the form of each information included in the migration attribute information that obtains of judgement Meet the agreement of migration framework, if meeting agreement, continue executing with, otherwise terminating treatment is no longer carried out at application cluster migration Reason, and prompt message is returned to user, point out the form of user's migration attribute information incorrect.
Step 13, according to the migration attribute information determined, application cluster migration is determined for compliance with idling-resource pond to be needed The node resource asked.
Wherein it is determined that whole node resources of the load application cluster migration demand for going out can constitute new opplication cluster service Device cluster.
Specifically, can be according to the migration attribute information determined, it is determined that request carries out the application collection of application cluster migration Node resource required for group, is then determined for compliance with the node resource for needing, composition new opplication cluster clothes in idling-resource pond Business device server.For example, it is assumed that request carry out the application cluster of application cluster migration required for node resource for server 1~ 5, then in idling-resource pond, determine 5 node resource A~E for meeting demand, node resource A~E composition new opplication clusters Server cluster.Further, if the node resource for meeting demand can not be found in idling-resource pond, i.e. node resource distribution Failure, then can terminate application cluster migration process, and return to failure information.
Step 14, new opplication cluster server and migration framework according to composition, will ask the application cluster migration of migration To in the node resource determined.
Wherein, include using installation script and Data Migration script in attribute information is migrated, be using installation script Request carries out the application information of the application cluster of application cluster migration, and Data Migration script is that request carries out application cluster and moves The data message of the application cluster of shifting, is the node resource Configuration network resource determined and portion according to the agreement of migration framework Administration's operating system, then according to the Internet resources and the operating system of deployment configured for the node resource determined, calls respectively Using installation script and Data Migration script, the application cluster of migration will be asked to move to the node resource determined in.
Specifically, can be according to the Internet resources and the operating system of deployment configured for the node resource determined, will be true The node resource made node resource corresponding with the application cluster of request migration carries out matching setting, then calls using installation Script, according to the regulation of application installation script, in the node resource (i.e. new opplication cluster server cluster) after setting is matched Application program is installed, after application program is installed, Data Migration script is called, regulation and matching according to Data Migration script Node resource after setting, during the application cluster of migration will be asked to move to the node resource determined respectively.
It is preferred that the application cluster of request migration can be stored in data storage area, when application cluster migration is carried out, The application cluster of the request migration of storage can be obtained in data storage area, the application cluster difference of the request migration that will be obtained In moving to the node resource determined.
Alternatively, if including migration test script in the migration attribute information that parsing is obtained, moved by application After the application cluster of shifting is moved in the node resource determined, can also include:
By migrating test script, determine whether the migration results of application cluster migration are correct, if it is, application is migrated The node resource that discharges of application cluster be recovered in the resource pool in cloud computing platform.If it is not, then needs are receiving use After the confirmation migration of family input is successfully instructed, or by migrating test script, after determining that migration results are correct, just may be used Will apply for that the node resource that the application cluster of migration is discharged is recovered in the resource pool in cloud computing platform.
Correspondingly, the embodiment of the present invention one also proposes a kind of application cluster moving apparatus here, as shown in Fig. 2 including:
Receiver module 201, in cloud computing platform, receiving the application collection that user sends according to the agreement of migration framework Group's migration request.
Determining module 202, for being parsed to the application cluster migration request, it is determined that the application that request is migrated The migration attribute information of cluster.
Wherein, above-mentioned determining module 202, is additionally operable to verify the migration attribute information, determines the migration category Property information whether meet migration framework in arrange migration attribute information.
Configuration Manager 203, for according to the migration attribute information determined, being determined for compliance with answering in idling-resource pond The node resource of demand is migrated with cluster, and the node resource composition new opplication cluster server that will be determined.
Scheduling of resource module 204, for according to the node resource and migration framework determined, the application collection of migration will to be asked Group is moved in the node resource determined.
Wherein, the migration attribute information includes migration test script;Above-mentioned scheduling of resource module 204, is additionally operable to pass through Migration test script, determines whether the migration results of application cluster migration are correct, if it is, will apply for that the application cluster of migration is released The node resource of releasing is recovered in the resource pool in cloud computing platform.
Wherein, the migration attribute information includes application installation script and Data Migration script, the application installation script It is the application information of the application cluster that request carries out application cluster migration, the Data Migration script is that request is applied The data message of the application cluster of cluster migration;Above-mentioned scheduling of resource module 204, specifically for the agreement according to migration framework, For the node resource determined is respectively configured Internet resources and deployment operation system;And according to be determine node resource configuration Internet resources and deployment operating system, call respectively using installation script and Data Migration script, will apply for migration should In moving to the node resource determined with cluster.
Specifically, above-mentioned scheduling of resource module 204, specifically for according to the net being respectively configured for the node resource determined Network resource and the operating system of deployment, the node resource that will be determined node resource corresponding with the application cluster of request migration enter Row matching is set;Call and apply installation script, according to the regulation of application installation script, pacify in the node resource after setting is matched Dress application program;And install application program after, call Data Migration script, according to Data Migration script regulation and The node resource that postpones of arranging, during the application cluster of migration will be asked to move to the node resource determined respectively.
Wherein, said apparatus can also include:
Data memory module, the application cluster for storing the request migration;
Above-mentioned scheduling of resource module 204, the application collection of the request migration specifically for obtaining storage in data storage area Group;The application cluster of the request migration that will be obtained is moved in the node resource determined respectively.
It should be noted that the application cluster moving apparatus that the embodiment of the present invention one is proposed here, can be as an independence Component devices, such as scheduler is arranged in cloud computing platform, or an integration module, is integrated in cloud computing platform In any component devices in, when in the component devices during the application cluster moving apparatus are integrated in cloud computing platform, this sets It is standby to be required to possess scheduling feature, it is able to access that resource pool and carries out scheduling of resource.
Embodiment two
Further, based on above-described embodiment one, the embodiment of the present invention two proposes a kind of application cluster moving method here Specific embodiment, wherein, application cluster moving apparatus are arranged on cloud as an independent component devices, such as scheduler In calculating platform, as shown in figure 3, concrete processing procedure is for example following:
Step 301, user submits application cluster migration request to according to the agreement of migration framework.
Wherein, migration framework can be preset by programming personnel, and user, can be according to migration frame according to application demand The content of frame agreement submits application cluster migration request to.
Step 302, scheduler is parsed to the application cluster migration request for receiving, and determines what request was migrated The migration attribute information of application cluster, and migration attribute information to obtaining verifies, the migration attribute information that judgement is obtained Whether meet the regulation of migration framework, if met, perform step 303, conversely, performing step 311.
For example, in the application cluster migration request that user submits to, the attribute information that parsing is obtained can be, but not limited to bag The application cluster title (such as app1) of request migration is included it should be noted that application cluster title is unique), the section of new application Point resource information, Internet resources and operating system configuration needs, ask the server node letter that the application cluster of migration is belonged to Breath, using installation script (such as install_app) and upload packet, Data Migration script (such as install_data) and Test script (such as test_app).In framework is migrated, form and content to those information can make agreement, therefore adjust Degree device can be verified according to the agreement of migration framework, content, form to those information etc..After being verified, can set up Following bibliographic structures:
/apps/app1/
/apps/app1/install_app
/apps/app1/install_data
/apps/app1/test_app
/apps/app1/packages
Step 303, according to the migration attribute information for obtaining, the application cluster that analysis request is migrated is to new section for scheduler The demand of point resource, according to the result that analysis is obtained, in idling-resource pond, judges whether that the node for meeting demand can be distributed Resource, if it is, step 304 is performed, conversely, performing step 311.
Step 304, scheduler distributes the node resource for meeting demand in idling-resource pond, and by those node resource groups Into new opplication cluster server cluster, scheduler starts new opplication cluster server cluster.
Wherein, in specific implementation, programming personnel can be in the basic input and output of those new opplication cluster server clusters Pre-boot Execution Environment (PXE, Pre-Boot are configured in system (BIOS, Basic Input Output System) Execution Environmen) network startup pattern, after startup, the solicited message that can be disposed with send configuration.
It is preferred that in cloud computing platform, it is also possible to set configuration deployment server, for distributing network for node resource Resource, for example, distribute IP address, and by network installation and configuration operating system.
Step 305, is each node resource distribution IP address included in new opplication cluster server cluster, and be each section Point resource installation operation system.
Step 306, after operating system is installed successfully, scheduler can be called and apply installation script.
Wherein, using the parameter in installation script be the node resource list information of application cluster that request is migrated and The node resource list information included in new opplication cluster server cluster.Run this and apply installation script, call application program The node resource that installation kit is included in new opplication cluster server respectively installs application program.
Alternatively, during operation application installation script, it is also possible in the corresponding node money of application cluster that request is migrated Application program installation kit is obtained in source, for example, directly being replicated.In specific implementation, after operating system is installed successfully, scheduling Device can be automatically called using installation script install_app according to the title of application cluster, and this is using the parameter of installation script The node listing (i.e. the node resource list of the application cluster that request is migrated) and new opplication cluster of Apply Names, source cluster The node resource list that server cluster is included, after being run using installation script, can be automatic in catalogue/apps/app1/ Application program installation kit is found under packages carries out application program installation, it is also possible to according to the parameter for being received from source collection before Installation procedure duplication is carried out on group node (i.e. in the node resource of the application cluster that request is migrated).
Step 307, after application program is installed successfully, scheduler calls Data Migration script, carries out application cluster Data Migration step.
Wherein, the parameter in Data Migration script is the node resource list information of the application cluster that request is migrated With the node resource list information included in new opplication cluster server cluster.That is, the application collection that request is migrated The node resource list information included in the node resource list information and new opplication cluster server cluster of group is according to mapping What relationship match was set.
Specifically, call after Data Migration script, Data Migration can be carried out, wherein it is desired to the data for being migrated Can be stored in data memory module, so, the application cluster larger for data volume can provide the work of data relay With.Religion religion ground, data memory module can provide NFS file access interfaces and FTP interfaces, and in specific implementation, user can select Select the transfer that Data Migration is carried out using the interface, it would however also be possible to employ on the node resource of the application cluster migrated in request Directly carry out data duplication to realize Data Migration.
In specific implementation, after application program is installed successfully, scheduler calls the Data Migration script that user uploads automatically Install_data, the parameter of the program is similarly the section included in the node listing and new opplication cluster server of source cluster Point the Resources list.Data Migration script install_data is responsible in the source node (node of the application cluster that request is migrated Resource) and between destination node (node resource of new opplication cluster server) carry out using migration, due to data various in itself Property, Data Migration script install_data is responsible for that data storage location and data migration pattern are parsed and held in itself OK, and be responsible for source node and new node data storage corresponding relation;For example, source application cluster (asks what is migrated Application cluster) be located at node resource A, B, on C, the node resource of new application is D, E, F (meet migration demand by scheduler The node resource determined in idling-resource pond), then Data Migration script install_data. can be implemented as number in A According in copying to D, in B data duplication in node E, by data duplication in C to F.Its rule can be by Data Migration script It is defined inside install_data.Meanwhile, to adapt to the demand of large-scale data migration, the present apparatus contains a data Memory module, there is provided, used as data relay, user can be by NFS, FTP or object storage etc. for the storage capacity of mass data Various data access interfaces, migrating data to be deposited in the module temporarily in, then are downloaded and are installed by target cluster;Together Sample, install_data. directly can also carry out data by mechanism such as safe copies (SCP, secure copy) between node Replicate;
Step 308, after Data Migration terminates, scheduler calls migration test script, test application cluster migration Whether result is correct, if correctly, performing step 309, conversely, performing step 310.
Step 309, the result of application cluster migration is correct, i.e., application cluster migrates the application collection that will successfully apply for migration The node resource that group discharges is recovered in the resource pool in cloud computing platform.
In specific implementation, scheduler calls test script test_app, by newly assigned application cluster server cluster Comprising node resource list pass to the test script as parameter, the result of test application migration, the program is as logical in tested Cross, return to 0.
Step 310, the result of application cluster migration is incorrect, i.e., application cluster migrates failure or mistake, Huo Zheqian occurs Move test script not existing, then need to wait the application cluster migration success confirmation instruction of user input, receiving using collection After group's migration success confirmation instruction, will apply for that the node resource that the application cluster of migration is discharged is recovered in cloud computing platform Resource pool in.
Step 311, returns to request failure cause.
Using embodiment of the present invention technique proposed herein scheme, in cloud computing platform, when application cluster is migrated, Avoid carries out application cluster migration by way of manually in the prior art, saves substantial amounts of manpower and time resource, And the accuracy for migrating is preferably, can realize Autonomic Migration Framework, the efficiency of application cluster migration is preferably improved.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer Program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or combination software and hardware aspect Embodiment form.And, the present invention can be used and wherein include the meter of computer usable program code at one or more The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The present invention is the flow chart with reference to method according to embodiments of the present invention, device (equipment) and computer program product And/or block diagram is described.It should be understood that each flow during flow chart and/or block diagram can be realized by computer program instructions And/or the combination of the flow and/or square frame in square frame and flow chart and/or block diagram.These computer programs can be provided to refer to The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce One machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of application cluster moving method, it is characterised in that including:
In cloud computing platform, the application cluster migration request that user sends according to the agreement of migration framework is received;
The application cluster migration request is parsed, it is determined that the migration attribute information of the application cluster that request is migrated;
According to the migration attribute information determined, the node money of application cluster migration demand is determined for compliance with idling-resource pond Source;
According to the node resource and migration framework determined, the application cluster of migration will be asked to move to the node resource determined In, wherein, transition process includes:According to migration framework agreement, for the node resource determined be respectively configured Internet resources and Deployment operation system;And according to the Internet resources and the operating system of deployment being respectively configured for the node resource determined, difference Call using installation script and Data Migration script, during the application cluster of migration will be asked to move to the node resource determined; Wherein, it is described migration attribute information include application installation script and Data Migration script, the application installation script be ask into The application information of the application cluster of row application cluster migration, the Data Migration script is that request carries out application cluster migration Application cluster data message.
2. the method for claim 1, it is characterised in that application cluster migration demand is determined for compliance with idling-resource pond Node resource before, also include:
To it is described migration attribute information verify, determine it is described migration attribute information whether meet migration framework in arrange move Move attribute information.
3. the method for claim 1, it is characterised in that the migration attribute information includes migration test script;
After the application cluster for migrating will be asked to move in the node resource determined, also include:
By migrating test script, determine whether the migration results of application cluster migration are correct, if it is, answering for migration will be applied for The node resource discharged with cluster is recovered in the resource pool in cloud computing platform.
4. the method for claim 1, it is characterised in that according to the network money being respectively configured for the node resource determined Source and the operating system of deployment, are called using installation script and Data Migration script respectively, and the application cluster of migration will be asked to move In moving on to the node resource determined, including:
According to the Internet resources and the operating system of deployment that are respectively configured for the node resource determined, the node money that will be determined Source node resource corresponding with the application cluster of request migration carries out matching setting;
Call and apply installation script, according to the regulation of application installation script, application is installed in the node resource after setting is matched Program;And
After application program is installed, Data Migration script is called, after being set according to the regulation and matching of Data Migration script Node resource, during the application cluster of migration will be asked to move to the node resource determined respectively.
5. method as claimed in claim 4, it is characterised in that the application cluster of the request migration is stored in data storage area In;
The application cluster of migration will be asked to move to the node resource determined respectively in, including:
The application cluster of the request migration of storage is obtained in data storage area;
The application cluster of the request migration that will be obtained is moved in the node resource determined respectively.
6. a kind of application cluster moving apparatus, it is characterised in that including:
Receiver module, migrates in cloud computing platform, receiving user according to the application cluster that the agreement of migration framework is sent Request;
Determining module, for being parsed to the application cluster migration request, it is determined that the application cluster that request is migrated Migration attribute information;
Configuration Manager, for according to the migration attribute information determined, application cluster being determined for compliance with idling-resource pond The node resource of migration demand, and the node resource composition new opplication cluster server that will be determined;
Scheduling of resource module, for according to the node resource and migration framework determined, the application cluster migration of migration will to be asked To in the node resource determined, wherein, the migration attribute information includes application installation script and Data Migration script, described It is the application information of the application cluster that request carries out application cluster migration using installation script, the Data Migration script is Request carries out the data message of the application cluster of application cluster migration;The scheduling of resource module, specifically for according to migration frame The agreement of frame, for the node resource determined is respectively configured Internet resources and deployment operation system;And according to being the section determined The Internet resources of point resource distribution and the operating system of deployment, call using installation script and Data Migration script, by Shen respectively The application cluster that please be migrated is moved in the node resource determined.
7. device as claimed in claim 6, it is characterised in that the determining module, is additionally operable to the migration attribute information Verified, determined whether the migration attribute information meets the migration attribute information arranged in migration framework.
8. device as claimed in claim 6, it is characterised in that the migration attribute information includes migration test script;
Whether the scheduling of resource module, is additionally operable to, by migrating test script, just to determine the migration results of application cluster migration Really, if it is, will apply for that the node resource that the application cluster of migration is discharged is recovered in the resource pool in cloud computing platform.
9. device as claimed in claim 6, it is characterised in that the scheduling of resource module, specifically for according to determine The Internet resources that are respectively configured of node resource and deployment operating system, the node resource that will be determined and request migration should Matching setting is carried out with the corresponding node resource of cluster;Call and apply installation script, according to the regulation of application installation script, Application program is installed in the node resource that arranging is postponed;And after application program is installed, Data Migration script is called, according to Node resource after the regulation of Data Migration script and matching setting, determines asking the application cluster of migration to move to respectively Node resource in.
10. device as claimed in claim 9, it is characterised in that described device also includes:
Data memory module, the application cluster for storing the request migration;
The scheduling of resource module, the application cluster of the request migration specifically for obtaining storage in data storage area;To obtain The application cluster of the request migration for obtaining is moved in the node resource determined respectively.
CN201210551631.3A 2012-12-18 2012-12-18 A kind of application cluster moving method and device Active CN103873534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210551631.3A CN103873534B (en) 2012-12-18 2012-12-18 A kind of application cluster moving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210551631.3A CN103873534B (en) 2012-12-18 2012-12-18 A kind of application cluster moving method and device

Publications (2)

Publication Number Publication Date
CN103873534A CN103873534A (en) 2014-06-18
CN103873534B true CN103873534B (en) 2017-06-06

Family

ID=50911655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210551631.3A Active CN103873534B (en) 2012-12-18 2012-12-18 A kind of application cluster moving method and device

Country Status (1)

Country Link
CN (1) CN103873534B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101216A (en) * 2016-06-08 2016-11-09 北京工业大学 Based on the safe migration of data method separating logic
CN105956191B (en) * 2016-06-13 2019-12-31 苏州浪潮智能科技有限公司 Data migration method and system
CN106209450B (en) * 2016-07-08 2019-07-02 深圳前海微众银行股份有限公司 Server fault switching method and application automation deployment system
US10114616B2 (en) 2016-08-04 2018-10-30 International Business Machines Corporation Discovery for pattern utilization for application transformation and migration into the cloud pattern
CN108241716A (en) * 2016-12-27 2018-07-03 北京金山云网络技术有限公司 A kind of resource introduction method and device
CN109286645A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of moving method and device of business
CN108345493A (en) * 2018-03-13 2018-07-31 国云科技股份有限公司 A method of based on cloudy across the cloud migration of system Windows virtual machines under the overall leadership
CN109376010B (en) * 2018-09-28 2020-11-27 上海思询信息科技有限公司 Method for realizing cross-cluster resource migration based on Openstack
CN111444008B (en) * 2018-12-29 2024-04-16 北京奇虎科技有限公司 Inter-cluster service migration method and device
CN109818794A (en) * 2019-01-31 2019-05-28 北京搜狐互联网信息服务有限公司 Cluster moving method and tool
CN111756562B (en) * 2019-03-29 2023-07-14 深信服科技股份有限公司 Cluster takeover method, system and related components
CN115480893B (en) * 2022-09-06 2023-07-21 江苏安超云软件有限公司 Application migration method, system and cluster among heterogeneous nodes

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169740A (en) * 2007-08-07 2008-04-30 北京大学 EJB component dynamic migration method
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
CN102662705A (en) * 2012-03-31 2012-09-12 中国工商银行股份有限公司 System and method for upgrading system environment of computer cluster
CN102739770A (en) * 2012-04-18 2012-10-17 上海和辰信息技术有限公司 Method and system for scheduling resource based on cloud computing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120303654A1 (en) * 2011-05-26 2012-11-29 James Michael Ferris Methods and systems to automatically extract and transport data associated with workload migrations to cloud networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169740A (en) * 2007-08-07 2008-04-30 北京大学 EJB component dynamic migration method
CN102369713A (en) * 2011-08-29 2012-03-07 华为技术有限公司 Automatic removing method and device of system configuration items
CN102662705A (en) * 2012-03-31 2012-09-12 中国工商银行股份有限公司 System and method for upgrading system environment of computer cluster
CN102739770A (en) * 2012-04-18 2012-10-17 上海和辰信息技术有限公司 Method and system for scheduling resource based on cloud computing

Also Published As

Publication number Publication date
CN103873534A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
CN103873534B (en) A kind of application cluster moving method and device
US11159392B2 (en) Managing service deployment
CN104410672B (en) Method, the method and device of forwarding service of network function virtualization applications upgrading
CN104461858B (en) software compatibility pre-testing method and system
CN103226493B (en) The dispositions method and system of multi-operation system service
CN111124850A (en) MQTT server performance testing method, system, computer equipment and storage medium
JP6788178B2 (en) Setting support program, setting support method and setting support device
CN107783816A (en) The method and device that creation method and device, the big data cluster of virtual machine create
KR101751515B1 (en) Apparatus, method, and computer program for testing
JP6668658B2 (en) Job management method, job management device, and program
CN112862098A (en) Method and system for processing cluster training task
CN112905297A (en) Container cluster resource scheduling method and device
CN103677845B (en) Website application deployment method
CN105975276B (en) Distribution building system and method
CN106230623A (en) A kind of VIM site selection method and device
CN103051668B (en) A kind of server resource management system and management method
CN115834600B (en) Multi-cloud nanotube data synchronization method and device, electronic equipment and storage medium
US20240028323A1 (en) Simulation of nodes of container orchestration platforms
US11120892B2 (en) Content testing during image production
WO2014071580A1 (en) Compute node migration method and device
CN114500268B (en) Method and device for deploying char resources, server and storage medium
CN105930260B (en) A kind of system availability test method and device
CN106325972A (en) Virtual machine management method and network equipment
JP6382705B2 (en) Virtual device test apparatus, virtual device test method, and virtual device test program
CN115061813A (en) Cluster resource management method, device, equipment and medium

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