Management of a WWW Server using SNMP
更新时间:2023-04-07 20:16:01 阅读量: 教育文库 文档下载
- management推荐度:
- 相关推荐
Management of a WWW server using SNMP Proceedings JENC6 C. Picoto, P. Veiga
413-1
Management of a WWW Server using SNMP Carlos Picoto
Abstract
The widespread use of WWW lead to the existence of a large number of WWW servers, even inside a single institution. The good operational status of these servers, unless made in an automated way, requires a significant human effort. In this paper we describe the work we are pursuing in providing a WWW server with remote management facilities by using the SNMP management protocol.With this facility a large number of WWW servers can be remotely controlled and monitored.
I. Introduction
The Internet is growing at an incredible pace and one of the applications with the greatest responsibility in this growth is, no doubt, the World Wide Web (WWW) [1]. Indeed since its introduction, but mainly in the last year, the number of users of the WWW is growing very quickly.Due to the nature of the application, based on a client/server model, the information repository is based on servers. Each server, located in a computer system, is responsible for responding to user requests from a client. Between client and server a specific protocol, HTTP [2] , is responsible for the communication. This architecture lead to the existence of a significant number of WWW servers.Each organisation has different strategies for the implementation of the WWW organisation but, in many cases, this can be one server or several servers interconnected by hyperlinks.
The importance of each WWW server for an organisation depends on the criticality of the information made available to WWW clients. As a rule, the availability of each server should be as high as possible. In addition to the availability it is highly desirable that the administrator of the WWW server has access to a large amount of information concerning the operation of the server. These facts mandate that a careful monitoring and management of the server is made.
The traditional solution to WWW server management consists in watching the log files created by the server and trying to identify problems or other situations that require some kind of human intervention (restart, tuning, ...),
In this paper we describe the work we are pursuing in using SNMP [4], the well known and widespread management protocol, in the integration in a WWW server of advanced management capabilities. With SNMP facilities integrated in the WWW server it is possible to manage the server from a remote station. This enables the use of the advanced management platforms that conform with SNMP to monitor and control the operational status of the various WWW servers under a management domain, for example, the various WWW servers of an organisation.
II. Background
For a better understanding of the issues related to our work it is important to mention some background information both on WWW servers and SNMP.
II.A.Server
The WWW system is based in the client server paradigm. Human operators, using hypertext browsers, navigate thought information located in servers distributed all over the Internet. Each server,running in a machine, is a standalone process that interacts with the client using the HTTP protocol and transfers files formatted according the HTML language.
This structure puts a lot of pressure in the correct operation of the server, that must answer to requests coming from many different clients. Thus it is very important that the server has a great availability, and every problem in its operation is clearly and quickly identified and traced. Existing servers use log files to inform human operators of the server status and relevant events. In addition the operator has to monitor the operating system to check for possible operational problems.
II.B.SNMP
The Simple Network Management Protocol [4]is now a de facto standard regarding the management of devices interconnected by a communication network. Virtually any device could in theory be managed by SNMP. The model used by SNMP, is also very simple since it consists on three main components: the managed nodes, the network
Management of a WWW server using SNMP Proceedings JENC6 C. Picoto, P. Veiga
413-2
management station and the management protocol itself.
The managed nodes are any kind of devices connected to the network, and in general terms will fall in one of three categories: a host system, a gateway system or a media device (like a ethernet hub). The model has a Fundamental Axiom that should be always observed in any implementation and it states that: “The Impact of adding network management to managed nodes must be minimal,reflecting a lowest common denominator”.
The network management station (NMS)consists on a host system running the network management applications using the management protocol. Because of the simplicity of the protocol and to respect the fundamental axiom, in order to achieve an efficient management the SNMP drops the responsibility in the Management Applications.It is much easier to support a complex management station than several complex agents that would go against the fundamental axiom. When managing large networks with operation staff using several management stations it is termed a Network Operations Centre (NOC).
The management protocol used in this model implements the “remote debugging” paradigm. For each managed node the management station sees several variables. By reading and writing these variables it is possible to monitor or even change the behaviour of the managed nodes. The set of all these variables is called a Management Information Base (MIB). With this simplicity the protocol is straightforward as it needs to implement a read and write operation. Besides these two, there is also a traversal operation, used to determine which variables are implemented by the managed node. In addition a trap operation allows the managed node to report an extraordinary event to the management station.
The data representation scheme used by the SNMP model is based on the Abstract Syntax Notation One (ASN.1) [3]. This is used both to represent the PDUs exchanged by the protocol and also to define the managed objects (or variables).
III. Proposed System
The system under development consists in a computer system where a SNMP agent interacts with a WWW server to collect and/or change information concerning the server a6fb053a376baf1ffc4fad3frmation in the SNMP agent is organised in a MIB that we have developed to store information relevant to the WWW server. The SNMP agent interacts with the WWW server through sockets. In Fig. 1 we have a diagram that represents this
architecture. The WWW server logs it’s activity into log files and error files.
Fig.1 - Architecture Implemented
III.A:Transfer logging
We use the HTTPD daemon [5] provided by NCSA as the main server for our institution. On the prototype implemented we are hooking our code to the logging functions on the server. This way we can get all the error information and also the access information. This information is passed to the SNMP agent running on the system that increments the counters and updates the available tables. The information is then made available to any network management station by querying the appropriate MIB variables.
Example of a log record:
rse28.cem.itesm.mx [Wed Nov 23 22:00:581994] GET /images/metro.gif HTTP/1.0
The main variables provide the means to detect the activity of the server. This is done by counting all the requests and incrementing the correct counters. There are also some MIB variables that provide error logging information, although the errors are mainly treated by a trap mechanism. All the MIB variables are updated by the SNMP agent running on the WWW server host, when new information is received from the open sockets.The activity variables are sub pided in three categories: client oriented, document oriented and general variables.
The client oriented variables provide counters to monitor the origin of the requests. This counters can be accessed by transversing the TopLevelDomainRequests and HostRequests tables.Each row has the identification for the table item,
Management of a WWW server using SNMP Proceedings JENC6 C. Picoto, P. Veiga
413-3
the number of requests and the total bytes that they represent.
There is also a general wwwOutOctets variable that in conjunction with the total amount of bytes sent by the WWW server host can be used to monitor the network load impact of the WWW server in the host machine. This information can be obtained by the general variable wwwOutHog.The document oriented variables are used to monitor the document accesses. They are also organised in tabular mode, and each row provides the name of the document, total requests and amount of octets sent.
The general variables provide information on last requests and total accounting. This is done by keeping the extracted information from the last record in lastHost, lastTopDomain, lastTimeStamp,lastOperation and lastDocument. The total accounting is gathered and stored on totalOutOctets,totalRequests, totalDocuments, totalTopLevels. To reduce the impact of the modifications on the SNMP agent, we have chosen to keep it very simple,so all the work to produce reports on the collected data as to be done on the server.
III.B.Error Handling
An error record is issued whenever there is a problem with the WWW server. This information arrives at the SNMP agent with the generic format of
IV. Preliminary Results
The test of the prototype system that we have developed has been made using standard SNMP consoles and command line utilities. There are some known problems related to the control of the size of the tabular variables that are being handled in order to keep information out of the tables until they are really needed there, and also to erase old information on a regular base. As we expected, the counter variables are very useful for monitoring the WWW server demand and the effect on the network traffic originated by the server. We are now implementing an extension to the MIB in order to allow the control of some issues in the WWW server. In addition we are doing some work on SNMP consoles developed inside our research group to improve the usage of the available information.We are also testing the scalability of the solution by testing it in several WWW servers. At present we
can see a great improvement in the management of the WWW server because now the problems are reported to the NOC, that can take some immediate actions to solve them.
V. Conclusions
The growing complexity of the infrastructure necessary to support an organisational WWW server requires a systematic and standard approach to the management of the various servers involved in the provision of information.
SNMP is the de facto standard for network management and a large set of products exist on the market to build highly sophisticated but user friendly management systems. Our work, the integration of and SNMP agent to enable the remote management of a WWW server, proved that,together with the definition of a coherent MIB, it is possible the effective management of a large number of servers in an automated and efficient way.
VI. References
[1]T.J. Berners-Lee, R. Cailliau, J-F Groff, B.Pollermann, CERN, “World-Wide-Web: The Information Universe”, published in “Electronic Networking: research, Applications an Policy”,Vol2 No 1, pp. 52-58 Spring 1992, Meckler Publishing, Westport, CT, USA.[2]T.J. Berners-Lee, “Hypertext Transfer Protocol”,http://info.cern.ch/hypertext/WWW/Protocols/H TTP/HTTP2 [3]Marshal T. Rose, “The Open Book: A Pratical Perspective on Open Systems Interconnection”,published by Prentice Hall, ISBN 0-13-643016-3[4]Marshal T. Rose, “The Simple Book: An Introduction to Management of TCP/IP -based internets”, published by Prentice Hall, ISBN 0-13-812611-9[5]“NCSA httpd Overview”,a6fb053a376baf1ffc4fad3f/docs/Overview
Author Information
Carlos Picoto studied Computer Science at Lisbon University in Portugal. After graduation he obtained is M.Sc. in Electronic Engineering and Computer Science from Technical University of Lisbon , working as a researcher at Instituto de Engenharia de Sistemas e Computadores (INESC).Since then he became an Assistant Lecturer at
Management of a WWW server using SNMP Proceedings JENC6 C. Picoto, P. Veiga Lisbon University where he is working on is Ph.D.
He has given courses on Distributed Systems,
Advanced Networks and Operating Systems.
At the University he has promoted computer
based telecommunication services, and managed the
Network Connections of the University to the
National Service , to the Ebone and to the Multicast
Backbone (MBONE).
He is also responsible for the maintenance group
of the World Wide Web server of the Faculty.
Pedro Veiga is a Professor at the Informatics
Departament at the Faculty of Sciences of the
University of Lisbon. He has a degree on Electrical
Engineering (1975) and a PhD in Electrical and
Computer Engineering (1984), both from the
Technical University of Lisbon. He is responsible
for the scientific area on Computer Networks and
Operating Systems where he is responsible for
several courses and also leads several R&D projects
at the national and international level.
Pedro Veiga is responsible for Networking at
INESC, the largest portuguese non-profit research
institute in the IT area and is advisor in networking
of several national and international organisations.
413-4
正在阅读:
Management of a WWW Server using SNMP04-07
南大洋船载走航式ADCP资料的技术处理和技术措施以及多学科应用05-09
写一篇做韭菜炒蛋过程的作文600字06-19
060814 商资字192号 关于贯彻落实〈关于规范房地产市场外资准入和管理的意见〉有关问题的通知10-03
中国古代皇帝称谓01-22
所谓复习02-13
分布式操作系统复习(汇总情况)05-02
供电专业电力线路工中级工试卷合并卷06-01
金融衍生工具期末复习总结06-11
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- Management
- Server
- using
- SNMP
- WWW
- 人才定向培养及服务协议书
- 精编【企业管理制度】地产公司财务管理制度大全
- 【教学设计】二次函数的应用(公开课用)
- 中班老师五月份工作计划例文标准版
- 培优提升比和比例6.doc
- 事故(加油站)原因分析及对策——加油站事故防范对策(3)示范文本
- Bioorganic & Medicinal Chemistry 10 (2002) 3787 _3805
- 书香校园工作措施-措施方案
- 【中考真题】四川省成都市2022年中考数学试题及答案(pdf版)
- 云南省曲靖市2022年中考化学一模考试试卷(II)卷
- 幼儿园班级一日常规建设与良好习惯培养的策略是什么
- 福州市初中地理 地球和地图专题练习
- 氢脆与应力腐蚀断裂的比较.doc
- 高中化学必修2第二章第二节《化学能与电能》教学实录
- CFM56-7B CO-216 Engine Systems
- 京东自营厂直培训考试(含答案).doc
- 临时管理规约同书示范文本.doc
- 13第十三章:电磁感应
- 2022-2022年中国医生集团发展前景预测及投资战略规划(目录)
- 销售部晨会夕会操作规范