CN103595804A - Server cluster monitoring system - Google Patents

Server cluster monitoring system Download PDF

Info

Publication number
CN103595804A
CN103595804A CN201310589087.6A CN201310589087A CN103595804A CN 103595804 A CN103595804 A CN 103595804A CN 201310589087 A CN201310589087 A CN 201310589087A CN 103595804 A CN103595804 A CN 103595804A
Authority
CN
China
Prior art keywords
php
script
control
monitored node
generating apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310589087.6A
Other languages
Chinese (zh)
Inventor
李彦兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to CN201310589087.6A priority Critical patent/CN103595804A/en
Publication of CN103595804A publication Critical patent/CN103595804A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a server cluster monitoring system. The system comprises a PHP control command generation device, control script modules and PHP script controllers. Monitored nodes in a server cluster are respectively provided with a PHP script controller, and the PHP script controllers are connected with the PHP control command generation device through the control script modules respectively; the PHP control command generation device generates monitoring commands on the basis of a PHP language and sends the monitoring commands of the monitored nodes to the corresponding PHP script controllers; the control script modules send the monitoring commands sent by the PHP control command generation device to the PHP script controllers connected with the control script modules; the PHP script controllers receive the monitoring commands sent by the control script modules, and monitoring operation is carried out on the monitored nodes on the basis of the PHP language.

Description

