Nothing Special   »   [go: up one dir, main page]

CN107015972B - Method, device and system for migrating machine room services - Google Patents

Method, device and system for migrating machine room services Download PDF

Info

Publication number
CN107015972B
CN107015972B CN201610053461.4A CN201610053461A CN107015972B CN 107015972 B CN107015972 B CN 107015972B CN 201610053461 A CN201610053461 A CN 201610053461A CN 107015972 B CN107015972 B CN 107015972B
Authority
CN
China
Prior art keywords
machine room
original
new
service flow
new machine
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
CN201610053461.4A
Other languages
Chinese (zh)
Other versions
CN107015972A (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.)
May 8 Tongcheng Information Technology Co Ltd
Original Assignee
May 8 Tongcheng Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by May 8 Tongcheng Information Technology Co Ltd filed Critical May 8 Tongcheng Information Technology Co Ltd
Priority to CN201610053461.4A priority Critical patent/CN107015972B/en
Publication of CN107015972A publication Critical patent/CN107015972A/en
Application granted granted Critical
Publication of CN107015972B publication Critical patent/CN107015972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device and a system for migrating machine room services. The method comprises the following steps: respectively distributing service flow with initial proportion to the new machine room and the original machine room; when the operation condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room, and reducing the service flow of the preset proportion for the original machine room until all the service flows are switched to the new machine room; and in the process of processing the service flow by the new machine room and the original machine room, the data of the new machine room and the data of the original machine room are synchronized in a two-way mode. The invention ensures the consistency of data, and the machine room service does not need to be suspended in the machine room service migration process, thereby improving the service reliability.

Description

