CN104135513A - A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat - Google Patents
A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat Download PDFInfo
- Publication number
- CN104135513A CN104135513A CN201410355150.4A CN201410355150A CN104135513A CN 104135513 A CN104135513 A CN 104135513A CN 201410355150 A CN201410355150 A CN 201410355150A CN 104135513 A CN104135513 A CN 104135513A
- Authority
- CN
- China
- Prior art keywords
- heartbeat
- powerpc
- cloud storage
- storage platform
- high availability
- 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.)
- Pending
Links
Abstract
The present invention discloses a method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat, which cross-compiles four source code packages, ClusterGlue, ResourceAgents, Heartbeat and Pacemaker, of the Heartbeat and downloads the packages into a PowerPC controller by using a bitbake tool in a Yocto system created by the PowerPC, and realizes the high availability cluster of the cloud storage platform through the configuration of Heartbeat; the method for realizing high availability cluster is simple, reliable, low in cost, excellent in performance and capable of realizing wide application of Heartbeat in the PowerPC cloud storage platform.
Description
Technical field
The present invention relates to cloud storage platform field, specifically a kind of PowerPC cloud storage platform adopts Heartbeat to realize the method for high availability cluster.
Background technology
Cluster (cluster) technology is a kind of newer technology, by Clustering, can in the situation that paying lower cost, obtain the relatively high income aspect performance, reliability, flexibility.Some highly reliable to data demand, high available occasions in storage products market, have used high availability cluster technology at present.High availability cluster refers to one group of stand-alone computer coupling together by hardware and software, they show as a triangular web in face of user, one or more node stop work at one group of such inside computer system, the node that service meeting is switched to normal work from malfunctioning node moves, and can not cause service disruption.High availability cluster make the speed of service of system and response speed fast as far as possible, utilize redundant node and the service on many machines, move, realize mutually and following the tracks of.If certain node failure, responsibility that other node will connect rapidly that let it be, require cluster must detection node and service when lost efficacy, when revert to available.This task is completed by one group of code that is called as " heartbeat " conventionally.In Linux-HA, this function is completed by a program that is called heartbeat.
Summary of the invention
For high availability cluster various features, the present invention proposes a kind of PowerPC cloud storage platform and adopt Heartbeat to realize the method for high availability cluster.
A kind of PowerPC cloud storage platform of the present invention adopts Heartbeat to realize the method for high availability cluster, its technical scheme is mainly, in the Yocto system building at PowerPC, use bitbake instrument, by four source code bag Cluster Glue, Resource Agents, Heartbeat, the Pacemaker cross compiles of Heartbeat and download in PowerPC controller, by the configuration to Heartbeat, realize the high availability cluster of cloud storage platform; The method that this PowerPC cloud storage platform adopts Heartbeat to realize high availability cluster mainly comprises: the step of the step that Heartbeat transplants in Yocto system, the step of download and configuration Heartbeat.
Further, the step that described Heartbeat transplants in Yocto system, comprise four source code bag Cluster Glue, Resource Agents, Heartbeat and the transplanting of PaceMaker in Yocto system of Heartbeat, in Yocto system by writing the recipe file of each source code bag, each source code bag is compiled into file system, the partial document of revising source code bag for PowerPC cloud storage platform, carries out these source codes and wraps in the smooth transplanting in Yocto system.
Further, the step of described download is that the file system of compiled Heartbeat is downloaded in the concrete veneer of PowerPC.
Further, the step of described configuration Heartbeat, comprise the configuration file of revising Heartbeat each several part, as ha.cf, haresource, authkeys etc., after these files of PowerPC cloud storage platform are reasonably configured, form a high performance high availability cluster cloud storage platform.
The beneficial effect that the method that a kind of PowerPC cloud storage platform of the present invention adopts Heartbeat to realize high availability cluster has: PowerPC cloud storage platform of the present invention adopts Heartbeat to realize the method for high availability cluster, in the Yocto system building for PowerPC, use bitbake instrument, by four source code bag Cluster Glue of Heartbeat, Resource Agents, Heartbeat, Pacemaker cross compile also downloads in PowerPC controller, by the configuration to Heartbeat, realize the high availability cluster of cloud storage platform, the implementation method of this high availability cluster simply, reliable, cost is low, excellent performance, can realize Heartbeat in the extensive use of PowerPC cloud storage platform, be applicable to highly reliable to data demand, high available cluster configuration occasion, there is good application value.
Accompanying drawing explanation
Accompanying drawing 1 for described PowerPC cloud storage platform adopt Heartbeat realize high availability cluster method realize block diagram;
Accompanying drawing 2 is the schematic diagram that described PowerPC cloud storage platform adopts the constructed high availability cluster of Heartbeat.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, the method that hereinafter adopts Heartbeat to realize high availability cluster in connection with accompanying drawing to a kind of PowerPC cloud storage platform of the present invention is elaborated.
PowerPC cloud storage platform of the present invention adopts Heartbeat to realize the method for high availability cluster, in the Yocto system building at PowerPC, use bitbake instrument, by four source code bag Cluster Glue, Resource Agents, Heartbeat, the Pacemaker cross compiles of Heartbeat and download in PowerPC controller, by the configuration to Heartbeat, realize the high availability cluster of cloud storage platform.Described PowerPC cloud storage platform adopts Heartbeat to realize that the implementation procedure of method of high availability cluster is simple, reliable, cost is low, excellent performance, can realize Heartbeat in the extensive use of PowerPC cloud storage platform.PowerPC is a kind of CPU of RISC framework, and its basic design is derived from the abbreviation of the POWER(Performance Optimized With Enhanced RISC of IBM) framework, PowerPC is a up to the present unique part for whole AIM platform.Bitbake is that a kind of software is set up automation tools formula.
Embodiment:
Below by an embodiment, to a kind of PowerPC cloud storage platform of the present invention, adopt Heartbeat to realize advantage and the design content of the method for high availability cluster, be elaborated.
The method that adopts Heartbeat to realize high availability cluster described in the present embodiment mainly comprises: the step of the step that Heartbeat transplants in Yocto system, the step of download and configuration Heartbeat.Wherein, the step that Heartbeat transplants in Yocto system, four source code bag Cluster Glue, Resource Agents, Heartbeat and PaceMaker comprising Heartbeat transplant in Yocto system, in Yocto system by writing the recipe file of each source code bag, each source code bag is compiled into file system, the partial document of revising source code bag for PowerPC cloud storage platform, carries out the smooth transplanting to these source code bags.The step of downloading is that the file system of compiled Heartbeat is downloaded in the concrete veneer of PowerPC, in the present embodiment, in the step of download, is that the file system of compiled Heartbeat is downloaded in PowerPC controller.The step of configuration Heartbeat, comprise the configuration file of revising Heartbeat each several part, as ha.cf, haresource, authkeys etc., after these files of PowerPC cloud storage platform are reasonably configured, form a high performance high availability cluster cloud storage platform.
Accompanying drawing 1 for described PowerPC cloud storage platform adopt Heartbeat realize high availability cluster method realize block diagram, as shown in Figure 1, the present embodiment is realized in the process of high availability cluster in PowerPC cloud storage platform, first to four of Heartbeat source code bag Cluster Glue, Resource Agents, Heartbeat and PaceMaker, by writing the recipe file of each source code bag, each source code bag is compiled into file system to the transplanting of four source codes that carry out Heartbeat in Yocto system; Then, the file system of compiled Heartbeat is downloaded to PowerPC controller; Finally, configuration Heartbeat, reasonably configures these files of PowerPC cloud storage platform, realizes a high performance high availability cluster cloud storage platform.
In the present embodiment, the step that Heartbeat transplants in Yocto system comprises four steps that source code bag Cluster Glue, Resource Agents, Heartbeat and PaceMaker transplant in Yocto system of Heartbeat.Wherein, Cluster Glue is the set (Cluster Glue is a bottom storehouse that comprises the instrument that Heartbeat will use) of one group of Heartbeat storehouse that will use and instrument, the transplanting of Cluster Glue in Yocto system refers to, write the recipe file for Cluster Glue, Cluster Glue is compiled to the system into Yocto; Resource Agents is the standard interface for cluster resource, and the transplanting of Resource Agents in Yocto system refers to, writes the recipe file for Resource Agents, and Resource Agents is compiled to the system into Yocto; Heartbeat has realized heartbeat inspecting and the resource take-over function of cluster, and the transplanting of Heartbeat in Yocto system refers to, writes the recipe file for Heartbeat, and Heartbeat is compiled to the system into Yocto; PaceMaker has realized the monitoring resource function of cluster, and the transplanting of PaceMaker in Yocto system refers to, writes the recipe file for PaceMaker, and PaceMaker is compiled to the system into Yocto.In addition, configuration Heartbeat is the configuration of Heartbeat in PowerPC system, realizes the high availability cluster function of cloud storage platform by revising the configuration files such as ha.cf, haresource, authkeys.
By method described in the present embodiment, built high availability cluster, accompanying drawing 2 is the schematic diagram that described PowerPC cloud storage platform adopts the constructed high availability cluster of Heartbeat, as shown in Figure 2, this highly available cluster system comprises PowerPC controller, disk array and Heartbeat module, described Heartbeat module comprises four source code bag Cluster Glue, Resource Agents, Heartbeat and PaceMaker, wherein Cluster Glue is that storehouse and the instrument that Heartbeat will use contained in bottom storehouse, Resource Agents provide standard interface, Heartbeat is responsible for resource take-over, PaceMaker is responsible for monitoring resource.The Cluster Glue of described Heartbeat module and Resource Agents, Heartbeat, PaceMaker all communicate alternately, also communicate mutual between Heartbeat and PaceMaker.Heartbeat module completes transplanting in Yocto system, and the file system of compiled Heartbeat is downloaded to PowerPC controller, between described PowerPC controller, by Heartbeat, carry out heartbeat inspecting, PowerPC controller and described disk array communicate alternately simultaneously.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; suitable variation or replacement that person of an ordinary skill in the technical field any claims according to the invention and any does it, all should fall into scope of patent protection of the present invention.
Claims (5)
1. a PowerPC cloud storage platform adopts Heartbeat to realize the method for high availability cluster, it is characterized in that, in the Yocto system building at PowerPC, use bitbake instrument, by four source code bag Cluster Glue, Resource Agents, Heartbeat, the Pacemaker cross compiles of Heartbeat and download in PowerPC controller, by the configuration to Heartbeat, realize the high availability cluster of cloud storage platform; The method that this PowerPC cloud storage platform adopts Heartbeat to realize high availability cluster mainly comprises: the step of the step that Heartbeat transplants in Yocto system, the step of download and configuration Heartbeat.
2. a kind of PowerPC cloud storage platform according to claim 1 adopts Heartbeat to realize the method for high availability cluster, it is characterized in that, the step that described Heartbeat transplants in Yocto system, four source code bag Cluster Glue that comprise Heartbeat, Resource Agents, Heartbeat and the PaceMaker transplanting in Yocto system, in Yocto system by writing the recipe file of each source code bag, each source code bag is compiled into file system, for PowerPC cloud storage platform, revise the partial document of source code bag, carry out these source codes and wrap in the smooth transplanting in Yocto system.
3. a kind of PowerPC cloud storage platform according to claim 2 adopts Heartbeat to realize the method for high availability cluster, it is characterized in that, the step of described download is that the file system of compiled Heartbeat is downloaded in the concrete veneer of PowerPC.
4. a kind of PowerPC cloud storage platform according to claim 3 adopts Heartbeat to realize the method for high availability cluster, it is characterized in that, the step of described download is that the file system of compiled Heartbeat is downloaded in PowerPC controller.
5. a kind of PowerPC cloud storage platform according to claim 3 adopts Heartbeat to realize the method for high availability cluster, it is characterized in that, the step of described configuration Heartbeat, comprise ha.cf, haresource, the authkeys configuration file of revising Heartbeat each several part, these files to PowerPC cloud storage platform reasonably configure, and form a high performance high availability cluster cloud storage platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410355150.4A CN104135513A (en) | 2014-07-24 | 2014-07-24 | A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410355150.4A CN104135513A (en) | 2014-07-24 | 2014-07-24 | A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104135513A true CN104135513A (en) | 2014-11-05 |
Family
ID=51808035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410355150.4A Pending CN104135513A (en) | 2014-07-24 | 2014-07-24 | A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104135513A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634813A (en) * | 2016-01-04 | 2016-06-01 | 浪潮电子信息产业股份有限公司 | Method for automatically switching nodes under double-computer environment based on network |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070271365A1 (en) * | 2006-05-16 | 2007-11-22 | Bea Systems, Inc. | Database-Less Leasing |
CN102707951A (en) * | 2012-04-28 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Design method of highly available system on heterogeneous platform |
CN102724013A (en) * | 2012-07-11 | 2012-10-10 | 烽火通信科技股份有限公司 | Method for switching master and slave redundancy protection of master control system of optical transmission equipment |
CN103209098A (en) * | 2013-04-16 | 2013-07-17 | 浪潮电子信息产业股份有限公司 | Method for realizing dual-machine function of server |
CN103905247A (en) * | 2014-03-10 | 2014-07-02 | 北京交通大学 | Two-unit standby method and system based on multi-client judgment |
-
2014
- 2014-07-24 CN CN201410355150.4A patent/CN104135513A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070271365A1 (en) * | 2006-05-16 | 2007-11-22 | Bea Systems, Inc. | Database-Less Leasing |
CN102707951A (en) * | 2012-04-28 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Design method of highly available system on heterogeneous platform |
CN102724013A (en) * | 2012-07-11 | 2012-10-10 | 烽火通信科技股份有限公司 | Method for switching master and slave redundancy protection of master control system of optical transmission equipment |
CN103209098A (en) * | 2013-04-16 | 2013-07-17 | 浪潮电子信息产业股份有限公司 | Method for realizing dual-machine function of server |
CN103905247A (en) * | 2014-03-10 | 2014-07-02 | 北京交通大学 | Two-unit standby method and system based on multi-client judgment |
Non-Patent Citations (2)
Title |
---|
WANGFENG1987: "Linux-HA 开源软件Heartbeat3.0.3 安装手册", 《百度文库》 * |
彭军,徐燕: "Linux 高可用性集群的研究与实现", 《现代计算机》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634813A (en) * | 2016-01-04 | 2016-06-01 | 浪潮电子信息产业股份有限公司 | Method for automatically switching nodes under double-computer environment based on network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2007149532A3 (en) | Compiler system, method and software for a resilient integrated circuit architecture | |
CN102567049B (en) | The upgrade method of embedded OS | |
CN103729184A (en) | Software component combining and constructing method | |
GB2470157A (en) | Methods, systems and computer program products for updating software on a data processing system based on transition rules between classes of compatible versi | |
CN105653261A (en) | Development integration test method and system on the basis of cloud computing environment | |
US9699252B2 (en) | Deployment of virtual machine disks from a shared network file system | |
CN106598657A (en) | One-key deployment method for cloud platform applications | |
CN104090765A (en) | Method and device for switching from mobile game to webgame | |
TW200636471A (en) | Method of parallel programmable memory and the system thereof | |
CN102955698A (en) | Processing method and device based on multi-terminal software development | |
CN102799437A (en) | Automatic generating method and device of compiling script | |
CN103513966A (en) | PHP developing framework based on assemblies | |
CN105656970A (en) | RAID (Redundant Array of Independent Disk) card configuring method and system and relevant device | |
KR101771289B1 (en) | Apparatus for Program Management of Programmable Logic Controller | |
CN104461660A (en) | Multi-mode dynamic loading method of heterogeneous system | |
CN104135513A (en) | A method for realizing high availability cluster by PowerPC cloud storage platform using Heartbeat | |
CN102566481B (en) | C language-based PLC (Programmable Logic Controller) control system and realization method thereof | |
CN102662700A (en) | Method for releasing and upgrading embedded software edition | |
CN105117248A (en) | Program downloader of multi-split TPMS main controller and download method | |
CN101763324A (en) | Method for realizing equipment simulating and device thereof | |
CN106685756B (en) | Cluster test method | |
CN103890713A (en) | Apparatus and method for managing register information in a processing system | |
CN104468214A (en) | Method for systematically managing PowerPC cloud storage platform through LAMP | |
CN104572275A (en) | Process loading method, process loading device and process loading system | |
WO2015045004A1 (en) | Programmable controller and control method for programmable controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141105 |