CN101719853A - Processing method for detecting operation condition of server - Google Patents

Processing method for detecting operation condition of server Download PDF

Info

Publication number
CN101719853A
CN101719853A CN200910253314A CN200910253314A CN101719853A CN 101719853 A CN101719853 A CN 101719853A CN 200910253314 A CN200910253314 A CN 200910253314A CN 200910253314 A CN200910253314 A CN 200910253314A CN 101719853 A CN101719853 A CN 101719853A
Authority
CN
China
Prior art keywords
server
thread
network service
main control
operation condition
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
CN200910253314A
Other languages
Chinese (zh)
Other versions
CN101719853B (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.)
Li Shouchang
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN2009102533141A priority Critical patent/CN101719853B/en
Publication of CN101719853A publication Critical patent/CN101719853A/en
Application granted granted Critical
Publication of CN101719853B publication Critical patent/CN101719853B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a processing method for detecting the operation condition of a server and the method is used to search a plurality of slave servers in the local area network and verifying network services operated by the slave servers. The detection method comprises the following steps: operating the agent in the server to start the first thread and the second thread, regularly monitoring the operation condition of the network service by the first thread, responding to the monitoring result of the first thread by the second thread; operating the management control program in a master server to send a detection request to the agent; when the detection request is obtained from the server, ordering the second thread to respond the monitoring result of the first thread to the master server; and when the monitoring result shows that the network service operates, detecting the slave servers by the master server.

Description

