CN107306277B - Method and device for synchronous capacity expansion of server - Google Patents

Method and device for synchronous capacity expansion of server Download PDF

Info

Publication number
CN107306277B
CN107306277B CN201610243005.6A CN201610243005A CN107306277B CN 107306277 B CN107306277 B CN 107306277B CN 201610243005 A CN201610243005 A CN 201610243005A CN 107306277 B CN107306277 B CN 107306277B
Authority
CN
China
Prior art keywords
server
mirror image
configuration information
information
original data
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
CN201610243005.6A
Other languages
Chinese (zh)
Other versions
CN107306277A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610243005.6A priority Critical patent/CN107306277B/en
Priority to PCT/CN2017/078743 priority patent/WO2017181830A1/en
Publication of CN107306277A publication Critical patent/CN107306277A/en
Application granted granted Critical
Publication of CN107306277B publication Critical patent/CN107306277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

The invention provides a method and a device for synchronously expanding capacity of a server, wherein the method for synchronously expanding the capacity of the server comprises the following steps: monitoring server information of a first server; when the server information of the first server is judged to accord with preset alarm information, network IP resources are distributed, and a configuration information mirror image is manufactured according to the current configuration information of the first server and the network IP resources; acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy; and constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image. According to the method and the device for synchronously expanding the capacity of the server, provided by the invention, when the information of the server is judged to be in accordance with the preset alarm information by monitoring the information of the first server, the second server is quickly constructed by using the application container engine technology and the preset strategy, so that the seamless expansion accuracy of the server and the synchronous efficiency of the server are improved.

Description

