CN105915369B - A kind of configuration information management method and device - Google Patents

A kind of configuration information management method and device Download PDF

Info

Publication number
CN105915369B
CN105915369B CN201610200796.4A CN201610200796A CN105915369B CN 105915369 B CN105915369 B CN 105915369B CN 201610200796 A CN201610200796 A CN 201610200796A CN 105915369 B CN105915369 B CN 105915369B
Authority
CN
China
Prior art keywords
configuration information
computer
configuration
sent
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610200796.4A
Other languages
Chinese (zh)
Other versions
CN105915369A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201610200796.4A priority Critical patent/CN105915369B/en
Publication of CN105915369A publication Critical patent/CN105915369A/en
Application granted granted Critical
Publication of CN105915369B publication Critical patent/CN105915369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of configuration information management method and device provided in an embodiment of the present invention, applied to the objective management server in configuration management system, the configuration information to be modified of the mark of first object computer and first object computer in service cluster to be configured is carried for configuration information of computer modification instruction, the instruction in service cluster to be configured this method comprises: receiving;According to the mark of first object computer, first object configuration information of computer is obtained from the configuration information that objective management server stores;According to configuration information update first object configuration information of computer to be modified, and updated first object configuration information of computer is sent to first object computer, so that first object computer carries out configuration information update according to the received configuration information of institute.The efficient management to the configuration of computer in service cluster is realized without logging on to the management for carrying out configuration information on each computer using configuration information management scheme provided in an embodiment of the present invention.

Description