Detect the processing method of operation condition of server
Technical field
The present invention relates to a kind of method that detects server, be particularly to a kind of processing method that detects operation condition of server.
Background technology
In general private LAN network (for example: enterprise or school),, therefore can provide various network service (for example: Hypertext Transport Protocol, File Transfer Protocol) for can make things convenient for the user to work.Institute thinks can provide these network services need set up corresponding server.Please refer to shown in " Fig. 1 ", it is the server architecture schematic diagram of prior art.
But server 110 may cause the network service disruption because of artificial or other factors in the process of operation.Think the running of guaranteeing network service, need the network service that server 110 is moved of watching regularly.What is more, also need server 110 or the relevant network equipment are monitored the problem of differentiating server 110 operations or the problem of overall network transmission used.
If the simple concrete agreement of direct utilization conducts interviews, when server 110 normally operation, usually can very fast return data.Can run into a problem this moment: when server 110 inaccessibles, can't determine that it still is not support this network service that server 110 is not activated at all.And the way of prior art is could determine the wait long period.Therefore if in the time of will detecting n network service needs total
Figure G2009102533141D0000012
Can cause waits for too long undoubtedly.
Summary of the invention
Technical problem to be solved by this invention is, a kind of processing method that detects operation condition of server is provided, and is applied to search a plurality of network services that moved from server and affirmation in the LAN.
For reaching above-mentioned purpose, the processing method of the disclosed detection operation condition of server of the present invention may further comprise the steps:
From server, move Agent, using startup first thread and second thread, the operating state of the monitoring network service that first thread is regular, second thread is in order to respond first thread institute monitored result;
At main control server operational management control program, send the request of detection to Agent by supervisor control program;
When from server obtaining when detecting request, make second thread that first thread institute monitored result is responded to main control server; And
When the snoop results of network service was running, then main control server began detecting from server.
The invention provides a kind of processing method that detects operation condition of server, in order to the network service confirming from server in advance to be moved normally operation whether still.When main control server is confirming that when the network service of server still moved, then main control server just can begin this network service is detected.So, the requirement of sending detection that can avoid main control server when uncertain network service from server is stopped, still to continue, and then cause main control server and running load to increase from server.
Relevant characteristics and implementation of the present invention cooperate diagram to be described in detail as follows as most preferred embodiment now.
Description of drawings
Fig. 1 is the server architecture schematic diagram of prior art;
Fig. 2 is a configuration diagram of the present invention;
Fig. 3 is an operation workflow schematic diagram of the present invention.
[primary clustering symbol description]
110 servers
210 main control servers
211 supervisor control programs
220 from server
221 Agents
Embodiment
Server of the present invention is applied in the calculator (for example: personal computer, mobile computer or server etc.) of providing services on the Internet.And the operating system that server moved is not limited to the Windows of Microsoft or (SuSE) Linux OS etc.
Please refer to shown in " Fig. 2 ", it is a configuration diagram of the present invention.Comprise that in the present invention main control server 210 (master server) is with at least one from server 220 (slave server).Main control server 210 is connected in those from server 220 by network.From server 220, move more than one network service at least at each, wherein, the kind of network service is HTML (Hypertext Markup Language) (Hypertext TransmissionProtocol, be called for short HTTP), Simple Network Management Protocol (Simple Network ManagementProtocol, be called for short SNMP), IPMI (Intelligent Platform ManagementInterface, be called for short IPMI), network control message agreement (ICMP), window management standard (WindowsManagement Instrumentation, be called for short WMI), or File Transfer Protocol (File TransmissionProtocol is called for short FTP).
Operation one supervisor control program 211 in main control server 210 of the present invention, and act on behalf of program 221 from server 220 operations one.Please refer to shown in " Fig. 3 " for clearly demonstrating operation of the present invention, it is an operation workflow schematic diagram of the present invention.Testing process of the present invention may further comprise the steps:
Step S310: from server, move Agent, using startup first thread and second thread, the operating state of the monitoring network service that first thread is regular, second thread is in order to respond first thread institute monitored result;
Step S320: at main control server operational management control program;
Step S330: confirm whether normally operation of Agent;
Step S340: when still normally moving, then send the request of detection to Agent by supervisor control program as if Agent;
Step S350: when from server obtaining when detecting request, make second thread that first thread institute monitored result is responded to main control server;
Step S360: when the snoop results of network service was running, then main control server began detecting from server;
Step S370: when the snoop results of network service when being out of service, then main control server is forbidden this network service is detected; And
Step S380: when not having operation as if Agent, then main control server is forbidden this network service is detected.
At first at operation Agent 221 from server 220, Agent 221 can be carried out first thread (not illustrating) and second thread (not illustrating) simultaneously.These two threads (threads) are separate in running.If when realizing Agent 221, then can allocate the running of reaching multithreading by the timesharing of processing unit with software mode.If realize with hardware mode, then can assign different processing units to realize.First thread is mainly in order to monitor the network service that is moved from server 220.Behind the every process of first thread Preset Time, first thread can conduct interviews to each network service in the mode of poll in the present invention, and writes down the various states of each network service.With general procotol SNMP, FTP, HTTP and IPMI commonly used is example, but but the agreement that server 220 is moved increases and decreases the running status of checking these four agreements in regular turn that first thread can be regular.Running status is an example can respond with responding, and the result after will detecting preserves for second thread repayment usefulness.Saving result can be as shown in table 1 below (state 0 representative can not respond in the table, 1 representative can respond).
Agreement State
??SNMP ??0
??FTP ??0
??HTTP ??1
??IPMI ??1
The tabulation of table 1. saving result
Second thread responds first thread institute monitored result to main control server 210 (corresponding step S310).In addition, at main control server 210 operational management control programs 211, and send the request of detection to Agent 221 by supervisor control program 211.The way is forced to stop because Agent 221 may be in operation, and can make that like this detection request that supervisor control program 211 sent can't be received from server 220.Institute thinks and avoids this situation to take place, and (corresponding step S320~S330) is moved in the affirmation that therefore can carry out the program of acting on behalf of 221 before sending the request of detection in addition.
After the 221 normal operations of definite Agent, then main control server 210 can send the request of detection to from server 220.When receive the request of detecting from server 220 after, the last state of the network service that second thread can be write down first thread replies to main control server 210 (corresponding step S340~S350).
When the snoop results of network service was running, then main control server 210 began detecting from server 220.When the snoop results of network service when being out of service, then main control server 210 is forbidden this network service is detected (corresponding step S360~S370).
The invention provides a kind of processing method that detects operation condition of server, whether still normally move in order to the network service of confirming in advance from server 220, to be moved.When main control server 210 is confirming that when the network service of server 220 still moved, then main control server 210 just can begin this network service is detected.So, the requirement of sending detection that can avoid main control server 210 when uncertain network service from server 220 is stopped, still to continue, and then cause main control server 210 and running load to increase from server 220.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (4)

1. a processing method that detects operation condition of server is applied to search a plurality of network services that moved from server and affirmation in the LAN, and the processing method of this detection operation condition of server comprises the following steps:
From server, move one at this and act on behalf of program, use startup one first thread and one second thread, the operating state of this network service of monitoring that this first thread is regular, this second thread is in order to respond this first thread institute monitored result;
Move a supervisor control program at a main control server, send one by this supervisor control program and detect request to this Agent;
When this from server when obtaining this detection request, make this second thread with this first thread institute monitored result response to this main control server; And
When the snoop results of this network service was running, then this main control server began this is detected from server.
2. the processing method of detection operation condition of server as claimed in claim 1, it is characterized in that, this network service is HTTP(Hypertext Transport Protocol), Simple Network Management Protocol (SNMP), IPMI (IPMI), network control message agreement (ICMP), window management standard (Windows ManagementInstrumentation, WMI) or File Transfer Protocol (File Transmission Protocol, FTP).
3. the processing method of detection operation condition of server as claimed in claim 1 is characterized in that, also comprises when sending this detection request:
Confirm that whether this Agent is still in operation.
4. the processing method of detection operation condition of server as claimed in claim 3 is characterized in that, may further comprise the steps in addition to the step of this main control server in response:
When the snoop results of this network service when being out of service, then this main control server is forbidden this network service is detected.
CN2009102533141A 2009-11-30 2009-11-30 Processing method for detecting operation condition of server Expired - Fee Related CN101719853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102533141A CN101719853B (en) 2009-11-30 2009-11-30 Processing method for detecting operation condition of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102533141A CN101719853B (en) 2009-11-30 2009-11-30 Processing method for detecting operation condition of server

Publications (2)

Publication Number Publication Date
CN101719853A true CN101719853A (en) 2010-06-02
CN101719853B CN101719853B (en) 2011-11-09

Family

ID=42434374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102533141A Expired - Fee Related CN101719853B (en) 2009-11-30 2009-11-30 Processing method for detecting operation condition of server

Country Status (1)

Country Link
CN (1) CN101719853B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457539A (en) * 2010-10-19 2012-05-16 英业达集团(天津)电子技术有限公司 Management method of file servers
CN104081374A (en) * 2011-06-14 2014-10-01 内茨恩公司 Hierarchical display-server system and method
CN104486152A (en) * 2014-12-11 2015-04-01 北京国双科技有限公司 Network system operation state detection method and device and load balance method and device
CN106549812A (en) * 2017-02-07 2017-03-29 济南浪潮高新科技投资发展有限公司 A kind of data center apparatus management-control method and system based on software definition
CN108696400A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 network monitoring method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457539A (en) * 2010-10-19 2012-05-16 英业达集团(天津)电子技术有限公司 Management method of file servers
CN104081374A (en) * 2011-06-14 2014-10-01 内茨恩公司 Hierarchical display-server system and method
CN104081374B (en) * 2011-06-14 2017-12-08 内茨恩公司 Classification display device server system and method
CN104486152A (en) * 2014-12-11 2015-04-01 北京国双科技有限公司 Network system operation state detection method and device and load balance method and device
CN104486152B (en) * 2014-12-11 2019-04-12 北京国双科技有限公司 Network system method for detecting operation state and device and load-balancing method and device
CN106549812A (en) * 2017-02-07 2017-03-29 济南浪潮高新科技投资发展有限公司 A kind of data center apparatus management-control method and system based on software definition
CN108696400A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 network monitoring method and device

Also Published As

Publication number Publication date
CN101719853B (en) 2011-11-09

Similar Documents

Publication Publication Date Title
EP2828765B1 (en) Cluster wide consistent detection of interconnect failures
CN101719853B (en) Processing method for detecting operation condition of server
CN105357038A (en) Method and system for monitoring virtual machine cluster
CN110716842B (en) Cluster fault detection method and device
CN110457176B (en) Monitoring method and device for distributed system, storage medium and electronic equipment
CN106656604A (en) Microservice request management method, microservice controller and high-concurrence microservice architecture
US9948502B2 (en) Method and system for self-healing of communication network
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
CN110231998B (en) Detection method and device for distributed timing task and storage medium
WO2019034095A1 (en) Software processing method and apparatus, electronic device and computer-readable storage medium
WO2019019457A1 (en) Control center device, business system processing method and system, and storage medium
WO2016175850A1 (en) Detection of node.js memory leaks
CN107729213B (en) Background task monitoring method and device
CN103716230A (en) Message sending method, device and server
US10891193B2 (en) Application health monitoring and automatic remediation
US10122602B1 (en) Distributed system infrastructure testing
US20170004012A1 (en) Methods and apparatus to manage operations situations in computing environments using presence protocols
CN100359865C (en) Detecting method
US8677323B2 (en) Recording medium storing monitoring program, monitoring method, and monitoring system
CN103731315A (en) Server failure detecting method
CN113542424B (en) Data processing method, device, equipment and readable storage medium
CN114500327B (en) Detection method and detection device for server cluster and computing equipment
CN102868723A (en) Control console and management method of management zero terminal machine and desktop virtual machine
CN108154343A (en) The emergency processing method and system of a kind of enterprise information system
CN110752939B (en) Service process fault processing method, notification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Li Shouchang

Inventor before: Liu Fucheng

Inventor before: Fan Gang

Inventor before: Chen Long

Inventor before: Chen Xuantong

TR01 Transfer of patent right

Effective date of registration: 20170918

Address after: Room 4, gate 9-44, liming District, Saertu District, Daqing, Heilongjiang, Jianshe Road, China 201

Patentee after: Li Shouchang

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

TR01 Transfer of patent right
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 541002 No. two, No. 5, West Road, Xiangshan District, Guilin, the Guangxi Zhuang Autonomous Region

Patentee after: Li Shouchang

Address before: Room 9-44, 4 doors, No. 9-44, Jianshe Road dawn District, Saertu District, Daqing, Heilongjiang

Patentee before: Li Shouchang

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111109

Termination date: 20171130