CN105610987A - Method, application and system for managing server cluster - Google Patents
Method, application and system for managing server cluster Download PDFInfo
- Publication number
- CN105610987A CN105610987A CN201610157272.1A CN201610157272A CN105610987A CN 105610987 A CN105610987 A CN 105610987A CN 201610157272 A CN201610157272 A CN 201610157272A CN 105610987 A CN105610987 A CN 105610987A
- Authority
- CN
- China
- Prior art keywords
- configuration
- server
- configuration information
- application
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- 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/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method, application and system for managing a server cluster. The method for managing configuration data of the server cluster is applicable to be executed in a management server. The server cluster comprises a plurality of application servers. The method comprises the following steps: receiving first configuration information from a client, wherein the first configuration information comprises an identification of a corresponding configuration item and configuration data of the configuration item; and synchronizing the received first configuration information to a configuration server, so as to facilitate the configuration server to inform one or multiple of the plurality of application servers monitoring the configuration item to acquire the first configuration information.
Description
Technical field
The present invention relates to Distributed Calculation field, relate in particular to management server cluster method, application andSystem.
Background technology
Along with the fast development of internet, the application system quilts such as such as cloud computing service and catenet platformWidespread deployment. In distributed type assemblies application system, application of the same type can be arranged a lot of service joints conventionallyPoint. A large-scale application can be arranged in multiple service nodes by different application components. Here multiple,The configuration data of service node need to continue to safeguard. The configuration data of each service node is for example passableVarious operational factors etc.
At present, about the management of the configuration data to multiple service nodes, common scheme is by configurable numberAccording to leaving in the configuration file of application, so that configuration data is deployed to service node together with application. SoAnd this deployment way need to be restarted service node in the time of amendment configuration data, even need to recompilateThe application example of packaged service node. This deployment way efficiency is lower, also easily makes mistakes.
Summary of the invention
For this reason, the invention provides a kind of scheme of new management server cluster, above effectively having solvedAt least one problem.
According to an aspect of the present invention, provide a kind of method of configuration data of management server cluster,Be suitable for carrying out in management server. Wherein server cluster comprises multiple application servers. The method bagDraw together following step. Receive the first configuration information from client. This first configuration information comprises that institute is correspondingThe mark of configuration item and the configuration data of this configuration item. The first received configuration information is synchronized to configurationServer, monitors the one or more of this configuration item so that configuration server is notified in multiple application serversObtain the first configuration information.
Alternatively, in the method for the configuration data of management server cluster according to the present invention, by connectThe step that the first configuration information of receiving is synchronized to configuration server comprises: the first configuration information verified,And after by checking, this first configuration information is synchronized to configuration server.
Alternatively, in the method for the configuration data of management server cluster according to the present invention, management clothesBusiness device stores the identification list of the configuration item to server cluster. The first configuration information is verifiedStep comprises: whether the mark that judges configuration item in this first configuration information matches with one of identification list;Whether the configuration data that judges this first configuration information meets predetermined format rule.
Alternatively, also comprise according to the method for the configuration data of management server cluster of the present invention, byThe first configuration information that is synchronized to configuration server backups to configuration database, and receives configuration database instituteReturn to, store the Major key of the record of the first configuration information. This Major key is associated with the first configuration informationStore local memory cell into.
Alternatively, before the step in reception from the first configuration information of client, according to of the present inventionThe method of the configuration data of management server cluster also comprises, in response to client in memory cell with joinPut the request of second configuration information of having stored of the mark correspondence of item, return to this second configuration to clientInformation, so that user revises and generates the first configuration information according to this second configuration information.
Alternatively, in the method for the configuration data of management server cluster according to the present invention, first joinsPut configuration data in information comprise following at least one: the contact method of system alarm, far callLink configuration parameter and code resource.
Another aspect according to the present invention, provides a kind of method of configuration server cluster, is suitable in configurationIn server, carry out. This server cluster comprises multiple application servers. The method comprises the steps.Receive the first configuration information from management server. This first configuration information comprises its corresponding configuration itemMark. Notifying the application server of having monitored this configuration item in multiple application servers to download first joinsPut information. Return to the first configuration information in response to receiving the download request of notified application server,The first configuration information is synchronized to buffer unit by application server with toilet notice.
Alternatively, also comprise according to the method for configuration server cluster of the present invention, receive answering of notifyingThe monitoring registration request described configuration item being upgraded next time with server, and answering request monitoring registrationAdd the monitoring queue to configuration item to by the mark of server.
Another aspect according to the present invention, provides a kind of application of configuration data of management server cluster,Be suitable for residing in management server. Server cluster comprises multiple application servers. This application comprises and connecingReceive unit and lock unit. Receiving element is suitable for receiving the first configuration information from client. This is first years oldConfiguration information comprise the mark of corresponding configuration item and the configuration data of this configuration item. Lock unit be suitable for byThe first configuration information receiving is synchronized to configuration server, so that configuration server is notified multiple application clothesIn business device, monitor one or more first configuration informations that obtain of this configuration item.
Alternatively, in the application of the configuration data of management server cluster according to the present invention, synchronously singleUnit is suitable for, according to following manner, the first received configuration information is synchronized to configuration server: join firstThe information of putting is verified, and after by checking, this first configuration information is synchronized to configuration server.
Alternatively, in the application of the configuration data of management server cluster according to the present invention, management clothesBusiness device stores the identification list of the configuration item to server cluster. Lock unit is suitable for according to following mannerThe first configuration information is verified: the mark that judges configuration item in this first configuration information whether with markOne of list matches; Whether the configuration data that judges this first configuration information meets predetermined format rule.
Alternatively, also comprise that according to the application of the configuration data of management server cluster of the present invention backup is singleUnit, is suitable for the first configuration information that is synchronized to configuration server to backup to configuration database, and receivesConfiguration database returns to, stores the Major key of the record of the first configuration information. Backup units be also suitable for byThis Major key and the first configuration information association store are to local memory cell.
Alternatively, in the application of the configuration data of management server cluster according to the present invention, receivingBefore unit receives the step from the first configuration information of client, backup units is also suitable in response to visitorThe request of family end to the second configuration information of having stored corresponding with the mark of configuration item in memory cell. StandbyPart unit returns to this second configuration information to client, so that user revises according to this second configuration informationAnd generate the first configuration information.
Alternatively, in the application of the configuration data of management server cluster according to the present invention, first joinsThe configuration data of putting information comprise following at least one: the contact method of system alarm, far callLink configuration parameter and code resource.
Another aspect according to the present invention, provides a kind of application of configuration server cluster, is suitable for residing inIn configuration server. This server cluster comprises multiple application servers. This application comprise receiving element,Transmission unit and notification unit. Receiving element is suitable for receiving the first configuration information from management server.This first configuration information comprise its mark of corresponding configuration item. Notification unit is suitable for notifying multiple application clothesIn business device, monitor the application server of this configuration item and downloaded the first configuration information. Transmission unit is suitable for ringingYing Yu receives the download request of notified application server and returns to the first configuration information, logical with toiletThe first configuration information is synchronized to buffer unit by the application server of knowing.
Alternatively, in the application of configuration server cluster, receiving element is also suitable for receiving answering of notifyingMonitoring registration request configuration item being upgraded next time with server. This application also comprises monitoring unit, suitableIn adding the mark of the application server of request monitoring registration to monitoring queue to configuration item.
According to a further aspect of the invention, provide a kind of system of management server cluster, this serverCluster comprises multiple application servers, and this system comprises client, management server and configuration server.Client is suitable for inputting and generating the first configuration information according to user. Management server comprises according to of the present inventionThe application of the configuration data of management server cluster. Configuration server comprises according to configuration service of the present inventionThe application of device cluster.
The scheme of the configuration data of management server cluster according to the present invention, multistage by configuration data(data store local memory cell, configuration database, the configuration service of management server into storage modeDevice and application server buffer memory etc.), greatly improve the disaster tolerance ability of system, and made multistage storageSome links (such as configuration server or management server etc.) should even also can not affect while breaking downWith the normal operation of server. In addition, Managed Solution of the present invention is by management server and configuration serviceDevice can be realized the centralized and automatic management of the configuration data to multiple application servers, thereby avoids configurationAttendant conducts interviews and the amendment of configuration data for each application server. In addition, the present inventionManaged Solution by the advice method of configuration server, make application server to get and to join in timePut the renewal of data and be synchronized to buffering area. Like this, application server can directly be postponed at runningRush district's (or local other memory cell) and get up-to-date configuration data, thereby avoided application clothesBusiness device is each directly obtains configuration data and the performance bottleneck problem that causes from configuration server.
Brief description of the drawings
In order to realize above-mentioned and relevant object, herein describe some in conjunction with description below and accompanying drawing and sayBright property aspect, the variety of way that can put into practice principle disclosed herein has been indicated in these aspects, and instituteThere are aspect and equivalent aspect thereof to be intended to fall in the scope of theme required for protection. Read in conjunction with the drawingsRead detailed description below, above-mentioned and other object of the present disclosure, Characteristics and advantages will become brighterAobvious. Spread all over the disclosure, identical Reference numeral is often referred to identical parts or element of generation.
Fig. 1 shows the block diagram of the system 100 of management server cluster according to some embodiments of the invention;
Fig. 2 A shows client 110 according to some embodiments of the invention and generates the boundary of the first configuration informationFace schematic diagram;
The client 110 that Fig. 2 B shows the other embodiment according to the present invention generates the first configuration informationInterface schematic diagram;
Fig. 3 shows the schematic diagram of management server 300 according to some embodiments of the invention;
Fig. 4 shows the schematic diagram of management server 400 according to some embodiments of the invention;
Fig. 5 shows the schematic diagram of configuration server 500 according to some embodiments of the invention;
Fig. 6 shows the method for the configuration data of management server cluster according to some embodiments of the invention600 flow chart;
Fig. 7 shows the method for the configuration data of management server cluster according to some embodiments of the invention700 flow chart; And
Fig. 8 shows the flow process of the method 800 of configuration server cluster according to some embodiments of the inventionFigure.
Detailed description of the invention
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although show in accompanying drawingExemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure and not with various formsThe embodiment that should be set forth here limits. On the contrary, providing these embodiment is for can be more thoroughlyUnderstand the disclosure, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
Fig. 1 shows the block diagram of the system 100 of management server cluster according to some embodiments of the invention.As shown in the figure, system 100 is suitable for the configuration data of server cluster 200 to manage. Server setGroup 200 generally includes multiple application servers. Here, server cluster both can be to provide same servicesThe set of node, can be also the set of multiple service nodes of Distributed Application. Each application serviceDevice is an application example. Typically, on a station server physical entity, can move one or moreApplication example. In a word, server cluster 200 comprises multiple nodes (application server), each nodeAll need to safeguard its configuration data. Depend on concrete application needs, configuration data can comprise application clothesThe switch parameter of business device access cache, the contact method of system alarm, the chain of application server far callConnect in configuration parameter and code resource one or morely, but be not limited to this.
System 100 can comprise client 110, management server 120, configuration server 130 and configurationDatabase 140. In general, client 110 is suitable for generating the first configuration information, is then transferred to managementServer 120. Management server 120 can be synchronized to the first configuration information obtaining from client 110Configuration server 130. Then, corresponding application clothes in configuration server 130 announcement server clusters 200Business device obtains the first configuration information, so that application server obtains up-to-date configuration data in time. Like this,The system 100 of management server cluster of the present invention can be to the configurable number of multiple application servers in clusterAccording to managing concentratedly (be that client generates configuration data, and by management server 120 by multiple configurationsData backup to configuration server 130). In addition, management server 120 can be by standby the first configuration informationPart is in configuration database 140, to improve the disaster tolerance ability of system. Application server gets first and joinsPut after information, upgrade its local cache data (for example, for being stored in the data in internal memory) and upgrade mainSuch as, in memory (hard disk, flash memory etc.) configuration data. Like this, upgrade at configuration dataTime (generating the first new configuration information), application server can be fast in response to configuration server 130Notice, obtain up-to-date configuration data. Application server can delay from this locality in common runningDeposit with main storage and obtain configuration data, and do not need directly to obtain configuration data from configuration server. ThisSample, application server both can get the configuration data of renewal in time, had also realized running status and had joinedThe isolation of putting server (is that application server can not be subject to because of the fault of configuration server in the time of operationImpact). To sum up, realized configuration data according to the system 100 of management server cluster of the present inventionClassification storage, thereby improved the high disaster tolerance ability of system. In other words, even in system 100 oneLink (for example configuration server, management server or configuration database) breaks down, can shadowRing the normal operation of server cluster.
Fig. 2 A shows client 110 according to some embodiments of the invention and generates the boundary of the first configuration informationFace schematic diagram. The client 110 that Fig. 2 B shows the other embodiment according to the present invention generates the first configurationThe interface schematic diagram of information.
Client 110 is to reside in for example mobile phone (MobilePhone), personal computer (PC) or individualBrowser in the computing equipments such as digital assistants (PDA) or be exclusively used in and generate the application end of configuration data.Client 110 inputs to generate the first configuration information according to user. Here each the first configuration information pair,Answer a configuration item. Previously described application server is suitable for obtaining the configurable number of its needed configuration itemAccording to upgrading running status. Typically, the first configuration information comprise its corresponding configuration item mark andThe configuration data of this configuration item.
As shown in Figure 2 A, client 110 can be in the WEB page newly-built first configuration information.The mark that key value shown in Fig. 2 A is configuration item. The form of the mark key of configuration item is for example" application_name/key_name ", but be not limited to this. Wherein, application_name can beThe domain identifier of the application server of mentioning above, and the configuration that key_name is application serverTitle. It should be noted that the concrete form of key value and implication can need to carry out various configurations according to system, thisBrightly this is not done to too much restriction. The content of the configuration data of Fig. 2 A is to notify first, but is not limited to this.In yet another embodiment, configuration data can be also the link of a code resource file. Like this, visitorFamily end 110 can be read resource file and is submitted to management server 120 by this link.
Fig. 2 B shows client 200 according to an embodiment of the invention and generates the boundary of the first configuration informationFace schematic diagram. Here, client 200 can generate and deposit before management server 120 obtainsThe second configuration information of storage. It should be noted that, the second configuration information is for generating before the first configuration information,The configuration information (data format and the first accordant configuration information) of having stored. Like this, client 200 canWith the selection to configuration item and show corresponding the second configuration information in response to user, so that user checks pinTo the existing configuration data of this configuration item, and modify on this basis and generate new configuration letterBreath (i.e. the first configuration information).
Fig. 3 shows the schematic diagram of management server 300 according to some embodiments of the invention. As Fig. 3Shown in, management server 300 comprises receiving element 310 and lock unit 320. Receiving element 310 is suitable forReceive the first configuration information from client (110). First configuration information comprise corresponding configuration itemThe configuration data of mark and this configuration item. Lock unit 320 is suitable for the first received configuration information sameStep is to configuration server (130), monitors this configuration so that configuration server is notified in multiple application serversOne or more this first configuration informations that obtain of item. Here the transfer of data lattice of the first configuration information,Formula is for example json or xml, but is not limited to this. More specifically, according to one embodiment of the inventionIn, first lock unit 320 can be verified the first configuration information from client. For example, sameThe mark of the configuration item in configuration information and configuration data are carried out verification by step unit 320. For configuration itemMark, lock unit 320 can be by multiple application services of safeguarding in itself and management server 300The identification list of the configuration item of device is compared, and whether belongs to this list with the mark of determining this configuration item.In other words,, if the mark of configuration item is not mated with list, this configuration item can not be configured serverIdentify with application server. For the verification of configuration data, lock unit 320 for example can be according to predeterminedFormat convention judge. Here, predetermined format convention can be determined according to real needs, exampleAs be syntax rule etc., but be not limited to this. After the first configuration information is by checking. Lock unit 320This first configuration information can be synchronized in configuration server. Like this, according to management server of the present invention300 can unify verification to the configuration data from one or more clients, then will be by checkingData be synchronized to configuration server.
Fig. 4 shows the schematic diagram of management server 400 according to some embodiments of the invention. As Fig. 4Shown in, management server 400 comprises receiving element 410, lock unit 420, backup units 430 and depositsStorage unit 440. Wherein, receiving element 310 and same in receiving element 410 and lock unit 420 and Fig. 3Step unit 320 is consistent, repeats no more here. Backup units 430 is suitable for being synchronized to configuration serverThe first configuration information backup to configuration database (140). Configuration database can return storage this firstThe Major key of configuration information. Backup units 430 can receive after Major key, by Major key and correspondingThe first configuration information store local memory cell 440 into. Particularly, in an enforcement according to the present inventionIn example, management server 400 safeguards there is configuration change queue. Backup units 430 is receiving Major keyAfter, generate corresponding configuration change event items and join in configuration change queue. Like this, management server400 can deposit Major key and corresponding the first configuration information memory track according to generated configuration change eventIn storage unit 440. Like this, lock unit 420 carries out simultaneously operating, by standby the first configuration informationPart to the operation of configuration database and be different by the operation that the first configuration information stores memory cell 440 intoStep is carried out, thus while having avoided simultaneously operating, backup operation and storage operation concurrent for systematic functionImpact. In addition, management server 400, can in the time that needs obtain Backup Data from backup databaseCarry out quick search by the Major key of storing in memory cell 440. Like this, according to pipe of the present inventionReason server 400 can be realized the backup to configuration data, thereby has increased the disaster tolerance ability of system.
Alternatively, according in one embodiment of the invention, backup units 430 is also suitable in client rawBefore becoming the first configuration information, in response to client to being stored in memory cell 440 and with configuration itemThe request of the second configuration information of mark correspondence, returns to this second configuration information to client, so that userRevise and generate the first configuration information according to this second configuration information. It should be noted that here said secondConfiguration information is actually the mark and the sound that generate the configuration item of having stored before the first configuration information at thisThe configuration data of answering. Like this, management server 400 according to the present invention can provide easily to userExecuted configuration data (be employed server application configuration data), so as user to check andModify based on this. Here, management server 400 provides the mode of the configuration data that comes into force to keep awayThe resource consumption of exempting from the direct access services device of client cluster 200 and cause.
Fig. 5 shows the schematic diagram of configuration server 500 according to some embodiments of the invention. As Fig. 5Shown in, configuration server 500 comprises receiving element 510, notification unit 520 and transmission unit 530. CanSelection of land, configuration server 500 can also comprise monitoring unit 540. It should be noted that, according to the present inventionConfiguration server 500 can be independent computing equipment, can be also distributed computation module, thisBrightly this is not done to too much restriction.
Receiving element 510 can receive the first configuration information from management server. Configuration server dimensionProtect the monitoring queue of monitoring the configuration item that this first configuration information is corresponding. Notification unit 520 is suitable for noticeMonitor the application server of this configuration item and downloaded the first configuration information. Transmission unit 530 can respondIn the download request of application server and return to the first configuration information, so that application server is by the first configurationInformation is synchronized to buffer unit. Certainly, application server can also arrive the first configuration information stores synchronizedMain storage (hard disk, flash memory etc.).
According in one embodiment of the invention, application server is downloaded the first up-to-date configuration information at every turnAfter, this application server that configuration server is safeguarded finishes to the monitoring service of this configuration item. Therefore,Application server also need to be downloaded after the first configuration information each, to configuration server request registration to joiningPut the monitoring that item upgrades next time. Receiving element 510 receive application server to configuration item on onceUpgrade monitoring registration request time, monitoring unit 540 is the mark of the application server of request monitoring registration justKnow the monitoring queue of adding configuration item to. Here the management framework that, application server uses is for exampleZookeeper. Application server is as follows to the example code of configuration server registration monitoring service:
In addition, according in one embodiment of the invention, application server is safeguarded local monitoring list.The corresponding monitored configuration item of each audit entry in this monitoring list. Application server can be safeguarded prisonListen the validity of item. For example, in the time that audit entry lost efficacy, can again register configuration item to configuration serverMonitoring so that application server can continue to monitor the renewal of configuration item. In addition, application server alsoThe monitoring hook (hook) can carry configuration data being upgraded, like this, application server can pass throughMonitor hook and detect the renewal of configuration data, and in the time renewal being detected, carry out corresponding scheduled operation.The present invention does not limit scheduled operation.
To sum up, can obtain configuration item more from management server according to configuration server 500 of the present inventionNew data (i.e. the first configuration information), and can notify application server to obtain more new data, therebyRealize the automatic renewal of application server configuration data, thereby avoided user directly to visit by clientAsk application server and revise the poor efficiency operation of configuration data.
Fig. 6 shows the method for the configuration data of management server cluster according to some embodiments of the invention600 flow chart. Method 600 is suitable for carrying out in management server.
Method 600 starts from step S610. In step S610, receive the first configuration letter from clientBreath. This first configuration information comprise the mark of corresponding configuration item and the configuration data of this configuration item. FirstThe configuration data of configuration information comprise system alarm contact method, far call link configuration parameter andAt least one item in code resource. Subsequently, method 600 enters step S620. In step S620, by instituteThe first configuration information receiving is synchronized to configuration server, so that configuration server is notified described multiple applicationIn server, monitor one or more first configuration informations that obtain of this configuration item. Particularly, according toOne embodiment of the invention, in step S620, first verifies the first configuration information, and logicalAfter crossing checking, the first configuration information is synchronized to configuration server. Here, management server stores has and is suitable forBe applied to the identification list of the configuration item of described multiple application servers. What the first configuration information was carried out testsCard mainly comprises two checkings, one be configuration item in checking the first configuration information mark whether with markOne of list matches, and another is whether the configuration data of the first configuration information meets predetermined format rule.
Fig. 7 shows the method for the configuration data of management server cluster according to some embodiments of the invention700 flow chart. Method 700 is suitable for carrying out in management server.
Method 700 starts from step S710. In step S710, in response to client to being stored in storageThe request of unit second configuration information corresponding with the mark of configuration item, returns to this to client and second joinsPut information, so that user revises and generate the first configuration information according to this second configuration information. Here,The second configuration information of storing in memory cell comprises the mark of the configuration item of having stored before manner of execution 700The configuration data of knowledge and configuration item. Method execution step S720 and S730 subsequently. Step S720 and stepS610 is consistent, and step S730 is consistent with step S620, repeats no more here.
Alternatively, method 700 also comprises step S740. In step S740, configuration clothes will be synchronized toThe first configuration information of business device backups to configuration database, and receives configuration database and return to, store theThe Major key of the record of one configuration information. Subsequently, method execution step S750, by this Major key and described inThe first configuration information association store is to local memory cell.
Fig. 8 shows the flow process of the method 800 of configuration server cluster according to some embodiments of the inventionFigure. Method 800 is suitable for carrying out in configuration server.
As shown in Figure 8, method 800 starts from step S810. In step S810, receive from management clothesThe first configuration information of business device. The first configuration information comprise its mark of corresponding configuration item. Method subsequently800 execution step S820, notify the application server of having monitored this configuration item in multiple application serversDownload the first configuration information. Method enters step S830 subsequently, in response to receiving notified application clothesThe download request of business device and return to the first configuration information, with the application server of toilet notice by the first configurationInformation is synchronized to buffer unit.
Alternatively, method 800 also comprises step S840, receives the application server of notifying to configuration itemThe monitoring registration request next time upgrading, and the mark of the application server of request monitoring registration is added toTo the monitoring queue of described configuration item.
A8, method as described in A7, also comprise: receive the application server of notifying to described configurationThe monitoring registration request that item upgrades next time, and the mark of the application server of request monitoring registration is addedTo the monitoring queue to described configuration item. B10, application as described in B9, wherein said lock unit is suitableAccording to following manner, the first received configuration information being synchronized to configuration server: join described firstThe information of putting is verified, and after by checking, this first configuration information is synchronized to described configuration server.B11, application as described in B10, wherein said management server stores has joining described server clusterThe identification list of putting item, described lock unit is suitable for according to following manner, the first configuration information being verified:Whether the mark that judges configuration item in this first configuration information matches with one of identification list; And judgementWhether the configuration data of this first configuration information meets predetermined format rule. B12, as arbitrary in B9-B11Described application, also comprises backup units, is suitable for described first joining of being synchronized to configuration serverPut information back-up to configuration database, and receive configuration database and return to, store the first configuration informationThe Major key of record, and this Major key and described the first configuration information association store are arrived to local storageUnit. B13, application as described in B12, wherein, receive from the of client at described receiving elementBefore the step of one configuration information, described backup units is also suitable for: in response to described client to storingIn the request of described memory cell second configuration information corresponding with the mark of described configuration item, to describedClient is returned to this second configuration information, so that user revises and generate institute according to this second configuration informationState the first configuration information. B14, application as described in any one in B9-B13, wherein said the first configurationThe configuration data of information comprises in following at least one: the contact method of system alarm; The chain of far callConnect configuration parameter; And code resource. C16, application as described in C15, wherein said receiving element alsoBe suitable for receiving the monitoring registration request that the application server notified upgrades described configuration item next time, shouldApplication also comprises monitoring unit, is suitable for the mark of the application server of request monitoring registration to add to instituteState the monitoring queue of configuration item.
In the description that provided herein, a large amount of details are described. But, can understand, thisInventive embodiment can be put into practice in the situation that there is no these details. In some instances, andBe not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand in each inventive aspectOr multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is sometimesBe grouped together into single embodiment, figure or in its description. But, should be by the disclosureMethod be construed to the following intention of reflection: the present invention for required protection requires than in each claimThe more features of the middle feature of clearly recording. Or rather, as below claims reflectedLike that, inventive aspect is to be less than all features of disclosed single embodiment above. Therefore, follow toolClaims of body embodiment are incorporated to this detailed description of the invention thus clearly, and wherein each right is wantedAsk itself all as independent embodiment of the present invention.
Those skilled in the art are to be understood that module or the list of the equipment in example disclosed hereinUnit or assembly can be arranged in as in the equipment described in this embodiment, or alternatively can locateIn the one or more equipment different from equipment in this example. Module in foregoing example can combineBe a module or can be divided in addition multiple submodules.
Those skilled in the art are appreciated that and can carry out certainly the module in the equipment in embodimentChange adaptively and they are arranged in one or more equipment different from this embodiment. CanModule in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition canTo put them into multiple submodules or subelement or sub-component. Except such feature and/or process orAt least some in unit are, outside mutually repelling, can adopt any combination (to comprise companion to this descriptionWith claim, summary and accompanying drawing) in disclosed all features and so disclosed any method orAll processes or the unit of person's equipment combine. Unless clearly statement in addition, this description (comprises companionWith claim, summary and accompanying drawing) in disclosed each feature can be by providing identical, being equal to or phaseAlternative features like object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein comprise itIncluded some feature instead of further feature in its embodiment, but the group of the feature of different embodimentClose and mean within scope of the present invention and form different embodiment. For example, power belowIn profit claim, the one of any of embodiment required for protection can make with combination arbitrarilyWith.
In addition, some in described embodiment this be described as can be by the processor of computer system orThe method that person is implemented by other device of carrying out described function or the combination of method element. Therefore, there is useProcessor in the necessary instruction of implementing described method or method element is formed for implementing the method or methodThe device of element. In addition, the element described herein of device embodiment is the example as lower device: this dressPut for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless make separate stipulations, use ordinal number " first ", " second ", " theThree " etc. describe the different instances that common object only represents to relate to similar object, and be not intended darkShow that the object being described like this must have on upper, space of time, sequence aspect or with other side arbitrarilyFormula give definite sequence.
Although described the present invention according to the embodiment of limited quantity, benefit from description above, thisTechnical staff in technical field understands, in the scope of the present invention of describing thus, it is contemplated that otherEmbodiment. In addition, it should be noted that the language using in this description is mainly for readable and instructionObject select, instead of select in order to explain or to limit theme of the present invention. Therefore,In the case of not departing from the scope and spirit of appended claims, for the common skill of the artThe many modifications and changes of art personnel are all apparent. For scope of the present invention, to the present inventionDisclosing of doing is illustrative, and nonrestrictive, scope of the present invention is limit by appended claimsFixed.
Claims (10)
1. a method for the configuration data of management server cluster, is suitable for carrying out in management server,Wherein said server cluster comprises multiple application servers, and the method comprises:
Receive from the first configuration information of client, this first configuration information comprise corresponding configuration itemThe configuration data of mark and this configuration item; And
The first received configuration information is synchronized to configuration server, so that described in configuration server noticeIn multiple application servers, monitor one or more first configuration informations that obtain of this configuration item.
2. the method for claim 1, is describedly synchronized to configuration by the first received configuration informationThe step of server comprises:
Described the first configuration information is verified, and by checking after by synchronous this first configuration informationTo described configuration server.
3. method as claimed in claim 2, wherein said management server stores has described serverThe identification list of the configuration item of cluster, the described step that the first configuration information is verified comprises:
Whether the mark that judges configuration item in this first configuration information matches with one of identification list; And
Whether the configuration data that judges this first configuration information meets predetermined format rule.
4. the method as described in any one in claim 1-3, also comprises:
Described the first configuration information that is synchronized to configuration server is backuped to configuration database, and receiveConfiguration database returns to, stores the Major key of the record of the first configuration information; And
This Major key and described the first configuration information association store are arrived to local memory cell.
5. method as claimed in claim 4, wherein, the first configuration in described reception from clientBefore the step of information, the method also comprises:
In response to described client to being stored in described memory cell corresponding with the mark of described configuration itemThe request of the second configuration information, return to this second configuration information to described client, so as user according toDescribed the first configuration information is revised and generated to this second configuration information.
6. the method as described in any one in claim 1-5, configures in wherein said the first configuration informationData comprise in following at least one:
The contact method of system alarm;
The link configuration parameter of far call; And
Code resource.
7. a method for configuration server cluster, is suitable for carrying out in configuration server, this server setGroup comprises multiple application servers, and the method comprises:
Receive from the first configuration information of management server, this first configuration information comprises that its correspondence joinsPut the mark of item;
Notifying the application server of having monitored this configuration item in described multiple application server to download first joinsPut information; And
Return to the first configuration information in response to receiving the download request of notified application server, withThe first configuration information is synchronized to buffer unit by the application server of toilet notice.
8. an application for the configuration data of management server cluster, is suitable for residing in management server,Wherein said server cluster comprises multiple application servers, and this application comprises:
Receiving element, is suitable for receiving the first configuration information from client, and this first configuration information comprisesThe mark of corresponding configuration item and the configuration data of this configuration item; And
Lock unit, is suitable for the first received configuration information to be synchronized to configuration server, so that configurationThat described in server notification, in multiple application servers, monitors this configuration item one or morely obtains first and joinsPut information.
9. an application for configuration server cluster, is suitable for residing in configuration server this server setGroup comprises multiple application servers, and this application comprises:
Receiving element, is suitable for receiving the first configuration information from management server, this first configuration informationComprise its mark of corresponding configuration item;
Notification unit, is suitable for notifying the application service of having monitored this configuration item in described multiple application serverDevice is downloaded the first configuration information; And
Transmission unit, is suitable for returning in response to receiving the download request of notified application serverOne configuration information, is synchronized to buffer unit with the application server of toilet notice by the first configuration information.
10. a system for management server cluster, this server cluster comprises multiple application servers,This system comprises:
Client, is suitable for inputting and generating the first configuration information according to user;
Management server, comprise management server cluster as claimed in claim 8 configuration data shouldWith; And
Configuration server, comprises the application of configuration server cluster as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610157272.1A CN105610987B (en) | 2016-03-18 | 2016-03-18 | Method, application and the system of management server cluster |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610157272.1A CN105610987B (en) | 2016-03-18 | 2016-03-18 | Method, application and the system of management server cluster |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105610987A true CN105610987A (en) | 2016-05-25 |
CN105610987B CN105610987B (en) | 2018-11-23 |
Family
ID=55990521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610157272.1A Active CN105610987B (en) | 2016-03-18 | 2016-03-18 | Method, application and the system of management server cluster |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105610987B (en) |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106059825A (en) * | 2016-07-08 | 2016-10-26 | 福建天晴数码有限公司 | Distributed system and configuration method |
CN106254121A (en) * | 2016-08-11 | 2016-12-21 | 浪潮软件股份有限公司 | Method for automatically deploying and managing big data cluster |
CN106357447A (en) * | 2016-09-21 | 2017-01-25 | 努比亚技术有限公司 | Synchronizing method and device for configuration data |
CN107172143A (en) * | 2017-05-12 | 2017-09-15 | 郑州云海信息技术有限公司 | Software synchronizing method and device in a kind of server cluster |
CN107347093A (en) * | 2017-07-03 | 2017-11-14 | 北京京东尚科信息技术有限公司 | Collocation method and device for distributed server system |
CN107451147A (en) * | 2016-05-31 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of kafka clusters switching at runtime |
CN107733715A (en) * | 2017-10-26 | 2018-02-23 | 苏州蜗牛数字科技股份有限公司 | The management system and method for configuration information in a kind of distributed system |
CN107766091A (en) * | 2016-08-15 | 2018-03-06 | 福建天泉教育科技有限公司 | Service management and system |
CN107769970A (en) * | 2017-10-20 | 2018-03-06 | 北京集奥聚合科技有限公司 | The processing method and system of configuration information in a kind of distributed system |
CN107885541A (en) * | 2016-09-30 | 2018-04-06 | 北京京东尚科信息技术有限公司 | The method and device of processing system configuration |
CN107947971A (en) * | 2017-11-16 | 2018-04-20 | 北京恒华伟业科技股份有限公司 | A kind of collocation method of information, device and server |
CN108111333A (en) * | 2017-11-22 | 2018-06-01 | 链家网(北京)科技有限公司 | A kind of flow limitation method and system based on WEB |
CN108156030A (en) * | 2017-12-21 | 2018-06-12 | 杭州迪普科技股份有限公司 | The method and device that a kind of configuration strategy synchronizes |
CN108304396A (en) * | 2017-01-11 | 2018-07-20 | 北京京东尚科信息技术有限公司 | Date storage method and device |
CN108494814A (en) * | 2018-02-01 | 2018-09-04 | 顺丰科技有限公司 | Distributed Information Gathering management method and system, equipment and storage medium |
CN109558789A (en) * | 2018-10-09 | 2019-04-02 | 珠海亿联德源信息技术有限公司 | A kind of biological characteristic system for rapidly identifying based on distributed computing |
CN110166278A (en) * | 2019-04-09 | 2019-08-23 | 平安科技(深圳)有限公司 | Kubernetes cluster building method, apparatus, computer equipment and storage medium |
CN112000515A (en) * | 2020-08-07 | 2020-11-27 | 北京浪潮数据技术有限公司 | Method and assembly for recovering instance data in redis cluster |
CN112688983A (en) * | 2019-10-18 | 2021-04-20 | 顺丰科技有限公司 | Proxy right management device, terminal device and storage medium |
CN114629788A (en) * | 2022-03-23 | 2022-06-14 | 中国工商银行股份有限公司 | Configuration information updating method, system, storage medium and electronic device |
CN114765550A (en) * | 2020-12-31 | 2022-07-19 | 网联清算有限公司 | Service security processing method and system |
CN115022175A (en) * | 2022-06-21 | 2022-09-06 | 工银科技有限公司 | Configuration information synchronization method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102255752A (en) * | 2011-06-30 | 2011-11-23 | 北京新媒传信科技有限公司 | Configuration management system and method of server cluster |
CN102394939A (en) * | 2011-11-21 | 2012-03-28 | 苏州阔地网络科技有限公司 | Deployment method and systems of distributed system |
CN102402441A (en) * | 2010-09-16 | 2012-04-04 | 腾讯科技(深圳)有限公司 | System and method for configuring multiple computers |
CN104965726A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Configuration updating method, apparatus and system |
-
2016
- 2016-03-18 CN CN201610157272.1A patent/CN105610987B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102402441A (en) * | 2010-09-16 | 2012-04-04 | 腾讯科技(深圳)有限公司 | System and method for configuring multiple computers |
CN102255752A (en) * | 2011-06-30 | 2011-11-23 | 北京新媒传信科技有限公司 | Configuration management system and method of server cluster |
CN102394939A (en) * | 2011-11-21 | 2012-03-28 | 苏州阔地网络科技有限公司 | Deployment method and systems of distributed system |
CN104965726A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Configuration updating method, apparatus and system |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107451147B (en) * | 2016-05-31 | 2020-07-31 | 北京京东尚科信息技术有限公司 | Method and device for dynamically switching kafka clusters |
CN107451147A (en) * | 2016-05-31 | 2017-12-08 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus of kafka clusters switching at runtime |
CN106059825A (en) * | 2016-07-08 | 2016-10-26 | 福建天晴数码有限公司 | Distributed system and configuration method |
CN106254121A (en) * | 2016-08-11 | 2016-12-21 | 浪潮软件股份有限公司 | Method for automatically deploying and managing big data cluster |
CN107766091A (en) * | 2016-08-15 | 2018-03-06 | 福建天泉教育科技有限公司 | Service management and system |
CN106357447A (en) * | 2016-09-21 | 2017-01-25 | 努比亚技术有限公司 | Synchronizing method and device for configuration data |
CN107885541A (en) * | 2016-09-30 | 2018-04-06 | 北京京东尚科信息技术有限公司 | The method and device of processing system configuration |
CN108304396A (en) * | 2017-01-11 | 2018-07-20 | 北京京东尚科信息技术有限公司 | Date storage method and device |
CN107172143A (en) * | 2017-05-12 | 2017-09-15 | 郑州云海信息技术有限公司 | Software synchronizing method and device in a kind of server cluster |
CN107347093A (en) * | 2017-07-03 | 2017-11-14 | 北京京东尚科信息技术有限公司 | Collocation method and device for distributed server system |
CN107347093B (en) * | 2017-07-03 | 2021-05-25 | 北京京东尚科信息技术有限公司 | Configuration method and device for distributed server system |
CN107769970A (en) * | 2017-10-20 | 2018-03-06 | 北京集奥聚合科技有限公司 | The processing method and system of configuration information in a kind of distributed system |
CN107733715A (en) * | 2017-10-26 | 2018-02-23 | 苏州蜗牛数字科技股份有限公司 | The management system and method for configuration information in a kind of distributed system |
CN107947971A (en) * | 2017-11-16 | 2018-04-20 | 北京恒华伟业科技股份有限公司 | A kind of collocation method of information, device and server |
CN108111333A (en) * | 2017-11-22 | 2018-06-01 | 链家网(北京)科技有限公司 | A kind of flow limitation method and system based on WEB |
CN108156030A (en) * | 2017-12-21 | 2018-06-12 | 杭州迪普科技股份有限公司 | The method and device that a kind of configuration strategy synchronizes |
CN108156030B (en) * | 2017-12-21 | 2021-03-23 | 杭州迪普科技股份有限公司 | Method and device for synchronizing configuration strategies |
CN108494814A (en) * | 2018-02-01 | 2018-09-04 | 顺丰科技有限公司 | Distributed Information Gathering management method and system, equipment and storage medium |
CN109558789A (en) * | 2018-10-09 | 2019-04-02 | 珠海亿联德源信息技术有限公司 | A kind of biological characteristic system for rapidly identifying based on distributed computing |
CN110166278A (en) * | 2019-04-09 | 2019-08-23 | 平安科技(深圳)有限公司 | Kubernetes cluster building method, apparatus, computer equipment and storage medium |
CN112688983A (en) * | 2019-10-18 | 2021-04-20 | 顺丰科技有限公司 | Proxy right management device, terminal device and storage medium |
CN112000515A (en) * | 2020-08-07 | 2020-11-27 | 北京浪潮数据技术有限公司 | Method and assembly for recovering instance data in redis cluster |
CN114765550A (en) * | 2020-12-31 | 2022-07-19 | 网联清算有限公司 | Service security processing method and system |
CN114765550B (en) * | 2020-12-31 | 2023-11-21 | 网联清算有限公司 | Business security processing method and system |
CN114629788A (en) * | 2022-03-23 | 2022-06-14 | 中国工商银行股份有限公司 | Configuration information updating method, system, storage medium and electronic device |
CN114629788B (en) * | 2022-03-23 | 2023-10-27 | 中国工商银行股份有限公司 | Configuration information updating method, system, storage medium and electronic device |
CN115022175A (en) * | 2022-06-21 | 2022-09-06 | 工银科技有限公司 | Configuration information synchronization method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105610987B (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105610987A (en) | Method, application and system for managing server cluster | |
JP4986478B2 (en) | A rule-based intelligent alarm management system for digital surveillance systems | |
US20120239620A1 (en) | Method and system for synchronization mechanism on multi-server reservation system | |
CN103917972A (en) | System and method for providing session affinity and improved connectivity in clustered database environment | |
Lin et al. | Privacy, security and resilience in mobile healthcare applications | |
EP2959387B1 (en) | Method and system for providing high availability for state-aware applications | |
CN103473696A (en) | Method and system for collecting, analyzing and distributing internet business information | |
DK2633664T3 (en) | Method and system for creating secure authenticated bi-directional server communication | |
US8549129B2 (en) | Live migration method for large-scale IT management systems | |
US8751711B2 (en) | Storage topology manager | |
CN105005509A (en) | Runtime model based configuration method for fault-tolerant mechanism of cloud computing | |
US20070180059A1 (en) | Light weight software and hardware inventory | |
US20120036496A1 (en) | Plug-in based high availability application management framework (amf) | |
US20090172463A1 (en) | Method, system and machine accessible medium of a reconnect mechanism in a distributed system (cluster-wide reconnect mechanism) | |
CN112565340B (en) | Service scheduling method, device, computer system and medium for distributed application | |
US9201685B2 (en) | Transactional cache versioning and storage in a distributed data grid | |
US20220337620A1 (en) | System for collecting computer network entity information employing abstract models | |
CN115617781A (en) | Digital object creating and data management method and device | |
US20140040195A1 (en) | Offline Web Application System | |
Kouadri et al. | Context-oriented and transaction-based service provisioning | |
US9672489B1 (en) | Inventory validator with notification manager | |
CN116804949B (en) | Block chain-based data processing method, device, equipment and readable storage medium | |
CN114268540B (en) | Rule engine optimization method, device and equipment | |
CN116521383A (en) | Method, device, equipment and storage medium for detecting multimedia data | |
JP4334253B2 (en) | Data alignment program, system and 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 |