A kind of configuration information management method and device
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of configuration information management method and device.
Background technique
Nowadays, internet industry shows the trend of high speed development, the Internet service that each Internet company provides Also large-scale, clustering are presented therewith.In general, an Internet service generally requires tens or up to a hundred calculating units At service cluster support.Therefore, how efficiently each configuration information of computer has become one in management service cluster The direction of a worth research.
In the prior art, it is stored with a configuration file in each computer in service cluster, in configuration file only Configuration information of computer where having recorded it, system maintenance personnel can be by the configuration file in each computer The mode of its configuration information is modified, the configuration to each computer in service cluster is completed and updates.
Although the scheme provided in the prior art can be realized the configuration modification to computer in service cluster, still, need Logging on to respectively can just complete on each computer, then, when the continuous development with Internet service, service cluster In the quantity of computer can be more and more, the workload of system maintenance personnel will be made increasing in this way, it is difficult to realize pair The efficient management of the configuration of computer in service cluster.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of configuration information management method and device, to realize to service cluster The efficient management of the configuration of middle computer.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of configuration information management methods, are applied to configuration management Objective management server in system;Wherein, the configuration management system includes an at least management server, each management Each computer in server and service cluster to be configured communicates to connect, and each management server is stored with and leads to it Believe all configuration information of computer of connection, which comprises
It receives and modifies instruction for the configuration information of computer in the service cluster to be configured;Wherein, the configuration Information modification instruction carries the mark of first object computer and the first object meter in the service cluster to be configured The configuration information to be modified of calculation machine;
According to the mark of the first object computer, obtained from the configuration information that the objective management server stores The first object configuration information of computer;
According to first object configuration information of computer described in the configuration information update to be modified, and by updated institute It states first object configuration information of computer and is sent to the first object computer, so that the first object computer root Configuration information update is carried out according to the received configuration information of institute.
Preferably, described be sent to the first object meter for the updated first object configuration information of computer Calculation machine, comprising:
The configuration file comprising the identified first object configuration information of computer is generated, and the configuration is literary Part is sent to the first object computer.
Preferably, described be sent to the first object meter for the updated first object configuration information of computer Calculation machine, comprising:
The updated first object configuration information of computer of institute is sent to first mesh by default port Mark computer.
Preferably, described be sent to the updated first object configuration information of computer of institute by default port The first object computer, comprising:
According to the preset time interval, by the updated first object configuration information of computer by presetting port It is sent to the first object computer;
Or,
It monitors whether to receive the configuration information update instruction that the first object computer is sent;If it is, will more The first object configuration information of computer after new is sent to the first object computer by default port.
Preferably, in the case where the service cluster to be configured is connect with downstream service cluster communication thereon, further includes:
Receive the second object-computer being directed in the upstream and downstream service cluster that the first object computer is sent Configuration information access request;Wherein, the mark of second object-computer is carried in the configuration information access request;
According to the mark of second object-computer, obtained from the configuration information that the objective management server stores The configuration information of second object-computer;
The configuration information of second object-computer is sent to the first object computer, so as to first mesh It marks computer and configuration modification is carried out according to the configuration information of second object-computer.
Preferably, further include: other management servers in Xiang Suoshu configuration management system send the synchronous letter of configuration information Number, so that other described management servers update the configuration information respectively stored according to the configuration information synchronization signal, wherein The configuration information modified is carried in the configuration information synchronization signal.
Preferably, the objective management server is the smallest management clothes of load pressure in the configuration management system Business device.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of configuration information management devices, are applied to configuration management Objective management server in system;Wherein, the configuration management system includes an at least management server, each management Each computer in server and service cluster to be configured communicates to connect, and each management server is stored with and leads to it Believe all configuration information of computer of connection, described device includes:
Command reception module is modified, is repaired for receiving the configuration information of computer being directed in the service cluster to be configured Change instruction;Wherein, the configuration information modification instruction carries the mark of first object computer in the service cluster to be configured The configuration information to be modified of knowledge and the first object computer;
Configuration information obtains module, for the mark according to the first object computer, from the objective management service The first object configuration information of computer is obtained in the configuration information of device storage;
Configuration information sending module, for matching for the first object computer according to the configuration information update to be modified Confidence breath, and the updated first object configuration information of computer is sent to the first object computer, so that It obtains the first object computer and a configuration information update is carried out according to the received configuration information of institute.
Preferably, the configuration information sending module, comprising:
Configuration information update unit, for matching for the first object computer according to the configuration information update to be modified Confidence breath;
Configuration file generation unit includes matching for the identified first object configuration information of computer for generating Set file;
Configuration file transmission unit, for the configuration file to be sent to the first object computer, so that institute It states first object computer and configuration information update is carried out according to the received configuration information of institute.
Preferably, the configuration information sending module, is used for:
Configuration information update unit, for matching for the first object computer according to the configuration information update to be modified Confidence breath;
Configuration information transmission unit, it is default for passing through the updated first object configuration information of computer of institute Port is sent to the first object computer, so that the first object computer is carried out according to the received configuration information of institute Configuration information update.
Preferably, the configuration information transmission unit, is used for:
According to the preset time interval, by the identified first object configuration information of computer by presetting port It is sent to the first object computer;
Or,
It monitors whether to receive the configuration information update instruction that the first object computer is sent;If it is, by institute The determining first object configuration information of computer is sent to the first object computer by default port.
Preferably, further include: configuration request module, in the service cluster to be configured and downstream service thereon In the case that cluster communication connects, receive that the first object computer sends for the in the upstream and downstream service cluster The configuration information access request of two object-computers;Wherein, second target is carried in the configuration information access request The mark of computer;
The configuration information obtains module, for the mark according to second object-computer, from the objective management The configuration information of second object-computer is obtained in the configuration information of server storage;
The configuration information sending module, for the configuration information of second object-computer to be sent to described first Object-computer is repaired so that the first object computer carries out configuration according to the configuration information of second object-computer Change.
Preferably, further include: configuration information synchronization module, for other management services into the configuration management system Device sends configuration information synchronization signal, so that other described management servers update respectively according to the configuration information synchronization signal The configuration information of storage, wherein carry the configuration information modified in the configuration information synchronization signal.
Preferably, the objective management server is the smallest management clothes of load pressure in the configuration management system Business device.
The embodiment of the present invention provides a kind of configuration information management method and device, applied to the target in configuration management system Management server;It is repaired firstly, the objective management server is received for the configuration information of computer in service cluster to be configured Change instruction;Then, according to the mark of the first object computer, from the configuration information that the objective management server stores Obtain the first object configuration information of computer;Finally, the first object according to configuration information update to be modified calculates The configuration information of machine, and the updated first object configuration information of computer is sent to the first object and is calculated Machine, so that the first object computer carries out configuration information update according to the received configuration information of institute.As it can be seen that using this hair The configuration information management scheme that bright embodiment provides, it is real without logging on to the management for carrying out configuration information on each computer The efficient management to the configuration of computer in service cluster is showed.
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 Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of configuration information management method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another configuration information management method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another configuration information management method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of configuration information management device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another configuration information management device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another configuration information management device provided in an embodiment of the present invention.
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.
Currently, in traditional configuration information management scheme for computer in service cluster, it is every in service cluster Platform configuration information of computer is stored on corresponding computer in the form of text document or configuration file, and internet is worked as When service provided by company changes, it is necessary to which system maintenance personnel log on in each computer in service cluster It is corresponding to modify pre-stored text document or configuration file.However, with the high speed development of internet industry, Internet company Service also gradually move towards large-scale, the development trend of clustering, correspondingly, for these large-scales, clustered service The service cluster for providing support is also more and more numerous and more jumbled, and the quantity of the computer in service cluster is also more and more.As one can imagine such as Fruit will be brought quite big using the configuration information of computer in conventional arrangement project management service cluster to system maintenance personnel Workload, it is difficult to realize efficient management to the configuration of computer in service cluster.
For above situation, the embodiment of the invention provides a kind of configuration information management method and devices, below first to this The configuration information management method that invention provides carries out lower detailed description.
Fig. 1 is a kind of flow diagram of configuration information management method provided in an embodiment of the present invention, and this method is applied to Objective management server in configuration management system.Wherein, configuration management system includes an at least management server, Mei Yitai Each computer in management server and service cluster to be configured communicates to connect, and each management server be stored with Its all configuration information of computer communicated to connect.
It should be noted that the configuration management system includes an at least management server, then, for the configuration management In the case where including two or more management servers in system, then need regular from institute according to certain management server selection Including more management servers in select a management server to execute following steps.In a kind of preferred implementation of the invention In example, the considerations of in terms of system load balancing, the objective management server for executing subsequent step can be configuration management system The smallest management server of load pressure in system.Certainly, the embodiment of the present invention is not needed to the target for executing following steps The selection mode of management server is defined, for example, it is also possible to be selected at random from the configuration management system according to random algorithm A management server is selected as objective management server, those skilled in the art need according to specific in practical application Situation is reasonably arranged.
For configuration management system high availability the considerations of, it is considered that, if having in the configuration management system half with Under management server break down after, more than half remaining management server is can to guarantee the configuration in the system Management system can continue to normal operation, therefore, in one preferred embodiment of the invention, the pipe in configuration management system The quantity of reason server can be set to odd number platform, for example, 3 or 5 management servers.Certainly, the embodiment of the present invention is not required to The quantity of management server in configuration management system is defined, those skilled in the art need according to actually answering Concrete condition in is reasonably arranged.
Specifically, above-mentioned configuration information management method may comprise steps of:
Step S101: it receives and modifies instruction for the configuration information of computer in service cluster to be configured.
Wherein, configuration information modification instruction carries in service cluster to be configured the mark of first object computer and the The configuration information to be modified of one object-computer.
The mark of first object computer can be in service cluster to be configured described herein divides in advance for the computer IP (Internet Protocol, the Internet protocol) address matched, can also be MAC (the Media Access of the computer Control, physical address) address etc. is capable of the information of the unique identification computer.It should be noted that the above-mentioned IP referred to Location or MAC Address are merely illustrative, it is, of course, also possible to be by the preset identification information of those skilled in the art Deng the embodiment of the present invention does not need to be defined the mark of first object computer, and those skilled in the art need root Reasonably it is arranged according to the concrete condition in practical application.
Step S102: it according to the mark of first object computer, is obtained from the configuration information that objective management server stores Obtain first object configuration information of computer.
It should be noted that be stored in each management server in configuration management system communicate with connection to Configure each configuration information of computer in service cluster.Can be in concrete application, in management server will be to be configured Each configuration information of computer in service cluster is stored in a configuration file, it is, of course, also possible to which being will be to be configured Each configuration information of computer in service cluster is stored in multiple configuration files, and the embodiment of the present invention is not needed to mesh The concrete form that the configuration information in service cluster to be configured is stored in mark management server is defined, any possible realization Mode can be applied to the present invention.
Step S103: according to configuration information update first object configuration information of computer to be modified, and will be updated First object configuration information of computer is sent to first object computer, so that first object computer is received according to institute Configuration information carries out configuration information update.
As it can be seen that configuration management server can modify the configuration information to be modified carried in instruction according to configuration information come more The configuration information that new configuration management server is locally stored, and do not have to as the prior art by system maintenance personnel's manual entry Configuration information is modified in each computer into service cluster to be configured.It is envisioned that, it is assumed that service cluster to be configured In there are 100 configuration information of computer to need to modify, according to traditional configuration information management scheme, need system maintenance people Member logs on to the configuration modification being just able to achieve in this 100 computers to this 100 computers respectively, and the present invention is applied to implement The method that example provides, system maintenance personnel only need to send the configuration for carrying this 100 computers to configuration management server The configuration modification of modification information instructs, configuration management server after updating the configuration information that it is locally stored according to the instruction, Updated configuration information is sent respectively to this 100 computers again, it is clear that scheme provided in an embodiment of the present invention is applied, The workload that system maintenance personnel can be substantially reduced realizes the efficient management to the configuration of computer in service cluster.
It, can also be with it should be noted that the configuration information of computer in service cluster to be configured can have configuration file There is no configuration file.For there is the case where configuration file, in a specific embodiment of the invention, can be generated comprising institute The configuration file of determining first object configuration information of computer, and configuration file is sent to first object computer;It is right It, in another specific embodiment of the present invention, can also be by the updated first object of institute in there is no the case where configuration file Configuration information of computer is sent to first object computer by default port.
Wherein it is possible in the following way by the updated first object configuration information of computer of institute by presetting port It is sent to first object computer:
Mode 1: according to the preset time interval, updated first object configuration information of computer is passed through into default end Mouth is sent to first object computer;
Mode 2: it monitors whether to receive the configuration information update instruction of first object computer transmission;If it is, will Updated first object configuration information of computer is sent to first object computer by default port.
It should be noted that the embodiment of the present invention do not need to by updated first object computer with confidence Breath is sent to the concrete mode of first object computer by presetting port and is defined, and any possible implementation can be with Applied to the present invention.
It can be seen that being carried out to the computer in service cluster with confidence using scheme provided in an embodiment of the present invention When modification of breath etc. operates, without logging on to the management for carrying out configuration information on each computer in cluster to be configured, from And the workload of system maintenance personnel is reduced, realize the efficient management to the configuration of computer in service cluster.
Further, configuration management system can carry out the management of configuration information to multiple service clusters, and what is be managed is more A service cluster can be the service cluster that the connection relationship of downstream service is served with upstream, for example, when user needs to step on When recording iqiyi.com account viewing film, it is necessary first to be taken by the service cluster that offer Account Logon services to provide Account Logon Business, then VIP membership service is provided by the service cluster of offer VIP member's account service, the service of Account Logon is provided here Cluster can be referred to as the service with upstream and downstream service connection relationship with the service cluster for judging whether it is VIP member's account Cluster, certainly, the multiple service clusters being managed are also possible to the service cluster for not having service connection relationship.So, to In the case that configuration service cluster is connect with downstream service cluster communication thereon, referring to fig. 2, embodiment of the method shown in Fig. 1 On basis, this method may also comprise the following steps::
Step S104: the second object-computer being directed in upstream and downstream service cluster that first object computer is sent is received Configuration information access request.
Wherein, the mark of the second object-computer is carried in configuration information access request.
It should be noted that for multiple service clusters with upstream and downstream service connection relationship, when the clothes of a side After configuration information of computer in business cluster changes, the configuration information of computer in the service cluster of another party is often It is also required to be modified accordingly with carrying out the variation.For example, for the service cluster A with upstream and downstream service connection relationship For B, if provided in service cluster B 50 computers of service marked as 1-50, computer in service cluster A is matched It is set as 1-50 in confidence breath;However, the computer in service cluster B changes, 50 calculating of service are provided at this time When machine is marked as 11-60, the computer in service cluster A just needs to be corresponded to according to the variation in service cluster B downstream Modify the configuration information of computer in service cluster A.Certainly, the clothes being merely illustrative here in upstream and downstream service cluster The configuration modification for the computer being engaged in cluster influences and one kind of its service cluster with upstream and downstream service connection relationship is specific Form, the embodiment of the present invention do not need to be defined this.
Step S105: it according to the mark of the second object-computer, is obtained from the configuration information that objective management server stores Obtain the configuration information of the second object-computer.
It should be noted that step S105 is similar with step S102, repeat no more again.
Step S106: the configuration information of the second object-computer is sent to first object computer, so as to first object Computer carries out configuration modification according to the configuration information of the second object-computer.
It can be seen that using scheme provided in an embodiment of the present invention, in addition to having the advantages that embodiment of the method shown in FIG. 1 Except, configuration information management can also be provided for the multiple service clusters for servicing connection relationship with upstream and downstream, greatly reduced Brought by the variation of computer in service cluster to be configured because of the configuration information of computer in downstream service cluster thereon The workload that configuration information of computer is modified in service cluster to be configured, realizes to the configuration of computer in service cluster Efficiently management.
Further, referring to Fig. 3, on the basis of embodiment of the method shown in Fig. 2, this method can also include following Step:
Step S107: other management servers into configuration management system send configuration information synchronization signal, so as to it He updates the configuration information respectively stored according to configuration information synchronization signal at management server.
Wherein, the configuration information modified is carried in configuration information synchronization signal.
It should be noted that can be sent by heartbeat mechanism between configuration management server in configuration management system Configuration information synchronization signal can also send configuration information synchronization signal in the way of broadcast.Certainly, the embodiment of the present invention It does not need the concrete form synchronous to the configuration information between each configuration admin service to be defined, technology people in the art Member needs reasonably to be arranged according to the concrete condition in practical application.
It can be seen that using scheme provided in an embodiment of the present invention, except all advantages with embodiment of the method shown in Fig. 2 Except, the embodiment of the present invention also assures the one of the configuration information stored in each management server in configuration management system Cause property, to ensure that the configuration information that can preferably manage service cluster to be configured.
Lower detailed description is carried out to configuration information management device provided by the invention again below, it is referring to fig. 4, real for the present invention The structural schematic diagram that a kind of configuration information management device of example offer is provided, applied to the objective management service in configuration management system Device.Wherein, configuration management system includes an at least management server, in each management server and service cluster to be configured The communication connection of each computer, and each management server is stored with the configuration for communicating with all computers of connection Information.
Specifically, above-mentioned configuration information management device may include with lower module: modification command reception module 201, configuration Information acquisition module 202 and configuration information sending module 203.
Wherein, command reception module 201 is modified, for receiving for the computer in service cluster to be configured with confidence Breath modification instruction.
Wherein, configuration information modification instruction carries in service cluster to be configured the mark of first object computer and the The configuration information to be modified of one object-computer.
Configuration information obtains module 202, for the mark according to first object computer, stores from objective management server Configuration information in obtain first object configuration information of computer.
Configuration information sending module 203, for matching confidence according to configuration information update first object computer to be modified Breath, and updated first object configuration information of computer is sent to first object computer, so that first object meter Calculation machine carries out configuration information update according to the received configuration information of institute.
Specifically, configuration information sending module 203, may include: configuration information update unit, configuration file generation unit With configuration file transmission unit.
Wherein, configuration information update unit, for the configuration according to configuration information update first object computer to be modified Information.
Configuration file generation unit, for generating the configuration text comprising identified first object configuration information of computer Part.
Configuration file transmission unit, for configuration file to be sent to first object computer, so that first object meter Calculation machine carries out configuration information update according to the received configuration information of institute.
Specifically, configuration information sending module 203, is used for:
Configuration information update unit, for according to configuration information update first object configuration information of computer to be modified.
Configuration information transmission unit, for the updated first object configuration information of computer of institute to be passed through default port It is sent to first object computer, so that first object computer carries out configuration information more according to the received configuration information of institute Newly.
Specifically, configuration information transmission unit, is used for:
According to the preset time interval, identified first object configuration information of computer is sent by default port Give first object computer;
Or,
Monitor whether that the configuration information update for receiving the transmission of first object computer instructs;If it is, by determining First object configuration information of computer first object computer is sent to by default port.
Using scheme provided in an embodiment of the present invention, in the modification etc. for carrying out configuration information to the computer in service cluster When operation, without logging on to the management for carrying out configuration information on each computer in cluster to be configured, to reduce and be The workload of system maintenance personnel, realizes the efficient management to the configuration of computer in service cluster.
Further, referring to Fig. 5, on the basis of Installation practice shown in Fig. 4, above-mentioned configuration information management device is also It may include: configuration request module 204.
Wherein, configuration request module 204, for connecting in service cluster to be configured and downstream service cluster communication thereon In the case where connecing, the configuration for the second object-computer in upstream and downstream service cluster that first object computer is sent is received Formation access requests.
Wherein, the mark of the second object-computer is carried in configuration information access request.
Configuration information obtains module 202, is also used to the mark according to the second object-computer, deposits from objective management server The configuration information of the second object-computer is obtained in the configuration information of storage.
Configuration information sending module 203 is also used to the configuration information of the second object-computer being sent to first object meter Calculation machine, so that first object computer carries out configuration modification according to the configuration information of the second object-computer.
It can be seen that using scheme provided in an embodiment of the present invention, in addition to having the advantages that Installation practice shown in Fig. 4 Except, configuration information management can also be provided for the multiple service clusters for servicing connection relationship with upstream and downstream, greatly reduced Brought by the variation of computer in service cluster to be configured because of the configuration information of computer in downstream service cluster thereon The workload that configuration information of computer is modified in service cluster to be configured, realizes to the configuration of computer in service cluster Efficiently management.
Further, referring to Fig. 6, on the basis of Installation practice shown in Fig. 5, above-mentioned configuration information management device Can also include:
Configuration information synchronization module 205 sends configuration information for other management servers into configuration management system Synchronization signal, so that other management servers update the configuration information respectively stored according to configuration information synchronization signal.
Wherein, the configuration information modified is carried in configuration information synchronization signal.
Preferably, objective management server is the smallest management server of load pressure in configuration management system.
It can be seen that using scheme provided in an embodiment of the present invention, except all advantages with Fig. 5 shown device embodiment Except, the embodiment of the present invention also assures the one of the configuration information stored in each management server in configuration management system Cause property, to ensure that the configuration information that can preferably manage service cluster to be configured.
For device embodiment, since it is substantially similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization above method embodiment is can It is completed with instructing relevant hardware by program, the program can store in computer-readable storage medium, Storage medium designated herein, such as: ROM/RAM, magnetic disk, CD.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (12)

1. a kind of configuration information management method, applied to the objective management server in configuration management system;Wherein, the configuration Management system includes an at least management server, each calculating in each management server and service cluster to be configured Machine communication connection, and each management server is stored with all configuration information of computer for communicating with connection, feature It is, which comprises
It receives and modifies instruction for the configuration information of computer in the service cluster to be configured;Wherein, the configuration information Modification instruction carries the mark of first object computer and the first object computer in the service cluster to be configured Configuration information to be modified;
According to the mark of the first object computer, obtained from the configuration information that the objective management server stores described First object configuration information of computer;
According to first object configuration information of computer described in the configuration information update to be modified, and by updated described The configuration information of one object-computer is sent to the first object computer, so that the first object computer is according to institute Received configuration information carries out configuration information update;
In the case where the service cluster to be configured is connect with downstream service cluster communication thereon, further includes:
Receive the matching for the second object-computer in the upstream and downstream service cluster that the first object computer is sent Set formation access requests;Wherein, the mark of second object-computer is carried in the configuration information access request;
According to the mark of second object-computer, obtained from the configuration information that the objective management server stores described The configuration information of second object-computer;
The configuration information of second object-computer is sent to the first object computer, so as to the first object meter Calculation machine carries out configuration modification according to the configuration information of second object-computer.
2. the method according to claim 1, wherein the matching the updated first object computer Confidence breath is sent to the first object computer, comprising:
The configuration file comprising the identified first object configuration information of computer is generated, and the configuration file is sent out Give the first object computer.
3. the method according to claim 1, wherein the matching the updated first object computer Confidence breath is sent to the first object computer, comprising:
The updated first object configuration information of computer of institute is sent to the first object meter by default port Calculation machine.
4. according to the method described in claim 3, it is characterized in that, it is described by the updated first object computer Configuration information is sent to the first object computer by default port, comprising:
According to the preset time interval, the updated first object configuration information of computer is sent by default port To the first object computer;
Or,
It monitors whether to receive the configuration information update instruction that the first object computer is sent;If it is, after updating The first object configuration information of computer first object computer is sent to by default port.
5. method according to any of claims 1-4, which is characterized in that further include:
Other management servers into the configuration management system send configuration information synchronization signal, so as to other described management Server updates the configuration information respectively stored according to the configuration information synchronization signal, wherein the synchronous letter of the configuration information The configuration information modified is carried in number.
6. method according to any of claims 1-4, which is characterized in that
The objective management server is the smallest management server of load pressure in the configuration management system.
7. a kind of configuration information management device, applied to the objective management server in configuration management system;Wherein, the configuration Management system includes an at least management server, each calculating in each management server and service cluster to be configured Machine communication connection, and each management server is stored with all configuration information of computer for communicating with connection, feature It is, described device includes:
Command reception module is modified, is referred to for receiving the configuration information of computer being directed in the service cluster to be configured modification It enables;Wherein, configuration information modification instruction carry the mark of first object computer in the service cluster to be configured with And the configuration information to be modified of the first object computer;
Configuration information obtains module and deposits for the mark according to the first object computer from the objective management server The first object configuration information of computer is obtained in the configuration information of storage;
Configuration information sending module matches confidence for the first object computer according to the configuration information update to be modified Breath, and the updated first object configuration information of computer is sent to the first object computer, so that institute It states first object computer and configuration information update is carried out according to the received configuration information of institute;
Configuration request module, for the case where the service cluster to be configured is connect with downstream service cluster communication thereon Under, receive the configuration for the second object-computer in the upstream and downstream service cluster that the first object computer is sent Formation access requests;Wherein, the mark of second object-computer is carried in the configuration information access request;
The configuration information obtains module, for the mark according to second object-computer, from the objective management service The configuration information of second object-computer is obtained in the configuration information of device storage;
The configuration information sending module, for the configuration information of second object-computer to be sent to the first object Computer, so that the first object computer carries out configuration modification according to the configuration information of second object-computer.
8. device according to claim 7, which is characterized in that the configuration information sending module, comprising:
Configuration information update unit matches confidence for the first object computer according to the configuration information update to be modified Breath;
Configuration file generation unit, for generating the configuration text comprising the identified first object configuration information of computer Part;
Configuration file transmission unit, for the configuration file to be sent to the first object computer, so that described One object-computer carries out configuration information update according to the received configuration information of institute.
9. device according to claim 7, which is characterized in that the configuration information sending module is used for:
Configuration information update unit matches confidence for the first object computer according to the configuration information update to be modified Breath;
Configuration information transmission unit, for the updated first object configuration information of computer of institute to be passed through default port It is sent to the first object computer, so that the first object computer is configured according to the received configuration information of institute Information update.
10. device according to claim 9, which is characterized in that the configuration information transmission unit is used for:
According to the preset time interval, the identified first object configuration information of computer is sent by default port To the first object computer;
Or,
It monitors whether to receive the configuration information update instruction that the first object computer is sent;If it is, by determining The first object configuration information of computer first object computer is sent to by default port.
11. the device according to any one of claim 7-10, which is characterized in that further include:
It is synchronous to send configuration information for other management servers into the configuration management system for configuration information synchronization module Signal, so that other described management servers update the configuration information respectively stored according to the configuration information synchronization signal, In, the configuration information modified is carried in the configuration information synchronization signal.
12. the device according to any one of claim 7-10, which is characterized in that
The objective management server is the smallest management server of load pressure in the configuration management system.
CN201610200796.4A 2016-03-31 2016-03-31 A kind of configuration information management method and device Active CN105915369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610200796.4A CN105915369B (en) 2016-03-31 2016-03-31 A kind of configuration information management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610200796.4A CN105915369B (en) 2016-03-31 2016-03-31 A kind of configuration information management method and device

