CN104683363A - Migration of binary application in cloud computing environment - Google Patents

Migration of binary application in cloud computing environment Download PDF

Info

Publication number
CN104683363A
CN104683363A CN201310604788.2A CN201310604788A CN104683363A CN 104683363 A CN104683363 A CN 104683363A CN 201310604788 A CN201310604788 A CN 201310604788A CN 104683363 A CN104683363 A CN 104683363A
Authority
CN
China
Prior art keywords
server
servers
binary implementation
cloud computing
control unit
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
Application number
CN201310604788.2A
Other languages
Chinese (zh)
Other versions
CN104683363B (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 Unionpay Co Ltd
Original Assignee
China Unionpay 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 Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201310604788.2A priority Critical patent/CN104683363B/en
Publication of CN104683363A publication Critical patent/CN104683363A/en
Application granted granted Critical
Publication of CN104683363B publication Critical patent/CN104683363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a computer technology, and particularly relates to a method for realizing binary application migration in a cloud computing environment and a cloud computing platform for realizing the method. The cloud computing platform according to one embodiment of the invention comprises first and second servers based on different architectures, a network access server connected with the first and second servers and providing shared storage resources for the first and second servers, and a control unit connected with the first and second servers and the network access server, wherein the control unit is configured to perform the following operations when a binary application running on the first server is to be migrated to the second server: starting a same binary application on the second server and modifying the write-in path of a log file on the network access server, and forwarding access flow involving a new call request to the second server and forwarding access flow involving a call request under processing to the first server after the binary application is started on the second server.

Description

The migration of binary implementation under cloud computing environment
Technical field
the present invention relates to computer technology, under cloud computing environment, particularly realize the method for binary implementation migration and realize the cloud computing platform of said method.
Background technology
in recent years along with the rise of cloud computing technology and the significantly lifting of X86-based server performance, increasing new business starts the X86-based server migration to deploying cloud computing technology platform, and the ratio of X86-based server in newly-increased server is more and more higher.But even so, traditional Unix server is in the field of business still has very high recoverable amount.Therefore how these storage servers are added emerging cloud computing technology platform, make these resources can obtain better utilizing to constitute needing the technical barrier of solution at Unix server transition period badly to X86 server.
in all kinds of cloud computing platform, the dynamic migration of virtual machine is one of of paramount importance ability.By this ability; dynamic assignment can be carried out based on actual loading to resources of virtual machine, thus realize application stable operation, by closing physics host energy savings and carry out all multiple targets such as the daily maintenance shut-downs of physics host in the unbroken situation of business.But the dynamic migration scheme of existing virtual machine is suitable only for the environment of isomorphism server, dynamic migration cannot be realized under heterogeneous server environment.Visible in the urgent need to can in the scheme such as realizing dynamic migration of virtual machine between Power and the heterogeneous server of X86-based.
Summary of the invention
an object of the present invention is to provide a kind of cloud computing platform, and it can realize the migration of binary implementation between the server based on different framework.
comprise according to the cloud computing platform of one embodiment of the present of invention:
based on the first and second servers of different framework;
the network access server be connected with described first and second servers, it provides shared storage resources for described first and second servers;
the control unit be connected with described first and second servers, network access server,
wherein, when the binary implementation run in described first server is for migrating to described second server, described control unit is configured to perform following operation: on described second server, start identical binary implementation and revise the write paths of journal file on described network access server, after described binary implementation is activated on described second server, the flowing of access relating to new call request is forwarded to described second server, and the flowing of access of the call request related in processes is still forwarded to described first server.
preferably, in above-mentioned cloud computing platform, described different framework comprises Power server framework and X86 server architecture.
preferably, in above-mentioned cloud computing platform, described control unit is configured to store the log-on message be associated with the binary implementation operated on described first and second servers and the network connection information be associated with the binary implementation operated on described first and second servers.Better, described log-on message comprises ID and the IP address of the port numbers of the binary implementation be associated, working directory on described network access server, institute's runtime server, and described network connection information comprises the port numbers of the binary implementation be associated and the IP address of institute's runtime server.
preferably, in above-mentioned cloud computing platform, described control unit is also configured to, after the whole connection disconnection call request related in processes being detected or time-out, discharge the resource that described binary implementation takies in described first server.
another object of the present invention is to provide a kind of method realizing binary implementation migration under cloud computing environment, and it can realize the migration of binary implementation between the server based on different framework.
according to the method realizing binary implementation migration under cloud computing environment of one embodiment of the invention, described cloud computing environment comprises: based on the first and second servers of different framework; The network access server be connected with described first and second servers, it provides shared storage resources for described first and second servers; The control unit be connected with network access server with described first and second servers, described method comprises following steps:
startup optimization binary implementation in described first server;
control unit determines whether to need this binary implementation to migrate to described second server from described first server;
if needed, then described control unit starts identical binary implementation and revises the write paths of journal file on described network access server on described second server;
the flowing of access relating to new call request is forwarded to described second server by described control unit, and the flowing of access of the call request related in processes is still forwarded to described first server.
preferably, in the above-mentioned methods, also comprise the steps:
after the whole connection disconnection call request related in processes being detected when described control unit or time-out, discharge the resource that described binary implementation takies in described first server.
Accompanying drawing explanation
from following detailed description by reference to the accompanying drawings, above and other objects of the present invention and advantage will be made more completely clear.
fig. 1 is the configuration diagram of the cloud computing platform according to one embodiment of the invention.
fig. 2 is the exemplary architecture schematic diagram of the first and second servers.
fig. 3 is the flow chart realizing the method for binary implementation migration under cloud computing environment according to another embodiment of the present invention.
Embodiment
more all sidedly the present invention is described referring to the accompanying drawing which illustrates illustrative examples of the present invention.But the present invention can realize by multi-form, and should not be read as each embodiment being only limitted to provide herein.The various embodiments described above provided are intended to make disclosure herein comprehensively complete, thus make the understanding of scope more comprehensive and accurate.
such as " comprise " and the term of " comprising " and so on represents except having the unit and step that have in the specification and in the claims directly and clearly state, technical scheme of the present invention does not get rid of the situation had not by other unit of directly or clearly stating and step yet.
the such as term of " first " and " second " and so on does not represent the order of unit in time, space, size etc. and is only be used as to distinguish each unit, and for the quantity also indefinite effect of unit.
according to one embodiment of the present of invention, permeate the server based on different framework a unified server resource pond, enables to be deployed in the application in this server resource pond in the intercropping seamless migration of the server of two kinds of different frameworks and dynamic dispatching; In addition, by introducing load-balancing mechanism, the visit data in application transition process carried out controlling and managed, making can be continued to provide service by the application of moving, prevent service disconnection.
fig. 1 is the configuration diagram of the cloud computing platform according to one embodiment of the invention.As shown in Figure 1, first server 110, second server 120, network access server (NAS) 130 and control unit 140 is comprised according to the cloud computing platform 10 of the present embodiment.
it is worthy of note, the quantity of the first and second servers shown in the drawings is only schematic, and often kind of server can be one or more.
in the present embodiment, first server 110 and second server 120 have different frameworks, and they form a server resource pond (illustrating with dotted line frame in Fig. 1), and its network address is configured in same IP cluster wide.It is to be appreciated that the first and second servers can be virtual servers also can be physical server.
as an example, second server 120 is based on X86 server architecture based on Power server framework to suppose first server 110 here, and Fig. 2 is the exemplary architecture schematic diagram of the first and second servers.It is pointed out that the first and second servers can also adopt other type of architecture.
as shown in Figure 2, first and second servers 110,120 can configure according to following manner: the Power IA frame serverPC in first server 110(Fig. 2) above PowerLinux operating system and Lx86 software are installed, and the X86-based server in second server 120(Fig. 2) the upper X86 (SuSE) Linux OS installing corresponding version; Under subsequently the dynamic link library in the X86 (SuSE) Linux OS of second server being copied to the particular category of PowerLinux operating system of first server 110, and be the dynamic link library under sensing is copied into particular category by the configuration modification of the Lx86 software in first server 110, start these dynamic link libraries of Lx86 Bootload; In addition, be also Power IA frame serverPC and X86-based server configuration private network, the network of these servers be all configured within the scope of the cluster IP in residing server resource pond.
network access server 130 is connected with the first and second servers 110,120, and it provides shared storage resources for the first and second servers 110,120.Network access server 130 can be dedicated hardware NAS equipment, also can be the Linux server of having installed NAS software.File system on network access server can be mapped in each of the first and second servers by NFS agreement, and in the first and second servers, configure the carry of above-mentioned file system, make this file system can for each of the first and second servers.
control unit 140 and the first and second servers 110,120, network access server 130 is connected, for controlling the migration of binary implementation between first and second server.As shown in Figure 1, control unit 140 comprises explorer 141 and Load Balancing Manager 142.Explorer 141 communicates with the first and second servers 110,120, and it can be the application program run on network access server 130, also can be the special hardware independent of network access server 130; Load Balancing Manager 142 communicates with the first and second servers 110,120 and network access server 130, and it can be the proprietary hardware load balancing equipments such as F5, also can be the server having run the balanced software of HAProxy even load.
the binary implementation operated in the first and second servers 110,120 can carry out path separation according to certain rule, also namely binary file, configuration file, journal file are separated with the path of user data, to prevent the problem occurring the concurrent write of multiserver application example in transition process.Optional rule such as adopts following form: server host name+concrete path.
various event can be had to trigger the migration of binary implementation, such as, unbalanced distribution on the server of visit capacity in server resource pond.For the binary implementation that first server 110 is run for migrating to second server 120, now under the control of the explorer 141 of control unit 140, second server 120 will start identical binary implementation, and the write paths of the journal file of this binary implementation on network access server 130 also will be rewritten.After this binary implementation is activated on second server 120, the flowing of access relating to new call request is forwarded to second server 120, but the flowing of access relating to call request in processes is still forwarded to first server 110.In addition, after Load Balancing Manager 142 detects whole Joint failures (disconnecting or time-out) of the call request related in processes, the resource that release binary implementation takies by explorer 141 in first server.
in order to realize the migration of binary implementation, in explorer 141, store the log-on message be associated with the binary implementation operated on the first and second servers, and in Load Balancing Manager 142, store the network connection information be associated with the binary implementation operated on the first and second servers.Above-mentioned log-on message comprises ID and the IP address etc. of the port numbers of the binary implementation be associated, the working directory of this binary implementation on network access server 130, institute's runtime server, and above-mentioned network connection information comprises the port numbers of the binary implementation be associated and the IP address etc. of institute's runtime server.
fig. 3 is the flow chart realizing the method for binary implementation migration under cloud computing environment according to another embodiment of the present invention.Exemplarily, hypothesis adopts the structure of the cloud computing platform shown in Fig. 1 and 2 here, but will recognize that from the following description, and the method for the present embodiment does not also rely on specific structure.In addition, also supposing that the binary implementation occurred is moved here is from the first server based on Power framework to the second server based on X86-based.But it will be appreciated that from the following description, principle of the present invention is suitable for rightabout migration equally.
as shown in Figure 3, in step S301, starting a binary implementation based in the first server 110 of Power framework, and explorer 141 in the log-on message of ID, IP address and so on of the storage port of such as this binary implementation, working directory, process number, this binary implementation place server (being first server here).
enter step S302 subsequently, determine whether the binary implementation run relates to external network 20(for the private network belonging to the first and second servers) communication connection, if related to, then enter step S303, the network connection information of the port of such as this binary implementation and the IP address of place server (being first server) and so on is stored here, the flowing of access relating to this binary implementation from external network 20 to be turned to this binary implementation that first server is run in Load Balancing Manager 142; Otherwise enter step S304.In addition, also step S304 is entered after completing steps S303.
in step s 304, explorer 141 determines whether that this binary implementation run in first server 110 is migrated to other server by needs and this other server is second server 120.As mentioned above, basis for estimation can be such as the distribution unbalance degree on visit capacity each server in server resource pond.If determine needs, then enter step S305, otherwise repeat this step.
in step S305, same binary implementation is being started based on the second server 120 of X86-based, the log-on message of ID, IP address and so on of the port of such as this binary implementation, working directory, process number, this binary implementation place server (being second server) is stored here in explorer 141, and revise the write paths of journal file on network access server 130, be written to new position to make journal file.
enter step S306 subsequently, determine whether the binary implementation run on second server relates to the communication connection with external network 20, if, then enter step S307, Load Balancing Manager 142 stores the network connection information of the port of such as this binary implementation and the IP address of place server (being second server) and so on here, with by follow-up, flowing of access from external network is forwarded to the same binary implementation that second server runs, on the other hand, for the flowing of access of the call request related in processes, Load Balancing Manager 142 still forwards it to the binary implementation that first server is run, if determine that binary implementation does not relate to the communication connection with external network 20, then enter step S308, explorer 141 discharges the resource that binary implementation takies in first server.
step S309 is entered after completing steps S307, whether the external network that Load Balancing Manager 142 monitoring relates to call request in processes connects all lost efficacy (also namely disconnecting or time-out), if all lost efficacy, then enter step S308, explorer 141 discharges the resource that binary implementation takies in first server; Otherwise, then repeated execution of steps S309.
according to embodiments of the invention, there is following advantages.
first, due to the dynamic migration of binary implementation can be carried out between the server based on different framework, the realization of the load balance in mixed deployment server environment, the function such as fault-tolerant therefore can be supported.
secondly, binary implementation can be kept in transition process to provide service constantly, operational interruption can not be caused.
finally, by by the existing computational resource hybrid virtualization based on different framework, improve the utilance of resource.
owing to when not deviating from essence spirit of the present invention, can implement the present invention in a variety of manners, therefore above-described embodiment is only illustrative and not restrictive.Scope of the present invention is defined by claims, and the various change do describing mode above or variation all belong to the protection range of claims.

Claims (10)

1. a cloud computing platform, is characterized in that, comprising:
Based on the first and second servers of different framework;
The network access server be connected with described first and second servers, it provides shared storage resources for described first and second servers;
The control unit be connected with described first and second servers, network access server,
Wherein, when the binary implementation run in described first server is for migrating to described second server, described control unit is configured to perform following operation: on described second server, start identical binary implementation and revise the write paths of journal file on described network access server, after described binary implementation is activated on described second server, the flowing of access relating to new call request is forwarded to described second server, and the flowing of access of the call request related in processes is still forwarded to described first server.
2. cloud computing platform as claimed in claim 1, wherein, described different framework comprises Power server framework and X86 server architecture.
3. cloud computing platform as claimed in claim 1, wherein, described control unit is configured to store the log-on message be associated with the binary implementation operated on described first and second servers and the network connection information be associated with the binary implementation operated on described first and second servers.
4. cloud computing platform as claimed in claim 3, wherein, described log-on message comprises ID and the IP address of the port numbers of the binary implementation be associated, working directory on described network access server, institute's runtime server, and described network connection information comprises the port numbers of the binary implementation be associated and the IP address of institute's runtime server.
5. cloud computing platform as claimed in claim 1, wherein, described control unit is also configured to, after the whole connection disconnection call request related in processes being detected or time-out, discharge the resource that described binary implementation takies in described first server.
6. under cloud computing environment, realize a method for binary implementation migration, described cloud computing environment comprises: based on the first and second servers of different framework; The network access server be connected with described first and second servers, it provides shared storage resources for described first and second servers; The control unit be connected with network access server with described first and second servers, is characterized in that, comprise following steps:
Startup optimization binary implementation in described first server;
Control unit determines whether to need this binary implementation to migrate to described second server from described first server;
If needed, then described control unit starts identical binary implementation and revises the write paths of journal file on described network access server on described second server;
The flowing of access relating to new call request is forwarded to described second server by described control unit, and the flowing of access of the call request related in processes is still forwarded to described first server.
7. method as claimed in claim 6, wherein, also comprises the steps:
After the whole connection disconnection call request related in processes being detected when described control unit or time-out, discharge the resource that described binary implementation takies in described first server.
8. method as claimed in claim 6, wherein, described different framework comprises Power server framework and X86 server architecture.
9. method as claimed in claim 6, wherein, in described first server described in startup optimization during binary implementation, in described control unit, store the log-on message be associated with the binary implementation operated in described first server and the network connection information be associated with the binary implementation operated in described first server.
10. method as claimed in claim 9, wherein, described log-on message comprises ID and the IP address of the port numbers of the binary implementation be associated, working directory on described network access server, institute's runtime server, and described network connection information comprises the port numbers of the binary implementation be associated and the IP address of institute's runtime server.
CN201310604788.2A 2013-11-26 2013-11-26 The migration of binary implementation under cloud computing environment Active CN104683363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310604788.2A CN104683363B (en) 2013-11-26 2013-11-26 The migration of binary implementation under cloud computing environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310604788.2A CN104683363B (en) 2013-11-26 2013-11-26 The migration of binary implementation under cloud computing environment

Publications (2)

Publication Number Publication Date
CN104683363A true CN104683363A (en) 2015-06-03
CN104683363B CN104683363B (en) 2019-01-18

Family

ID=53317957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310604788.2A Active CN104683363B (en) 2013-11-26 2013-11-26 The migration of binary implementation under cloud computing environment

Country Status (1)

Country Link
CN (1) CN104683363B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766154A (en) * 2017-10-19 2018-03-06 北京百悟科技有限公司 The conversion method and device of server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231839A1 (en) * 2010-03-18 2011-09-22 Microsoft Corporation Virtual machine homogenization to enable migration across heterogeneous computers
CN102932409A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Online migrating method and system of virtual machine
CN103034527A (en) * 2013-01-09 2013-04-10 上海交通大学 Hybrid virtualization cloud computing resource optimal control method and system
CN103077034A (en) * 2013-01-09 2013-05-01 上海交通大学 JAVA application migration method and system for hybrid virtualization platform
CN103257878A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Cross-platform smooth transfer method of application program based on Cloud calculation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231839A1 (en) * 2010-03-18 2011-09-22 Microsoft Corporation Virtual machine homogenization to enable migration across heterogeneous computers
CN102932409A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Online migrating method and system of virtual machine
CN103034527A (en) * 2013-01-09 2013-04-10 上海交通大学 Hybrid virtualization cloud computing resource optimal control method and system
CN103077034A (en) * 2013-01-09 2013-05-01 上海交通大学 JAVA application migration method and system for hybrid virtualization platform
CN103257878A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Cross-platform smooth transfer method of application program based on Cloud calculation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766154A (en) * 2017-10-19 2018-03-06 北京百悟科技有限公司 The conversion method and device of server
CN107766154B (en) * 2017-10-19 2020-11-10 北京百悟科技有限公司 Server conversion method and device

Also Published As

Publication number Publication date
CN104683363B (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN102355369B (en) Virtual clustered system as well as processing method and processing device thereof
US10275322B2 (en) Systems and methods for maintaining virtual component checkpoints on an offload device
CN106528327B (en) A kind of data processing method and backup server
US20200019429A1 (en) Hot-plugging of virtual functions in a virtualized environment
US10394467B2 (en) Flexible deployment and migration of virtual machines
CN112099918A (en) Live migration of clusters in containerized environments
CN105429776B (en) Method and system for managing functions of virtual network
JP6739938B2 (en) Service migration across cluster boundaries
CN113504954B (en) Method, system and medium for calling CSI LVM plug in and dynamic persistent volume supply
CN106201702A (en) The method of virtual machine (vm) migration, system and cloud computing management platform
US9792150B1 (en) Detecting site change for migrated virtual machines
CN113196237A (en) Container migration in a computing system
CN102594861A (en) Cloud storage system with balanced multi-server load
US10860375B1 (en) Singleton coordination in an actor-based system
CN109168328B (en) Virtual machine migration method and device and virtualization system
US8495178B1 (en) Dynamic bandwidth discovery and allocation to improve performance for backing up data
US20130254762A1 (en) Providing redundant virtual machines in a cloud computing environment
EP3021223B1 (en) Method for enhancing memory fault tolerance
US11588698B2 (en) Pod migration across nodes of a cluster
CN103634128A (en) A configuration method of a virtual machine placing strategy and an apparatus
CN103729237A (en) Method for transferring virtual machine across storage pools
CN112463168B (en) vPP service containerization deployment method, device, terminal and storage medium
CN110795209B (en) Control method and device
CN103856502A (en) Method and NAS cluster system for realizing mirror image document thermal migration of virtual machine
US8898314B2 (en) Direct communication between applications in a cloud computing 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