A kind of server cluster supervisory control system
Technical field
The application relates to Internet technical field, relates in particular to a kind of server cluster supervisory control system.
Background technology
Along with the arriving of cloud computing with large data age, often each large-scale application comprises various service content, and these services need to be deployed on multiple servers, thereby make server cluster magnitude increasing.For example: certain application may have been disposed 20 database servers, 100 Web Http servers and 50 static file storage servers etc.
The monitoring of extensive server cluster is that the cluster control of more scabrous problem, particularly macroscopic viewization is one of current cluster system management aspect problem that need to solve always.
Existing server cluster monitoring mainly contains two kinds of patterns, a kind of pattern is to adopt traditional command mode, by administrative staff, by long-range mode, log on monitored node, make monitored node executive system order, thereby realize the control to monitored node, this processing mode needs one tableland of cluster administrator to sign in to monitored node to remove to manage these monitored nodes, and the management role that need to carry out for the monitored node of same service (such as database service) is all roughly the same again, therefore, the efficiency of management of this processing mode is low, administrative staff's workload is large, accident rate is higher, be only suitable for cluster management system on a small scale.
Another kind of pattern is that the independently supervisory control system by installing on the network equipment is controlled cluster, this pattern very worthy independently supervisory control system of conventionally need to increasing input, on the one hand, this running environment that independently supervisory control system needs is conventionally not identical with the running environment on monitored node, therefore, need on monitored node, build this independently needed running environment of supervisory control system, cause this independently supervisory control system can the monitored node in existing cluster network be impacted, on the other hand, because this is independently connected by hardware mode between supervisory control system and each monitored node, therefore, be only applicable to monitor small-scale server cluster, if server cluster scale needs to expand, such as server cluster need to spread all over a plurality of different locations, this independently the server cluster of supervisory control system after being difficult to the Dynamic Scale to expand monitor.
Visible, existing server cluster monitoring and management mode or the efficiency of management are low, administrative staff's workload is large, need to monitored node be impacted and can only be managed for small-scale server cluster, cannot carry out scale expansion, therefore, be all not suitable for the monitoring of extensive server cluster.
Summary of the invention
In view of this, the invention provides a kind of server cluster supervisory control system, can be suitable for the monitoring of extensive server cluster.
A kind of server cluster supervisory control system, this system comprises hypertext preliminary treatment language (PHP) control command generating apparatus, controls script module and PHP script controller, wherein, on each monitored node in server cluster, be separately installed with described PHP script controller, the control script module that each PHP script controller passes through separately is respectively connected with described PHP control command generating apparatus;
Described PHP control command generating apparatus, the monitor command that is used for controlling each monitored node based on PHP language generation, the control script module being connected by the PHP script controller with on each monitored node respectively, issues the PHP script controller on corresponding monitored node by the monitor command of each monitored node;
Described control script module, issues the PHP script controller being connected with this control script module for the monitor command that described PHP control command generating apparatus is sent;
Described PHP script controller, the monitor command of sending for receiving described control script module, according to described monitor command, carries out policer operation based on PHP language to monitored node.
As seen from the above technical solution, the server cluster supervisory control system that the embodiment of the present invention provides, by PHP control command generating apparatus, generate for controlling the control command of each monitored node, and the control script module being connected by the PHP script controller with on each monitored node respectively, the monitor command of each monitored node is issued to the PHP script controller on corresponding monitored node, by PHP script controller, according to described control command, carry out policer operation, therefore, without administrative staff, log in one by one each monitored node and carry out policer operation, having solved the traditional command mode of existing employing, to carry out the efficiency of management that server cluster monitoring brings low, the technical problem that administrative staff's workload is large.
And, in the server cluster supervisory control system providing due to the embodiment of the present invention, PHP control command generating apparatus is based on PHP language generation monitor command, PHP script controller is also according to described monitor command, to carry out the policer operation to monitored node based on PHP language, due to the database that in PHP language and existing server cluster, each monitored node extensively adopts, operating system, the running environment of C programmer and C++ program etc. can be compatible, therefore, without monitored node is transformed, can not impact monitored node, when the needs scale of carrying out expands, as long as arrange corresponding PHP script controller and control script module on the monitored node newly increasing, make PHP control command generating apparatus can generate corresponding control command and issue newly-increased control script module, the scale that just can easily realize expands, visible, the server cluster supervisory control system that the embodiment of the present invention provides is very suitable for the monitoring of extensive server cluster.
Accompanying drawing explanation
Fig. 1 is the composition schematic diagram of the server cluster supervisory control system that provides of the embodiment of the present invention.
Embodiment
Fig. 1 is the composition schematic diagram of the server cluster supervisory control system that provides of the embodiment of the present invention.
As shown in Figure 1, this system comprises: hypertext preliminary treatment language (PHP) control command generating apparatus 101, control script module 102 and PHP script controller 103, wherein, a total N monitored node in each monitored node 1~N(hypothesis server cluster in server cluster, N is natural number) on be separately installed with PHP script controller 103-1~103-N, each PHP script controller 103-1~103-N respectively control script module 102-1~102-N by is separately connected with described PHP control command generating apparatus 101.
Wherein, PHP control command generating apparatus 101, the monitor command that is used for controlling each monitored node based on PHP language generation, the control script module 102 being connected by the PHP script controller 103 with on each monitored node respectively, issues the PHP script controller 103 on corresponding monitored node by the monitor command of each monitored node.
Control script module 102, for the monitor command that described PHP control command generating apparatus 101 is sent, issue the PHP script controller 103 being connected with this control script module 102.
PHP script controller 103, the monitor command of sending for receiving described control script module 102, according to described monitor command, carries out policer operation based on PHP language to monitored node.
In embodiment shown in Fig. 1, PHP control command generating apparatus 101 and PHP script controller 103 are all realized based on PHP language, control script module 102 and can realize based on PHP language or with other language of PHP language compatibility.
Wherein, described PHP language is the embedded language of a kind of HTML, and the style of language is similar to C language, and the grammer of PHP language uniqueness has mixed C language, Java, Perl and the PHP grammer from wound.It can carry out dynamic web page more quickly than CGI or Perl.The dynamic page made from PHP language is compared with other programming language, and PHP is embedded into program in html document and goes to carry out, and execution efficiency is more much higher than the CGI that generates HTML mark completely; Nearly all popular database and operating system supported in PHP language, and PHP language can carry out the expansion of program with C language, C++.
Above-mentioned advantage based on PHP language, at present, PHP language is applied in the middle of the Internet Front-end Design such as webpage widely.Yet PHP language is also only confined in the middle of the Internet Front-end Design such as webpage at present.
As shown in Figure 1, the embodiment of the present invention is incorporated into PHP language in the monitoring field of server cluster system, the system being simultaneously equipped with as shown in Figure 1 forms structure, make without monitored node being transformed to the monitoring that just can realize server cluster, and, when the needs scale of carrying out expands, as long as arrange corresponding PHP script controller and control script module on the monitored node newly increasing, make PHP control command generating apparatus can generate corresponding control command and issue newly-increased control script module, the scale that just can easily realize expands, therefore be very suitable for the monitoring of extensive server cluster.
In embodiment shown in Fig. 1, the control script module of each PHP script controller and this PHP script controller is arranged on same monitored node conventionally, for example, PHP script controller 103-1 and control that script module 102-1 is arranged on monitored node 1, PHP script controller 103-2 and control script module 102-2 and be all arranged on monitored node 2 ... PHP script controller 103-N and control script module 102-N are arranged on monitored node N.Wherein, preferably, the control script module 102 of PHP script controller 103 is connected with PHP control command generating apparatus 101 by the mode of network service, in other words, what control that script module 102 and PHP control command generating apparatus 101 adopt is to be flexible coupling rather than to be firmly connected, therefore, make to expand monitoring scale and become convenient.
Wherein, PHP control command generating apparatus 101 can be arranged on the monitored node of described server cluster, for example, be positioned on any monitored node, or, be positioned on the monitored node that performance meets pre-provisioning request; Or PHP control command generating apparatus 101 also can be positioned on the other equipment that is independent of described server cluster.
PHP control command generating apparatus 101, can be according to self-defining script task definition, and based on PHP language generation, for controlling the monitor command of each monitored node, in this case, the supervisory control system shown in Fig. 1 is equivalent to an independently supervisory control system; Or, PHP control command generating apparatus 101 also can receive the script task from another control device, according to the script task definition from another control device, the monitor command that is used for controlling each monitored node based on PHP language generation, in this case, supervisory control system shown in Fig. 1 is the equal of the subsystem of a larger supervisory control system, can carry out the monitoring subtask that this larger supervisory control system is given.
From foregoing description, pass through the embodiment of the present invention, conventional cluster control method can be write as to modular PHP control command generating apparatus, the PHP script controller matching with described PHP control command generating apparatus and control script module are deployed on each monitored node, by PHP control command generating apparatus, send control command, PHP script controller is carried out control after receiving order, the function of cluster is controlled in realization in macroscopic view, has solved management and the control problem of large-scale cluster.
The embodiment of the present invention can also, for different application scene, be carried out efficient grouping management to server.For example, PHP control command generating apparatus 101 generates corresponding monitor command according to the type of monitored node, by the PHP script controller 103 on the monitored node to same type, sends other monitor command of same class, realizes the grouping management to server.
In the embodiment of the present invention, PHP control command generating apparatus 101 both can have been carried out the content for script that another control device is sent, the subtask that the turn-key system that makes the supervisory control system shown in Fig. 1 carry out another control device place is arranged, also can carry out self-defining content for script, realize the independent corresponding server cluster of controlling, meanwhile, system shown in Figure 1 can Dynamic expansion cluster monitoring scale, there is high degree of flexibility, be applicable to very much the management of extensive server cluster.
The supervisory control system that the embodiment of the present invention provides itself realizes based on the original PHP running environment of monitored server, without increasing new equipment and application system, also can not impact the network configuration of original server cluster.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (5)

1. a server cluster supervisory control system, it is characterized in that, this system comprises hypertext preliminary treatment language (PHP) control command generating apparatus, controls script module and PHP script controller, wherein, on each monitored node in server cluster, be separately installed with described PHP script controller, the control script module that each PHP script controller passes through separately is respectively connected with described PHP control command generating apparatus;
Described PHP control command generating apparatus, the monitor command that is used for controlling each monitored node based on PHP language generation, the control script module being connected by the PHP script controller with on each monitored node respectively, issues the PHP script controller on corresponding monitored node by the monitor command of each monitored node;
Described control script module, issues the PHP script controller being connected with this control script module for the monitor command that described PHP control command generating apparatus is sent;
Described PHP script controller, the monitor command of sending for receiving described control script module, according to described monitor command, carries out policer operation based on PHP language to monitored node.
2. system according to claim 1, is characterized in that,
The control script module of each PHP script controller and this PHP script controller is arranged on same monitored node, and the control script module of this PHP script controller is connected with described PHP control command generating apparatus by the mode of network service.
3. system according to claim 1, it is characterized in that, described PHP control command generating apparatus is arranged on the monitored node of described server cluster, or described PHP control command generating apparatus is positioned on the other equipment that is independent of described server cluster.
4. system according to claim 1, is characterized in that,
Described PHP control command generating apparatus, for according to self-defining script task definition or according to the script task definition from another control device, is used for controlling the monitor command of each monitored node based on PHP language generation.
5. system according to claim 1, is characterized in that,
Described control script module, issues based on PHP language or the monitor command described PHP control command generating apparatus sent with other language of PHP language compatibility the PHP script controller being connected with this control script module.
CN201310589087.6A 2013-11-20 2013-11-20 Server cluster monitoring system Pending CN103595804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310589087.6A CN103595804A (en) 2013-11-20 2013-11-20 Server cluster monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310589087.6A CN103595804A (en) 2013-11-20 2013-11-20 Server cluster monitoring system

Publications (1)

Publication Number Publication Date
CN103595804A true CN103595804A (en) 2014-02-19

Family

ID=50085783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310589087.6A Pending CN103595804A (en) 2013-11-20 2013-11-20 Server cluster monitoring system

Country Status (1)