Method, device and system for migrating machine room services
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a system for migrating a machine room service.
Background
With the development of company services, resources required by a system will gradually rise, and when one machine room cannot bear all services, a machine room is newly built and the services are migrated.
In order to ensure high availability and data consistency of services in the migration process, part or all of services are suspended before migration, and then the suspended services are migrated, however, under the condition that more and more services are provided, coupling between the services is complicated, the suspended services can cause a website to be inaccessible, and the website is not accessible in the internet era, so that inconvenience or loss is brought to users, and the risk is high.
Disclosure of Invention
The invention provides a method, a device and a system for migrating machine room services, which are used for solving the problem that the service needs to be suspended during the migration of the machine room services in the prior art.
In view of the above technical problems, the present invention is achieved by the following technical solutions.
The invention provides a method for migrating machine room services, which comprises the following steps: respectively distributing service flow with initial proportion to the new machine room and the original machine room; when the operation condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room, and reducing the service flow of the preset proportion for the original machine room; and in the process of processing the service flow by the new machine room and the original machine room, the data of the new machine room and the data of the original machine room are synchronized in a two-way mode.
Wherein, still include: setting a front-end proxy server; respectively distributing service flow with initial proportion to the new machine room and the original machine room through the front-end proxy server; and when the running condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room through the front-end proxy server, and reducing the service flow of the preset proportion for the original machine room.
Wherein, in the process of increasing the service traffic of the predetermined proportion for the new machine room and decreasing the service traffic of the predetermined proportion for the original machine room, the method further comprises: if the service flow of the original machine room is larger than or equal to the service flow of the new machine room, controlling the communication equipment of the new machine room to access the database of the original machine room for service flow processing; and if the service flow of the original machine room is smaller than that of the new machine room, controlling the communication equipment of the original machine room to access the database of the new machine room for service flow processing.
Wherein, make the new computer lab with former computer lab data bidirectional synchronization includes: and the database in the new machine room and the database data in the original machine room are synchronized in a bidirectional mode.
Wherein, if the new machine room and the original machine room are respectively deployed with a distributed cache system, bi-directionally synchronizing data of the new machine room and the original machine room comprises: and data of the cache cluster in the new machine room and the cache cluster in the original machine room are synchronized in a bidirectional mode through a message bus.
The invention provides a machine room service migration device, which comprises: the distribution module is used for respectively distributing service flow with an initial proportion to the new machine room and the original machine room; the adjusting module is used for increasing the service flow of a preset proportion for the new machine room and reducing the service flow of the preset proportion for the original machine room when the running condition of the new machine room meets a preset condition; and the synchronization module is used for performing data bidirectional synchronization between the new machine room and the original machine room in the process of processing the service flow by the new machine room and the original machine room.
The distribution module is used for respectively distributing service flow with an initial proportion to the new machine room and the original machine room through the front-end proxy server; and the adjusting module is used for increasing the service flow of a preset proportion for the new machine room through the front-end proxy server and reducing the service flow of the preset proportion for the original machine room when the running condition of the new machine room meets a preset condition.
The invention also provides a computer room service migration system, which comprises: the proxy server and the database are arranged in a new machine room, the proxy server and the database are arranged in an original machine room, and the proxy server and the database are respectively connected with the proxy server of the new machine room and the front-end proxy server of the original machine room; the front-end proxy server respectively allocates service flow with an initial proportion to the proxy server of the new machine room and the proxy server of the original machine room; when the operation condition of the new machine room meets a preset condition, the front-end proxy server increases the service flow of a preset proportion for the proxy server of the new machine room and decreases the service flow of the preset proportion for the proxy server of the original machine room; and in the process of processing service flow by the proxy server of the new machine room and the proxy server of the original machine room, the database of the new machine room and the database data of the original machine room are synchronized in a bidirectional mode.
Wherein the system further comprises: the communication equipment is arranged in the new machine room and the communication equipment is arranged in the original machine room; under the condition that the service flow of the proxy server of the original machine room is greater than or equal to the service flow of the proxy server of the new machine room, the communication equipment of the new machine room accesses the database of the original machine room to perform service flow processing; and under the condition that the service flow of the proxy server of the original machine room is smaller than that of the proxy server of the new machine room, the communication equipment of the original machine room accesses the database of the new machine room to process the service flow.
Wherein the system further comprises: the distributed cache systems are respectively deployed in a new machine room and an original machine room; and data of the cache clusters of the distributed cache system of the new machine room and the cache clusters of the distributed cache system of the original machine room are synchronized in a bidirectional mode through a message bus.
The invention has the following beneficial effects:
after the new machine room is deployed, gradually switching the service flow of the original machine room to the new machine room in a data synchronization mode; after all the service flows are switched to the new machine room, the original machine room is off-line, in the process, the consistency of data is guaranteed, in addition, in the machine room service migration process, the machine room service does not need to be suspended, and the service reliability is improved.
Drawings
Fig. 1 is a flowchart of a method for migrating a service in a computer room according to an embodiment of the present invention;
fig. 2 is a structural diagram of a machine room service migration apparatus according to an embodiment of the present invention;
fig. 3 is a structural diagram of a computer room service migration system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of service traffic processing of a room a before room service migration according to an embodiment of the present invention;
fig. 5 is an interaction diagram of a machine room a and a machine room B in a first phase of machine room service migration according to an embodiment of the present invention;
fig. 6 is an interaction diagram of a second phase machine room a and a second phase machine room B in the machine room service migration according to an embodiment of the present invention;
fig. 7 is a schematic diagram of service traffic processing of a room B after completion of service migration of the room according to an embodiment of the present invention;
fig. 8 is a schematic diagram of data synchronization of a cache cluster in a computer room service migration process according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The invention provides a method for migrating machine room services. Fig. 1 is a flowchart of a method for migrating a service in a computer room according to an embodiment of the present invention.
And step S110, distributing service flow with initial proportion to the new machine room and the original machine room respectively.
And after the new machine room is deployed, respectively allocating service flow with an initial proportion to the new machine room and the original machine room.
And deploying the network architecture of the new machine room according to the network architecture of the original machine room, and enabling the network environments of the original machine room and the new machine room to be the same. For example: the communication device in the original machine room network architecture includes: a Nginx server, a web server, a Service-Oriented Architecture (soa) server, a database (Data Base, DB for short), and the like. Then when a new room is deployed, the Nginx server, web server, soa server, database cluster may be deployed in the new room as well.
The sum of the initial proportion of the new machine room and the initial proportion of the original machine room is 1, that is, all service flow is distributed between the new machine room and the original machine room. Because the system of the new machine room may have instability, the initial proportion of the new machine room is smaller than that of the original machine room. For example: in all the service flows, 10% of the service flow is distributed to the new machine room, and 90% of the service flow is distributed to the original machine room.
And step S120, when the running condition of the new machine room meets the preset condition, increasing the service flow of the preset proportion for the new machine room, and reducing the service flow of the preset proportion for the original machine room.
The predetermined condition may be an index indicating that the new machine room system is operating stably. For example: the new machine room service operates normally, and the operation result is the same as the service operation result of the original machine room.
When the operation condition of the new machine room meets the preset condition, increasing the preset proportion on the basis of the initial proportion of the new machine room, reducing the preset proportion on the basis of the initial proportion of the original machine room, continuously operating the new machine room and the original machine room, when the operation condition of the new machine room meets the preset condition again, increasing the preset proportion on the basis of the initial proportion of the new machine room, reducing the preset proportion on the basis of the initial proportion of the original machine room, and so on until all data flow is processed by the new machine room. If the operation condition of the new machine room does not accord with the preset condition, the equipment in the new machine room can be debugged, so that the operation condition of the new machine room accords with the preset condition.
And in the process of processing the service flow by the new machine room and the original machine room, the data of the new machine room and the original machine room are synchronized in a two-way mode. Further, the database in the new machine room and the database data in the original machine room are synchronized in a bidirectional mode. And if the new machine room and the original machine room are respectively provided with the distributed cache systems, the data of the cache cluster of the new machine room and the data of the cache cluster in the original machine room are synchronized in a bidirectional mode through the message bus.
In the process of processing service flow of the new machine room and the original machine room, if the service flow of the original machine room is more than or equal to the service flow of the new machine room, controlling the communication equipment of the new machine room to access the database of the original machine room for processing the service flow; and if the service flow of the original machine room is smaller than that of the new machine room, controlling the communication equipment of the original machine room to access the database of the new machine room for service flow processing.
And after the service flow is completely switched to the new machine room, the migration of the machine room service is completed, at the moment, the new machine room has the capability of processing all the service flow, the original machine room is in an idle state, and the original machine room can be taken off line. After the machine room service migration is completed, operations such as capacity expansion and the like can be performed on the new machine room.
In one embodiment, a front-end proxy server may be provided; respectively distributing service flow with initial proportion to the new machine room and the original machine room through the front-end proxy server; and when the running condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room through the front-end proxy server, and reducing the service flow of the preset proportion for the original machine room. The front-end proxy server may be a Nginx server.
The present invention further provides a machine room service migration apparatus, and fig. 2 is a structural diagram of the machine room service migration apparatus according to an embodiment of the present invention.
The machine room service migration device comprises:
and the allocating module 210 is configured to allocate service flows of the initial proportion to the new machine room and the original machine room, respectively.
And an adjusting module 220, configured to increase the service traffic of the predetermined proportion for the new machine room and decrease the service traffic of the predetermined proportion for the original machine room when the operation condition of the new machine room meets a predetermined condition.
A synchronization module 230, configured to perform data bidirectional synchronization between the new machine room and the original machine room in a process that the new machine room and the original machine room process service traffic.
In one embodiment, a front-end proxy server may be provided, and the machine room service migration apparatus is provided on the side of the front-end proxy server.
Specifically, the allocating module 210 is configured to allocate service flows of initial proportions to the new machine room and the original machine room respectively through the front-end proxy server. And an adjusting module 220, configured to increase, by the front-end proxy server, a service traffic of a predetermined proportion for the new machine room and decrease, by the original machine room, the service traffic of the predetermined proportion when the operating condition of the new machine room meets a predetermined condition.
The functions of the apparatus of the present invention have been described in the method embodiment shown in fig. 1, so that reference may be made to the related descriptions in the foregoing embodiments for details which are not described in the present embodiment.
The invention also provides a computer room service migration system. Fig. 3 is a structural diagram of a computer room service migration system according to an embodiment of the present invention.
The system comprises: the proxy server 310 and the database 320 arranged in the new machine room, the proxy server 330 and the database 340 arranged in the original machine room are respectively connected with the proxy server of the new machine room and the front-end proxy server 350 of the proxy server of the original machine room. The database 320 of the new machine room is connected with the database 340 of the original machine room.
The front-end proxy server 350 allocates an initial proportion of traffic to the proxy server 310 of the new machine room and the proxy server 330 of the original machine room, respectively. Whenever the operation condition of the new machine room meets the predetermined condition, the front-end proxy server 350 increases the service traffic of the predetermined proportion for the proxy server 310 of the new machine room, and decreases the service traffic of the predetermined proportion for the proxy server 330 of the original machine room.
In the process that the proxy server 310 of the new machine room and the proxy server 330 of the original machine room process the service traffic, the database of the new machine room and the database data of the original machine room are synchronized in a bidirectional mode.
The system further comprises: a communication device 360 provided in the new room and a communication device 370 provided in the original room. Such as: a web server and a soa server. The communication equipment 360 of the new machine room is respectively connected with the proxy server 310 of the new machine room, the database 320 and the database 340 of the original machine room; the communication device 370 of the original room is connected to the proxy server 330 of the original room, the database 340 and the database 320 of the new room, respectively. When the service flow of the proxy server 330 of the original machine room is greater than or equal to the service flow of the proxy server 310 of the new machine room, the communication device 360 of the new machine room accesses the database 340 of the original machine room to perform service flow processing; in the case that the traffic flow of the proxy server 330 of the original room is smaller than the traffic flow of the proxy server 310 of the new room, the communication device 370 of the original room accesses the database 320 of the new room to perform traffic flow processing.
Especially, the soa server, in the case that the service flow of the proxy server 330 of the original machine room is greater than or equal to the service flow of the proxy server 310 of the new machine room, the soa server of the new machine room accesses the database 340 of the original machine room to perform service flow processing; in the case where the service traffic of the proxy server 330 of the original machine room is smaller than the service traffic of the proxy server 310 of the new machine room, the soa server of the original machine room accesses the database 320 of the new machine room to perform service traffic processing.
Specific examples are given below to illustrate the present invention with reference to fig. 4 to 7. In the following example, machine room a represents the original machine room, and machine room B represents the new machine room.
Fig. 4 is a schematic diagram of service traffic processing of the room a before service migration of the room.
Fig. 5 is an interaction diagram of a room a and a room B in the first phase of room service migration.
Fig. 6 is an interaction diagram of the second stage of the room service migration, room a and room B.
Fig. 7 is a schematic diagram of service traffic processing of the room B after completion of the room service migration.
In the computer room a, a Nginx server A, web server A, soa server a and a database cluster a are deployed. And when the machine room service is required to be migrated, a machine room B is newly built according to the network architecture of the machine room A. A Nginx server B, web server B, soa server B and a database cluster B are deployed in a machine room B. The connection relationship of the respective communication devices is as shown in fig. 4 to 7.
The machine room service migration process is divided into a first stage and a second stage. In the first stage, the service flow of the machine room A is more than or equal to the service flow of the machine room B; and in the second stage, the service flow of the machine room A is smaller than that of the machine room B. In particular, the method comprises the following steps of,
in the first stage, a soa server A in a machine room A and a soa server B in a machine room B call a database cluster A in the machine room A to perform data processing; the data of the database cluster A of the machine room A and the data of the database cluster B of the machine room B are synchronized in a bidirectional mode;
and in the second stage, the soa server A in the machine room A and the soa server B in the machine room B call the database cluster B in the machine room B to perform data processing, and the services responsible in the machine room A are gradually migrated to the machine room B, so that the network is migrated from the machine room A to the machine room B.
And setting a Nginx server C (front-end proxy server), wherein the Nginx server C gradually switches the service flow of the computer room A to the computer room B according to the flow switching rule. The flow switching rule is as follows: the initial service flow of the machine room B is 10%, when the operation of the machine room B meets the preset conditions, the machine room A reduces the service flow by 10%, and the machine room B increases the service flow by 10% until the service flow of the machine room A accounts for 0% and the service flow of the machine room B accounts for 100%.
The Nginx server C receives the access request, and the Nginx server C determines the service flow flowing to the computer room A and the service flow flowing to the computer room B according to the cookie of the access request.
For example: after each user visits the site, a string of characters is put into the cookie, such as: abafhaofhah 123; determining the service flow flowing to the machine room A and the service flow flowing to the machine room B according to the proportion of the access requests with the same character string initial letter in all the access requests, such as: if the access request with the first letter of the character string as a accounts for 5%, and the access request with the first letter of the character string as d accounts for 5%, then the access requests with the first letters of the character string as a and d can be assigned to the machine room B, and other access requests are assigned to the machine room A, so that the machine room B has 10% of initial service flow, and under the condition that the machine room B operates stably, the service flow proportion of the machine room B is gradually increased by referring to the mode until the machine room B processes all service flows.
When the machine room A processes the service flow, the Nginx server A receives the access request and distributes the access request to the corresponding web server A; the web server A calls a corresponding soa server A to process the service flow; and the soa server A calls the database cluster A or the database cluster B to perform database operation in the process of processing the service flow. When the machine room B processes the service flow, the Nginx server B receives the access request and distributes the access request to the web server B in the machine room B, and the web server B calls the soa server B in the machine room B; and the soa server A calls the database cluster A or the database cluster B to perform database operation in the process of processing the service flow.
In many service scenarios, a machine room uses a distributed cache system memcache, and the same machine room only accesses a cache cluster of the same machine room, and since cache clusters of different machine rooms are not synchronized, a problem of data inconsistency occurs, in this embodiment, in a service traffic switching process, bidirectional data of the cache cluster in the machine room a and the cache cluster in the machine room B are synchronized through a message bus, as shown in a data synchronization diagram of the cache cluster in a machine room service migration process in fig. 8.
After the new machine room is deployed, the service flow of the original machine room is gradually switched to the new machine room in a data synchronization mode; after all the service flows are switched to the new machine room, the original machine room is controlled to be offline, in the process, the consistency of data is guaranteed, in the process of machine room service migration, machine room services do not need to be suspended, and service reliability is improved.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (10)

