CN109600260A - Distributed memory system High Availabitity arrrangement method, system and device - Google Patents
Distributed memory system High Availabitity arrrangement method, system and device Download PDFInfo
- Publication number
- CN109600260A CN109600260A CN201811511553.8A CN201811511553A CN109600260A CN 109600260 A CN109600260 A CN 109600260A CN 201811511553 A CN201811511553 A CN 201811511553A CN 109600260 A CN109600260 A CN 109600260A
- Authority
- CN
- China
- Prior art keywords
- configuration
- component
- high availabitity
- configuration file
- memory system
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Abstract
This application discloses a kind of distributed memory system High Availabitity arrrangement method, system, device and computer readable storage mediums, comprising: obtains the configuration information of High Availabitity component to be configured;Using configuration information, configuration file is generated;Configuration file each server node to be configured into distributed memory system is sent, so that each server node is automatically performed the configuration to corresponding High Availabitity component to be configured using configuration file;The application obtains the configuration information of High Availabitity component to be configured, configuration file is generated accordingly using configuration information, configuration file is sent to each server node to be configured again, so that each server node is automatically performed the configuration to corresponding High Availabitity component to be configured using configuration file, the configuration completed to the High Availabitity component of Servers-all node rapidly and efficiently, it is not necessary that manually each server node is separately configured, realizes batch configuration, improve allocative efficiency.
Description
Technical field
The present invention relates in particular to a kind of distributed memory system High Availabitity arrrangement method, system, device and meters
Calculation machine readable storage medium storing program for executing.
Background technique
In today of big data era, the rise of cloud computing, cloud storage high speed development and Internet of Things causes data in quick-fried
Fried formula increases, wherein non-structural data are even more to occupy the 90% of global metadata, it is then a kind of to be based on (Scale- extending transversely
Out) the cluster NAS (NAS, Network Attached Storage, network attached storage) of storage architecture is born, real
Production environment in, guarantee that the high availability of cluster is particularly important, the high availability of cluster refers to cluster in unconventional situation, example
As still being able to normally provide storage service, by contracting as far as possible when the system crash of burst, node are broken down, hard disk damages
Short system downtime, to improve the availability of system and application;Its working principle is that multiple host works together, each self-operating
One or several services respectively run clothes on it when some hostdown for service definition one or more backup host
Business can be taken over by other hosts.
High Availabitity component in distributed memory system at present, needs manual configuration clustered node IP, client access IP,
And the service etc. that High Availabitity component needs to manage configures, in a fairly large number of situation of server node, configuration process compares
It is cumbersome.
Therefore, it is necessary to a kind of methods of efficient configuration High Availabitity component.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of distributed memory system High Availabitity arrrangement method, being
System, device and computer readable storage medium improve allocative efficiency.Its concrete scheme is as follows:
A kind of distributed memory system High Availabitity arrrangement method, comprising:
Obtain the configuration information of High Availabitity component to be configured;
Using the configuration information, configuration file is generated;
The configuration file each server node to be configured into distributed memory system is sent, so that each service
Device node is automatically performed the configuration to corresponding High Availabitity component to be configured using the configuration file.
Optionally, the process of the configuration information for obtaining High Availabitity component to be configured, comprising:
The attribute for detecting High Availabitity component to be configured, obtains attribute information;
Using the attribute information, the configuration information is generated.
Optionally, described to utilize the configuration information, generate the process of configuration file, comprising:
The component that need to be managed using virtual IP address, the High Availabitity component of node IP, client access in the configuration information
Adapter Name corresponding with the virtual IP address, generating includes that node IP configuration file, virtual IP address configuration file and High Availabitity component are matched
Set the configuration file of file.
The invention also discloses a kind of distributed memory system High Availabitity component configuration systems, comprising:
Data obtaining module, for obtaining the configuration information of High Availabitity component to be configured;
File generating module generates configuration file for utilizing the configuration information;
File sending module, for sending the configuration file each server to be configured into distributed memory system
Node, so that each server node is automatically performed matching to corresponding High Availabitity component to be configured using the configuration file
It sets.
Optionally, the data obtaining module, comprising:
Detection of attribute unit obtains attribute information for detecting the attribute of High Availabitity component to be configured;
Information generating unit generates the configuration information for utilizing the attribute information.
Optionally, the file generating module, specifically for being accessed using node IP, the client in the configuration information
Virtual IP address, High Availabitity the component component and the corresponding Adapter Name of the virtual IP address that need to manage, generating includes node IP configuration text
The configuration file of part, virtual IP address configuration file and High Availabitity component profile.
The invention discloses a kind of distributed memory system High Availabitity component Configuration devices, comprising:
Memory, for storing computer program;
Processor realizes that distributed memory system High Availabitity component as the aforementioned is matched for executing the computer program
Set method.
The invention also discloses a kind of computer readable storage medium, meter is stored on the computer readable storage medium
Calculation machine program, the computer program realize distributed memory system High Availabitity component Configuration as the aforementioned when being executed by processor
The step of method.
In the present invention, a kind of distributed memory system High Availabitity arrrangement method, comprising: obtain High Availabitity to be configured
The configuration information of component;Using configuration information, configuration file is generated;Send configuration file into distributed memory system each to
The server node of configuration, so that each server node is automatically performed using configuration file to corresponding High Availabitity to be configured
The configuration of component.
The present invention obtains the configuration information of High Availabitity component to be configured, generates configuration text accordingly using configuration information
Part, then configuration file is sent to each server node to be configured, so that each server node utilizes configuration file certainly
The dynamic configuration completed to corresponding High Availabitity component to be configured, completing rapidly and efficiently can to the height of Servers-all node
It is realized batch configuration it is not necessary that manually each server node is separately configured with the configuration of component, improves configuration effect
Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of distributed memory system High Availabitity arrrangement method process signal disclosed by the embodiments of the present invention
Figure;
Fig. 2 is a kind of distributed memory system High Availabitity component configuration system structural representation disclosed by the embodiments of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of distributed memory system High Availabitity arrrangement method, packet
It includes:
S11: the configuration information of High Availabitity component to be configured is obtained.
Specifically, the configuration information of High Availabitity component to be configured can be manually entered by user, to obtain to be configured
High Availabitity component configuration information, certainly, due to being connected with each server node, and part High Availabitity component is when default,
It is self-contained to have corresponding configuration information, therefore, the attribute of High Availabitity component to be configured can be detected automatically, is obtained to be configured
High Availabitity component attribute information, may include virtual IP address, Gao Ke for example, IP information, client access in attribute information
Therefore the configuration informations such as the corresponding Adapter Name of component and virtual IP address that need to be managed with component using attribute information, can give birth to automatically
At configuration information.
S12: utilizing configuration information, generates configuration file.
Specifically, configuration information summarize may include node IP, client access virtual IP address, High Availabitity component needs to manage
Component and the corresponding Adapter Name of virtual IP address, node IP configuration file can be generated using node IP, utilize client access
Virtual IP address configuration file can be generated in virtual IP address, and the corresponding Adapter Name of component and virtual IP address that need to be managed using High Availabitity component can
To generate High Availabitity component profile, finally obtain including node IP configuration file, virtual IP address configuration file and High Availabitity group
The configuration file of part configuration file.
In practical applications, the path of IP configuration file and entitled/etc/ctdb/nodes, virtual IP address configuration file
Path and entitled/etc/ctdb/public_addresses, the path of High Availabitity component profile and entitled/etc/
ctdb/ctdbd.conf。
S13: configuration file each server node to be configured into distributed memory system is sent, so that each service
Device node is automatically performed the configuration to corresponding High Availabitity component to be configured using configuration file.
Specifically, each server node will save after configuration file is sent to each server node to be configured
Or more new configuration file, and restart High Availabitity component to be configured corresponding with configuration file, so that configuration load comes into force, thus
It is automatically performed the configuration to High Availabitity component to be configured.
It should be noted that due to being high-availability system, so being mutually redundant between Servers-all node, so only needing
A configuration file can update whole server nodes.
As it can be seen that the embodiment of the present invention obtains the configuration information of High Availabitity component to be configured, it is corresponding using configuration information
Configuration file is generated, then configuration file is sent to each server node to be configured, so that each server node utilizes
Configuration file is automatically performed the configuration to corresponding High Availabitity component to be configured, completing to Servers-all rapidly and efficiently
The configuration of the High Availabitity component of node is realized batch configuration, is improved it is not necessary that manually each server node is separately configured
Allocative efficiency.
Correspondingly, the embodiment of the invention discloses a kind of distributed memory system High Availabitity component configuration systems, referring to fig. 2
Shown, which includes:
Data obtaining module 11, for obtaining the configuration information of High Availabitity component to be configured;
File generating module 12 generates configuration file for utilizing configuration information;
File sending module 13, for sending configuration file each server section to be configured into distributed memory system
Point, so that each server node is automatically performed the configuration to corresponding High Availabitity component to be configured using configuration file.
Specifically, above- mentioned information obtain module 11, it may include detection of attribute unit and information generating unit;Wherein,
Detection of attribute unit obtains attribute information for detecting the attribute of High Availabitity component to be configured;
Information generating unit generates configuration information for utilizing attribute information.
Specifically, above-mentioned file generating module 12, can be specifically used for visiting using node IP, the client in configuration information
The component and the corresponding Adapter Name of virtual IP address that virtual IP address, the High Availabitity component asked need to manage, generate include node IP configuration file,
The configuration file of virtual IP address configuration file and High Availabitity component profile.
In addition, the embodiment of the invention also discloses a kind of distributed memory system High Availabitity component Configuration devices, comprising:
Memory, for storing computer program;
Processor realizes distributed memory system High Availabitity as the aforementioned component Configuration side for executing computer program
Method.
It is understood that distributed memory system High Availabitity component Configuration device can be in distributed memory system
Controlling terminal, controlling terminal can be connected with Servers-all node in distributed memory system, can for parallel connection and/or
Serial connection.
In addition, the embodiment of the invention also discloses a kind of computer readable storage medium, on computer readable storage medium
It is stored with computer program, distributed memory system High Availabitity component as the aforementioned is realized when computer program is executed by processor
The step of configuration method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Above to a kind of distributed memory system High Availabitity arrrangement method provided by the present invention, system, device and
Computer readable storage medium is described in detail, and specific case used herein is to the principle of the present invention and embodiment
It is expounded, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for
Those of ordinary skill in the art have change according to the thought of the present invention in specific embodiments and applications
Place, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (8)
1. a kind of distributed memory system High Availabitity arrrangement method characterized by comprising
Obtain the configuration information of High Availabitity component to be configured;
Using the configuration information, configuration file is generated;
The configuration file each server node to be configured into distributed memory system is sent, so that each server section
Point is automatically performed the configuration to corresponding High Availabitity component to be configured using the configuration file.
2. distributed memory system High Availabitity arrrangement method according to claim 1, which is characterized in that the acquisition
The process of the configuration information of High Availabitity component to be configured, comprising:
The attribute for detecting High Availabitity component to be configured, obtains attribute information;
Using the attribute information, the configuration information is generated.
3. distributed memory system High Availabitity arrrangement method according to claim 2, which is characterized in that the utilization
The configuration information generates the process of configuration file, comprising:
The component that need to be managed using virtual IP address, the High Availabitity component of node IP, client access in the configuration information and institute
The corresponding Adapter Name of virtual IP address is stated, generating includes node IP configuration file, virtual IP address configuration file and High Availabitity component Configuration text
The configuration file of part.
4. a kind of distributed memory system High Availabitity component configuration system characterized by comprising
Data obtaining module, for obtaining the configuration information of High Availabitity component to be configured;
File generating module generates configuration file for utilizing the configuration information;
File sending module, for sending the configuration file each server section to be configured into distributed memory system
Point, so that each server node is automatically performed matching to corresponding High Availabitity component to be configured using the configuration file
It sets.
5. distributed memory system High Availabitity component configuration system according to claim 4, which is characterized in that the information
Obtain module, comprising:
Detection of attribute unit obtains attribute information for detecting the attribute of High Availabitity component to be configured;
Information generating unit generates the configuration information for utilizing the attribute information.
6. distributed memory system High Availabitity component configuration system according to claim 5, which is characterized in that the file
Generation module needs pipe specifically for virtual IP address, the High Availabitity component using node IP, client access in the configuration information
The component of reason and the corresponding Adapter Name of the virtual IP address, generating includes node IP configuration file, virtual IP address configuration file and Gao Ke
With the configuration file of component profile.
7. a kind of distributed memory system High Availabitity component Configuration device characterized by comprising
Memory, for storing computer program;
Processor realizes distributed storage system as described in any one of claims 1 to 3 for executing the computer program
System High Availabitity arrrangement method.
8. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize distributed memory system as described in any one of claims 1 to 3 when being executed by processor
The step of High Availabitity arrrangement method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811511553.8A CN109600260A (en) | 2018-12-11 | 2018-12-11 | Distributed memory system High Availabitity arrrangement method, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811511553.8A CN109600260A (en) | 2018-12-11 | 2018-12-11 | Distributed memory system High Availabitity arrrangement method, system and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109600260A true CN109600260A (en) | 2019-04-09 |
Family
ID=65961784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811511553.8A Pending CN109600260A (en) | 2018-12-11 | 2018-12-11 | Distributed memory system High Availabitity arrrangement method, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109600260A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110098960A (en) * | 2019-04-24 | 2019-08-06 | 苏州浪潮智能科技有限公司 | A kind of distributed block storage system exempts from close automatic configuration method and device |
CN112333010A (en) * | 2020-10-23 | 2021-02-05 | 苏州浪潮智能科技有限公司 | Method and device for supporting automatic configuration of high-availability environment |
CN114567558A (en) * | 2022-01-14 | 2022-05-31 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for configuring virtual network card for computer cluster |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219097A (en) * | 2014-09-12 | 2014-12-17 | 国云科技股份有限公司 | Rapid configuration method of distributed system |
CN104811476A (en) * | 2015-03-26 | 2015-07-29 | 南京大学 | Highly-available disposition method facing application service |
CN104965741A (en) * | 2015-06-30 | 2015-10-07 | 浪潮(北京)电子信息产业有限公司 | Method and apparatus for installing real-time application clusters |
CN105677411A (en) * | 2016-01-04 | 2016-06-15 | 山东超越数控电子有限公司 | Device, system and method for installing colony assembly |
-
2018
- 2018-12-11 CN CN201811511553.8A patent/CN109600260A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219097A (en) * | 2014-09-12 | 2014-12-17 | 国云科技股份有限公司 | Rapid configuration method of distributed system |
CN104811476A (en) * | 2015-03-26 | 2015-07-29 | 南京大学 | Highly-available disposition method facing application service |
CN104965741A (en) * | 2015-06-30 | 2015-10-07 | 浪潮(北京)电子信息产业有限公司 | Method and apparatus for installing real-time application clusters |
CN105677411A (en) * | 2016-01-04 | 2016-06-15 | 山东超越数控电子有限公司 | Device, system and method for installing colony assembly |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110098960A (en) * | 2019-04-24 | 2019-08-06 | 苏州浪潮智能科技有限公司 | A kind of distributed block storage system exempts from close automatic configuration method and device |
CN110098960B (en) * | 2019-04-24 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Secret-free automatic configuration method and device for distributed block storage system |
CN112333010A (en) * | 2020-10-23 | 2021-02-05 | 苏州浪潮智能科技有限公司 | Method and device for supporting automatic configuration of high-availability environment |
CN112333010B (en) * | 2020-10-23 | 2022-06-21 | 苏州浪潮智能科技有限公司 | Method and device for supporting automatic configuration of high-availability environment |
CN114567558A (en) * | 2022-01-14 | 2022-05-31 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for configuring virtual network card for computer cluster |
CN114567558B (en) * | 2022-01-14 | 2023-08-18 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for configuring virtual network card by computer cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10073747B2 (en) | Reducing recovery time in disaster recovery/replication setup with multitier backend storage | |
CN102571452B (en) | Multi-node management method and system | |
CN107666493B (en) | Database configuration method and equipment thereof | |
CN109600260A (en) | Distributed memory system High Availabitity arrrangement method, system and device | |
TW201211895A (en) | Migrating virtual machines among networked servers upon detection of degrading network link operation | |
US10725806B2 (en) | Transitioning volumes between storage virtual machines | |
CN107665141B (en) | Database configuration method and equipment thereof | |
US10452502B2 (en) | Handling node failure in multi-node data storage systems | |
WO2015058711A1 (en) | Rapid fault detection method and device | |
US11494130B2 (en) | Operation data accessing device and accessing method thereof | |
CN105553682B (en) | Event notification method and the system notified for event | |
US9591079B2 (en) | Method and apparatus for managing sessions of different websites | |
US11321350B2 (en) | Managing identifiers for multinodal master systems of unknown or changing size | |
CN110633046A (en) | Storage method and device of distributed system, storage equipment and storage medium | |
CN105812423A (en) | Cloud system configuration method, server, and device | |
CN106648838B (en) | Resource pool management configuration method and device | |
US11153173B1 (en) | Dynamically updating compute node location information in a distributed computing environment | |
US10833918B2 (en) | Automatic rule based grouping of compute nodes for a globally optimal cluster | |
EP3058455A1 (en) | Methods for monitoring and controlling a storage environment and devices thereof | |
US9559862B1 (en) | Determining connectivity of various elements of distributed storage systems | |
US10623474B2 (en) | Topology graph of a network infrastructure and selected services status on selected hubs and nodes | |
US9934113B2 (en) | Enhanced console assisted recovery for a coordinated timing network | |
CN108306964A (en) | Server node information centralized displaying method, system, equipment and storage medium | |
US9336102B2 (en) | Systems and methods for preventing input/output performance decrease after disk failure in a distributed file system | |
US9489271B1 (en) | User interface for restoring databases |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190409 |