Method and device for synchronous capacity expansion of server
Technical Field
The invention relates to a cloud computing technology and an application container engine technology, in particular to a method and a device for synchronously expanding capacity of a server.
Background
The rapid development of cloud computing, big data and mobile technology and the continuous change of business requirements of enterprises lead to that the enterprise architecture needs to be changed at any time to meet the business requirements, and keep pace with the technology updating. How to coordinate the research and development team and the operation and maintenance team efficiently, deliver products quickly, deploy and apply quickly, meet business requirements of enterprises, and are problems that developers need to solve urgently.
Disclosure of Invention
The invention provides a method and a device for synchronously expanding capacity of a server, and aims to solve the problems of low efficiency and low accuracy of content expansion and synchronization of the server.
In order to achieve the above object, an embodiment of the present invention provides a method for synchronously expanding capacity of a server, including:
monitoring server information of a first server;
when the server information of the first server is judged to accord with preset alarm information, network IP resources are distributed, and a configuration information mirror image is manufactured according to the current configuration information of the first server and the network IP resources;
acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy;
and constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
Wherein, while the step of monitoring the server information of the first server is performed, the method further comprises:
according to the preset backup strategy, at intervals of a first preset time, backing up the data content of the first server into the original data mirror image, storing the original data mirror image into a backup warehouse, and sequencing the original data mirror image according to the backup time; wherein the data content of the first server comprises an operating system, a database, an application and a file in the first server.
Wherein, prior to the step of monitoring server information of the first server, the method further comprises: and receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
Wherein the step of monitoring the server information of the first server comprises:
monitoring the first server according to a pre-stored monitoring strategy, and acquiring server information of the first server every second preset time, wherein the server information at least comprises performance parameters of a CPU (Central processing Unit) and performance parameters of a memory.
When the server information of the first server is judged to accord with preset alarm information, the steps of allocating network IP resources and making configuration information mirror images according to the current configuration information of the first server and the network IP resources comprise:
acquiring current configuration information of the first server, and backing up the current configuration information as a current configuration information mirror image;
and modifying the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain a configuration information mirror image, and storing the configuration information mirror image in a backup warehouse.
Wherein the step of constructing a second server according to the network IP resource, the configuration information mirror image, and the primary data mirror image specifically includes:
creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time;
and the original data mirror image and the configuration information mirror image which are deployed on the virtual machine form a container, and the container is successfully started to be constructed as a second server.
Further, the step of successfully starting the container to construct the second server specifically includes:
starting a container, and detecting whether the container can run successfully; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
Wherein the method further comprises:
and when the server information of the first server is judged not to accord with the preset alarm information, stopping the expanded container, deleting the constructed second server, and releasing the virtual machine.
The embodiment of the present invention further provides a device for server synchronous capacity expansion, including:
the monitoring module is used for monitoring server information of the first server;
the execution module is used for allocating network IP resources and making configuration information mirror images according to the current configuration information of the first server and the network IP resources when the server information of the first server is judged to accord with preset alarm information;
the acquisition module is used for acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy;
and the construction module is used for constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
Wherein the apparatus further comprises:
the first backup module is used for backing up the data content of the first server into the original data mirror image at intervals of first preset time according to the preset backup strategy, storing the original data mirror image into a backup warehouse and sequencing the original data mirror image according to the backup time; wherein the data content of the first server comprises an operating system, a database, an application and a file in the first server.
The device further comprises: and the receiving module is used for receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
The monitoring module is specifically configured to monitor the first server according to a pre-stored monitoring policy, and acquire server information of the first server every second preset time, where the server information at least includes performance parameters of a CPU and performance parameters of a memory.
Wherein the execution module comprises:
the first obtaining submodule is used for obtaining the current configuration information of the first server and backing up the current configuration information as a current configuration information mirror image;
and the configuration information modification module modifies the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain the configuration information mirror image, and stores the configuration information mirror image in a backup warehouse.
Wherein, the construction module specifically comprises:
the configuration deployment module is used for creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time;
and the container starting module is used for forming a container by the original data mirror image and the configuration information mirror image which are deployed on the virtual machine, successfully starting the container and constructing a second server.
Further, the container starting module is specifically configured to start a container and detect whether the container can be successfully operated; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
Wherein the execution module further comprises: and the deleting module is used for stopping the expanded container, deleting the constructed second server and releasing the virtual machine when the server information of the first server is judged not to accord with the preset alarm information.
The beneficial effects of the scheme of the invention are as follows:
according to the method and the device for synchronously expanding the capacity of the server, disclosed by the embodiment of the invention, when the information of the server is judged to be in accordance with the preset alarm information by monitoring the information of the first server, the second server is quickly constructed by utilizing the application container engine technology and the preset strategy, so that the seamless expansion accuracy of the server and the synchronous efficiency of the server are improved.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a schematic flow chart of an embodiment of the present invention;
fig. 3 is a schematic structural diagram of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The invention provides a method and a device for synchronously expanding the capacity of a server, aiming at the problems of low content expansion and synchronization efficiency and low accuracy of the existing server.
As shown in fig. 1 and fig. 2, an embodiment of the present invention provides a method for server synchronous capacity expansion, including:
step 11, monitoring server information of a first server;
step 12, when the server information of the first server is judged to accord with preset alarm information, allocating network IP resources and making configuration information mirror images according to the current configuration information of the first server and the network IP resources;
step 13, acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy;
and 14, constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
The method for synchronously expanding the capacity of the server according to the embodiment of the present invention monitors the server information of a first server, and determines whether the server information of the first server meets preset alarm information, where the preset alarm information is a threshold preset according to the server information of the first server, and if the preset alarm information meets the preset alarm information, it indicates that the server needs to expand the capacity, allocates a network IP resource, creates a configuration information mirror image according to the allocated network IP resource and the current configuration information of the first server, and constructs a second server according to the network IP resource, the configuration information mirror image, and the original data mirror image; when the method of the embodiment of the invention deploys a new server, the system, the database, the application and the file do not need to be reinstalled, only the mirror image needs to be directly deployed, the second server is quickly constructed by utilizing the application container engine technology and the preset strategy, and the application container engine interface needs to be called when the network IP resources are distributed, the original data mirror image and the configuration information mirror image are manufactured, and the virtual machine is created or released, so that the seamless capacity expansion accuracy of the server and the synchronization efficiency of the server are improved.
Wherein, while the step of monitoring the server information of the first server is performed, the method further comprises: according to the preset backup strategy, at intervals of a first preset time, backing up the data content of the first server into the original data mirror image, storing the original data mirror image into a backup warehouse, and sequencing the original data mirror image according to the backup time; wherein the data content of the first server comprises an operating system, a database, an application and a file in the first server.
The original data mirror image mentioned in the method according to the above embodiment of the present invention is the data content on the first server backed up according to a preset backup policy, where the preset backup policy is to backup the data content of the first server as the original data mirror image at preset intervals, and store the original data mirror image in a backup warehouse for use; the data content of the first server comprises an operating system, a database, an application, files and the like in the first server, the operating system, the database, the application, the files and the like of the first server are directly manufactured into mirror images, the mirror images are stored in a backup warehouse and are sorted according to backup time, and the names of the mirror images are as follows: server name _ backup time; when a new server needs to be deployed, the new server is directly obtained from the backup warehouse and used, the efficiency of deploying the new server is greatly improved, and meanwhile, the accuracy of seamless capacity expansion of the server is also improved.
Wherein, prior to the step of monitoring server information of the first server, the method further comprises: and receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
The method according to the above embodiment of the present invention further includes receiving an alarm policy and a backup policy set by a user, that is, an operation flow of the system when it is determined that the server information of the first server matches preset alarm information and an operation flow for backing up the data content of the server are pre-stored before the step fact of monitoring the server information of the first server, so that a relevant operation is executed according to the alarm policy and the backup policy when the system is running.
Wherein the step of monitoring the server information of the first server comprises: monitoring the first server according to a pre-stored monitoring strategy, and acquiring server information of the first server every second preset time, wherein the server information at least comprises performance parameters of a CPU (Central processing Unit) and performance parameters of a memory.
The step of monitoring the server information of the first server in the method according to the above embodiment of the present invention is specifically to monitor the first server according to a pre-stored monitoring policy, and obtain the server information of the first server every second preset time, where the monitoring policy is a preset monitoring mechanism, that is, the server information of the first server is to be obtained every other time, and the server information at least includes performance parameters of a CPU and performance parameters of a memory; when the performance parameters of the CPU and the memory of the server, and other preset performance parameters exceed preset thresholds, the server needs to be expanded to relieve the working pressure of the first server.
When the server information of the first server is judged to accord with preset alarm information, the steps of allocating network IP resources and making configuration information mirror images according to the current configuration information of the first server and the network IP resources comprise: acquiring current configuration information of the first server, and backing up the current configuration information as a current configuration information mirror image; and modifying the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain the configuration information mirror image, and storing the configuration information mirror image in a backup warehouse.
A specific implementation manner of the method according to the above embodiment of the present invention is that when it is determined that the server information of the first server conforms to preset alarm information, network IP resources are allocated, current configuration information of the first server is obtained, and the current configuration information is backed up as a current configuration information mirror image; modifying the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain a configuration information mirror image, storing the configuration information mirror image in a backup warehouse, and calling an application container engine interface when an execution module executes the operation; in the method according to the embodiment of the present invention, the current configuration information of the first server is modified by the allocated network IP resource to be made into the configuration information mirror image, and the deployed original data mirror image is configured by deploying the configuration information mirror image, so that the original data mirror image conforms to the allocated network IP resource, thereby constructing the second server.
Wherein the step of constructing a second server according to the network IP resource, the configuration information mirror image, and the primary data mirror image specifically includes: creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time; and the original data mirror image and the configuration information mirror image which are deployed on the virtual machine form a container, and the container is successfully started to be constructed as a second server.
Further, the step of successfully starting the container to construct the second server specifically includes: starting a container, and detecting whether the container can run successfully; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
The method according to the above embodiment of the present invention configures the allocated network IP resources on the virtual machine, deploys the original data mirror image and the configuration information mirror image in the backup repository on the virtual machine, and enables the virtual machine to be successfully constructed as the second server for use through continuous detection and operation.
Wherein the method further comprises: and when the server information of the first server is judged not to accord with the preset alarm information, stopping the expanded container, deleting the constructed second server, and releasing the virtual machine.
The method of the embodiment of the invention judges that the server information accords with the preset alarm information by monitoring the first server information, when a new server needs to be deployed, a second server is quickly constructed by using an application container engine technology and a preset strategy, and an application container engine interface needs to be called when network IP resources are distributed, an original data mirror image and a configuration information mirror image are manufactured, and a virtual machine is created or released; the system, the database, the application and the file do not need to be reinstalled, and only the mirror image needs to be directly deployed, so that the seamless capacity expansion accuracy of the server and the synchronization efficiency of the server are improved.
As shown in fig. 3, an embodiment of the present invention further provides a device for server synchronous capacity expansion, including: the monitoring module is used for monitoring server information of the first server; the execution module is used for allocating network IP resources and making configuration information mirror images according to the current configuration information of the first server and the network IP resources when the server information of the first server is judged to accord with preset alarm information; the acquisition module is used for acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy; and the construction module is used for constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
Wherein the apparatus further comprises: the first backup module is used for backing up the data content of the first server into the original data mirror image at intervals of first preset time according to the preset backup strategy, storing the original data mirror image into a backup warehouse and sequencing the original data mirror image according to the backup time; wherein the data content of the first server comprises an operating system, a database, an application and a file in the first server.
The device further comprises: and the receiving module is used for receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
The monitoring module is specifically configured to monitor the first server according to a pre-stored monitoring policy, and acquire server information of the first server every second preset time, where the server information at least includes performance parameters of a CPU and performance parameters of a memory.
Wherein the execution module comprises: the first obtaining submodule is used for obtaining the current configuration information of the first server and backing up the current configuration information as a current configuration information mirror image; and the configuration information modification module modifies the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain the configuration information mirror image, and stores the configuration information mirror image in a backup warehouse.
Wherein, the construction module specifically comprises: the configuration deployment module is used for creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time; and the container starting module is used for forming a container by the original data mirror image and the configuration information mirror image which are deployed on the virtual machine, successfully starting the container and constructing a second server.
Further, the container starting module is specifically configured to start a container and detect whether the container can be successfully operated; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
Wherein the execution module further comprises: and the deleting module is used for stopping the expanded container, deleting the constructed second server and releasing the virtual machine when the server information of the first server is judged not to accord with the preset alarm information.
The method and the device of the embodiment of the invention judge that the server information accords with the preset alarm information by monitoring the first server information, when a new server needs to be deployed, a second server is quickly constructed by utilizing an application container engine technology and a preset strategy, and an application container engine interface is required to be called when network IP resources are distributed, an original data mirror image and a configuration information mirror image are manufactured, and a virtual machine is created or released; the system, the database, the application and the file do not need to be reinstalled, and only the mirror image needs to be directly deployed, so that the seamless capacity expansion accuracy of the server and the synchronization efficiency of the server are improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A method for synchronous server capacity expansion, comprising:
monitoring server information of a first server;
when the server information of the first server is judged to accord with preset alarm information, network IP resources are distributed, and the configuration information of the current configuration information mirror image of the first server is modified according to the distributed network IP resources to obtain a configuration information mirror image;
acquiring an original data mirror image of data content on the first server backed up according to a preset backup strategy, wherein the data content on the first server comprises an operating system, a database, an application and a file in the first server;
and constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
2. The method for server synchronous expansion according to claim 1, wherein the step of monitoring the server information of the first server is performed, and the method further comprises:
and according to the preset backup strategy, backing up the data content of the first server into the original data mirror image at intervals of first preset time, storing the original data mirror image into a backup warehouse, and sequencing the original data mirror image according to the backup time.
3. The method for server synchronization capacity expansion according to claim 1, wherein before the step of monitoring the server information of the first server, the method further comprises:
and receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
4. The method for synchronously expanding the capacity of the server according to claim 1, wherein the step of monitoring the server information of the first server comprises:
monitoring the first server according to a pre-stored monitoring strategy, and acquiring server information of the first server every second preset time, wherein the server information at least comprises performance parameters of a CPU (Central processing Unit) and performance parameters of a memory.
5. The method for synchronously expanding the capacity of the server according to claim 1, wherein the step of modifying the configuration information of the current configuration information mirror of the first server according to the allocated network IP resources to obtain the configuration information mirror comprises:
acquiring current configuration information of the first server, and backing up the current configuration information as a current configuration information mirror image;
and modifying the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain the configuration information mirror image, and storing the configuration information mirror image in a backup warehouse.
6. The method for synchronously expanding the capacity of the server according to claim 1, wherein the step of constructing the second server according to the network IP resource, the configuration information mirror image, and the original data mirror image specifically includes:
creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time;
and the original data mirror image and the configuration information mirror image which are deployed on the virtual machine form a container, and the container is successfully started to be constructed as a second server.
7. The method for server synchronous capacity expansion according to claim 6, wherein the step of successfully starting the container to construct the second server specifically includes:
starting a container, and detecting whether the container can run successfully; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
8. The method for server capacity expansion synchronously as claimed in claim 6, wherein the method further comprises:
and when the server information of the first server is judged not to accord with the preset alarm information, stopping the expanded container, deleting the constructed second server, and releasing the virtual machine.
9. The utility model provides a device of synchronous dilatation of server which characterized in that includes:
the monitoring module is used for monitoring server information of the first server;
the execution module is used for allocating network IP resources and modifying the configuration information of the current configuration information mirror image of the first server according to the allocated network IP resources to obtain a configuration information mirror image when the server information of the first server is judged to accord with the preset alarm information;
the acquisition module is used for acquiring an original data mirror image of the data content on the first server backed up according to a preset backup strategy, wherein the data content on the first server comprises an operating system, a database, an application and a file in the first server;
and the construction module is used for constructing a second server according to the network IP resource, the configuration information mirror image and the original data mirror image.
10. The apparatus for server capacity expansion in synchronization according to claim 9, further comprising:
and the first backup module is used for backing up the data content of the first server into the original data mirror image at intervals of first preset time according to the preset backup strategy, storing the original data mirror image into a backup warehouse and sequencing the original data mirror image according to the backup time.
11. The apparatus for server capacity expansion in synchronization according to claim 9, further comprising:
and the receiving module is used for receiving an alarm strategy and a backup strategy set by a user, saving the alarm strategy as the preset alarm information, and saving the backup strategy as the preset backup strategy.
12. The device for synchronously expanding the capacity of the server according to claim 9, wherein the monitoring module is specifically configured to monitor the first server according to a pre-stored monitoring policy, and acquire server information of the first server every second preset time, where the server information at least includes a performance parameter of a CPU and a performance parameter of a memory.
13. The apparatus for server capacity expansion in synchronization according to claim 9, wherein the executing module includes:
the first obtaining submodule is used for obtaining the current configuration information of the first server and backing up the current configuration information as a current configuration information mirror image;
and the configuration information modification module modifies the configuration information of the current configuration information mirror image according to the distributed network IP resources to obtain the configuration information mirror image, and stores the configuration information mirror image in a backup warehouse.
14. The apparatus for synchronously expanding capacity of a server according to claim 9, wherein the building module specifically includes:
the configuration deployment module is used for creating a virtual machine, configuring the distributed network IP resources on the virtual machine, and deploying the original data mirror image and the configuration information mirror image on the virtual machine; the original data mirror image is an original data mirror image backed up at the last time;
and the container starting module is used for forming a container by the original data mirror image and the configuration information mirror image which are deployed on the virtual machine, successfully starting the container and constructing a second server.
15. The device for server capacity expansion in synchronization as claimed in claim 14, wherein the container start module is specifically configured to start the container start module
Starting a container, and detecting whether the container can run successfully; if the container is not successful, stopping the container, deleting the container, deploying the original data mirror image which is stored in the backup warehouse and backed up at the last time, and repeating the steps of deploying the original data mirror image and the configuration information mirror image on the virtual machine until the container is successfully operated.
16. The apparatus for server capacity expansion in synchronization according to claim 14, wherein the executing module further comprises:
and the deleting module is used for stopping the expanded container, deleting the constructed second server and releasing the virtual machine when the server information of the first server is judged not to accord with the preset alarm information.
CN201610243005.6A 2016-04-19 2016-04-19 Method and device for synchronous capacity expansion of server Active CN107306277B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610243005.6A CN107306277B (en) 2016-04-19 2016-04-19 Method and device for synchronous capacity expansion of server
PCT/CN2017/078743 WO2017181830A1 (en) 2016-04-19 2017-03-30 Synchronous capacity enlargement method and device for server, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610243005.6A CN107306277B (en) 2016-04-19 2016-04-19 Method and device for synchronous capacity expansion of server

