CN102917064A - Double-machine hot-standby method based on private cloud computing platform - Google Patents

Double-machine hot-standby method based on private cloud computing platform Download PDF

Info

Publication number
CN102917064A
CN102917064A CN2012104065171A CN201210406517A CN102917064A CN 102917064 A CN102917064 A CN 102917064A CN 2012104065171 A CN2012104065171 A CN 2012104065171A CN 201210406517 A CN201210406517 A CN 201210406517A CN 102917064 A CN102917064 A CN 102917064A
Authority
CN
China
Prior art keywords
virtual machine
cloud computing
computing platform
method based
standby
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
CN2012104065171A
Other languages
Chinese (zh)
Other versions
CN102917064B (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.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and 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 GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN201210406517.1A priority Critical patent/CN102917064B/en
Publication of CN102917064A publication Critical patent/CN102917064A/en
Application granted granted Critical
Publication of CN102917064B publication Critical patent/CN102917064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a double-machine hot-standby method based on a private cloud computing platform. The method comprises the following steps: creating a virtual machine and configuring the virtual machine into a main virtual machine of one service according to the requirement; copying a cloned virtual machine of the main virtual machine by using the cloning technology of a private cloud computing platform and modifying the corresponding configuration of the cloned virtual machine to obtain a standby virtual machine, so that the standby virtual machine is in a standby state of the service when the main virtual machine is in an activated state of the service. According to the double-machine hot-standby method based on the private cloud computing platform, the virtual machine is copied by virtue of the cloning function of the private cloud computing platform so as to effectively reduce the waste of resources and manpower; moreover, the double-machine hot-standby method based on the private cloud computing platform can be adjusted according to the requirement so as to be adaptive to more environments.

Description

Double hot standby method based on privately owned cloud computing platform
Technical field
The present invention relates to technical field of the computer network, relate in particular to a kind of double hot standby method based on privately owned cloud computing platform.
Background technology
Cloud computing (Cloud Computing) is that the product that the traditional calculations machine technology such as (Utility Computing), the network storage (Network Storage Technologies), virtual (Virtualization), load balancing (Load Balance) and network technical development merge is calculated in grid computing (Grid Computing), Distributed Calculation (Distributed Computing), parallel computation (Parallel Computing), effectiveness.It is intended to by network the relatively low computational entity of a plurality of costs is integrated into a perfect system with powerful calculating ability.A core concept of cloud computing is exactly by improving constantly the disposal ability of " cloud ", and then the processing load of minimizing user terminal, finally make user terminal be simplified to a simple input-output equipment, and can enjoy as required the powerful computing ability of " cloud ".One of important feature of cloud computing is exactly minimum to the equipment requirement of user side, uses also most convenient.
Main frame is a node of cloud platform, is the entity that forms the minimum of cloud platform, is mainly used to open virtual machine on the main frame.Main frame of the same type can form a cluster.Cluster refers to they be seemed such as same computer one group of computer association aspect a lot of in the external world.Usually connect by local area network (LAN) between the computer in the cluster, be commonly used to improve performance and availability.
Virtual finger carries out an abstract generalized concept to computational resource.The virtual bottom attribute of upper layer application or user having been hidden computational resource.It had both comprised makes single resource (such as a server, an operating system, an application program, a memory device) be divided into a plurality of virtual resources, also comprises a plurality of resources (such as memory device or server) are integrated into a virtual resource.Intel Virtualization Technology refers to realize the collectivity concept of virtualized technical measure specifically.
Virtual machine refer to by software simulation have the complete hardware system function, operate in a complete computer in the complete isolation environment.Pass through software virtual machine, you can simulate one or more virtual computer at a physical computer, these virtual machines carry out work fully just as real computer, for example you can installing operating system, set up applications, accesses network resource etc.For you, it just operates in an application program on your physical computer, but for for the application program of moving in the virtual machine, it is exactly a real computer.
Two-node cluster hot backup can be divided into by the switching mode in the work: main-standby mode (Active-Standby mode) and two host mode (Active-Active mode), main-standby mode refers to a station server and is in certain professional state of activation (being the Active state), and another station server is in this professional stand-by state (being the Standby state).And two host modes namely refer to respectively activestandby state (being Active-Standby and Standby-Active state) each other on two-server of two kinds of different business.
Existing dual-host backup is all realized at the entity machine.Be specially the entity virtual machine that creates first two identical configurations, and then at two identical softwares of virtual machines installation, namely utilize software to realize, with two identical environment of identical configuration Machinery Design, the instruction meeting that main machine is accepted copies portion by software and is sent to standby host.But there is following defective in existing this mode:
1, two machine buying expenseses are relatively high;
2, use the entity machine to shine into the wasting of resources, in case machine is bought, demand can cause certain waste when changing;
3, deployment is loaded down with trivial details, easily makes mistakes.
Summary of the invention
The embodiment of the invention proposes a kind of double hot standby method based on privately owned cloud computing platform, utilizes the cloning function of cloud platform to copy virtual machine, effectively reduces the waste of resource and manpower, and can adjust as required, adapts to more environment.
The embodiment of the invention provides a kind of double hot standby method based on privately owned cloud computing platform, comprises step:
Create a virtual machine, as required described virtual machine is configured to the host virtual machine of a business;
Utilize the clone technology of cloud platform to copy clone's virtual machine of described host virtual machine, and described clone's virtual machine revised be configured to accordingly backup virtual machine, so that described host virtual machine is when being in this professional state of activation, described backup virtual machine is in this professional stand-by state.
Preferably, after configuring host virtual machine, also comprise step: the described host virtual machine that configures is saved as template, after this utilize as required the clone technology of cloud platform to copy.
Preferably, also comprise step after the backup virtual machine configuring: when the demand change of resource, only need described backup virtual machine revised being configured to accordingly other professional host virtual machines.
Implement the embodiment of the invention, have following beneficial effect:
1, utilizes the method for the virtual machine realization two-node cluster hot backup of cloud platform, use virtual machine to realize that the method for two-node cluster hot backup realizes simple, use manpower and material resources sparingly.
2, use the mode of virtual machine to dispose two-node cluster hot backup, easily the resource of the virtual machine of expansion; In the situation that changes in demand also can Modify rapidly, only need the configuration of a change virtual machine, simple to operate.
3, utilize the cloning function of cloud platform, finish in the situation that main frame is disposed, one of main frame clone has been saved some deployment as standby host, clone's standby host out needs only some configurations of corresponding modify and can use, and is convenient and swift, reduces error probability.The mode of use virtual machine template is preserved the virtual machine that makes deployment and can repeatedly be used.
Description of drawings
Fig. 1 is the flow chart of the double hot standby method based on privately owned cloud computing platform provided by the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Please refer to Fig. 1, the invention provides a kind of double hot standby method based on privately owned cloud computing platform, described method comprises:
Step S101, create a virtual machine, as required described virtual machine is configured to the host virtual machine of a business;
Concrete, create a virtual machine by demand, at this virtual machine the software that the client needs is installed, carry out corresponding configuration, be configured to the host virtual machine of a business.
In addition, after configuring host virtual machine, also comprise step: the described host virtual machine that configures is saved as template, after this utilizing as required the clone technology of cloud platform to copy many parts gets final product, after having realized once disposing, secondary uses and just need not to repeat to dispose, and has reduced the personnel's that dispose operation.Compare, in the prior art, if do not use the clone then to need to create the virtual machine of two identical configurations, at two virtual machines identical software is installed again, compare and not only spent the double time, and easily make mistakes.
Step S102, utilize the clone technology of cloud platform to copy clone's virtual machine of described host virtual machine, and described clone's virtual machine revised be configured to accordingly backup virtual machine, so that described host virtual machine is when being in this professional state of activation, described backup virtual machine is in this professional stand-by state.
Concrete, after described host virtual machine installation, can utilize the clone technology of cloud platform, directly to the image copying of this host virtual machine, can produce clone's virtual machine behind the image starting that copies; Clone's virtual machine can be regarded as that the clone technology of utilizing the cloud platform copies host virtual machine and what obtain is basic the same virtual machine with host virtual machine, the detailed process that produces clone's virtual machine is: the image file copy that will be cloned virtual machine, and the MAC Address of modification image file, the process of the virtual machine of the generation concrete identical configuration of another one and environment.Then, to clone virtual machine revises partial configuration (configuration file is indicated it is the standby host that is revised as of main frame) and namely can be used as the backup virtual machine use, so that described host virtual machine is when being in this professional state of activation, described backup virtual machine is in this professional stand-by state.A virtual server is in certain professional state of activation (being the Active state) in two-node cluster hot backup, and another virtual server is in this professional stand-by state (being the Standby state).So require two softwares on the virtual machine, database is identical.And the virtual machine that the clone produces other are the same with the main frame virtual machine except MAC Address, therefore only need to can use by the modification partial configuration.
In addition, also comprise step after the backup virtual machine configuring: when the demand change of resource, only need described backup virtual machine revised being configured to accordingly other professional host virtual machines.Namely work as demand and change, when needing more resource (CPU, internal memory, disk), only need this backup virtual machine is closed, restart virtual machine after adjustment configures and to use.And the two-node cluster hot backup of use prior art needs to change the server part, if also need to change software configuration, complex operation when the software on the server has been done hardware binding.And the configuration size of the virtual machine that creates based on the cloud platform can Self-adjustment, and can not exert an influence to the software on the virtual machine and other after adjusting.
In sum, carry out an invention based on the double hot standby method of privately owned cloud computing platform, can bring to have following beneficial effect:
1, utilizes the clone technology of privately owned cloud platform to realize the method for the two-node cluster hot backup of virtual machine, realize simply, use manpower and material resources sparingly; If do not use the clone then to need to create the virtual machine of two identical configurations, at two virtual machines identical software is installed again, compare and not only spent the double time, and easily make mistakes.
2, use the mode of virtual machine to dispose two-node cluster hot backup, easily the resource of the virtual machine of expansion; In the situation that changes in demand also can Modify rapidly, only need the configuration of a change virtual machine, simple to operate; And use the double hot standby method of present technology, and not only need to change the server part, if also need to change the software configuration when software on the server has been done hardware binding, complex operation.
3, utilize the cloning function of privately owned cloud platform, finish in the situation that main frame is disposed, one of main frame clone has been saved some deployment as standby host, clone's standby host out needs only some configurations of corresponding modify and can use, and is convenient and swift, reduces error probability.And the mode of using virtual machine template is preserved the virtual machine that makes deployment and can repeatedly be used; And the physical machine of utilizing prior art dispose can only a deployment.
The above is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.

Claims (3)

1. double hot standby method based on privately owned cloud computing platform is characterized in that comprising step:
Create a virtual machine, as required described virtual machine is configured to the host virtual machine of a business;
Utilize the clone technology of cloud platform to copy clone's virtual machine of described host virtual machine, and described clone's virtual machine revised be configured to accordingly backup virtual machine, so that described host virtual machine is when being in this professional state of activation, described backup virtual machine is in this professional stand-by state.
2. the double hot standby method based on privately owned cloud computing platform as claimed in claim 1, it is characterized in that, after configuring host virtual machine, also comprise step: the described host virtual machine that configures is saved as template, after this utilize as required the clone technology of cloud platform to copy.
3. the double hot standby method based on privately owned cloud computing platform as claimed in claim 1, it is characterized in that, also comprise step after the backup virtual machine configuring: when the demand change of resource, only need described backup virtual machine revised being configured to accordingly other professional host virtual machines.
CN201210406517.1A 2012-10-23 2012-10-23 Based on the double hot standby method of privately owned cloud computing platform Active CN102917064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210406517.1A CN102917064B (en) 2012-10-23 2012-10-23 Based on the double hot standby method of privately owned cloud computing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210406517.1A CN102917064B (en) 2012-10-23 2012-10-23 Based on the double hot standby method of privately owned cloud computing platform

Publications (2)

Publication Number Publication Date
CN102917064A true CN102917064A (en) 2013-02-06
CN102917064B CN102917064B (en) 2015-09-02

Family

ID=47615294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210406517.1A Active CN102917064B (en) 2012-10-23 2012-10-23 Based on the double hot standby method of privately owned cloud computing platform

Country Status (1)

Country Link
CN (1) CN102917064B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246522A (en) * 2013-05-28 2013-08-14 浪潮电子信息产业股份有限公司 Fast building method for hot standby environment based on virtualization platform
CN103843284A (en) * 2013-10-23 2014-06-04 华为技术有限公司 Disaster tolerance method, system and device of cloud application
CN106775946A (en) * 2016-12-16 2017-05-31 无锡华云数据技术服务有限公司 A kind of virtual machine Method of Creation Process
WO2017092539A1 (en) * 2015-11-30 2017-06-08 中兴通讯股份有限公司 Virtual machine repairing method, virtual machine device, system, and service functional network element
CN107329802A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of virtual machine creation method and electronic equipment
CN107995319A (en) * 2018-01-08 2018-05-04 迈普通信技术股份有限公司 Virtual unit collocation method and the network equipment
CN109284169A (en) * 2018-09-10 2019-01-29 福建星瑞格软件有限公司 Big data platform process management method and computer equipment based on process virtual
CN110502316A (en) * 2019-08-26 2019-11-26 杭州安恒信息技术股份有限公司 A kind of test machine configuration method, system and relevant apparatus based on KVM platform
CN112698908A (en) * 2019-10-23 2021-04-23 阿里巴巴集团控股有限公司 Cloud computing resource expansion processing method and device, storage medium and processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032765A (en) * 2018-09-05 2018-12-18 郑州云海信息技术有限公司 A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
CN101996090A (en) * 2009-08-28 2011-03-30 联想(北京)有限公司 Computer and method for reconfiguring equipment under virtual machine
US20120102135A1 (en) * 2010-10-22 2012-04-26 Netapp, Inc. Seamless takeover of a stateful protocol session in a virtual machine environment
CN102521083A (en) * 2011-12-13 2012-06-27 广州杰赛科技股份有限公司 Backup method and system of virtual machine in cloud computing system
CN102523257A (en) * 2011-11-30 2012-06-27 广东电子工业研究院有限公司 Infrastructure as a service (IAAS)-cloud-platform-based virtual machine fault-tolerance method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996090A (en) * 2009-08-28 2011-03-30 联想(北京)有限公司 Computer and method for reconfiguring equipment under virtual machine
CN101840346A (en) * 2009-12-30 2010-09-22 北京世纪互联宽带数据中心有限公司 Method and system for deploying cloud host computer
US20120102135A1 (en) * 2010-10-22 2012-04-26 Netapp, Inc. Seamless takeover of a stateful protocol session in a virtual machine environment
CN102523257A (en) * 2011-11-30 2012-06-27 广东电子工业研究院有限公司 Infrastructure as a service (IAAS)-cloud-platform-based virtual machine fault-tolerance method
CN102521083A (en) * 2011-12-13 2012-06-27 广州杰赛科技股份有限公司 Backup method and system of virtual machine in cloud computing system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246522A (en) * 2013-05-28 2013-08-14 浪潮电子信息产业股份有限公司 Fast building method for hot standby environment based on virtualization platform
US9703654B2 (en) 2013-10-23 2017-07-11 Huawei Technologies Co., Ltd. Method, system, and apparatus for cloud application redundancy
US9529683B2 (en) 2013-10-23 2016-12-27 Huawei Technologies Co., Ltd. Method, system, and apparatus for cloud application redundancy
CN103843284A (en) * 2013-10-23 2014-06-04 华为技术有限公司 Disaster tolerance method, system and device of cloud application
CN103843284B (en) * 2013-10-23 2015-12-02 华为技术有限公司 Disaster recovery method, system and device that a kind of cloud is applied
WO2017092539A1 (en) * 2015-11-30 2017-06-08 中兴通讯股份有限公司 Virtual machine repairing method, virtual machine device, system, and service functional network element
CN106775946B (en) * 2016-12-16 2019-05-24 无锡华云数据技术服务有限公司 A kind of virtual machine Method of Creation Process
CN106775946A (en) * 2016-12-16 2017-05-31 无锡华云数据技术服务有限公司 A kind of virtual machine Method of Creation Process
CN107329802A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of virtual machine creation method and electronic equipment
CN107329802B (en) * 2017-06-30 2020-08-25 联想(北京)有限公司 Virtual machine creating method and electronic equipment
CN107995319A (en) * 2018-01-08 2018-05-04 迈普通信技术股份有限公司 Virtual unit collocation method and the network equipment
CN107995319B (en) * 2018-01-08 2021-05-18 迈普通信技术股份有限公司 Virtual device configuration method and network device
CN109284169A (en) * 2018-09-10 2019-01-29 福建星瑞格软件有限公司 Big data platform process management method and computer equipment based on process virtual
CN110502316A (en) * 2019-08-26 2019-11-26 杭州安恒信息技术股份有限公司 A kind of test machine configuration method, system and relevant apparatus based on KVM platform
CN112698908A (en) * 2019-10-23 2021-04-23 阿里巴巴集团控股有限公司 Cloud computing resource expansion processing method and device, storage medium and processor

Also Published As

Publication number Publication date
CN102917064B (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN102917064B (en) Based on the double hot standby method of privately owned cloud computing platform
Yang et al. On improvement of cloud virtual machine availability with virtualization fault tolerance mechanism
Gao et al. System design of cloud computing based on mobile learning
CN103761166A (en) Hot standby disaster tolerance system for network service under virtualized environment and method thereof
CN102508437B (en) Multifunctional electromechanical system simulation method for simulation of airplane power supply control management system
WO2015039790A2 (en) Changing output power to be within a range based on a power use efficiency peak
Wang et al. Ada-Things: An adaptive virtual machine monitoring and migration strategy for internet of things applications
CN105706056A (en) Fault domains on modern hardware
Atiewi et al. Impact of virtualization on cloud computing energy consumption: Empirical study
CN102819470A (en) Private cloud computing platform-based virtual machine repair method
CN107070709A (en) A kind of NFV implementation methods based on bottom NUMA aware
Li et al. Wide-area spark streaming: Automated routing and batch sizing
CN104657200A (en) Method for creating shared disk in virtual machine
Saurez et al. Oneedge: An efficient control plane for geo-distributed infrastructures
CN102467394A (en) Method and system for realizing multi-core hot patching
Masood et al. Virtualization tools and techniques: Survey
CN106055380A (en) Method and system for integration of service servers
Uhlemann et al. JOSHUA: Symmetric active/active replication for highly available HPC job and resource management
Goutam et al. The performance evaluation of proactive fault tolerant scheme over cloud using CloudSim simulator
Sun et al. Building a high serviceability model by checkpointing and replication strategy in cloud computing environments
CN105577807A (en) Cloud computing data resource scheduling WEB management platform
CN103631648B (en) Task processing method and system
WO2022121387A1 (en) Data storage method and apparatus, server, and medium
Guo et al. A study on Moodle virtual cluster in cloud computing
CN101876920A (en) Method for realizing virtual machine transfer on virtual hosts

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant