CN105553738A - Heat loading method and device of configuration information and distributed cluster system - Google Patents

Heat loading method and device of configuration information and distributed cluster system Download PDF

Info

Publication number
CN105553738A
CN105553738A CN201510994232.8A CN201510994232A CN105553738A CN 105553738 A CN105553738 A CN 105553738A CN 201510994232 A CN201510994232 A CN 201510994232A CN 105553738 A CN105553738 A CN 105553738A
Authority
CN
China
Prior art keywords
configuration information
updated
node
target operation
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510994232.8A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510994232.8A priority Critical patent/CN105553738A/en
Publication of CN105553738A publication Critical patent/CN105553738A/en
Pending legal-status Critical Current

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
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention discloses a heat loading method and device of configuration information and a distributed cluster system. The method is applied to the distributed cluster system. The method comprises the following steps: in an operation process of all working nodes in the distributed cluster system, obtaining configuration information to be updated; and pushing the configuration information to be updated to a target working node, and notifying the target working node to load the configuration information to be updated in an internal memory to replace the configuration information read from a configuration file of a local disk, so that the target working node operates a program by use of the configuration information to be updated. By adopting the heat loading method and device of configuration information and the distributed cluster system disclosed by the invention, the loading time of the configuration information is shortened, and the blockage problem generated in a modification process of the configuration file is perfected.

Description

The hot loading method of configuration information and device, distributed cluster system
Technical field
The present invention relates to technical field of the computer network, be specifically related to hot loading method and device, the distributed cluster system of configuration information in a kind of distributed type assemblies.
Background technology
Distributed cluster system is a kind of storage system based on distributed node framework, and this system, by multiple peer distribution load, farthest reaches high-performance; By the primary copy in different node storage data with from copy, ensure high availability and the redundancy of data.In distributed cluster system, each node safeguards respective configuration file, and configuration file is stored in the disk of node.Operationally, the first configuration file of reading disk, obtains configuration information, is loaded into by configuration information in internal memory and the process of node can normally be run node.
In prior art, when the configuration file of certain node needs to revise, such as revise the delay parameter of certain node, 10ms is revised as by 1ms, need the service of this node to pin to make it temporarily not provide service, then in configuration file, search the parameter needing amendment, it is upgraded, is again stored into after renewal in disk and carries out whole file replacement; Node reads configuration file again, obtains and loads the configuration information after upgrading, just can restart to provide service.The loading method of this configuration information is consuming time longer, and in configuration file modification process, node cannot provide service, causes the problem that card pauses.
Especially, in distributed cluster system, some configuration information is the publicly-owned configuration information that all nodes all need, when this publicly-owned configuration information of needs amendment, the configuration file of each node needs to carry out above-mentioned renewal process, cause system frequently to occur a card problem, reduce the performance of whole distributed cluster system.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of hot loading method and device, the distributed cluster system that overcome configuration information in the problems referred to above or a kind of distributed type assemblies of solving the problem at least in part.
According to an aspect of the present invention, provide a kind of hot loading method of configuration information, described method is used in distributed cluster system, and described method comprises: in described distributed cluster system in all working node running, obtain configuration information to be updated; Configuration information to be updated is pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
According to another aspect of the present invention, provide a kind of hot charger of configuration information, described device is arranged in distributed cluster system, and described device comprises: configuration module, be suitable in all working node running, obtaining configuration information to be updated in described distributed cluster system; Pushing module, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
According to another aspect of the present invention, provide a kind of distributed cluster system, comprising: configuration node and multiple working node; Wherein, described configuration node comprises: the hot charger of above-mentioned configuration information; One or more target operation nodes in described multiple working node are suitable for: according to the notice of described configuration node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, to utilize described configuration information working procedure to be updated.
According to hot loading method and device, the distributed cluster system of configuration information provided by the invention, in distributed cluster system in all working node running, obtain configuration information to be updated.Configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, makes target operation node utilize described configuration information working procedure to be updated.The hot loading method of configuration information of the present invention and device, distributed cluster system shorten the load time of working node configuration information, improve the card produced in configuration file modification process and to pause problem.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of the hot loading method of configuration information according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of the hot loading method of configuration information in accordance with another embodiment of the present invention;
Fig. 3 shows the schematic flow sheet of the hot loading method of the configuration information according to another embodiment of the present invention;
Fig. 4 shows the schematic flow sheet of the hot loading method of the configuration information according to another embodiment of the present invention;
Fig. 5 shows the functional block diagram of the hot charger of configuration information according to an embodiment of the invention;
Fig. 6 shows the functional block diagram of the hot charger of configuration information in accordance with another embodiment of the present invention;
Fig. 7 shows the functional block diagram of the hot charger of the configuration information according to another embodiment of the present invention;
Fig. 8 shows the functional block diagram of the hot charger of the configuration information according to another embodiment of the present invention;
Fig. 9 shows the schematic block diagram of distributed cluster system according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the schematic flow sheet of an embodiment of the hot loading method of configuration information provided by the invention, and as shown in Figure 1, the method for the present embodiment specifically comprises the steps:
Step S101, in distributed cluster system in all working node running, obtains configuration information to be updated.
Distributed cluster system, is made up of multiple independently terminal equipment, is respectively independently connected to each other between terminal equipment, and all terminal equipments use as an independent unified resource.Distributed cluster system manages the resource of whole distributed cluster system with global mode, can allocating task dynamically, demand according to terminal equipment situation and waiting task selects most suitable terminal equipment in distributed cluster system, by pending task matching to this terminal equipment, after this terminal equipment is finished the work, task result is returned.In whole process, similarly be a terminal equipment for user's distributed cluster system, and user not can be appreciated that the existence of multiple terminal equipment.Distributed cluster system can perform separately a task, also can multiple tasks in parallel perform simultaneously.When one of them terminal equipment sends fault, do not affect the operation of whole system.
Working node, refers to the terminal equipment in distributed cluster system.Each terminal equipment is a working node.Configuration information, needs the information of configuration when corresponding working node runs.As network IP, port numbers, delayed data, maximum thread, monitor setting, various path configuration informations etc.
In distributed cluster system, comprise multiple working node, each working node has the configuration information of its correspondence.When the configuration informations that are one or more or all working node in multiple working node need to upgrade, first configuration information to be updated to be obtained.
Step S102, configuration information to be updated is pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize configuration information working procedure to be updated.
Namely target operation node needs the working node of Reconfigurations information, and the configuration file of local rule and configuration file land the configuration file preserved after being uploaded to local disk, or lands the configuration file being saved to local disk after configuration information amendment in internal memory.
After obtaining configuration information to be updated, configuration information to be updated is pushed to target operation node.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing.
According to the hot loading method of configuration information provided by the invention, in distributed cluster system in all working node running, obtain configuration information to be updated.Configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory the configuration information replaced and read from the configuration file of local rule, the configuration information working procedure after making target operation node directly can utilize memory refreshing.The hot loading method of configuration information of the present invention shortens the load time of working node configuration information, improves the card produced in configuration file modification process and to pause problem.
Fig. 2 shows the schematic flow sheet of another embodiment of the hot loading method of configuration information provided by the invention, and as shown in Figure 2, the method for the present embodiment specifically comprises the steps:
Step S201, in distributed cluster system in all working node running, obtains configuration information to be updated.
The operation of this step is identical with step S101 with method, and description sees above, and repeats no more herein.
Step S202, judges that whether configuration information to be updated is the publicly-owned configuration information of all working node.If so, perform step S203, if not, then perform step S204.
After obtaining configuration information to be updated, the method for the present embodiment also comprises: judge that whether configuration information to be updated is the publicly-owned configuration information of all working node.After obtaining configuration information to be updated, judge that whether information to be updated be the publicly-owned configuration information of all working node.The publicly-owned configuration information of working node and working node configure all identical configuration information, and publicly-owned configuration information ensure that the consistency of distributed cluster system in the mode of Processing tasks.The configuration of all working node is as time of delay, maximum thread, Disk Properties, authority configuration etc.
If the configuration information to be updated configuration information that to be all working node publicly-owned, performs step S203.
If the configuration information that the not all working node of configuration information to be updated is publicly-owned, perform step S204.
Step S203, determines that target operation node is all working node.
If judge, configuration information to be updated is the publicly-owned configuration information of all working node, and by needing, configuration information to be updated is pushed to all working node, therefore this step determination target operation node is all working node.
Step S204, according to the state information of each working node collected in advance, determines target operation node, and configuration information to be updated is the privately owned configuration information of target operation node.
The method of the present embodiment also comprises: if judge, configuration information to be updated is not publicly-owned configuration information, then according to the state information of each working node collected in advance, determine target operation node, configuration information to be updated is the privately owned configuration information of target operation node.Each working node has oneself privately owned configuration information, and the configuration information of these information and other working nodes is inconsistent.As network ip address, port numbers, various path are arranged, these configuration informations identify this working node and other working nodes are inconsistent.After judging that configuration information to be updated is not publicly-owned configuration information, the state information of each working node that can collect in advance, as the network ip address, port numbers, executing state etc. of working node, according to these state informations, and in configuration information to be updated as additional logic, determine that the configuration information of which working node needs to upgrade, these working nodes and target operation node.
Step S205, configuration information to be updated is pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize configuration information working procedure to be updated.
After execution step S203 or step S204 determines target operation node, namely target operation node needs the working node of Reconfigurations information, land the configuration file preserved after the configuration file of local rule and configuration file are uploaded to local disk, or after configuration information amendment in internal memory, land the configuration file being saved to local disk.
Configuration information to be updated is pushed to target operation node.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing.
Step S206, configuration information to be updated writes in the configuration file of local rule by notification target working node.
After target operation node utilizes configuration information working procedure to be updated, the present embodiment method also comprises: configuration information to be updated writes in the configuration file of local rule by notification target working node.
After configuration file in target operation node memory is replaced by configuration information to be updated, the information of the configuration file record of the configuration information at this moment in internal memory and local rule is inconsistent, need further configuration information to be updated to be write in the configuration file of local rule, the information of the configuration file record of the configuration information in internal memory and local rule is consistent.When such working node restarts, when the configuration file reading local rule is to internal memory, the renewal that can not occur due to memory configurations FileVersion is covered by former version configuration file content, causes target operation node configuration information to upgrade unsuccessfully.
According to the hot loading method of configuration information provided by the invention, compared with above-described embodiment, add determining step, judging that whether configuration information to be updated is the publicly-owned configuration information of all working node, determine that destination node is after all working node or some working node, configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory the configuration information replaced and read from the configuration file of local rule, the configuration information working procedure after making target operation node directly can utilize memory refreshing.And further configuration information to be updated is write in the configuration file of local rule.The hot loading method of configuration information of the present invention specify that propelling movement target, contingently when decreasing propelling movement to push by mistake, load the time of cost after further shorten working node Reconfigurations information, improve the card produced in configuration file modification process and to pause problem.Configuration information to be updated is write the configuration file of local rule, the configuration file avoiding configuration file in internal memory and local rule is inconsistent simultaneously, when working node restarts, causes target operation node configuration information to upgrade failed problem.
Fig. 3 shows the schematic flow sheet of another embodiment of the hot loading method of configuration information provided by the invention, and as shown in Figure 3, the method for the present embodiment specifically comprises the steps:
Step S301, in distributed cluster system in all working node running, obtains configuration information to be updated.
The operation of this step is identical with step S101 with method, and description sees above, and repeats no more herein.
Step S302, according to configuration information to be updated, selects the target operation node for carrying out performance test job.
Before configuration information to be updated is pushed to target operation node, method also comprises: according to configuration information to be updated, selects the target operation node for carrying out performance test job.Whether the performance of distributed cluster system made moderate progress in the updated for testing configuration information to be updated or solve original problem, can first select the configuration information of or a part of working node to upgrade, for performance test.These working nodes are the target operation node carrying out performance test job.According to the content in configuration information to be updated and additional logic, these target operation nodes can be selected.
Step S303, is pushed to the target operation node for carrying out test job by configuration information to be updated, utilize configuration information working procedure to be updated to carry out performance test for target operation node.
Configuration information to be updated is pushed to target operation node is further: configuration information to be updated is pushed to the target operation node for carrying out test job, utilizes described configuration information working procedure to be updated to carry out performance test for target operation node.
After obtaining configuration information to be updated, configuration information to be updated is pushed to the target operation node that step 302 is selected.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing, at this moment carries out performance test to these target operation nodes.Monitor the performance of the target operation node that new configuration information runs, collect performance test data.As whether the speed of service, inbound pacing, original problem solve.
Step S304, the performance test results information of receiving target working node feedback.
Utilize configuration information working procedure to be updated with after testing at target operation node, method also comprises: the performance test results information of receiving target working node feedback.The performance test results information of receiving step S303 performance test feedback, as information such as whether system running speed, task reception/processing speed, original problem solve.
Step S305, according to the performance test results information, is pushed to configuration information to be updated except target operation node that other needs the working node of configuration information to be updated.
After the performance test results information of receiving target working node feedback, method also comprises: according to the performance test results information, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated.Receiving target working node feedback the performance test results information, according to the performance test results information, as improve original system the speed of service, solve original problem etc., determine that configuration information to be updated can push further.At this moment configuration information to be updated is pushed to except the target operation node being used for carrying out test job pushed that other needs the working node of configuration information to be updated.These other need the working node of configuration information to be updated be this push new target operation node.
Further, step S305 can comprise: judge that whether configuration information to be updated is the publicly-owned configuration information of all working node.If so, configuration information to be updated to be pushed to except target operation node other working node; If not, then according to the state information of each working node collected in advance, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated, configuration information to be updated is the privately owned configuration information of the working node needing configuration information to be updated.
The publicly-owned configuration information of working node and working node configure all identical configuration information, and publicly-owned configuration information ensure that the consistency of distributed cluster system in the mode of Processing tasks.The configuration of all working node is as time of delay, maximum thread, Disk Properties, authority configuration etc.If the information to be updated configuration information that to be all working node publicly-owned, then configuration information to be updated to be pushed to except target operation node other working node.
If judge, configuration information to be updated is not publicly-owned configuration information, according to the state information of each working node collected in advance, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated, configuration information to be updated is the privately owned configuration information of the working node needing configuration information to be updated.Each working node has oneself privately owned configuration information, and the configuration information of these information and other working nodes is inconsistent.As network ip address, port numbers, various path are arranged, these configuration informations identify this working node and other working nodes are inconsistent.After judging that configuration information to be updated is not publicly-owned configuration information, the state information of each working node that can collect in advance, as the network ip address, port numbers, executing state etc. of working node, according to these state informations, and in configuration information to be updated as additional logic, determine except pushed for carry out test job target operation node except also have the configuration information of which working node to need to upgrade, these working nodes and new target operation node.
Configuration information to be updated being pushed to except target operation node after other needs the working node of configuration information to be updated, notify that configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by these working nodes, make these working nodes utilize configuration information working procedure to be updated.Then, notify that configuration information to be updated writes in the configuration file of local rule by these working nodes.
According to the hot loading method of configuration information provided by the invention, compared with above-described embodiment, the target operation node adding selectivity test job carries out the step of performance test.First select a part for carrying out the target operation node updates configuration information of performance test job, the performance after test upgrades.When test performance meets test request, as improved the speed of service, shortening running time, solving original problem etc.Again configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated further.The hot loading method of configuration information of the present invention demonstrates the correctness of configuration information amendment, decreases configuration information and revises incorrect and cause repeatedly pushing spent time, human and material resources.
Fig. 4 shows the schematic flow sheet of another embodiment of the hot loading method of configuration information provided by the invention, and as shown in Figure 4, the method for the present embodiment specifically comprises the steps:
Step S401, in distributed cluster system in all working node running, obtains configuration information to be updated.
The operation of this step is identical with step S101 with method, and description sees above, and repeats no more herein.
Step S402, obtains the mark of the target operation node for carrying out performance test job preset.
Before configuration information to be updated is pushed to target operation node, method also comprises: the mark obtaining the target operation node for carrying out performance test job preset.Whether make moderate progress to the performance of distributed cluster system in the updated for testing configuration information to be updated or solve original problem, first can select one or a part of working node, upgrade its configuration information, the configuration information of renewal is used for performance test.These working nodes are the target operation node carrying out performance test job.These target operation nodes can set in advance, after the configuration information amendment of this working node, may improve the performance of distributed cluster system, select this working node to be target operation node, identify.When performing step S402, obtain the mark presetting target operation node.
Step S403, is pushed to the target operation node that mark is corresponding, utilizes configuration information working procedure to be updated to carry out performance test for target operation node by configuration information to be updated.
Configuration information to be updated is pushed to target operation node is further: configuration information to be updated is pushed to the target operation node that mark is corresponding, utilizes configuration information working procedure to be updated to carry out performance test for target operation node.
After obtaining configuration information to be updated, configuration information to be updated is pushed to the target operation node of the mark correspondence that step 402 obtains.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing, at this moment carries out performance test to these target operation nodes.Monitor the performance of the target operation node that new configuration information runs, collect performance test data.As whether the speed of service, inbound pacing, original problem solve.
Step S404, the performance test results information of receiving target working node feedback.
Utilize configuration information working procedure to be updated with after testing at target operation node, method also comprises: the performance test results information of receiving target working node feedback.The performance test results information of receiving step S403 performance test feedback, as information the such as whether speed of service, inbound pacing, original problem solve.
Step S405, according to the performance test results information, is pushed to configuration information to be updated except target operation node that other needs the working node of configuration information to be updated.
The operation of this step is identical with step S305 with method, and description sees above, and repeats no more herein.
According to the hot loading method of configuration information provided by the invention, compared with above-described embodiment, the mark of the target operation node for carrying out performance test job is preset in performance test step, first select this part for carrying out the target operation node updates configuration information of performance test job, the performance after test upgrades.When test performance meets test request, as improved the speed of service, shortening running time, solving original problem etc.Again configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated further.The hot loading method of configuration information of the present invention demonstrates the correctness of configuration information amendment, decreases configuration information and revises incorrect and cause repeatedly pushing spent time, human and material resources.
Fig. 5 shows the functional block diagram of an embodiment of the hot charger of configuration information provided by the invention, and as shown in Figure 5, the device of the present embodiment comprises as lower module:
Configuration module 501, is suitable in all working node running, obtaining configuration information to be updated in distributed cluster system.
Distributed cluster system, is made up of multiple independently terminal equipment, is respectively independently connected to each other between terminal equipment, and all terminal equipments use as an independent unified resource.Distributed cluster system manages the resource of whole distributed cluster system with global mode, can allocating task dynamically, demand according to terminal equipment situation and waiting task selects most suitable terminal equipment in distributed cluster system, by pending task matching to this terminal equipment, after this terminal equipment is finished the work, task result is returned.In whole process, similarly be a terminal equipment for user's distributed cluster system, and user not can be appreciated that the existence of multiple terminal equipment.Distributed cluster system can perform separately a task, also can multiple tasks in parallel perform simultaneously.When one of them terminal equipment sends fault, do not affect the operation of whole system.
Working node, refers to the terminal equipment in distributed cluster system.Each terminal equipment is a working node.Configuration information, needs the information of configuration when corresponding working node runs.As network IP, port numbers, delayed data, maximum thread, monitor setting, various path configuration informations etc.
In distributed cluster system, comprise multiple working node, each working node has the configuration information of its correspondence.When the configuration informations that are one or more or all working node in multiple working node need to upgrade, first obtain configuration information to be updated by configuration module 501.
Pushing module 502, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize configuration information working procedure to be updated.
Namely target operation node needs the working node of Reconfigurations information, and the configuration file of local rule and configuration file land the configuration file preserved after being uploaded to local disk, or lands the configuration file being saved to local disk after configuration information amendment in internal memory.
After obtaining configuration information to be updated, configuration information to be updated is pushed to target operation node by pushing module 502.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing.
According to the hot charger of configuration information provided by the invention, in distributed cluster system in all working node running, obtain configuration information to be updated.Configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory the configuration information replaced and read from the configuration file of local rule, the configuration information working procedure after making target operation node directly can utilize memory refreshing.The hot charger of configuration information of the present invention shortens the load time of working node configuration information, improves the card produced in configuration file modification process and to pause problem.
Fig. 6 shows the functional block diagram of another embodiment of the hot charger of configuration information provided by the invention, and as shown in Figure 6, the device of the present embodiment comprises as lower module:
Configuration module 601, is suitable in all working node running, obtaining configuration information to be updated in distributed cluster system.The concrete function of this module describes with configuration module 501, and description sees above, and repeats no more herein.
Judge module 602, is suitable for judging that whether configuration information to be updated is the publicly-owned configuration information of all working node.
After configuration module 601 obtains configuration information to be updated, judge module 602 judges that whether information to be updated be the publicly-owned configuration information of all working node.The publicly-owned configuration information of working node and working node configure all identical configuration information, and publicly-owned configuration information ensure that the consistency of distributed cluster system in the mode of Processing tasks.The configuration of all working node is as time of delay, maximum thread, Disk Properties, authority configuration etc.
If judge module 602 judges that configuration information to be updated is the publicly-owned configuration information of all working node, call pushing module 603.
Pushing module 603, is suitable for, when judge module 602 judges that configuration information to be updated is the publicly-owned configuration information of all working node, configuration information to be updated being pushed to all working node.These working nodes and target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize configuration information working procedure to be updated.
If judge module 602 judges the publicly-owned configuration information of the not all working node of configuration information to be updated, call first object working node determination module 605.
First object working node determination module 605, be suitable for when judge module 602 judges the publicly-owned configuration information of the not all working node of configuration information to be updated, according to the state information of each working node collected in advance, determine target operation node, configuration information to be updated is the privately owned configuration information of target operation node.
Each working node has oneself privately owned configuration information, and the configuration information of these information and other working nodes is inconsistent.As network ip address, port numbers, various path are arranged, these configuration informations identify this working node and other working nodes are inconsistent.After judging that configuration information to be updated is not publicly-owned configuration information, the state information of each working node that can collect in advance, as the network ip address, port numbers, executing state etc. of working node, according to these state informations, and in configuration information to be updated as additional logic, determine that the configuration information of which working node needs to upgrade, these working nodes and target operation node.
After first object working node determination module 605 determines target operation node, call pushing module 603, configuration information to be updated is pushed to target operation node.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing.
Notification module 604, is suitable for notification target working node and is write in the configuration file of local rule by configuration information to be updated.
After configuration file in target operation node memory is replaced by configuration information to be updated, the configuration file of the configuration file at this moment in internal memory and local rule and inconsistent, need further configuration information to be updated to be write in the configuration file of local rule, the configuration file of the configuration file in internal memory and local rule is consistent.When such working node restarts, when the configuration file reading local rule is to internal memory, the renewal that can not occur due to memory configurations FileVersion is covered by former version configuration file content, causes target operation node configuration information to upgrade unsuccessfully.
According to the hot charger of configuration information provided by the invention, compared with above-described embodiment, add judge module 602, judging that whether configuration information to be updated is the publicly-owned configuration information of all working node, determine that destination node is after all working node or some working node, configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory the configuration information replaced and read from the configuration file of local rule, the configuration information working procedure after making target operation node directly can utilize memory refreshing.And increase notification module 604 and further configuration information to be updated is write in the configuration file of local rule.The hot charger of configuration information of the present invention specify that propelling movement target, contingently when decreasing propelling movement to push by mistake, load the time of cost after further shorten working node Reconfigurations information, improve the card produced in configuration file modification process and to pause problem.Configuration information to be updated is write the configuration file of local rule, the configuration file avoiding configuration file in internal memory and local rule is inconsistent simultaneously, when working node restarts, causes target operation node configuration information to upgrade failed problem.
Fig. 7 shows the functional block diagram of another embodiment of the hot charger of configuration information provided by the invention, and as shown in Figure 7, the device of the present embodiment comprises as lower module:
Configuration module 701, is suitable in all working node running, obtaining configuration information to be updated in distributed cluster system.The concrete function of this module describes with configuration module 501, and description sees above, and repeats no more herein.
Second target operation node determination module 702, is suitable for according to configuration information to be updated, selects the target operation node for carrying out performance test job
Whether the performance of distributed cluster system made moderate progress in the updated for testing configuration information to be updated or solve original problem, second target operation node determination module 702 selects one or a part of working node, upgrade its configuration information, the configuration information of renewal is used for performance test.These working nodes are the target operation node carrying out performance test job.
Pushing module 703, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
Pushing module 703 is further adapted for: configuration information to be updated is pushed to the target operation node for carrying out test job, utilizes described configuration information working procedure to be updated to carry out performance test for target operation node.
Configuration information to be updated is pushed to the target operation node that the second target operation node determination module 702 is selected.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing, at this moment carries out performance test to these target operation nodes.Monitor the performance of the target operation node that new configuration information runs, collect performance test data.As whether the speed of service, inbound pacing, original problem solve.
Receiver module 704, is suitable for the performance test results information of receiving target working node feedback.
Receiver module 704 receiving target working node carries out the performance test results information of performance test feedback, as information such as whether system running speed, task reception/processing speed, original problem solve.
After receiver module 704 receives the performance test results information, according to the performance test results information, as improve original system the speed of service, solve original problem etc., determine that configuration information to be updated can push further, continue to call pushing module 703.
Pushing module 703 is also suitable for: according to the performance test results information, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated.
Configuration information to be updated is pushed to except the target operation node being used for carrying out test job pushed that other needs the working node of configuration information to be updated.These other need the working node of configuration information to be updated be this push new target operation node.Before calling pushing module 703 and pushing further, call judge module 705 and judge.
Judge module 705, is suitable for judging that whether configuration information to be updated is the publicly-owned configuration information of all working node.
The publicly-owned configuration information of working node and working node configure all identical configuration information, and publicly-owned configuration information ensure that the consistency of distributed cluster system in the mode of Processing tasks.The configuration of all working node is as time of delay, maximum thread, Disk Properties, authority configuration etc.When pushing further, first calling judge module 705 and judging, if the information to be updated configuration information that to be all working node publicly-owned, configuration information to be updated can be pushed to except target operation node other working node.If the configuration information that the not all working node of information to be updated is publicly-owned, then need information pushing to be updated to the working node needing Reconfigurations information.After judge module 705 judges, continue to call pushing module 703.
Pushing module 703 is further adapted for: if judge module 705 judges that configuration information to be updated is the publicly-owned configuration information of all working node, then configuration information to be updated to be pushed to except target operation node other working node.
If judge module 705 judges the publicly-owned configuration information of the not all working node of configuration information to be updated, then according to the state information of each working node collected in advance, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated, configuration information to be updated is the privately owned configuration information of the working node needing configuration information to be updated.
Notification module 706, is suitable for notification target working node and is write in the configuration file of local rule by configuration information to be updated.The concrete function of this module describes with notification module 604, and description sees above, and repeats no more herein.
According to the hot charger of configuration information provided by the invention, compared with above-described embodiment, the target operation node adding selectivity test job carries out the module of performance test.First select a part for carrying out the target operation node updates configuration information of performance test job, the performance after test upgrades.When test performance meets test request, as improved the speed of service, shortening running time, solving original problem etc.Again configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated further.The hot charger of configuration information of the present invention demonstrates the correctness of configuration information amendment, decreases configuration information and revises incorrect and cause repeatedly pushing spent time, human and material resources.
Fig. 8 shows the functional block diagram of another embodiment of the hot charger of configuration information provided by the invention, and as shown in Figure 8, the device of the present embodiment comprises as lower module:
Configuration module 801, is suitable in all working node running, obtaining configuration information to be updated in distributed cluster system.The concrete function of this module describes with configuration module 501, and description sees above, and repeats no more herein.
Acquisition module 802, is suitable for the mark obtaining the target operation node for carrying out performance test job preset.
Whether make moderate progress to the performance of distributed cluster system in the updated for testing configuration information to be updated or solve original problem, first can select one or a part of working node, upgrade its configuration information, the configuration information of renewal is used for performance test.These working nodes are the target operation node carrying out performance test job.These target operation nodes can set in advance, after the configuration information amendment of this working node, may improve the performance of distributed cluster system, select this working node to be target operation node, identify.Acquisition module 802 obtains in advance the working node of setting identification.
Pushing module 803, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
Pushing module 803 is further adapted for: configuration information to be updated is pushed to the target operation node that mark is corresponding, utilizes described configuration information working procedure to be updated to carry out performance test for target operation node.
Configuration information to be updated is pushed to the target operation node that acquisition module 802 obtains.During propelling movement, configuration information to be updated is loaded on internal memory, directly replaces the configuration information read from the configuration file of local rule in internal memory.After replacement, target operation node directly can utilize the configuration information working procedure after memory refreshing, at this moment carries out performance test to these target operation nodes.Monitor the performance of the target operation node that new configuration information runs, collect performance test data.As whether the speed of service, inbound pacing, original problem solve.
Receiver module 804, is suitable for the performance test results information of receiving target working node feedback.
Receiver module 804 receiving target working node carries out the performance test results information of performance test feedback, as information such as whether system running speed, task reception/processing speed, original problem solve.
After receiver module 804 receives the performance test results information, according to the performance test results information, as improve original system the speed of service, solve original problem etc., determine that configuration information to be updated can push further, continue to call pushing module 803.
Pushing module 803 is also suitable for: according to the performance test results information, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated.
Configuration information to be updated is pushed to except the target operation node being used for carrying out test job pushed that other needs the working node of configuration information to be updated.These other need the working node of configuration information to be updated be this push new target operation node.Before calling pushing module 803 and pushing further, call judge module 805 and judge.
Judge module 805, is suitable for judging that whether configuration information to be updated is the publicly-owned configuration information of all working node.
The publicly-owned configuration information of working node and working node configure all identical configuration information, and publicly-owned configuration information ensure that the consistency of distributed cluster system in the mode of Processing tasks.The configuration of all working node is as time of delay, maximum thread, Disk Properties, authority configuration etc.When pushing further, first calling judge module 805 and judging, if the information to be updated configuration information that to be all working node publicly-owned, configuration information to be updated can be pushed to except target operation node other working node.If the configuration information that the not all working node of information to be updated is publicly-owned, then need information pushing to be updated to the working node needing Reconfigurations information.After judge module 805 judges, continue to call pushing module 803.
Pushing module 803 is further adapted for: if judge module 805 judges that configuration information to be updated is the publicly-owned configuration information of all working node, then configuration information to be updated to be pushed to except target operation node other working node.
If judge module 805 judges the publicly-owned configuration information of the not all working node of configuration information to be updated, then according to the state information of each working node collected in advance, configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated, configuration information to be updated is the privately owned configuration information of the working node needing configuration information to be updated.
Notification module 806, is suitable for notification target working node and is write in the configuration file of local rule by configuration information to be updated.The concrete function of this module describes with notification module 604, and description sees above, and repeats no more herein.
According to the hot charger of configuration information provided by the invention, compared with above-described embodiment, the mark of the target operation node for carrying out performance test job is preset in performance test, first obtain this part for carrying out the target operation node updates configuration information of performance test job, the performance after test upgrades.When test performance meets test request, as improved the speed of service, shortening running time, solving original problem etc.Again configuration information to be updated is pushed to except target operation node that other needs the working node of configuration information to be updated further.The hot charger of configuration information of the present invention demonstrates the correctness of configuration information amendment, decreases configuration information and revises incorrect and cause repeatedly pushing spent time, human and material resources.
Fig. 9 shows the schematic block diagram of the distributed cluster system of an embodiment provided by the invention, and as shown in Figure 9, the distributed cluster system of the present embodiment, comprising: configuration node 910 and multiple working node 921-924;
Wherein, configuration node 910 comprises: the hot charger of the configuration information mentioned in above-described embodiment.As shown in Figure 9, configuration node 910 comprises configuration module 501 and pushing module 502, this figure just illustrates, configuration node 910 also can comprise the functional module as shown in Fig. 6, Fig. 7, Fig. 8.Concrete function can refer to the description of Fig. 5-8.
One or more target operation nodes in multiple working node 921-924 are suitable for: according to the notice of configuration node 910, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, to utilize configuration information working procedure to be updated.After working node 921-924 receives the configuration information to be updated that in configuration node 910, pushing module 502 pushes, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, to utilize configuration information working procedure to be updated.
According to distributed cluster system provided by the invention, in distributed cluster system in all working node running, obtain configuration information to be updated.Configuration information to be updated is pushed to target operation node, configuration information to be updated is loaded in internal memory the configuration information replaced and read from the configuration file of local rule, the configuration information working procedure after making target operation node directly can utilize memory refreshing.Distributed cluster system of the present invention shortens the load time of working node configuration information, improves the card produced in configuration file modification process and to pause problem.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the hot charger of the configuration information according to the embodiment of the present invention, distributed cluster system.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses:
The hot loading method of A1, a kind of configuration information, described method is used in distributed cluster system, and described method comprises:
In described distributed cluster system in all working node running, obtain configuration information to be updated;
Configuration information to be updated is pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
The hot loading method of A2, configuration information according to A1, after the configuration information that described acquisition is to be updated, described method also comprises: judge that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
Describedly configuration information to be updated is pushed to target operation node is further: described configuration information to be updated is the publicly-owned configuration information of all working node if judge, described configuration information to be updated is pushed to all working node.
The hot loading method of A3, configuration information according to A2, described method also comprises: if judge, described configuration information to be updated is not described publicly-owned configuration information, then according to the state information of each working node collected in advance, determine described target operation node, described configuration information to be updated is the privately owned configuration information of described target operation node.
The hot loading method of A4, configuration information according to A1, described configuration information to be updated is pushed to target operation node before, described method also comprises: according to described configuration information to be updated, selects the target operation node for carrying out performance test job;
Describedly configuration information to be updated is pushed to target operation node is further: configuration information to be updated being pushed to the target operation node for carrying out test job, utilizing described configuration information working procedure to be updated to carry out performance test for described target operation node.
The hot loading method of A5, configuration information according to A1, described configuration information to be updated is pushed to target operation node before, described method also comprises: the mark obtaining the target operation node for carrying out performance test job preset;
Describedly configuration information to be updated is pushed to target operation node is further: configuration information to be updated is pushed to the target operation node that described mark is corresponding, utilizes described configuration information working procedure to be updated to carry out performance test for described target operation node.
The hot loading method of A6, configuration information according to A4 or A5, utilize described configuration information working procedure to be updated with after testing at described target operation node, described method also comprises: the performance test results information receiving described target operation node feeding back.
The hot loading method of A7, configuration information according to A6, after the performance test results information of the described target operation node feeding back of described reception, described method also comprises: according to described the performance test results information, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node.
The hot loading method of A8, configuration information according to A7, is describedly pushed to described configuration information to be updated except described target operation node that other needs the working node of described configuration information to be updated to comprise further:
Judge that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
If so, then described configuration information to be updated to be pushed to except described target operation node other working node;
If not, then according to the state information of each working node collected in advance, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node, described configuration information to be updated is the privately owned configuration information of the working node needing described configuration information to be updated.
The hot loading method of A9, configuration information according to any one of A1-A8, after described target operation node utilizes described configuration information working procedure to be updated, described method also comprises: notify that configuration information to be updated writes in the configuration file of local rule by described target operation node.
The hot charger of B10, a kind of configuration information, described device is arranged in distributed cluster system, and described device comprises:
Configuration module, is suitable in all working node running, obtaining configuration information to be updated in described distributed cluster system;
Pushing module, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
The hot charger of B11, configuration information according to B10, also comprises:
Judge module, is suitable for judging that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
Described pushing module is further adapted for: when described judge module judges that described configuration information to be updated is the publicly-owned configuration information of all working node, described configuration information to be updated is pushed to all working node.
The hot charger of B12, configuration information according to B11, also comprises:
First object working node determination module, be suitable for when described judge module judges the publicly-owned configuration information of the not all working node of described configuration information to be updated, according to the state information of each working node collected in advance, determine described target operation node, described configuration information to be updated is the privately owned configuration information of described target operation node.
The hot charger of B13, configuration information according to B10, also comprises:
Second target operation node determination module, is suitable for according to described configuration information to be updated, selects the target operation node for carrying out performance test job;
Described pushing module is further adapted for: configuration information to be updated is pushed to the target operation node for carrying out test job, utilizes described configuration information working procedure to be updated to carry out performance test for described target operation node.
The hot charger of B14, configuration information according to B10, also comprising: acquisition module, being suitable for the mark obtaining the target operation node for carrying out performance test job preset;
Described pushing module is further adapted for: configuration information to be updated is pushed to the target operation node that described mark is corresponding, utilizes described configuration information working procedure to be updated to carry out performance test for described target operation node.
The hot charger of B15, configuration information according to B13 or B14, also comprises: receiver module, is suitable for the performance test results information receiving described target operation node feeding back.
The hot charger of B16, configuration information according to B15, described pushing module is also suitable for: according to described the performance test results information, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node.
The hot charger of B17, configuration information according to B16, also comprises: judge module, is suitable for judging that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
Described pushing module is further adapted for: if described judge module judges that described configuration information to be updated is the publicly-owned configuration information of all working node, then described configuration information to be updated to be pushed to except described target operation node other working node; If described judge module judges the publicly-owned configuration information of the not all working node of described configuration information to be updated, then according to the state information of each working node collected in advance, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node, described configuration information to be updated is the privately owned configuration information of the working node needing described configuration information to be updated.
The hot charger of B18, configuration information according to any one of B10-B17, also comprises: notification module, is suitable for notifying that configuration information to be updated writes in the configuration file of local rule by described target operation node.
C19, a kind of distributed cluster system, comprising: configuration node and multiple working node;
Wherein, described configuration node comprises: the hot charger of the configuration information described in any one of B10-B18; One or more target operation nodes in described multiple working node are suitable for: according to the notice of described configuration node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, to utilize described configuration information working procedure to be updated.