Publications (2)

Publication Number Publication Date
CN107306277A CN107306277A (en) 2017-10-31
CN107306277B true CN107306277B (en) 2020-11-13

Family

ID=60115650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610243005.6A Active CN107306277B (en) 2016-04-19 2016-04-19 Method and device for synchronous capacity expansion of server

Country Status (2)

Country Link
CN (1) CN107306277B (en)
WO (1) WO2017181830A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108230A (en) * 2018-01-26 2018-06-01 成都精灵云科技有限公司 Cloud platform delivery system based on docker
CN109614123A (en) * 2018-12-10 2019-04-12 浪潮(北京)电子信息产业有限公司 A kind of data back up method, system and electronic equipment and storage medium
CN111093099B (en) * 2019-02-15 2023-04-18 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system
CN110730135B (en) * 2019-09-06 2022-12-09 平安普惠企业管理有限公司 Method and device for improving performance of server, storage medium and server
CN113127135B (en) * 2019-12-30 2023-12-12 百度在线网络技术(北京)有限公司 Container starting method, container starting device and electronic equipment
CN111625195B (en) * 2020-05-26 2023-11-07 北京百度网讯科技有限公司 Method and device for server capacity expansion
CN111767345B (en) * 2020-06-30 2023-10-31 中国平安财产保险股份有限公司 Modeling data synchronization method, modeling data synchronization device, computer equipment and readable storage medium
CN112015698A (en) * 2020-08-26 2020-12-01 北京金山云网络技术有限公司 Method and device for cleaning mirror image data and electronic equipment
CN112148494B (en) * 2020-09-30 2023-07-25 北京百度网讯科技有限公司 Processing method and device for operator service, intelligent workstation and electronic equipment
CN112367186B (en) * 2020-10-13 2023-01-10 苏州浪潮智能科技有限公司 Fault protection method and device based on 0penStack bare computer
CN112671570A (en) * 2020-12-16 2021-04-16 微梦创科网络科技(中国)有限公司 Method and system for automatically expanding and contracting capacity

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN103455352A (en) * 2013-08-30 2013-12-18 中国电子科技集团公司第十五研究所 Method for deploying application software and application software deploying device
CN103873576A (en) * 2014-03-19 2014-06-18 浙江宇视科技有限公司 Monitoring and management method and system based on virtual system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801792B (en) * 2012-07-26 2015-04-22 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
US9684571B2 (en) * 2013-05-01 2017-06-20 Netapp, Inc. Namespace mirroring in an expandable storage volume
CN105024842A (en) * 2014-04-25 2015-11-04 深圳市腾讯计算机系统有限公司 Method and device for capacity expansion of server
CN104967664A (en) * 2015-05-13 2015-10-07 西安三星电子研究有限公司 Automatic cloud deploying system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN103455352A (en) * 2013-08-30 2013-12-18 中国电子科技集团公司第十五研究所 Method for deploying application software and application software deploying device
CN103873576A (en) * 2014-03-19 2014-06-18 浙江宇视科技有限公司 Monitoring and management method and system based on virtual system

