CN102983996A - Dynamic allocation method and system for high-availability cluster resource management - Google Patents
Dynamic allocation method and system for high-availability cluster resource management Download PDFInfo
- Publication number
- CN102983996A CN102983996A CN2012104743964A CN201210474396A CN102983996A CN 102983996 A CN102983996 A CN 102983996A CN 2012104743964 A CN2012104743964 A CN 2012104743964A CN 201210474396 A CN201210474396 A CN 201210474396A CN 102983996 A CN102983996 A CN 102983996A
- Authority
- CN
- China
- Prior art keywords
- resource
- module
- cluster
- management
- configuration
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a dynamic allocation method and system for high-availability cluster resource management and relates to the technical field of computer clusters. By adopting the dynamic allocation method, varieties of resources supported by a high-availability cluster system can be added or removed dynamically, and simultaneously a user can use an environmental development resource management module according to the practical situation and add the environmental development resource management module into the dynamic allocation system. The dynamic allocation system is composed of a cluster resource module management system and a cluster resource module. The cluster resource module management system is the core of the dynamic allocation system and is composed of a cluster state management module, a resource information base, a resource allocation management module, a resource initialization module, a resource scheduling module and a resource abstraction module. The dynamic allocation method and system for high-availability cluster resource management have the advantages of improving resource supporting flexibility of the high-availability cluster system, enlarges the application range of the high-availability cluster system, and enriches functions of the high-availability cluster system.
Description
Technical field
The present invention relates to the computer cluster technology field, relate in particular to a kind of Dynamic Configuration and system of high availability cluster resource management.
Background technology
The key of high availability cluster technology is to improve the availability that service externally is provided by the mode of computer cluster, common high available techniques backs up mutually by multiple servers, thereby when guaranteeing the software fault on server failure or server are arranged, other server can be taken over business at once, thereby guarantees professional relative continuity in user level.The mission critical of high availability cluster is that the resource on the server is monitored, when faulty resource, switch, but in order to allow the convenient configuration utility highly available cluster system of user's energy, common high available software system all can comprise a configuration management software, by this software, the user can realize configuration and the management of high availability cluster.
Highly available cluster system is the system of a more complicated, usually is comprised of several computer nodes, and is moving various resources on each computer node.The application scenarios of high availability cluster varies, and in the applied environment various resource may be arranged, and therefore how efficient, flexible these resources are managed just becomes a more complicated and important thing.
Present high available software system generally only manages common pooling of resources, such as Service Source, disk resource, virtual IP address resource and application resource etc.Like this, for the applied environment of more complicated, this high availability cluster software is tackled just more painstaking.
Summary of the invention
The present invention is directed to the defective that conventional high availability cluster software exists, propose a kind of Dynamic Configuration and system of high availability cluster resource management.
Dynamic Configuration provided by the invention and system solve the technical problem as follows: the kind of the supported resource of highly available cluster system can be added or delete to the method dynamically, its system configuration is comprised of two parts: a part is the cluster resource module management system, and another part is the cluster resource module; Wherein, the cluster resource module management system is core of the present invention, and it is comprised of cluster state administration module, resource information bank, resources configuration management module, initializing resource module, scheduling of resource module and 6 modules of Resource Abstract module;
The cluster state administration module is realized obtaining and preserving of resource status, and with highly available cluster system between sets up and communicates by letter, and the resource that will be in abnormality feeds back to the cluster management system processing; The information of all resource modules that the in store system of resource information bank supports is bases of configuration interface; The resources configuration management module is used for the management to resource module, and variation is updated in the resource information bank, new resource module can be added in the system; The initializing resource module is responsible for the building work of resource, and the configuration information with the user passes to resource module simultaneously; The scheduling of resource module receives the instruction of cluster management system, sets up contacting between highly available cluster system and the resource module, realizes the operation of resource; The Resource Abstract module is carried out the abstract processing with the interface of resource module, for the upper strata modules provides unified interface;
The cluster resource module is the program that realization manages certain resource, and this program need to realize creating, start, stop and obtaining according to agreement the standard interfaces such as state.
The specific implementation step of the method is:
When 1) high availability cluster software systems start, load each resource module and monitor resource module according to configuration;
2) high availability cluster software systems are carried out initialization according to user's configuration to each resource module and supervision resource module by the initializing resource module;
3) interface that provides by the Resource Abstract module of scheduling of resource module is realized resource or is monitored the startup of resource, the operation that stops and obtaining state;
4) highly available cluster system is realized the management of cluster resource by the scheduling of resource module;
5) the scheduling of resource module with resource all operations result feedback to the managing resource state module;
6) highly available cluster system and managing resource state module realize alternately, and abnormal resource is processed.
The beneficial effect of Dynamic Configuration of the present invention and system is: the kind of the supported resource of highly available cluster system can be added or delete to the method dynamically, improved the flexibility that highly available cluster system is supported resource, the range of application that enlarges highly available cluster system simultaneously user can be according to exploit natural resources administration module and it is added in the system that this method realizes of actual application environment, thus the function of expansion highly available cluster system.
Description of drawings
Accompanying drawing 1 is that system of the present invention forms structural representation;
Accompanying drawing 2 is resource conservation form schematic diagrames in the resource information bank of the present invention;
Accompanying drawing 3 is asset creation flow charts of the present invention;
Accompanying drawing 4 is that resource status of the present invention obtains flow chart.
Embodiment
Below in conjunction with accompanying drawing, Dynamic Configuration and the system of a kind of high availability cluster resource management of the present invention is described in more details.
The kind of the supported resource of highly available cluster system can be added or delete to the method dynamically, and its system configuration is comprised of two parts, and a part is the cluster resource module management system, and another part is the cluster resource module; Wherein, the cluster resource module management system is core of the present invention, and it is comprised of cluster state administration module, resource information bank, resources configuration management module, initializing resource module, scheduling of resource module and 6 modules of Resource Abstract module; General cluster resource contains disk resource, Service Source and IP resource etc.As shown in Figure 1.
The below is illustrated several composition modules of this system configuration respectively:
1) core of the present invention is dynamic appending and the management of cluster resource module, the cluster resource module management system is the system that uses this method to realize, the specific implementation of this system does not rely on specific development language, can be C language or OO C++ or Java;
1.1) the resources configuration management module can add new resource module in the system to, thereby make highly available cluster system have new function.If in highly available cluster system, use the present invention, in the situation that increases new resource module, do not need highly available cluster system is carried out any change, only need to this resource module be added by the resources configuration management module and get final product.Afterwards, the user just can use this resource to carry out the configuration of high availability cluster;
1.2) the cluster state administration module realizes the memory function of the state of local all resources, its can regularly ask for the state of resource and the state of resource module itself to each resource module, and the resource that will be in abnormality feeds back to the cluster management system processing;
1.3) the resource information library module comprising all information of the resource that high availability cluster supports, starts needed parameter etc. such as title, type and the resource of resource; The configuration page of high availability cluster can add resource distribution guide automatically according to this information bank, and receives the parameter of user's allocation cluster input;
1.4) the initializing resource module is responsible for establishing resource, and the parameter of user's input passed to resource module itself, and the scheduling of resource module is used for receiving the order of highly available cluster system, the startup of realization resource and the operation such as stop;
1.5) the Resource Abstract module is abstracted into unified interface with the interface of resource module, for the upper strata modules provides unified interface, conveniently to call;
1.6) the scheduling of resource module receives the instruction of cluster management system, realize resource startup, stop and obtaining the forwarding of the orders such as state;
2) the cluster resource module is the program that realization manages certain resource, and this program need to realize creating, start, stop and obtaining according to agreement the standard interfaces such as state.The implementation of this program is not limited to the program through compiling, such as the dynamic link library under the Windows, also can be the program that realizes by script, or such as Python script perl script etc.
Be illustrated in figure 2 as resource data preservation form in the resource information bank, the high availability cluster configuration page can be according to this Information generation configuration wizard page, and the user can carry out cluster configuration by this page.The specific implementation of resource information bank can realize by the XML configuration file, also can realize by document data bank, such as SQLite and ACCESS etc.
Be illustrated in figure 3 as the asset creation flow process, when highly available cluster system needs establishing resource, can send to the scheduling of resource module instruction of establishing resource, simultaneously the needed parameter of establishing resource is passed to the scheduling of resource module, then the scheduling of resource module is called the establishment interface of corresponding resource module, carry out the building work of resource, return at last the establishment result, about the startup of resource with stop flow process and visioning procedure is similar.
Be illustrated in figure 4 as resource status and obtain flow process, when needs Gains resources state, the scheduling of resource module is called the state interface of obtaining of respective resources module, this resource module gets access to the state of respective resources, then the managing resource state module is to the state of this resource module Gains resources, and the managing resource state module is upgraded, at last when the managing resource state module is found resource exception, can notify highly available cluster system, so that high availability cluster is done decision-making.
Except the described technical characterictic of specification, be the known technology of those skilled in the art.
Claims (1)
1. the Dynamic Configuration of a high availability cluster resource management and system, it is characterized in that the method can add or delete the kind of the supported resource of highly available cluster system dynamically, its system configuration is comprised of two parts: a part is the cluster resource module management system, and another part is the cluster resource module; Wherein, the cluster resource module management system is core of the present invention, and it is comprised of cluster state administration module, resource information bank, resources configuration management module, initializing resource module, scheduling of resource module and 6 modules of Resource Abstract module;
The cluster state administration module is realized obtaining and preserving of resource status, and with highly available cluster system between sets up and communicates by letter, and the resource that will be in abnormality feeds back to the cluster management system processing;
The information of all resource modules that the in store system of resource information bank supports is bases of configuration interface;
The resources configuration management module is used for the management to resource module, and variation is updated in the resource information bank, new resource module can be added in the system;
The initializing resource module is responsible for the building work of resource, and the configuration information with the user passes to resource module simultaneously;
The scheduling of resource module receives the instruction of cluster management system, sets up contacting between highly available cluster system and the resource module, realizes the operation of resource;
The Resource Abstract module is carried out the abstract processing with the interface of resource module, for the upper strata modules provides unified interface;
The cluster resource module is the program that realization manages certain resource, and this program need to realize creating, start, stop and obtaining according to agreement the standard interfaces such as state;
The specific implementation step of the method is:
When 1) high availability cluster software systems start, load each resource module and monitor resource module according to configuration;
2) high availability cluster software systems are carried out initialization according to user's configuration to each resource module and supervision resource module by the initializing resource module;
3) interface that provides by the Resource Abstract module of scheduling of resource module is realized resource or is monitored the startup of resource, the operation that stops and obtaining state;
4) highly available cluster system is realized the management of cluster resource by the scheduling of resource module;
5) the scheduling of resource module with resource all operations result feedback to the managing resource state module;
6) highly available cluster system and managing resource state module realize alternately, and abnormal resource is processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104743964A CN102983996A (en) | 2012-11-21 | 2012-11-21 | Dynamic allocation method and system for high-availability cluster resource management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012104743964A CN102983996A (en) | 2012-11-21 | 2012-11-21 | Dynamic allocation method and system for high-availability cluster resource management |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102983996A true CN102983996A (en) | 2013-03-20 |
Family
ID=47857757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012104743964A Pending CN102983996A (en) | 2012-11-21 | 2012-11-21 | Dynamic allocation method and system for high-availability cluster resource management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102983996A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176851A (en) * | 2013-04-12 | 2013-06-26 | 上海超级计算中心 | System and method for managing resources in high-performance computing service platform |
CN103595771A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for controlling and managing parallel service groups in cluster |
CN103973811A (en) * | 2014-05-23 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | High-availability cluster management method capable of conducting dynamic migration |
CN104679877A (en) * | 2015-03-12 | 2015-06-03 | 浪潮集团有限公司 | High-availability cluster resource management method |
CN104753706A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Distributed cluster configuration management method and distributed cluster configuration management device |
WO2017045345A1 (en) * | 2015-09-14 | 2017-03-23 | 中兴通讯股份有限公司 | Resource management method and apparatus, and multi-mode soft base station unified network management |
WO2017045424A1 (en) * | 2015-09-18 | 2017-03-23 | 乐视控股(北京)有限公司 | Application program deployment system and deployment method |
CN106789260A (en) * | 2016-12-26 | 2017-05-31 | 中国银联股份有限公司 | System and method for carrying out High Availabitity rehearsal to the network equipment |
CN107506932A (en) * | 2017-08-29 | 2017-12-22 | 广州供电局有限公司 | Power grid risk scenes in parallel computational methods and system |
WO2018059486A1 (en) * | 2016-09-29 | 2018-04-05 | 中兴通讯股份有限公司 | Resource utilization method and device, resource transmitting method and device, terminal, and base station |
CN109814935A (en) * | 2017-11-16 | 2019-05-28 | 中标软件有限公司 | The extended method and architecture system of High Availabitity host |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707951A (en) * | 2012-04-28 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Design method of highly available system on heterogeneous platform |
EP2511822A2 (en) * | 2011-04-15 | 2012-10-17 | Hitachi, Ltd. | Resource management method and computer system |
-
2012
- 2012-11-21 CN CN2012104743964A patent/CN102983996A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2511822A2 (en) * | 2011-04-15 | 2012-10-17 | Hitachi, Ltd. | Resource management method and computer system |
CN102707951A (en) * | 2012-04-28 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Design method of highly available system on heterogeneous platform |
Non-Patent Citations (3)
Title |
---|
施培任: "高可用集群软件的三个功能模块", 《科技浪潮》 * |
朱俊洁: "《中国优秀硕士学位论文全文数据库信息科技辑》", 30 July 2012 * |
李文娇等: "高可用性集群技术的分析", 《中国科技论文在线》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176851A (en) * | 2013-04-12 | 2013-06-26 | 上海超级计算中心 | System and method for managing resources in high-performance computing service platform |
CN103176851B (en) * | 2013-04-12 | 2016-08-31 | 上海超级计算中心 | Resource management system in high performance computing service platform and method |
CN103595771A (en) * | 2013-11-01 | 2014-02-19 | 浪潮电子信息产业股份有限公司 | Method for controlling and managing parallel service groups in cluster |
CN104753706B (en) * | 2013-12-27 | 2017-11-24 | 中国移动通信集团公司 | A kind of distributed type assemblies configuring management method and device |
CN104753706A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Distributed cluster configuration management method and distributed cluster configuration management device |
CN103973811A (en) * | 2014-05-23 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | High-availability cluster management method capable of conducting dynamic migration |
CN104679877A (en) * | 2015-03-12 | 2015-06-03 | 浪潮集团有限公司 | High-availability cluster resource management method |
WO2017045345A1 (en) * | 2015-09-14 | 2017-03-23 | 中兴通讯股份有限公司 | Resource management method and apparatus, and multi-mode soft base station unified network management |
WO2017045424A1 (en) * | 2015-09-18 | 2017-03-23 | 乐视控股(北京)有限公司 | Application program deployment system and deployment method |
WO2018059486A1 (en) * | 2016-09-29 | 2018-04-05 | 中兴通讯股份有限公司 | Resource utilization method and device, resource transmitting method and device, terminal, and base station |
CN106789260A (en) * | 2016-12-26 | 2017-05-31 | 中国银联股份有限公司 | System and method for carrying out High Availabitity rehearsal to the network equipment |
CN106789260B (en) * | 2016-12-26 | 2020-11-20 | 中国银联股份有限公司 | System and method for high availability drilling of network devices |
CN107506932A (en) * | 2017-08-29 | 2017-12-22 | 广州供电局有限公司 | Power grid risk scenes in parallel computational methods and system |
CN109814935A (en) * | 2017-11-16 | 2019-05-28 | 中标软件有限公司 | The extended method and architecture system of High Availabitity host |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102983996A (en) | Dynamic allocation method and system for high-availability cluster resource management | |
US10387179B1 (en) | Environment aware scheduling | |
US10585691B2 (en) | Distribution system, computer, and arrangement method for virtual machine | |
EP2796996B1 (en) | Cloud infrastructure based management system and method for performing maintenance and deployment for application system | |
US10154089B2 (en) | Distributed system and data operation method thereof | |
CN105095317B (en) | Distributed data base service management system | |
CN110362381A (en) | HDFS cluster High Availabitity dispositions method, system, equipment and storage medium | |
CN105100259A (en) | Distributed timed task execution method and system | |
CN104572274A (en) | Cross-cloud-node migration system and cross-cloud-node migration method | |
CN103369054B (en) | A kind of acquisition tasks management method and system | |
US20140310703A1 (en) | Multi-machine deployment and configuration of multi-tiered applications | |
CN110795503A (en) | Multi-cluster data synchronization method and related device of distributed storage system | |
CN109245908B (en) | Method and device for switching master cluster and slave cluster | |
US9197546B2 (en) | System and method for providing a messaging cluster with hybrid partitions | |
TW201434300A (en) | Service migration across cluster boundaries | |
CN105635311A (en) | Method for synchronizing resource pool information in cloud management platform | |
CN109743202B (en) | Data management method, device and equipment and readable storage medium | |
US20170033979A1 (en) | Restoration of consistent regions within a streaming environment | |
CN116089011A (en) | Method and device for creating mirror warehouse, storage medium and electronic equipment | |
Imran et al. | Applications of provenance data for cloud infrastructure | |
CN111435329A (en) | Automatic testing method and device | |
CN107528871A (en) | Data analysis in storage system | |
CN111897551B (en) | Platform and method for rapidly cloning software environment in cloud environment | |
CN105302817B (en) | Distributed file system management method and device | |
CN115037757B (en) | Multi-cluster service management system |
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: 20130320 |