1. A method for migrating machine room services, comprising:
respectively distributing service flow with initial proportion to the new machine room and the original machine room;
when the operation condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room, and reducing the service flow of the preset proportion for the original machine room; wherein,
in the process of processing service flow by the new machine room and the original machine room, the data of the new machine room and the data of the original machine room are synchronized in a bidirectional way;
the step of respectively allocating service flows with initial proportions to the new machine room and the original machine room comprises deploying a network architecture of the new machine room according to the network architecture of the original machine room, so that the network environments of the original machine room and the new machine room are the same;
the distribution result of the service flow which is respectively distributed to the new machine room and the original machine room in the initial proportion is as follows:
the sum of the initial proportion of the new machine room and the initial proportion of the original machine room is 1, and the initial proportion of the new machine room is smaller than the initial proportion of the original machine room.
2. The method of claim 1, further comprising:
setting a front-end proxy server;
respectively distributing service flow with initial proportion to the new machine room and the original machine room through the front-end proxy server;
and when the running condition of the new machine room meets a preset condition, increasing the service flow of a preset proportion for the new machine room through the front-end proxy server, and reducing the service flow of the preset proportion for the original machine room.
3. The method according to claim 2, wherein in the process of increasing the service traffic of the new equipment room by a predetermined proportion and decreasing the service traffic of the original equipment room by the predetermined proportion, the method further comprises:
if the service flow of the original machine room is larger than or equal to the service flow of the new machine room, controlling the communication equipment of the new machine room to access the database of the original machine room for service flow processing;
and if the service flow of the original machine room is smaller than that of the new machine room, controlling the communication equipment of the original machine room to access the database of the new machine room for service flow processing.
4. The method of claim 1, wherein bi-directionally synchronizing the new room with the original room data comprises:
and the database in the new machine room and the database data in the original machine room are synchronized in a bidirectional mode.
5. The method of claim 4, wherein bi-directionally synchronizing the new room with the original room data if the new room and the original room have distributed cache systems deployed, respectively, comprises:
and data of the cache cluster of the new computer room and the cache cluster of the original computer room are synchronized in a bidirectional mode through a message bus.
6. A machine room service migration apparatus, comprising:
the distribution module is used for respectively distributing service flow with an initial proportion to the new machine room and the original machine room;
the adjusting module is used for increasing the service flow of a preset proportion for the new machine room and reducing the service flow of the preset proportion for the original machine room when the running condition of the new machine room meets a preset condition;
the synchronization module is used for performing data bidirectional synchronization between the new machine room and the original machine room in the process of processing service flow by the new machine room and the original machine room;
the distribution module is specifically used for deploying the network architecture of the new machine room according to the network architecture of the original machine room, so that the network environments of the original machine room and the new machine room are the same;
the result of allocating the initial proportion of the traffic flow through the allocation module is as follows:
the sum of the initial proportion of the new machine room and the initial proportion of the original machine room is 1, and the initial proportion of the new machine room is smaller than the initial proportion of the original machine room.
7. The apparatus of claim 6,
the distribution module is used for respectively distributing service flow of an initial proportion to the new machine room and the original machine room through the front-end proxy server;
and the adjusting module is used for increasing the service flow of a preset proportion for the new machine room through the front-end proxy server and reducing the service flow of the preset proportion for the original machine room when the running condition of the new machine room meets a preset condition.
8. A computer room service migration system, comprising:
the proxy server and the database are arranged in a new machine room, the proxy server and the database are arranged in an original machine room, and the proxy server and the database are respectively connected with the proxy server of the new machine room and the front-end proxy server of the original machine room;
the front-end proxy server respectively allocates service flow with an initial proportion to the proxy server of the new machine room and the proxy server of the original machine room;
when the operation condition of the new machine room meets a preset condition, the front-end proxy server increases the service flow of a preset proportion for the proxy server of the new machine room and decreases the service flow of the preset proportion for the proxy server of the original machine room;
in the process that the proxy server of the new machine room and the proxy server of the original machine room process service flow, the database of the new machine room and the database data of the original machine room are synchronized in a bidirectional mode;
the front-end proxy server is specifically used for deploying a network architecture of a new machine room according to the network architecture of an original machine room, so that the network environments of the original machine room and the new machine room are the same;
the result of allocating the initial proportion service flow through the front-end proxy server is as follows:
the sum of the initial proportion of the new machine room and the initial proportion of the original machine room is 1, and the initial proportion of the new machine room is smaller than the initial proportion of the original machine room.
9. The system of claim 8, wherein the system further comprises:
the communication equipment is arranged in the new machine room and the communication equipment is arranged in the original machine room;
under the condition that the service flow of the proxy server of the original machine room is greater than or equal to the service flow of the proxy server of the new machine room, the communication equipment of the new machine room accesses the database of the original machine room to perform service flow processing;
and under the condition that the service flow of the proxy server of the original machine room is smaller than that of the proxy server of the new machine room, the communication equipment of the original machine room accesses the database of the new machine room to process the service flow.
10. The system of claim 8, wherein the system further comprises:
the distributed cache systems are respectively deployed in a new machine room and an original machine room;
and data of the cache clusters of the distributed cache system of the new machine room and the cache clusters of the distributed cache system of the original machine room are synchronized in a bidirectional mode through a message bus.
CN201610053461.4A 2016-01-27 2016-01-27 Method, device and system for migrating machine room services Active CN107015972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610053461.4A CN107015972B (en) 2016-01-27 2016-01-27 Method, device and system for migrating machine room services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610053461.4A CN107015972B (en) 2016-01-27 2016-01-27 Method, device and system for migrating machine room services