Publications (2)

Publication Number Publication Date
CN105915369A CN105915369A (en) 2016-08-31
CN105915369B true CN105915369B (en) 2019-04-12

Family

ID=56744696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610200796.4A Active CN105915369B (en) 2016-03-31 2016-03-31 A kind of configuration information management method and device

Country Status (1)

Country Link
CN (1) CN105915369B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453501B (en) * 2016-09-09 2019-05-31 北京奇虎科技有限公司 A kind of method and apparatus of the configuration information of modification service
CN106657167B (en) * 2017-03-10 2020-05-26 联想(北京)有限公司 Management server, server cluster, and management method
CN107172143A (en) * 2017-05-12 2017-09-15 郑州云海信息技术有限公司 Software synchronizing method and device in a kind of server cluster
CN107147719A (en) * 2017-05-15 2017-09-08 郑州云海信息技术有限公司 A kind of hardware update method, master node, slave node and server cluster
CN109729129B (en) * 2017-10-31 2021-10-26 华为技术有限公司 Configuration modification method of storage cluster system, storage cluster and computer system
CN108880853A (en) * 2017-11-27 2018-11-23 北京视联动力国际信息技术有限公司 A kind of configuration information recovery method and configuration information server regarding networked server
CN109905260A (en) * 2017-12-08 2019-06-18 华为技术有限公司 Method, management equipment and the service processing equipment of device configuration
CN108494814A (en) * 2018-02-01 2018-09-04 顺丰科技有限公司 Distributed Information Gathering management method and system, equipment and storage medium
CN109783136B (en) * 2019-02-15 2022-03-22 广州虎牙信息科技有限公司 Configuration updating method, device, equipment and storage medium
CN110728379A (en) * 2019-09-05 2020-01-24 平安普惠企业管理有限公司 Configuration information management method and device, electronic equipment and non-transitory storage medium
CN112241314B (en) * 2020-10-29 2022-08-09 浪潮通用软件有限公司 Multi-Kubernetes cluster management method and device and readable medium
CN114444080B (en) * 2020-10-30 2024-07-23 马上消费金融股份有限公司 Method for configuring server and computer readable storage medium
CN112363777A (en) * 2020-11-16 2021-02-12 中国电力财务有限公司 System cluster configuration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968133A (en) * 2006-04-11 2007-05-23 华为技术有限公司 Equipment configuration information management method and its system
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN102711097A (en) * 2012-06-20 2012-10-03 华为技术有限公司 Method and device for remotely configuring terminal
CN103617242A (en) * 2013-11-26 2014-03-05 曙光信息产业股份有限公司 Method for showing topology of distributed file system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793351B2 (en) * 2011-05-24 2014-07-29 Facebook, Inc. Automated configuration of new racks and other computing assets in a data center
US20130345887A1 (en) * 2012-06-20 2013-12-26 Microsoft Corporation Infrastructure based computer cluster management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968133A (en) * 2006-04-11 2007-05-23 华为技术有限公司 Equipment configuration information management method and its system
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN102711097A (en) * 2012-06-20 2012-10-03 华为技术有限公司 Method and device for remotely configuring terminal
CN103617242A (en) * 2013-11-26 2014-03-05 曙光信息产业股份有限公司 Method for showing topology of distributed file system

Also Published As

Publication number Publication date
CN105915369A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN105915369B (en) A kind of configuration information management method and device
CN105930020B (en) A kind of method and device of the icon of management terminal application program
CN103516529A (en) Management method, device and system of configuration files
CN106294713A (en) The method of data synchronization resolved based on Incremental Log and data synchronization unit
EP1246403A3 (en) Remote maintenance system
CN103023988A (en) File synchronization method, file synchronization server, file synchronization client side and terminal device
CN106230914B (en) A kind of electronic whiteboard data-sharing systems based on subscription information publication
CN105447757A (en) Method and system for keeping consistency of transaction information
CN105005500A (en) Remote procedure calling method, server side and client
CN103312593B (en) A kind of message distributing system and method
CN104933465A (en) Data interconnecting method and system on hotel management platform
CN105743970A (en) Asynchronous data synchronization method for distributed systems
CN105516099A (en) Business side access method and device, and business side access rule configuration method and device
CN111262920A (en) Data synchronization method, interactive electronic whiteboard and server
CN102685173A (en) Asynchronous task distribution system and scheduling distribution computing unit
CN104639615A (en) Data processing method and data processing device in controller cluster
CN101330510A (en) Method, system, server and client for distributing down directory tree data
CN101360111A (en) Customer managing method, apparatus and system
CN103297514A (en) Virtual machine management platform and virtual machine management method based on cloud infrastructure
CN105635286A (en) Method for synchronous data synchronization of distributed system
CN106302473B (en) A kind of the duplication maintaining method and system of SQL Server database
CN105959410B (en) The load-balancing method and SiteServer LBS of server cluster
CN105281940A (en) Method, device and system of HELLO message interaction on the basis of NETCONF (The Network Configuration Protocol)
CN102611758A (en) Method for synchronizing clustered data by using load balancer
CN103036989B (en) Socket server and sockets services method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant