Design and implementation of monitoring tool Linux system and its automation test based on
- Author
- YangLei
- Advisor
- ZhuQingXin , ZhangJinXiang
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 72
- Citations
- 0
Abstract
More widely with the open source Linux and embedded systems, softwareengineering, most of the R&D and the platform ported to the Linux platform. Linuxsystem shares UNIX systems programming, interfaces, and methods of operation, andinherited UNIX efficiency and stability characteristics. Installing a Linux holds for longperiods of time off, no Unix-high royalties, without the support of high-end hardware,just a PC i386that can run. In addition, the Linux source code can be shared for the GPLcopyright free to compile.In recent years it become a very popular operating system.Today, most of the network services and applications company background servicesrunning platform using the Linux system, and by extension to a variety of differentLinux versions.This paper introduces the important role of monitor tool in Linux system monitoringand its implementation process. Monitor tool is essential for the entire production.Monitor tool can timely discover hidden problems on operation production; thereforprovide the reference index to maintenance engineers. Monitor tool in the functionaldesign is divided into the monitoring tool client and monitoring platform. Monitor toolfor client can be divided into two types in accordance with difference functionality, oneis to check the alarm type, and the other is automatic recovery type. The main functionof monitor platform is designed and implemented based on the operation andmaintenance engineers and the needs of the operation and maintenance administrator.Monitor tool client need to be deployed in a variety of Linux platform environment tomonitor the workload.In the realization of the monitor tool; we must consider theautomated testing instead of large manual testing. The test part automately goes throughthe black box testing method with shell language analog test cases. As a monitor tool fordebugging, it final produces automated test report. The result shows that the toolfunctions well and the performance are good as well.This thesis describes the significance of monitor tool for system monitoring and itsimplementation process based on Linux platform.According to the different demands,we make reasonable analysis and design to implement the major functional blocks.
Table of contents
Summary 4-5
ABSTRACT 5-10
first chapter 10-14
1.1 topics background 10 - 11
1.2 domestic research status main contents and chapter 11
1.3 papers arrangement major work 11-12
1.3.1 papers 11
1.3.2 paper targets 11-12
1.4 chapters arranged 12-14
monitoring tool and its second chapter introduces automated testing and related technology 14-17
2.1 monitoring tool and its automated testing introduction 14
2.2 monitoring tool and its automated testing technologies outlined 14-16
2.2.1 C / S structure 14-15
2.2.2 BOURNE AGAIN SHELL introduced 15
2.2.3 My SQL Overview 15
2.2.4 UML modeling Overview 15
2.2.5 automated testing technology 15-16
2.3 Summary 16-17
Chapter III monitoring tool needs analysis demand 17-21
3.1 system monitoring introduced 17-18
3.1.1 system monitoring requirements background 17
overall demand monitoring tools 3.1.2 analysis 17-18
3.1.3 monitoring tool development goals 18
3.2 UML-based monitoring tool needs analysis 18-20
3.2. an identification of participants 18
3.2.2 identify use cases 18-19
3.2.3 use Case Diagram 19
3.2.4 deployment diagrams 19-20
3.3 Summary 20-21
Chapter IV of the overall design of monitoring tools 21-31
4.1 overall monitoring tool module division 21-22
4.2 client functionality monitoring tool designed 22-27
4.2.1 to check whether the system is connected properly mount module 22
4.2.2 checks system log module 22-23
4.2.3 check disk space utilization module 23
4.2.4 check node space utilization module 23
4.2.5 check the server reboots module 23
4.2.6 check the server process rigid process module 23
4.2.7 check whether the normal control procedures related auxiliary module 23-24
4.2.8 Log Manager module checks 24
4.2.9 checks for new documents produced by CORE module 24
4.2.10 checking CPU utilization module 24-25
4.2.11 maximum number of processes to check the system module 25
4.2.12 check the file handle usage module 25
4.2.13 check the TCP / IP connection module waits 25
4.2.14 check card status module 25-26
4.2.15 NFS mount points to check whether the configuration module 26
4.2.16 automatically restore NTPD service module 26
4.2.17 SSH automatically restore service module 26-27
4.2.18 automatic recovery SLIM AGENT service module 27
4.3 monitoring platform for functional design 27-28
4.3.1 alarm Information module 27
4.3.2 adding transport dimensional log module 27
4.3.3 Check operation and maintenance log module 27-28
4.3.4 alarm management module 28
4.4 monitoring Tool database design 28-30
4.4.1 database design concept model 28-30
4.4.2 database physical model design 30
4.5 Summary 30-31
Chapter monitoring tools detailed design and implementation 31-62
5.1 runtime environment monitoring tool developed 31-32
5.1.1 hardware requirements 31
5.1.2 software environment 31-32
5.2 client monitoring tool design and implementation 32-55
5.2.1 checks system is mounted connection module 32-33
5.2.2 check the system log module 33-34
5.2.3 check disk space module 34-36 <br / > 5.2.4 check the disk node utilization module 36-37
5.2.5 check the server reboots module 37-38
5.2.6 check the server process dead process module 38-39
5.2.7 check the relevant auxiliary monitoring process module 39-41
5.2.8 Log Manager module checks 41-42 <br / > 5.2.9 check for new files generated by CORE module 42-43
5.2.10 checking CPU utilization module 43-44
5.2.11 inspection system maximum number of processes module 44-45
5.2.12 check the file handle usage module 45-47
5.2.13 check TCP / IP connection module waits 47-48
5.2.14 check card status module 48-50
5.2.15 NFS mount points to check whether the configuration module 50-51
5.2.16 automatic recovery NTPD module 51-52
5.2.17 SSH automatically restore service module 52-53
5.2.18 automatic recovery log management service module 53-55
5.3 monitoring Platform design and Implementation 55-58
5.3.1 alarm Information module 55-56
5.3.2 add operation and maintenance log module 56-57
5.3.3 Check operation and maintenance log module 57
5.3.4 alarm management module 57-58
deployment scenarios 5.4 monitoring tools 58-61
5.4.1 client monitoring tool deployment scenarios 58-61
deployment scenarios 5.4.2 monitoring Platform 61
5.5 Summary automated test 61-62
Chapter VI monitoring tools 62-92
6.1 monitoring tool to test introduction 62
6.2 client monitoring tools automate test 62-90
6.2.1 automated testing requirements 62
6.2.2 automated test target 62
6.2.3 automated test content 62
6.2.4 test case design 62-87
realize 6.2.5 automated testing 87-90
test 6.3 monitoring platform 90-91
6.4 Summary 91-92
Chapter VII Conclusion 92-93
7.1 dissertation completion 92
7.2 insufficient and Prospect 92-93
Thanks 93-94
References 94-96
Related dissertations
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Realization of Test Equipment for a Data Record Device
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Research and Implementation of an Automatic Embedded Test Platform
- Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
- The Design and Implementation of Autotest
- The Design and Implementation of Automated Testing System of Itis on Mac OS
- Research on Test Plan of Development&Application and Its Technical Realization
- Design and Implementation of Embedded Software Testing System Based Qtopa
- Design and Implementation of Testing Tools for DBMS Based on TETware
- Research on Testing Model and Automated Testing of Web Application
- Design and Realization of Process Engine’s Automated Testing Based on Workflow
- Design and Implementation of Conductor-an Automated Testing Tool
- The Design and Realization of China Unicom IT Software Automatically Tests
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Research on Application of automatic test case generation based on Improved Genetic Algorithm
- Research on Automated Testing of China Taxation Administration Information System by QTP