Publications (2)

Publication Number Publication Date
CN107015972A CN107015972A (en) 2017-08-04
CN107015972B true CN107015972B (en) 2020-02-18

Family

ID=59438917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610053461.4A Active CN107015972B (en) 2016-01-27 2016-01-27 Method, device and system for migrating machine room services

Country Status (1)

Country Link
CN (1) CN107015972B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874413A (en) * 2017-10-30 2018-11-23 北京旷视科技有限公司 Service upgrade method, apparatus, system and storage medium
CN108038153A (en) * 2017-12-04 2018-05-15 北京小度信息科技有限公司 The online data moving method and device of Hbase
CN109391512B (en) * 2018-09-28 2021-08-27 创新先进技术有限公司 Service publishing method and device and electronic equipment
CN109587068B (en) * 2018-12-03 2022-08-12 深圳前海微众银行股份有限公司 Flow switching method, device, equipment and computer readable storage medium
CN110022351B (en) * 2019-02-20 2021-07-06 创新先进技术有限公司 Service request processing method and device
CN110263099B (en) * 2019-06-21 2021-07-13 北京小米移动软件有限公司 Data synchronization flow adjustment method, device, equipment and storage medium
CN112929429B (en) * 2021-01-27 2023-03-24 长沙市到家悠享网络科技有限公司 Request processing method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855299A (en) * 2012-08-16 2013-01-02 上海引跑信息科技有限公司 Method for realizing iterative migration of distributed database without interrupting service
CN104780068A (en) * 2015-04-15 2015-07-15 中国工商银行股份有限公司 Network switching method, device and system for machine room migration
CN104881443A (en) * 2015-05-14 2015-09-02 新浪网技术(中国)有限公司 Inter-database data migration method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855299A (en) * 2012-08-16 2013-01-02 上海引跑信息科技有限公司 Method for realizing iterative migration of distributed database without interrupting service
CN104780068A (en) * 2015-04-15 2015-07-15 中国工商银行股份有限公司 Network switching method, device and system for machine room migration
CN104881443A (en) * 2015-05-14 2015-09-02 新浪网技术(中国)有限公司 Inter-database data migration method and system