Country Link
CN (1) CN103595804A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022902A (en) * 2014-05-30 2014-09-03 京东方科技集团股份有限公司 Method and system of monitoring server cluster
CN104461827A (en) * 2014-12-05 2015-03-25 北京国双科技有限公司 Trace adding method and device of multiple servers
CN105227347A (en) * 2015-08-25 2016-01-06 中国联合网络通信集团有限公司 A kind of general O&M method for supervising and O&M supervisory control system
CN107612770A (en) * 2017-09-07 2018-01-19 郑州云海信息技术有限公司 A kind of monitor node management method and device
CN108319500A (en) * 2017-01-16 2018-07-24 阿里巴巴集团控股有限公司 A kind of operating method of cloud computing system, device and electronic equipment
CN108427616A (en) * 2017-02-14 2018-08-21 腾讯科技(深圳)有限公司 background program monitoring method and monitoring device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693068B2 (en) * 2006-11-07 2010-04-06 Tekelec Systems, methods, and computer program products for providing a distributed hardware platform interface (HPI) architecture
CN102694871A (en) * 2012-06-21 2012-09-26 甘肃省科学技术情报研究所 Server long-distance monitoring and fault processing device and method based on short message of mobile phone
CN102722235A (en) * 2012-06-01 2012-10-10 马慧 Carbon footprint-reduced server resource integrating method
CN102938710A (en) * 2012-11-14 2013-02-20 北京奇虎科技有限公司 Monitoring system and method for large-scale servers
CN103259684A (en) * 2013-05-23 2013-08-21 世纪龙信息网络有限责任公司 Internet service monitoring method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693068B2 (en) * 2006-11-07 2010-04-06 Tekelec Systems, methods, and computer program products for providing a distributed hardware platform interface (HPI) architecture
CN102722235A (en) * 2012-06-01 2012-10-10 马慧 Carbon footprint-reduced server resource integrating method
CN102694871A (en) * 2012-06-21 2012-09-26 甘肃省科学技术情报研究所 Server long-distance monitoring and fault processing device and method based on short message of mobile phone
CN102938710A (en) * 2012-11-14 2013-02-20 北京奇虎科技有限公司 Monitoring system and method for large-scale servers
CN103259684A (en) * 2013-05-23 2013-08-21 世纪龙信息网络有限责任公司 Internet service monitoring method and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104022902A (en) * 2014-05-30 2014-09-03 京东方科技集团股份有限公司 Method and system of monitoring server cluster
US10084681B2 (en) 2014-05-30 2018-09-25 Boe Technology Group Co., Ltd. Method and system for monitoring server cluster
CN104461827A (en) * 2014-12-05 2015-03-25 北京国双科技有限公司 Trace adding method and device of multiple servers
CN104461827B (en) * 2014-12-05 2018-08-07 北京国双科技有限公司 Processing method and processing device is added in the monitoring of multiple servers
CN105227347A (en) * 2015-08-25 2016-01-06 中国联合网络通信集团有限公司 A kind of general O&M method for supervising and O&M supervisory control system
CN108319500A (en) * 2017-01-16 2018-07-24 阿里巴巴集团控股有限公司 A kind of operating method of cloud computing system, device and electronic equipment
CN108427616A (en) * 2017-02-14 2018-08-21 腾讯科技(深圳)有限公司 background program monitoring method and monitoring device
CN108427616B (en) * 2017-02-14 2020-12-01 腾讯科技(深圳)有限公司 Background program monitoring method and monitoring device
CN107612770A (en) * 2017-09-07 2018-01-19 郑州云海信息技术有限公司 A kind of monitor node management method and device

Similar Documents

Publication Publication Date Title
CN103595804A (en) Server cluster monitoring system
CN103473152B (en) A kind of active and standby management module backup of blade server and update method
CN111083576B (en) Equipment control method and device and storage medium
CN113742031B (en) Node state information acquisition method and device, electronic equipment and readable storage medium
CN102624546B (en) Control method, control equipment and control system for capping power consumption
US9933830B2 (en) Validating power paths to IT equipment
CN106713053A (en) Method and device for batch updating server firmware based on Linux
Gember et al. Design and implementation of a framework for software-defined middlebox networking
CN105553737A (en) Node management method and system
CN110134518A (en) A kind of method and system improving big data cluster multinode high application availability
KR20100058810A (en) Method and apparatus for providing service reconstruction in home network environment
CN106648771B (en) Openstack cloud platform custom deployment system and deployment method
CN103490929B (en) Manufacturing and implement method for multi-adaptive firmware of server
CN103117874A (en) Blade server management network rapid configuration method
CN106850304A (en) A kind of gateway group method and system based on SDN frameworks
CN104618166A (en) Application service deployment method, device and system
Jammal et al. Availability analysis of cloud deployed applications
CN102158545A (en) Resource pool management method and device
CN109101400A (en) A kind of monitoring system of cloud computation data center whole machine cabinet server
CN102904754A (en) Method and system for managing server
CN105849699B (en) Method for controlling data center architecture equipment
CN103036715B (en) Device management method, device and corresponding network management system
Lu et al. A study on the reliability of software defined wireless sensor network
CN104052624A (en) Configuration management method and device
US8854951B2 (en) Dynamically updating routing information while avoiding deadlocks and preserving packet order after a link error

Legal Events

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

Application publication date: 20140219