In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
With the increasingly large and complex structure of the network system, it is necessary for operators to use a set of network management system to manage the network conveniently and quickly. In order to better manage all kinds of equipment and facilitate troubleshooting in the network, the company needs a network management software that meets the needs. At present, there are many network management software on the market, which can manage the general equipment after proper configuration. However, these general functions can not meet 100% of our needs, so we must carry out secondary development. For the sake of the technology used by the company (Java), market occupancy rate and functional comprehensiveness, two platforms, OpenNMS and Zhihe network management platform, are selected to provide two developments. through an omni-directional comparison of the two products, a suitable network management software is selected, on the basis of which integration and secondary development are carried out to build a departmental equipment network management platform.
I. selection criteria
1. Functional function
The general functions of network management can be used directly, or simply modified, which can save costs.
two。 Complete extended development interface
Whether the selected open source software has provided a complete secondary development interface to meet the requirements of secondary development.
3. Scalable architecture design
The architecture of the network management platform should be easy for secondary development, or when designing the platform, the secondary development on the basis of the platform should be taken into account.
4. Development technology
Another aspect of choosing a network management platform is to consider using the development technology that the department members are most familiar with, so as to avoid involving new technologies and development languages relative to the department, so that we can further develop and reduce costs.
5. Technical support and service
The stability of the platform needs to be high, the solutions to the common problems in development can be found quickly, and the problems in the platform can be solved in time.
II. Brief introduction of software
1.OpenNMS
OpenNMS, the abbreviation of network management system Network Management System, is an open source software network monitoring tool. It can be used to automatically discover network nodes and monitor network services, such as HTTP,DNS,SSH. When the system service stops, OpenNMS will send notifications according to the rules established by the manager, informing operators of network obstacles, event aggregation, automatic execution of corresponding actions, and service-level performance monitoring. It can support SNMP network management protocol, ensure the scalability of management, and provide customized functions to facilitate the expansion of management scope. Traffic and contact system hardware usage need to be configured in SNMP.
two。 Zhihe network management platform
The Zhihe network management platform, independently developed by Beijing Zhihe ICT Co., Ltd., is perfectly compatible with mainstream / domestic systems and databases, and provides two client interfaces of Cmax S and Bamp S, compatible with PC and mobile devices. The implementation includes basic network management functions such as device topology, fault management, performance management, configuration management and security management. Based on the concept of "managing and controlling everything, omnipotence and ubiquity", a unified equipment access model is adopted. can manage network devices, computers, servers, intelligent devices, the Internet of things, industrial equipment and other networking devices Suitable for national defense, telecommunications, government, finance, transportation, energy, enterprises, industry, manufacturing and other fields. Let the enterprise focus on the specific customer business needs, and a network management software can be developed in at least a few weeks.
III. Evaluation of general functions
The general functions of network management include, but are not limited to, the basic functions of network management software, such as equipment topology, fault management, performance management, configuration management and security management. When carrying on the secondary development on the software platform, we can not realize these general functions or simply modify them, but only need to care about the company's own network management business needs.
(1) OpenNMS
1. Automatic discovery of network nodes
The information in the object repository is not manually entered and maintained by the administrator, but is automatically searched for devices from the network by the automatic scanning module of the software.
two。 Graphical user management interface
View a variety of interface views through the browser, so that administrators can see the real reflection of real-world objects through management tools, rather than abstract symbols. It enables users to monitor the overview of the whole system, the general distribution and overall operation of the system, and so on.
3. Fault monitoring
The monitoring engine module of Opennms supports data acquisition and state maintenance for the network equipment of SNMP network management and the operating system on the server where SNMP services are deployed. Adopt a unified communication method to collect availability and fault information from these management objects. After Opennms obtains the polling or Trap information of the managed object, it judges whether the state of the object has changed according to the type of information received, the original state of the object and the strategy and logic of network system management. If there is a change, several update actions can be taken in accordance with the management policy.
4. Fault event management
An event occurs when the running state of the managed object changes. If the event changes from normal to fault, a fault alarm will be generated. Such as the shortage of system resources, database connection failure, network communication interruption, host file system overflow and so on will be shown in the form of events.
5. Operating system monitoring
Opennms's centralized monitoring of the availability, operation and failure of various computer operating systems is accomplished through its own SNMP service program. These SNMP agents are part of SNMP services.
6. Network node configuration information management
The configuration information of the monitored object node in the data is the asset information of the IT device, and each network node is a specific IT asset device. Each node has many attribute fields to choose from in the database.
7. Comprehensive node monitoring
Each node being monitored can be carefully recorded and monitored. When viewing the information of a node, there are several types of information: status information, total availability of various network services, SNMP properties, knowledge of each interface, five recent events, and recent failure events.
(2) Zhihe Network Management platform
1. One-click automatic discovery
In the process of automatic discovery, search the network equipment, identify the device type and manufacturer's model, and generate the panel diagram of the device. Or search for equipment resources, find the link relationship between devices, simplify user operation and improve management efficiency.
two。 Comprehensive equipment management
Through the topology view, it is convenient to manage the device and its configuration parameters, and support the related operation of the device. Automatically identify the current device type and its configuration parameters, support all mainstream devices, customize and add devices, and view the operation of the equipment in real time.
3. Visual topology management
Support tree / plane structure linkage to show the network topology relationship, a variety of layout methods to divide the network. Display the device status in real time with different icons in the topology. The graphical and figurative topological form manages the equipment, equipment resources and links, reduces the difficulty of maintenance, and the towed layout makes the configuration more flexible.
4. Timely fault management
A variety of alarm mechanisms and custom configuration alarm threshold, can quickly locate the alarm device. Comprehensive collection of police information, and according to a variety of dimensions in the form of charts. Timely alarm, automatic processing, to ensure that the fault is solved in a timely manner, greatly improve the efficiency of alarm processing, and reduce the loss caused by the fault.
5. Multi-dimensional performance management
Comprehensive collection of equipment resources, applications, services and other performance information. The performance information data is displayed in the form of charts and other dimensions according to time, resources, performance types and other dimensions. Multi-dimensional, multi-form display of equipment performance information, operation and maintenance personnel to grasp the equipment performance status at any time, prevention.
6. Depth control equipment
Configuration / backup and software upgrades can be carried out for each multiple devices to reduce the workload of administrators and improve the availability of the system. Supports profile upgrade, backup, and restore capabilities for individual and batch devices. There are configuration management, equipment software management, equipment parameter management to help you reduce your workload.
7. Refined report statistics
With the statistical function of multiple data, statistical charts can be exported or printed for backup or comparison. Through various types of chart display, so that users have a comprehensive and intuitive understanding of the overall network, through data analysis, a comprehensive grasp of the status of the network to provide a basis for decision-making.
8. Multi-level security management
Through the setting of the user network, user permissions, and the control of the blacklist and whitelist, we can improve the network security in multi-level and multi-angle, and ensure the user network security.
(3) Summary
For the general requirements of general network management, the two software platforms basically cover these basic functions, but the only pity is that OpenNMS lacks the function of topology diagram.
Function point
OpenNMS
Zhihe network management platform
Automatic discovery equipment
√
√
Topological graph
×
√
Equipment management
√
√
Support for multiple management protocols
√
√
Link management
×
√
Fault management
√
√
Alarm management
√
√
Safety management
√
√
Data statistics function
√
√
Extended function
√
√
IV. Evaluation of development process
The company chooses to carry out secondary development in a network management platform, so the requirements for the development interface are particularly important. In the evaluation of the development interface, it will be compared mainly from two aspects: the comprehensiveness of the function and the ease of use of the development.
(1) OpenNMS
1. Overall architecture
OpenNMS is assembled, supports loading services and plug-ins according to configuration, and is highly scalable.
OpenNMS system configuration information is stored through XML data and based on linux system and Postgres database network management system. Network data is persisted through JDBC, and JSP/Servlet is used in Web. OpenNMS is an Open Source Framework that uses many open source components and frameworks and uses open source implementations of various protocols. Each level of service and function has its own configuration file.
OpenNMS uses xml data binding technology (opennms uses castor). According to the schema definition file (xsd file) of the xml file, the mapping of the xml file to the java object is generated, so that there is no need to write code to parse the xml file, but to operate on the java object. So these classes are generated by the castor package based on the xsd file during system compilation.
two。 Secondary development interface and module
Function module introduction:
HttpUnit,jWebUnit,Junit: various means of unit testing.
Nekohtml: parse the HTML,Html Tidy to correct the html string and do standardized processing.
Avalon: mainly a Server architecture, which can meet the needs of server programs such as configuration, logging, etc.
The realization of Jdhcp:java DHCP.
Xerces: parsing XML,API and implementations are xmlParserAPIs, xml-apis, xercesImpl.
JCIFS: a SMB client library developed with Java.
Ldap-impl:LDAP java implementation.
Java implementation of smtp.jar pop3.jar:SMTP,POP3 protocol.
JRobin: network performance monitoring system based on LGPL authorization, is a pure Java implementation of RRDTool.
JoeSNMP:Java SNMP class library.
Daemon (capsd) is mainly responsible for scanning and discovering network interfaces, discovering discovery daemon (daemons), providing support for Services/Protocols and updating to Database. Capsd will also rescan the management interface periodically based on its ability to check if any additional services have managed interfaces.
In the periodic configuration interval, Poller daemon is responsible for checking each state of each managed interface. If the state of the service has changed from the last appropriate event, it indicates that the interface will produce the state of the new service.
OpenNMS provides a simple and fast framework to extend the setting of default services and protocols. In order to extend OpenNMS to manage a customizable service or protocol, you need to meet the following requirements:
Write code capsd plugin (plug-in) to test whether the network interface supports the desired protocol or service.
Add an element to define the new service in / etc/capsd-configuration.xml config of $OPENNMS_HOME.
Write code poller plug-ins that monitor the status of the current desired protocol or service on a particular network interface.
Add and elements to the / etc/capsd-configuration.xml config configuration file of $OPENNMS_HOME to define the new calling service.
3. Documents and services
The advantage of OpenNMS lies in its open source and high market share, and relevant materials can be found on the Internet, but OpenNMS lacks sufficient Chinese documentation and local service support. And the technical requirements are very high, so it is very difficult for general operation and maintenance personnel to make good use of it. In the process of use, there will be a phenomenon that can not be started, especially with regard to SNMP problems, generally need to shut down the TRAP service.
(2) Zhihe Network Management platform
1. Overall architecture
Zhihe network management platform is composed of multi-level architecture model, which is divided into modules and levels according to the characteristics of telecom network management system, which not only meets the requirements of network management business, but also ensures that it is easy to implement, easy to maintain and easy to expand in software. each layer communicates directly through Corba and WebService, and the framework uses equipment intermediate layer to shield the differences of equipment management protocols among different manufacturers. The implementation supports the management of different types of managed equipment.
Architecture diagram of Zhihe network management platform
two。 Secondary development interface and module
On the basis of the general network management function, developers can choose the development form of module or code, in order to meet the various customized needs of users in the shortest time and improve the efficiency of research and development. At the same time, Zhihe ICT provides a full set of development materials and comprehensive training services, users can customize the network management platform to meet their own needs, and constantly update the functions of the platform to meet the changing management needs. Zhihe network management platform provides a variety of reusable platform extension components to simplify the basic technology research of network management and improve the efficiency of platform development and expansion.
1) Monitoring component
It is composed of a variety of module components (SSH, WMI, JMX, etc.) with different protocols, which can monitor the performance information of devices with different protocols.
2) Interface development components
The interface display function also adopts the design way of functional module cohesion, such as: topology diagram module, navigation tree module, navigation and topology linkage module, menu module, object table module, attribute table module and so on. In the process of secondary development, we can directly use or inherit and expand these modules to achieve interface functions.
3) iTopoview topology components
ITopoview is a highly packaged graphic development component of topology diagram, which can meet the needs of network management GUI client development. ITopoview allows the operation interface of network management products to be entirely based on the seen management mode of the topology diagram. All the functions such as rights management, fault management, performance management, configuration management, maintenance management and so on are directly integrated with the topology diagram. ITopoview has built-in tree view and network topology view, and can achieve automatic synchronization between the two. Using the topology diagram component, you can also develop hierarchical diagrams of regions, organizational structures, as well as rack diagrams, panel diagrams, and so on.
4) Database component
The SugarNMS database module supports all relational databases and adopts Omurr Mapping technology which is popular in the database field. Using the factory method to create a database service interface API according to different environments, providing a variety of database add, delete, modify, query and other services. And support WebServcie/RMI and other communication methods to call the database service interface remotely.
5) Monitoring and scheduling component
All monitoring modules including SNMP monitoring module, WMI monitoring module, Telnet/SSH monitoring module, database monitoring module and middleware monitoring module are registered in the monitoring and scheduling module. The monitoring and scheduling module uniformly dispatches and distributes the monitor to each monitor module, and each monitoring module executes the monitor task by each monitoring module in the Zhihe network management development platform. The module supports plug-in mode, and it is convenient to register new monitoring modules and schedule distribution tasks in the unified interface. In addition, the monitoring and scheduling module acts as a bridge between the network management software and the monitoring objects (network devices, hosts / servers, application services, etc.), shielding the protocol differences between the monitoring objects, making the monitoring simpler and more scalable.
6) message distribution component
All modules that need to distribute faults, events, and messages to the client are handled uniformly by the message distribution module. At present, Syslog module, Trap module and fault monitoring module all use message distribution module. The distribution of messages includes two ways: the server automatically pushes the message to the client and the client actively requests the message from the server.
7) ObjectSNMP
SNMP protocol development component and network automatic discovery service encapsulate SNMP communication function and upper SNMP fault, performance, configuration, TRAP application. The SNMP component adopts the object-oriented programming method, which makes the complex SNNP development work very simple and efficient. It can support any SNNP device and private SNMP MIB, as well as changes to the device SNMP interface. Automatic network discovery, device component discovery and device type identification with Java/SNMP gateway, WebService/SNMP, Proxy proxy gateway and patented technology.
3. Documents and services
Zhihe network management development platform provides a full set of documentation and training to help developers quickly understand the system and related background knowledge and enter the development stage as soon as possible. Provide remote online, telephone and on-site support services to help developers solve problems encountered in development and quickly overcome technical difficulties.
Zhihe network management platform provides a code-level open model, and R & D personnel go deep into the client source code to realize the personalized needs of users. At the same time, provide comprehensive development documentation, implementation training and technical support services, so that users have no worries from the beginning of development to the use of the platform.
(3) Summary
The two development platforms provide good support for extended development, among which Zhihe network management platform provides more development models, you can choose to use some modules directly, or you can choose to use the API provided by the platform for development.
V. conclusion
Based on this period of research and trial, Zhihe network management platform can better meet our actual needs. In terms of general functions, the automatic topology generation function of Zhihe network management platform is our necessary requirement, and the development and implementation of topology diagram on OpenNMS will increase the development cycle. Through the trial of these two softwares, because Zhihe network management platform is made in China, compared with OpenNMS, the existing general functions of network management are more in line with the habits of the company's network management staff. In the secondary development of the platform, Zhihe network management platform provides a variety of development modes, and the core components provided by Zhihe network management platform, especially SNMP components and monitoring components, greatly simplify the complexity of interacting with devices. Finally, we choose to develop based on Zhihe network management platform.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.