Also Published As

Publication number Publication date
WO2017181830A1 (en) 2017-10-26
CN107306277A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN107306277B (en) Method and device for synchronous capacity expansion of server
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
WO2017045424A1 (en) Application program deployment system and deployment method
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
CN112214330A (en) Method and device for deploying master nodes in cluster and computer-readable storage medium
CN107766050B (en) Heterogeneous application deployment method and device
CN110768833A (en) Application arrangement and deployment method and device based on kubernets
US11119911B2 (en) Garbage collection method and device
US20230004439A1 (en) Control method and apparatus of cluster resource, and cloud computing system
US9223601B2 (en) Control device, control method, and non-transitory computer-readable storage medium for a virtual system deployment
CN107329792B (en) Docker container starting method and device
CN113037794B (en) Method, device and system for computing resource allocation scheduling
CN112269640B (en) Method for realizing life cycle management of container cloud component
CN104601366A (en) Configuration service method and device for control and service nodes
CN108075914B (en) Dynamic capacity expansion and reduction method and network equipment
CN111666266A (en) Data migration method and related equipment
CN110474970B (en) Code synchronization method, device and system
CN108111559B (en) Application software deployment system and method
CN113608838A (en) Deployment method and device of application image file, computer equipment and storage medium
CN112181049B (en) Cluster time synchronization method, device, system, equipment and readable storage medium
KR102246079B1 (en) SYSTEM OF SENSORY DATA ACQUISITION AND SYNCHRONIZATION FOR CLOUD CENTRIC IoT AND METHOD PERFORMING THEREOF
CN104111862A (en) Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform
CN105511952B (en) Resource self-migration method and system based on cloud computing platform
CN110865919A (en) Java process-based monitoring method and device and computer equipment
CN115113975A (en) Cluster management method and device, electronic equipment and 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