Also Published As

Publication number Publication date
CN107015972A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN107015972B (en) Method, device and system for migrating machine room services
CN109451051B (en) Service request processing method and device, electronic equipment and storage medium
CN103533063A (en) Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource
CN106657314B (en) Cross-data center data synchronization system and method
CN108600005A (en) A method of defence micro services avalanche effect
US10541901B2 (en) Methods, systems and computer readable media for optimizing placement of virtual network visibility components
CN110166280B (en) Network capacity expansion method and device
CN108900651B (en) Kubernetes and Neutron docking method based on multi-tenant environment, storage medium and equipment
WO2016173450A1 (en) Graphic processing device, resource service device, resource scheduling method and device thereof
CN109960575B (en) Computing capacity sharing method, system and related equipment
CN107920117B (en) Resource management method, control equipment and resource management system
CN107800574B (en) Storage QOS adjusting method, system, equipment and computer readable memory
CN109800261B (en) Dynamic control method and device for double-database connection pool and related equipment
CN109766172B (en) Asynchronous task scheduling method and device
KR20210023194A (en) Mec(mobile edge computing) system and control method thereof
CN111190719B (en) Method, device, medium and electronic equipment for optimizing cluster resource allocation
CN114650223B (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN112148430A (en) Method for online safe migration of virtual machine with virtual network function
CN110609656B (en) Storage management method, electronic device, and computer program product
CN105187256A (en) Disaster recovery method, device and system
CN112905338A (en) Automatic allocation method and device for computing resources
CN109587068B (en) Flow switching method, device, equipment and computer readable storage medium
CN109193653B (en) Power distribution method and device
CN104869166A (en) Desktop cloud cluster system and desktop cloud cluster system information interaction method
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant