CN104486378A - Cluster control method and device - Google Patents

Cluster control method and device Download PDF

Info

Publication number
CN104486378A
CN104486378A CN201410696957.4A CN201410696957A CN104486378A CN 104486378 A CN104486378 A CN 104486378A CN 201410696957 A CN201410696957 A CN 201410696957A CN 104486378 A CN104486378 A CN 104486378A
Authority
CN
China
Prior art keywords
main frame
control end
login password
main control
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410696957.4A
Other languages
Chinese (zh)
Other versions
CN104486378B (en
Inventor
孙永敬
喻才益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201410696957.4A priority Critical patent/CN104486378B/en
Publication of CN104486378A publication Critical patent/CN104486378A/en
Application granted granted Critical
Publication of CN104486378B publication Critical patent/CN104486378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a cluster control method and a cluster control device. The method can comprise the following steps that a main control terminal receives a host identifier, a host logging code and a host execute command set which respectively correspond to each host computer and are set in a configuration file by a user, wherein the host execute command set which respectively corresponds to each host computer is used for detecting respective running condition of each host computer; the main control terminal transmits a connection request to each host computer corresponding to the host identifier set in the configuration file in parallel; after the main control terminal respectively builds connection with each host computer, the main control terminal transmits the configuration file to each host computer. By the method and the device provided by the invention, the procedure of cluster control can be simplified, the time for a cluster control process is reduced, the aim that main control terminal equipment can simultaneously control a plurality of host computers is fulfilled, and the working efficiency can be greatly improved.

Description

A kind of cluster control method and device
Technical field
The present invention relates to electronic communication field, particularly relate to a kind of cluster control method and device.
Background technology
Along with the arriving in information explosion epoch, IT (Information Technology, information technology) systems grow is huge, and current IT system has constituted a huge on-line system.For the operation maintenance of IT system now, a keeper usually needs maintenance tens or up to a hundred Unix, the main frame of the different systems such as Windows, the requirement safeguarded IT system is also more and more higher, need when keeper safeguards IT system to perform login respectively to every platform main frame, input password, key in instruction, confirm result and the series of complex link such as to log off, so, substantially the most of the time of keeper consumes at new windowing, log in, input password, the command execution repeated, the links such as switch window and confirmation result, thus cause the complex operation step of O&M and consuming time.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of cluster control method and device are provided, the flow process of clustered control can be simplified, reduce the time of clustered control process, realize main control end equipment and control multiple host simultaneously, thus make multiple host fill order, achieve the operation automation of O&M, can greatly increase work efficiency.
First aspect, embodiments provide a kind of cluster control method, comprise: main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Described main control end sends connection request to each the host parallel corresponding with the host identification arranged in described configuration file;
After described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame by described main control end.
In conjunction with first aspect, in the implementation that the first is possible, before described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, described method also comprises:
Described main control end receives the exectorial startup request of multiple host that described user sends;
Described main control end points out described user to input execution password;
Whether the execution password that described main control end verifies described user input mates with the execution password preset, and described default execution password is stored in described main control end;
Described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, comprising:
When the execution password that described user inputs mate with the execution password preset, described main control end receives the host identification of difference correspondence each the main frame that user is arranged in configuration file, main frame login password and main frame fill order collection.
In conjunction with first aspect, in the implementation that the second is possible, after whether the execution password that described main control end verifies described user input mates with the execution password preset, before described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, described method also comprises:
Described main control end receives the danger order that described user is arranged in configuration file, and described danger order is for forcing the operation stopping described each main frame.
In conjunction with first aspect, in the implementation that the third is possible, described main control end is to after each the host parallel corresponding with the host identification arranged in described configuration file sends connection request, and described method also comprises:
Described each the exectorial mode of main frame is set to serial and performs by described main control end;
After described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Described configuration file transmitted in parallel is given described each main frame by described main control end, comprising:
When described each the exectorial mode of main frame is not set to serial execution by described main control end, described configuration file transmitted in parallel is given described each main frame by described main control end.
In conjunction with first aspect, in the 4th kind of possible implementation, after described configuration file is sent to described each main frame by described main control end, described method also comprises:
Described main control end receives the execution result that described each main frame returns.
Second aspect, embodiments provides a kind of cluster control method, comprising:
Main frame receives the connection request that main control end sends;
Described main frame receives the configuration file that described main control end sends, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Described main frame obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file;
Whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
When the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
In conjunction with second aspect, in the implementation that the first is possible, also comprise in described configuration file: the danger order that described user is arranged, described danger order is for forcing the operation stopping described each main frame.
In conjunction with second aspect, in the implementation that the second is possible, after whether the main frame login password of correspondence self host identification got described in the verification of described main frame mates with default main frame login password, described method also comprises:
When the main frame login password of self host identification of described correspondence mates with the main frame login password preset, and the current main frame fill order that will perform of described main frame concentrate main frame fill order be described danger order time, described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Described main frame performs the main frame fill order that described main frame fill order is concentrated, and comprising:
When the main frame fill order that will perform when described main frame is current is benign order, described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame.
In conjunction with second aspect, in the implementation that the third is possible, after the main frame login password that described main frame obtains self host identification corresponding from described configuration file and main frame fill order collection, before whether the main frame login password of correspondence self host identification got described in the verification of described main frame mates with default main frame login password, described method also comprises:
Described main frame judges whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
When the main frame login password of correspondence self host identification got described in described main frame verification exceedes default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and comprising:
When the main frame login password of correspondence self host identification got described in described main frame verification does not exceed default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset.
In conjunction with second aspect, in the 4th kind of possible implementation, after described main frame performs described main frame fill order collection, described method also comprises:
When the time that described main frame performs described main frame fill order collection exceedes default time threshold, described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out.
In conjunction with second aspect, in the 5th kind of possible implementation, after described main frame performs described main frame fill order collection, described method also comprises:
The execution result of described main frame is returned described main control end by described main frame.
The third aspect, embodiments provides a kind of clustered control device, comprising:
First receiver module, receive the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection for main control end, the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
First sending module, sends connection request for described main control end to each the host parallel corresponding with the host identification arranged in described configuration file;
Second sending module, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame by described main control end.
In conjunction with the third aspect, in the implementation that the first is possible, described device also comprises:
Second receiver module, receives the exectorial startup request of multiple host of described user transmission for described main control end;
Reminding module, points out described user to input execution password for described main control end;
Correction verification module, whether the execution password verifying described user input for described main control end mates with the execution password preset, and described default execution password is stored in described main control end;
Described first receiver module, specifically for when the execution password of described user input mate with the execution password preset, the host identification of difference correspondence each the main frame that described main control end reception user is arranged in configuration file, main frame login password and main frame fill order collection.
In conjunction with the third aspect, in the implementation that the second is possible, described device also comprises:
3rd receiver module, receives for described main control end the danger order that described user arranges in configuration file, and described danger order is for forcing the operation stopping described each main frame.
In conjunction with the third aspect, in the implementation that the third is possible, described device also comprises:
Module is set, for described main control end, described each the exectorial mode of main frame is set to serial and performs;
3rd sending module, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Described second sending module, during specifically for described each the exectorial mode of main frame not to be set to serial execution when described main control end, described configuration file transmitted in parallel is given described each main frame by described main control end.
In conjunction with the third aspect, in the 4th kind of possible implementation, described device also comprises:
4th receiver module, for the execution result that described each the main frame of described main control end reception returns.
Fourth aspect, embodiments provides a kind of clustered control device, comprising:
First receiver module, receives the connection request of main control end transmission for main frame;
Second receiver module, the configuration file of described main control end transmission is received for described main frame, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Acquisition module, obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file for described main frame;
Correction verification module, whether the main frame login password for correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
Executive Module, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
In conjunction with fourth aspect, in the implementation that the first is possible, also comprise in described configuration file: the danger order that described user is arranged, described danger order is for forcing the operation stopping described each main frame.
In conjunction with fourth aspect, in the implementation that the second is possible, described device also comprises:
First generation module, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, and the current main frame fill order that will perform of described main frame concentrate main frame fill order be described danger order time, described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Described Executive Module, when main frame fill order specifically for performing when described main frame is current is benign order, described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame.
In conjunction with fourth aspect, in the implementation that the third is possible, described device also comprises:
Judge module, judges for described main frame whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
Second generation module, for when the main frame login password of correspondence self host identification got described in described main frame verification exceedes default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Described correction verification module, specifically for when the main frame login password of correspondence self host identification got described in described main frame verification does not exceed default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset.
In conjunction with fourth aspect, in the 4th kind of possible implementation, described device also comprises:
3rd generation module, when the time for performing described main frame fill order collection when described main frame exceedes default time threshold, described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out.
In conjunction with fourth aspect, in the 5th kind of possible implementation, described device also comprises:
Return module, for described main frame, the execution result of described main frame is returned described main control end.
By implementing the embodiment of the present invention, achieve main control end equipment can control multiple host simultaneously, thus realize multiple host executed in parallel operational order, and execution result is returned to main control end, once input, the realization of parallel multiple exercise can simplify the flow process of clustered control, reduce the time of clustered control process, achieve the operation automation of O&M, can greatly increase work efficiency, simultaneously by the quick position returning results guarantee fault in production conscientiously of multiple host, and the operation of each the dangerous order of main frame shielding can be made, by the realization of the embodiment of the present invention, greatly can save the O&M manpower to IT system O&M, improve quality and the operating efficiency of IT system O&M, the execution password of main control end adds the realization of two licensing schemes of the login password of each main frame, greatly can promote the fail safe of group system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet inventing the cluster control method provided; ;
Fig. 2 is the schematic flow sheet of the cluster control method of another embodiment provided by the invention;
Fig. 3 is the schematic flow sheet of the cluster control method of another embodiment provided by the invention;
Fig. 4 is the schematic flow sheet of the cluster control method of another embodiment provided by the invention;
Fig. 5 is the schematic flow sheet of the cluster control method of another embodiment provided by the invention;
Fig. 6 is the schematic flow sheet of the cluster control method of another embodiment provided by the invention;
Fig. 7 is the structural representation of clustered control device provided by the invention;
Fig. 8 is the structural representation of the clustered control device of another embodiment provided by the invention;
Fig. 9 is the structural representation of the clustered control device of another embodiment provided by the invention;
Figure 10 is the structural representation of the clustered control device of another embodiment provided by the invention;
Figure 11 is the structural representation of the clustered control device of another embodiment provided by the invention;
Figure 12 is the structural representation of the clustered control device of another embodiment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Embodiments provide a kind of cluster control method and device, the flow process of clustered control can be simplified, reduce the time of clustered control process, realize main control end equipment and control multiple host simultaneously, thus make multiple host fill order, achieve the operation automation of O&M, can greatly increase work efficiency.For the ease of understanding the embodiment of the present invention, first the cluster control method of the embodiment of the present invention is described below.
See Fig. 1, be the schematic flow sheet of cluster control method provided by the invention, the method is applied to main control end, and the method comprises:
Step S101: main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Particularly, namely main control end controls each the exectorial control end of main frame, unified management is carried out to each main frame of controlled terminal, thus make the order that each main frame of controlled terminal sends according to main control end, carry out operating and perform, wherein, described each main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.Main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, wherein, each main frame comprises at least one, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated.
Step S103: described main control end sends connection request to each the host parallel corresponding with the host identification arranged in described configuration file;
Particularly, main control end retrieval configuration file, obtain the host identification arranged in configuration file, each the main frame corresponding to described host identification sends the request of connecting simultaneously.
Step S105: after described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame by described main control end.
Particularly, after every platform main frame corresponding with each host identification in configuration file when main control end all successfully connects, described configuration file is sent to described each main frame by described main control end respectively.
Further, the schematic flow sheet of the cluster control method of another embodiment provided by the invention as shown in Figure 2, the method is applied to main control end, and the method comprises:
Step S201: described main control end receives the exectorial startup request of multiple host that described user sends;
Particularly, main control end receives the exectorial startup request of multiple host that user sends, thus starts the configuration flow of multiple host executed in parallel order.
Step S203: described main control end points out described user to input execution password;
Particularly, main control end shows the region that input performs password on display interface, points out described user to input execution password.
Step S205: whether the execution password that described main control end verifies described user input mates with the execution password preset, and described default execution password is stored in described main control end;
Particularly, the input of user in the display interface of main control end performs cryptographic zone input and performs password, and whether the execution password that described main control end verifies described user input mates with the execution password be stored in advance in described main control end.
Step S207: when the execution password that described user inputs mate with the execution password preset, described main control end receives the host identification of difference correspondence each the main frame that user is arranged in configuration file, main frame login password and main frame fill order collection;
Particularly, when the execution password that described user inputs mates with the execution password be stored in advance in described main control end, described main control end starts to receive the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection.Namely main control end controls each the exectorial control end of main frame, unified management is carried out to each main frame of controlled terminal, thus make the order that each main frame of controlled terminal sends according to main control end, carry out operating and perform, wherein, described each main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.Main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, wherein, each main frame comprises at least one, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated.
Step S209: described main control end sends connection request to each the host parallel corresponding with the host identification arranged in described configuration file;
Particularly, main control end retrieval configuration file, obtain the host identification arranged in configuration file, each the main frame corresponding to described host identification sends the request of connecting simultaneously.
Step S211: after described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame by described main control end;
Particularly, after every platform main frame corresponding with each host identification in configuration file when main control end all successfully connects, described configuration file is sent to described each main frame by described main control end respectively.
Step S213: described main control end receives the execution result that described each main frame returns.
Particularly, the execution result returned after the All hosts that host identification in main control end reception configuration file is corresponding performs described main frame fill order collection, according to the execution result of each main frame, the operating personnel of main control end check execution result, and according to execution result quick position failed host.
Further, the schematic flow sheet of the cluster control method of another embodiment provided by the invention as shown in Figure 3, the method is applied to main control end, and the method comprises:
Step S301: described main control end receives the exectorial startup request of multiple host that described user sends;
Particularly, main control end receives the exectorial startup request of multiple host that user sends, thus starts the configuration flow of multiple host executed in parallel order.
Step S303: described main control end points out described user to input execution password;
Particularly, main control end shows the region that input performs password on display interface, points out described user to input execution password.
Step S305: whether the execution password that described main control end verifies described user input mates with the execution password preset, and described default execution password is stored in described main control end;
Particularly, the input of user in the display interface of main control end performs cryptographic zone input and performs password, and whether the execution password that described main control end verifies described user input mates with the execution password be stored in advance in described main control end.
Step S307: described main control end receives the danger order that described user is arranged in configuration file, described danger order is for forcing the operation stopping described each main frame;
Particularly; described danger order can include but not limited to: halt; the shutdown operations such as shutdown; user independently can arrange dangerous order; when described main frame performs described main frame fill order, if face a danger order, can realize its dangerous order automatic shield; thus the shutdown caused when avoiding main frame to perform described danger order causes main frame needs to be restarted, and then cause the phenomenon can not carrying out for a long time testing.
Step S309: when the execution password that described user inputs mate with the execution password preset, described main control end receives the host identification of difference correspondence each the main frame that user is arranged in configuration file, main frame login password and main frame fill order collection;
Particularly, when the execution password that described user inputs mates with the execution password be stored in advance in described main control end, described main control end starts to receive the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection.Namely main control end controls each the exectorial control end of main frame, unified management is carried out to each main frame of controlled terminal, thus make the order that each main frame of controlled terminal sends according to main control end, carry out operating and perform, wherein, described each main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.Main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, wherein, each main frame comprises at least one, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated.
Step S311: described main control end sends connection request to each the host parallel corresponding with the host identification arranged in described configuration file;
Particularly, main control end retrieval configuration file, obtain the host identification arranged in configuration file, each the main frame corresponding to described host identification sends connection request simultaneously.
Step S313: judge whether described each the exectorial mode of main frame is set to serial and performs by described main control end;
Particularly, each the exectorial mode of main frame also can be able to be executed in parallel for serial performs, if when described each the exectorial mode of main frame is set to serial execution by described main control end, enter step S315, if when described each the exectorial mode of main frame is not set to serial execution by described main control end, enter step S317.
Step S315: described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Particularly, described configuration file is sent to described each main frame according to predefined order by main control end one by one.
Step S317: described configuration file transmitted in parallel is given described each main frame by described main control end;
Particularly, when described each the exectorial mode of main frame is not set to serial execution by described main control end, described configuration file is sent to described each main frame according to parallel mode by described main control end simultaneously.
Step S319: described main control end receives the execution result that described each main frame returns.
Particularly, the execution result returned after the All hosts that host identification in main control end reception configuration file is corresponding performs described main frame fill order collection, according to the execution result of each main frame, the operating personnel of main control end check execution result, and according to execution result quick position failed host.
Further, the schematic flow sheet of the cluster control method of another embodiment provided by the invention as shown in Figure 4, the method is applied to host side, and the method comprises:
Step S401: main frame receives the connection request that main control end sends;
Particularly, each main frame receives the request of connecting of main control end transmission, described main frame is controlled terminal, namely by the control of main control end, thus carry out corresponding operating and execution according to the order that main control end sends, described main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.
Step S403: described main frame receives the configuration file that described main control end sends, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Particularly, described each main frame receives the configuration file that described main control end sends, wherein, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated.
Step S405: described main frame obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file;
Particularly, configuration file described in described aster Resolution, thus the main frame login password and the main frame fill order collection that obtain self host identification corresponding in described configuration file.
Particularly, configuration file described in described aster Resolution, obtains main frame login password and the main frame fill order collection of the host identification of correspondence self from described configuration file according to host identifications such as self main frame numbering, the IP address of main frame or the MAC Address of main frame.
Step S407: whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
Particularly, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password be stored in advance in described main frame.
Step S409: when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
Particularly, when the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password be stored in advance in described main frame, the main frame fill order that the main frame fill order that described main frame performs the correspondence self got from described configuration file is concentrated.
Further, the schematic flow sheet of the cluster control method of another embodiment provided by the invention as shown in Figure 5, the method is applied to host side, and the method comprises:
Step S501: main frame receives the connection request that main control end sends;
Particularly, each main frame receives the request of connecting of main control end transmission, described main frame is controlled terminal, namely by the control of main control end, thus carry out corresponding operating and execution according to the order that main control end sends, described main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.
Step S503: described main frame receives the configuration file that described main control end sends, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately, also comprise in described configuration file: the danger order that described user is arranged, described danger order is for forcing the operation stopping described each main frame;
Particularly, described each main frame receives the configuration file that described main control end sends, wherein, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated; described danger order can include but not limited to: halt; the shutdown operations such as shutdown; user independently can arrange dangerous order; when described main frame performs described main frame fill order; if face a danger order; can realize its dangerous order automatic shield; thus the shutdown caused when avoiding main frame to perform described danger order causes main frame needs to be restarted, and then cause the phenomenon can not carrying out for a long time testing.
Step S505: described main frame obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file;
Particularly, configuration file described in described aster Resolution, thus the main frame login password and the main frame fill order collection that obtain self host identification corresponding in described configuration file.
Particularly, configuration file described in described aster Resolution, obtains main frame login password and the main frame fill order collection of the host identification of correspondence self from described configuration file according to host identifications such as self main frame numbering, the IP address of main frame or the MAC Address of main frame.
Step S507: whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
Particularly, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password be stored in advance in described main frame, if when the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, enter step S509, when the main frame login password of correspondence self host identification got described in the verification of described main frame does not mate with default main frame login password, enter S503 and again receive the configuration file that described main control end resends.
Step S509: judge whether the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is described danger order;
Particularly, if when the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is described danger order, enter step S511, if when the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is non-described danger order, enter step S513.
Step S511: described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Particularly, when the main frame fill order that the main frame fill order that will perform when described main frame is current is concentrated is described danger order, the described danger order of described main frame shielding, and in described main frame, eject badcommand prompting frame by mistake, generate the execution result of order mistake.
Step S513: described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame;
Particularly, when the main frame fill order that the main frame fill order that will perform when described main frame is current is concentrated is non-described danger order, described main frame normally performs described main frame fill order collection, the order that the main frame fill order concentrated according to described Host Command occurs performs the main frame fill order that described main frame fill order is concentrated successively, and generates the exectorial execution result of corresponding described main frame according to the order that described main frame fill order occurs.
Step S515: the execution result of described main frame is returned described main control end by described main frame;
Particularly, after all main frame fill orders that described main frame fill order is concentrated by described main frame are finished, its all execution result is returned to described main control end.
Further, the schematic flow sheet of the cluster control method of another embodiment provided by the invention as shown in Figure 6, the method is applied to host side, and the method comprises:
Step S601: main frame receives the connection request that main control end sends;
Particularly, each main frame receives the request of connecting of main control end transmission, described main frame is controlled terminal, namely by the control of main control end, thus carry out corresponding operating and execution according to the order that main control end sends, described main frame can be that strange land also can for local relative to described main control end, and the system of described main frame includes but not limited to: Unix system and Windows system.
Step S603: described main frame receives the configuration file that described main control end sends, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately, also comprise in described configuration file: the danger order that described user is arranged, described danger order is for forcing the operation stopping described each main frame;
Particularly, described each main frame receives the configuration file that described main control end sends, wherein, host identification can include but not limited to: main frame numbering, the IP address of main frame and the MAC Address of main frame, the main frame fill order collection of different main frame can be the same or different, do not do concrete restriction in the embodiment of the present invention, main frame fill order is concentrated and is comprised at least one order.Each main frame can reflect the ruuning situation of described each main frame by the main frame fill order that execution each main frame fill order is concentrated; described danger order can include but not limited to: halt; the shutdown operations such as shutdown; user independently can arrange dangerous order; when described main frame performs described main frame fill order; if face a danger order; can realize its dangerous order automatic shield; thus the shutdown caused when avoiding main frame to perform described danger order causes main frame needs to be restarted, and then cause the phenomenon can not carrying out for a long time testing.
Step S605: described main frame obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file;
Particularly, configuration file described in described aster Resolution, thus the main frame login password and the main frame fill order collection that obtain self host identification corresponding in described configuration file.
Particularly, configuration file described in described aster Resolution, obtains main frame login password and the main frame fill order collection of the host identification of correspondence self from described configuration file according to host identifications such as self main frame numbering, the IP address of main frame or the MAC Address of main frame.
Step S607: described main frame judges whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
Particularly, described main frame can pre-set verification frequency threshold value, if described main frame judges that the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value, enter step S609, if described main frame judges that the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate does not exceed default verification frequency threshold value, enter step S611.
Step S609: whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Particularly, when described main frame judges that the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates this step with the main frame login password preset, and in described main frame, eject the prompting frame verifying number of times and transfinite, generate the execution result that verification number of times transfinites.
Step S611: whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset;
Particularly, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password be stored in advance in described main frame, if when the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, enter step S613, when the main frame login password of correspondence self host identification got described in the verification of described main frame does not mate with default main frame login password, enter step S603 and again receive the configuration file that described main control end resends.
Step S613: judge whether the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is described danger order;
Particularly, if when the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is described danger order, enter step S615, if when the main frame fill order that the current main frame fill order that will perform of described main frame is concentrated is non-described danger order, enter step S617.
Step S615: described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Particularly, when the main frame fill order that the main frame fill order that will perform when described main frame is current is concentrated is described danger order, the described danger order of described main frame shielding, and in described main frame, eject badcommand prompting frame by mistake, generate the execution result of order mistake.
Step S617: described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame;
Particularly, when the main frame fill order that the main frame fill order that will perform when described main frame is current is concentrated is non-described danger order, described main frame normally performs described main frame fill order collection, the order that the main frame fill order concentrated according to described Host Command occurs performs the main frame fill order that described main frame fill order is concentrated successively, and generates the exectorial execution result of corresponding described main frame according to the order that described main frame fill order occurs.
Step S619: judge whether the time that described main frame performs described main frame fill order collection exceedes default time threshold;
Particularly, described main frame can pre-set the time threshold that described main frame performs described main frame fill order collection, if the time that described main frame performs described main frame fill order collection exceedes default time threshold, enter step S621, if the time that described main frame performs described main frame fill order collection does not exceed default time threshold, continue to perform step S617.
Step S621: described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out;
Particularly, the time performing described main frame fill order collection when described main frame exceedes default time threshold, and described main frame stops performing described main frame fill order collection, and the prompting frame when excess of export is hit by a bullet by described main frame, generate the execution result of time-out.
Step S623: the execution result of described main frame is returned described main control end by described main frame.
Particularly, after all main frame fill orders that described main frame fill order is concentrated by described main frame are finished, its all execution result is returned to described main control end.
The above-mentioned method illustrating the embodiment of the present invention, below for the ease of implementing the such scheme of the embodiment of the present invention better, correspondingly, is also provided for coordinating the relevant apparatus implementing such scheme below.
The structural representation of clustered control device provided by the invention as shown in Figure 7, clustered control device 70 comprises: the first receiver module 701, first sending module 703 and the second sending module 705, wherein:
First receiver module 701, receive the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection for main control end, the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
First sending module 703, sends connection request for described main control end to each the host parallel corresponding with the host identification arranged in described configuration file;
Second sending module 705, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame by described main control end.
Will be understood that, the function of each functional module of the clustered control device 70 of the present embodiment according to the method specific implementation of above-mentioned Fig. 1 embodiment of the method, can repeat no more herein.
Further, the structural representation of the clustered control device of another embodiment provided by the invention as shown in Figure 8, clustered control device 80 comprises: outside the first receiver module 701, first sending module 703 and the second sending module 705, also comprise the second receiver module 707, reminding module 709, correction verification module 711 and the 4th receiver module 713, wherein:
Described first receiver module, specifically for when the execution password of described user input mate with the execution password preset, the host identification of difference correspondence each the main frame that described main control end reception user is arranged in configuration file, main frame login password and main frame fill order collection.
Second receiver module 707, receives the exectorial startup request of multiple host of described user transmission for described main control end;
Reminding module 709, points out described user to input execution password for described main control end;
Correction verification module 711, whether the execution password verifying described user input for described main control end mates with the execution password preset, and described default execution password is stored in described main control end;
4th receiver module 713, for the execution result that described each the main frame of described main control end reception returns.
Will be understood that, the function of each functional module of the clustered control device 80 of the present embodiment according to the method specific implementation of above-mentioned Fig. 2 embodiment of the method, can repeat no more herein.
Further, the structural representation of the clustered control device of another embodiment provided by the invention as shown in Figure 9, clustered control device 90 comprises: the first receiver module 701, first sending module 703, second sending module 705 is outer, outside the second receiver module 707, reminding module 709, correction verification module 711 and the 4th receiver module 713, also comprise the 3rd receiver module 715, module 717 and the 3rd sending module 719 are set, wherein:
3rd receiver module 715, receives for described main control end the danger order that described user arranges in configuration file, and described danger order is for forcing the operation stopping described each main frame;
Module 717 is set, for described main control end, described each the exectorial mode of main frame is set to serial and performs;
3rd sending module 719, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Described second sending module 705, during specifically for described each the exectorial mode of main frame not to be set to serial execution when described main control end, described configuration file transmitted in parallel is given described each main frame by described main control end.
Will be understood that, the function of each functional module of the clustered control device 90 of the present embodiment according to the method specific implementation of above-mentioned Fig. 3 embodiment of the method, can repeat no more herein.
Further, the structural representation of the clustered control device of another embodiment provided by the invention as shown in Figure 10, clustered control device 100 comprises: the first receiver module 1001, second receiver module 1003, acquisition module 1005, correction verification module 1007 and Executive Module 1009, wherein:
First receiver module 1001, receives the connection request of main control end transmission for main frame;
Second receiver module 1003, the configuration file of described main control end transmission is received for described main frame, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Acquisition module 1005, obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file for described main frame;
Correction verification module 1007, whether the main frame login password for correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
Executive Module 1009, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
Will be understood that, the function of each functional module of the clustered control device 100 of the present embodiment according to the method specific implementation of above-mentioned Fig. 4 embodiment of the method, can repeat no more herein.
Further, the structural representation of the clustered control device of another embodiment provided by the invention as shown in Figure 11, clustered control device 110 comprises: outside the first receiver module 1001, second receiver module 1003, acquisition module 1005, correction verification module 1007 and Executive Module 1009, also comprise the first generation module 1011 and return module 1013, wherein:
First generation module 1011, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, and the current main frame fill order that will perform of described main frame concentrate main frame fill order be described danger order time, described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Described Executive Module 1009, when main frame fill order specifically for performing when described main frame is current is benign order, described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame;
Return module 1013, for described main frame, the execution result of described main frame is returned described main control end.
Will be understood that, the function of each functional module of the clustered control device 110 of the present embodiment according to the method specific implementation of above-mentioned Fig. 5 embodiment of the method, can repeat no more herein.
Further, the structural representation of the clustered control device of another embodiment provided by the invention as shown in Figure 12, clustered control device 120 comprises: the first receiver module 1001, second receiver module 1003, acquisition module 1005, correction verification module 1007 and Executive Module 1009, first generation module 1011 and return outside module 1013, also comprise judge module 1015, second generation module 1017 and the 3rd generation module 1019, wherein:
Judge module 1015, judges for described main frame whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
Second generation module 1017, for when the main frame login password of correspondence self host identification got described in described main frame verification exceedes default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Described correction verification module 1007, specifically for when the main frame login password of correspondence self host identification got described in described main frame verification does not exceed default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset;
3rd generation module 1019, when the time for performing described main frame fill order collection when described main frame exceedes default time threshold, described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out.
Will be understood that, the function of each functional module of the clustered control device 120 of the present embodiment according to the method specific implementation of above-mentioned Fig. 6 embodiment of the method, can repeat no more herein.
In sum, by implementing the embodiment of the present invention, achieve main control end equipment can control multiple host simultaneously, thus realize multiple host executed in parallel operational order, and execution result is returned to main control end, once input, the realization of parallel multiple exercise can simplify the flow process of clustered control, reduce the time of clustered control process, achieve the operation automation of O&M, can greatly increase work efficiency, simultaneously by the quick position returning results guarantee fault in production conscientiously of multiple host, and the operation of each the dangerous order of main frame shielding can be made, by the realization of the embodiment of the present invention, greatly can save the O&M manpower to IT system O&M, improve quality and the operating efficiency of IT system O&M, the execution password of main control end adds the realization of two licensing schemes of the login password of each main frame, greatly can promote the fail safe of group system.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (22)

1. a cluster control method, is characterized in that, comprising:
Main control end receives the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Described main control end sends connection request to each the host parallel corresponding with the host identification arranged in described configuration file;
After described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame by described main control end.
2. method according to claim 1, is characterized in that, before described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, described method also comprises:
Described main control end receives the exectorial startup request of multiple host that described user sends;
Described main control end points out described user to input execution password;
Whether the execution password that described main control end verifies described user input mates with the execution password preset, and described default execution password is stored in described main control end;
Described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, comprising:
When the execution password that described user inputs mate with the execution password preset, described main control end receives the host identification of difference correspondence each the main frame that user is arranged in configuration file, main frame login password and main frame fill order collection.
3. method according to claim 2, it is characterized in that, after whether the execution password that described main control end verifies described user input mates with the execution password preset, before described main control end receives the host identification of corresponding each the main frame of difference that user is arranged in configuration file, main frame login password and main frame fill order collection, described method also comprises:
Described main control end receives the danger order that described user is arranged in configuration file, and described danger order is for forcing the operation stopping described each main frame.
4. method according to claim 1, is characterized in that, described main control end is to after each the host parallel corresponding with the host identification arranged in described configuration file sends connection request, and described method also comprises:
Described each the exectorial mode of main frame is set to serial and performs by described main control end;
After described main control end and described each main frame connect respectively, described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Described configuration file transmitted in parallel is given described each main frame by described main control end, comprising:
When described each the exectorial mode of main frame is not set to serial execution by described main control end, described configuration file transmitted in parallel is given described each main frame by described main control end.
5. the method according to any one of Claims 1 to 4, is characterized in that, after described configuration file is sent to described each main frame by described main control end, described method also comprises:
Described main control end receives the execution result that described each main frame returns.
6. a cluster control method, is characterized in that, comprising:
Main frame receives the connection request that main control end sends;
Described main frame receives the configuration file that described main control end sends, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Described main frame obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file;
Whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
When the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
7. method according to claim 6, is characterized in that, also comprises in described configuration file: the danger order that described user is arranged, and described danger order is for forcing the operation stopping described each main frame.
8. method according to claim 7, is characterized in that, after whether the main frame login password of correspondence self host identification got described in the verification of described main frame mates with default main frame login password, described method also comprises:
When the main frame login password of self host identification of described correspondence mates with the main frame login password preset, and the current main frame fill order that will perform of described main frame concentrate main frame fill order be described danger order time, described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Described main frame performs the main frame fill order that described main frame fill order is concentrated, and comprising:
When the main frame fill order that will perform when described main frame is current is benign order, described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame.
9. method according to claim 6, it is characterized in that, after the main frame login password that described main frame obtains self host identification corresponding from described configuration file and main frame fill order collection, before whether the main frame login password of correspondence self host identification got described in the verification of described main frame mates with default main frame login password, described method also comprises:
Described main frame judges whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
When the main frame login password of correspondence self host identification got described in described main frame verification exceedes default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and comprising:
When the main frame login password of correspondence self host identification got described in described main frame verification does not exceed default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset.
10. method according to claim 6, is characterized in that, after described main frame performs described main frame fill order collection, described method also comprises:
When the time that described main frame performs described main frame fill order collection exceedes default time threshold, described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out.
11. methods according to any one of claim 6 ~ 10, it is characterized in that, after described main frame performs described main frame fill order collection, described method also comprises:
The execution result of described main frame is returned described main control end by described main frame.
12. 1 kinds of clustered control devices, is characterized in that, comprising:
First receiver module, receive the host identification of corresponding each the main frame of the difference that arranges in configuration file of user, main frame login password and main frame fill order collection for main control end, the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
First sending module, sends connection request for described main control end to each the host parallel corresponding with the host identification arranged in described configuration file;
Second sending module, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame by described main control end.
13. devices according to claim 12, is characterized in that, described device also comprises:
Second receiver module, receives the exectorial startup request of multiple host of described user transmission for described main control end;
Reminding module, points out described user to input execution password for described main control end;
Correction verification module, whether the execution password verifying described user input for described main control end mates with the execution password preset, and described default execution password is stored in described main control end;
Described first receiver module, specifically for when the execution password of described user input mate with the execution password preset, the host identification of difference correspondence each the main frame that described main control end reception user is arranged in configuration file, main frame login password and main frame fill order collection.
14. devices according to claim 13, is characterized in that, described device also comprises:
3rd receiver module, receives for described main control end the danger order that described user arranges in configuration file, and described danger order is for forcing the operation stopping described each main frame.
15. devices according to claim 12, is characterized in that, described device also comprises:
Module is set, for described main control end, described each the exectorial mode of main frame is set to serial and performs;
3rd sending module, after connecting respectively when described main control end and described each main frame, described configuration file is sent to described each main frame according to predefined order by described main control end successively;
Described second sending module, during specifically for described each the exectorial mode of main frame not to be set to serial execution when described main control end, described configuration file transmitted in parallel is given described each main frame by described main control end.
16. devices according to any one of claim 12 ~ 15, it is characterized in that, described device also comprises:
4th receiver module, for the execution result that described each the main frame of described main control end reception returns.
17. 1 kinds of clustered control devices, is characterized in that, comprising:
First receiver module, receives the connection request of main control end transmission for main frame;
Second receiver module, the configuration file of described main control end transmission is received for described main frame, described configuration file comprises the host identification of corresponding each the main frame of difference that user is arranged, main frame login password and main frame fill order collection, and the main frame fill order collection of described corresponding each main frame is respectively for detecting described each main frame ruuning situation separately;
Acquisition module, obtains main frame login password and the main frame fill order collection of self host identification corresponding from described configuration file for described main frame;
Correction verification module, whether the main frame login password for correspondence self host identification got described in described main frame verification mates with the main frame login password preset, and described default main frame login password is stored in described main frame;
Executive Module, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, the main frame fill order that the main frame fill order that described main frame performs corresponding described main frame is concentrated.
18. devices according to claim 17, is characterized in that, also comprise in described configuration file: the danger order that described user is arranged, and described danger order is for forcing the operation stopping described each main frame.
19. devices according to claim 18, is characterized in that, described device also comprises:
First generation module, for when the main frame login password of self host identification of described correspondence mates with the main frame login password preset, and the current main frame fill order that will perform of described main frame concentrate main frame fill order be described danger order time, described main frame does not perform described danger order, and prompt command mistake, thus generate the execution result of order mistake;
Described Executive Module, when main frame fill order specifically for performing when described main frame is current is benign order, described main frame normally performs the main frame fill order that described main frame fill order is concentrated, and generates the exectorial execution result of corresponding described main frame.
20. devices according to claim 17, is characterized in that, described device also comprises:
Judge module, judges for described main frame whether the number of times whether the main frame login password of correspondence self host identification got described in described verification and the main frame login password preset mate exceedes default verification frequency threshold value;
Second generation module, for when the main frame login password of correspondence self host identification got described in described main frame verification exceedes default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password that described main frame does not perform correspondence self host identification got described in described verification mates with the main frame login password preset, and prompting verification number of times transfinites, thus generate the execution result verifying number of times and transfinite;
Described correction verification module, specifically for when the main frame login password of correspondence self host identification got described in described main frame verification does not exceed default verification frequency threshold value with the number of times whether the main frame login password preset mates, whether the main frame login password of correspondence self host identification got described in described main frame verification mates with the main frame login password preset.
21. devices according to claim 17, is characterized in that, described device also comprises:
3rd generation module, when the time for performing described main frame fill order collection when described main frame exceedes default time threshold, described main frame stops performing described main frame fill order collection, and prompt timeout, thus generate the execution result of time-out.
22. devices according to any one of claim 17 ~ 21, it is characterized in that, described device also comprises:
Return module, for described main frame, the execution result of described main frame is returned described main control end.
CN201410696957.4A 2014-11-26 2014-11-26 A kind of cluster control method and device Active CN104486378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410696957.4A CN104486378B (en) 2014-11-26 2014-11-26 A kind of cluster control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410696957.4A CN104486378B (en) 2014-11-26 2014-11-26 A kind of cluster control method and device

Publications (2)

Publication Number Publication Date
CN104486378A true CN104486378A (en) 2015-04-01
CN104486378B CN104486378B (en) 2019-08-13

Family

ID=52760882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410696957.4A Active CN104486378B (en) 2014-11-26 2014-11-26 A kind of cluster control method and device

Country Status (1)

Country Link
CN (1) CN104486378B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106444935A (en) * 2016-11-24 2017-02-22 李慧杰 Environmental parameter acquisition and control system for sheep house
CN109558256A (en) * 2017-09-26 2019-04-02 北京国双科技有限公司 Controlled terminal automatic recovery method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364262A (en) * 1999-05-26 2002-08-14 富士通株式会社 Network, element management system
CN101360309A (en) * 2007-08-03 2009-02-04 华为技术有限公司 Execution method, apparatus and system for service open command
CN102457555A (en) * 2010-10-28 2012-05-16 中兴通讯股份有限公司 Security system and method for distributed storage
CN102662731A (en) * 2010-12-15 2012-09-12 韩国电子通信研究院 Service providing method and device using the same
CN102917348A (en) * 2012-10-30 2013-02-06 广东欧珀移动通信有限公司 Intelligent multi-user mobile phone and logging method thereof
CN103905373A (en) * 2012-12-24 2014-07-02 珠海市君天电子科技有限公司 Method and device for intercepting network attack based on cloud

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364262A (en) * 1999-05-26 2002-08-14 富士通株式会社 Network, element management system
CN101360309A (en) * 2007-08-03 2009-02-04 华为技术有限公司 Execution method, apparatus and system for service open command
EP2109335A1 (en) * 2007-08-03 2009-10-14 Huawei Technologies Co., Ltd. Performing method, device and system of service open instructions
CN102457555A (en) * 2010-10-28 2012-05-16 中兴通讯股份有限公司 Security system and method for distributed storage
CN102662731A (en) * 2010-12-15 2012-09-12 韩国电子通信研究院 Service providing method and device using the same
CN102917348A (en) * 2012-10-30 2013-02-06 广东欧珀移动通信有限公司 Intelligent multi-user mobile phone and logging method thereof
CN103905373A (en) * 2012-12-24 2014-07-02 珠海市君天电子科技有限公司 Method and device for intercepting network attack based on cloud

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106444935A (en) * 2016-11-24 2017-02-22 李慧杰 Environmental parameter acquisition and control system for sheep house
CN109558256A (en) * 2017-09-26 2019-04-02 北京国双科技有限公司 Controlled terminal automatic recovery method and device

Also Published As

Publication number Publication date
CN104486378B (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN105205003A (en) Automated testing method and device based on clustering system
CN102880532B (en) Cloud technology-based test system and method
CN103455352B (en) The method of application deployment software and application software dispose device
CN105117293B (en) Automatic deployment method and automatic deployment system for Windows system environment
CN109654666B (en) Method, device and equipment for debugging unit
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN105786495B (en) Software delivery system and method, software development delivery system
CN105099786B (en) The method and apparatus of business configuration in a kind of network cutover
CN110221949B (en) Automatic operation and maintenance management method, device, equipment and readable storage medium
CN101453373A (en) Near-end maintenance method, system and equipment for device
CN105071995A (en) Out-of-band network based network device patrolling method, device and system
CN112187533B (en) Virtual network equipment defense method, device, electronic equipment and medium
CN103941240A (en) Radar system communication extension detection device and detection methods
CN109241730B (en) Container risk defense method, device, equipment and readable storage medium
KR101453671B1 (en) Integrated interface system for monitoring and controling electric power system
CN104123496A (en) Rogue software interception method, device and terminal
CN102915203A (en) Method and system for unlocking mobile terminal
CN104486378A (en) Cluster control method and device
CN109992280A (en) A kind of method, terminal installation and the storage device of embedded software upgrading
CN114625074A (en) Safety protection system and method for DCS (distributed control System) of thermal power generating unit
WO2016188223A1 (en) Fault information collection method and apparatus
CN102571443B (en) Abnormality handling method and device
CN105608381A (en) Application test method and system
CN104734346A (en) Method, terminal device, controller and system for maintaining photovoltaic grid-connected inverter
CN105094899A (en) Distributed-type intelligent apparatus sub-module program automatic configuration method

Legal Events

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