Claims (10)

1. a hot loading method for configuration information, described method is used in distributed cluster system, and described method comprises:
In described distributed cluster system in all working node running, obtain configuration information to be updated;
Configuration information to be updated is pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
2. the hot loading method of configuration information according to claim 1, after the configuration information that described acquisition is to be updated, described method also comprises: judge that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
Describedly configuration information to be updated is pushed to target operation node is further: described configuration information to be updated is the publicly-owned configuration information of all working node if judge, described configuration information to be updated is pushed to all working node.
3. the hot loading method of configuration information according to claim 2, described method also comprises: if judge, described configuration information to be updated is not described publicly-owned configuration information, then according to the state information of each working node collected in advance, determine described target operation node, described configuration information to be updated is the privately owned configuration information of described target operation node.
4. the hot loading method of configuration information according to claim 1, described configuration information to be updated is pushed to target operation node before, described method also comprises: according to described configuration information to be updated, selects the target operation node for carrying out performance test job;
Describedly configuration information to be updated is pushed to target operation node is further: configuration information to be updated being pushed to the target operation node for carrying out test job, utilizing described configuration information working procedure to be updated to carry out performance test for described target operation node.
5. the hot loading method of configuration information according to claim 1, described configuration information to be updated is pushed to target operation node before, described method also comprises: the mark obtaining the target operation node for carrying out performance test job preset;
Describedly configuration information to be updated is pushed to target operation node is further: configuration information to be updated is pushed to the target operation node that described mark is corresponding, utilizes described configuration information working procedure to be updated to carry out performance test for described target operation node.
6. the hot loading method of the configuration information according to claim 4 or 5, utilize described configuration information working procedure to be updated with after testing at described target operation node, described method also comprises: the performance test results information receiving described target operation node feeding back.
7. the hot loading method of configuration information according to claim 6, after the performance test results information of the described target operation node feeding back of described reception, described method also comprises: according to described the performance test results information, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node.
8. the hot loading method of configuration information according to claim 7, the described working node described configuration information to be updated being pushed to the described configuration information to be updated of other needs except described target operation node comprises further:
Judge that whether described configuration information to be updated is the publicly-owned configuration information of all working node;
If so, then described configuration information to be updated to be pushed to except described target operation node other working node;
If not, then according to the state information of each working node collected in advance, described configuration information to be updated is pushed to the working node of the described configuration information to be updated of other needs except described target operation node, described configuration information to be updated is the privately owned configuration information of the working node needing described configuration information to be updated.
9. a hot charger for configuration information, described device is arranged in distributed cluster system, and described device comprises:
Configuration module, is suitable in all working node running, obtaining configuration information to be updated in described distributed cluster system;
Pushing module, configuration information to be updated is suitable for be pushed to target operation node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule by notification target working node, makes target operation node utilize described configuration information working procedure to be updated.
10. a distributed cluster system, comprising: configuration node and multiple working node;
Wherein, described configuration node comprises: the hot charger of configuration information according to claim 9; One or more target operation nodes in described multiple working node are suitable for: according to the notice of described configuration node, configuration information to be updated to be loaded in internal memory to replace the configuration information that reads from the configuration file of local rule, to utilize described configuration information working procedure to be updated.
CN201510994232.8A 2015-12-25 2015-12-25 Heat loading method and device of configuration information and distributed cluster system Pending CN105553738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994232.8A CN105553738A (en) 2015-12-25 2015-12-25 Heat loading method and device of configuration information and distributed cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994232.8A CN105553738A (en) 2015-12-25 2015-12-25 Heat loading method and device of configuration information and distributed cluster system

Publications (1)

Publication Number Publication Date
CN105553738A true CN105553738A (en) 2016-05-04

Family

ID=55832678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994232.8A Pending CN105553738A (en) 2015-12-25 2015-12-25 Heat loading method and device of configuration information and distributed cluster system

Country Status (1)

Country Link
CN (1) CN105553738A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020877A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Automatic update method and apparatus for system environment configuration
CN106126568A (en) * 2016-06-17 2016-11-16 杭州财人汇网络股份有限公司 One promotes mainly formula serializing buffer memory management method and system
CN106453501A (en) * 2016-09-09 2017-02-22 北京奇虎科技有限公司 Method and apparatus for modifying configuration information of service
CN107147719A (en) * 2017-05-15 2017-09-08 郑州云海信息技术有限公司 A kind of hardware update method, master node, slave node and server cluster
CN107885537A (en) * 2016-09-28 2018-04-06 平安科技(深圳)有限公司 Configuration file loading method and device
CN108073559A (en) * 2016-11-18 2018-05-25 腾讯科技(深圳)有限公司 It is a kind of to realize the newer method, apparatus of list data and system
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN109582386A (en) * 2018-11-09 2019-04-05 聚好看科技股份有限公司 Service starting processing method, device, electronic equipment and readable storage medium storing program for executing
CN109586948A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Update method, apparatus, computer equipment and the storage medium of system configuration data
CN111124542A (en) * 2019-12-25 2020-05-08 上海众源网络有限公司 Configuration information management system
CN112367201A (en) * 2020-11-09 2021-02-12 光大兴陇信托有限责任公司 Method and system for realizing distributed service configuration hot update

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN102857371A (en) * 2012-08-21 2013-01-02 曙光信息产业(北京)有限公司 Dynamic allocation management method for cluster system
CN103220163A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Updating method and system of configuring information
CN103347059A (en) * 2013-06-20 2013-10-09 北京奇虎科技有限公司 Method, client-side and system for realizing user configuration parameter transmission
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789980A (en) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 Batch upgrading method based on cluster network
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster
CN103220163A (en) * 2012-01-19 2013-07-24 阿里巴巴集团控股有限公司 Updating method and system of configuring information
CN102857371A (en) * 2012-08-21 2013-01-02 曙光信息产业(北京)有限公司 Dynamic allocation management method for cluster system
CN103347059A (en) * 2013-06-20 2013-10-09 北京奇虎科技有限公司 Method, client-side and system for realizing user configuration parameter transmission
CN103634144A (en) * 2013-11-15 2014-03-12 新浪网技术(中国)有限公司 Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020877A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Automatic update method and apparatus for system environment configuration
CN106126568A (en) * 2016-06-17 2016-11-16 杭州财人汇网络股份有限公司 One promotes mainly formula serializing buffer memory management method and system
CN106453501B (en) * 2016-09-09 2019-05-31 北京奇虎科技有限公司 A kind of method and apparatus of the configuration information of modification service
CN106453501A (en) * 2016-09-09 2017-02-22 北京奇虎科技有限公司 Method and apparatus for modifying configuration information of service
CN107885537A (en) * 2016-09-28 2018-04-06 平安科技(深圳)有限公司 Configuration file loading method and device
CN108073559A (en) * 2016-11-18 2018-05-25 腾讯科技(深圳)有限公司 It is a kind of to realize the newer method, apparatus of list data and system
CN108073559B (en) * 2016-11-18 2021-07-27 腾讯科技(深圳)有限公司 Method, device and system for realizing table data updating
CN107147719A (en) * 2017-05-15 2017-09-08 郑州云海信息技术有限公司 A kind of hardware update method, master node, slave node and server cluster
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN108304201B (en) * 2017-09-14 2022-02-22 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN109586948A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Update method, apparatus, computer equipment and the storage medium of system configuration data
CN109582386A (en) * 2018-11-09 2019-04-05 聚好看科技股份有限公司 Service starting processing method, device, electronic equipment and readable storage medium storing program for executing
CN109582386B (en) * 2018-11-09 2022-02-25 聚好看科技股份有限公司 Service starting processing method and device, electronic equipment and readable storage medium
CN111124542A (en) * 2019-12-25 2020-05-08 上海众源网络有限公司 Configuration information management system
CN112367201A (en) * 2020-11-09 2021-02-12 光大兴陇信托有限责任公司 Method and system for realizing distributed service configuration hot update

Similar Documents

Publication Publication Date Title
CN105553738A (en) Heat loading method and device of configuration information and distributed cluster system
US20190303120A1 (en) Dynamic container deployment with parallel conditional layers
CN101268620B (en) Device management system and method for managing device management object
CN106302609B (en) Access method and device
EP3944082A1 (en) Extending the kubernetes api in-process
US9542173B2 (en) Dependency handling for software extensions
CN106951284B (en) User interface upgrading method and device based on android system application and intelligent terminal
US8635425B1 (en) Upgrading computing devices
CN111782339A (en) Container creation method and device, electronic equipment and storage medium
CN104346206A (en) Method and system for recovering installation of unloaded software
CN113010265A (en) Pod scheduling method, scheduler, memory plug-in and system
CN103647811A (en) A method and an apparatus for application's accessing backstage service
CN116049207A (en) Application SQL script processing method and device, processor and electronic equipment
CN105045642A (en) Method and device for loading self-defined classes
CN111813379A (en) Application deployment method and device, electronic equipment and computer readable storage medium
US9760364B2 (en) Checks for software extensions
CN110083366B (en) Application running environment generation method and device, computing equipment and storage medium
US11750451B2 (en) Batch manager for complex workflows
CN111712795A (en) Method, apparatus, computer program product and readable medium for evaluating application deployment
CN105426272A (en) Backup method and device for application programs
CN106528219A (en) Upgrading method and apparatus for parasitic tool package in application
CN114880073A (en) Cloud application engine deployment method, device, equipment and storage medium for shielding Web framework for user
CN114827177A (en) Deployment method and device of distributed file system and electronic equipment
CN114116030A (en) Operating system running method and device, electronic equipment and storage medium
CN111427603A (en) Application program upgrading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160504