410 likes | 567 Views
Web-based 網路管理. 陳 彥 錚 ( Yen-Cheng Chen) 暨南國際 大學 資訊管理學系 ycchen@ncnu.edu.tw http://www.im.ncnu.edu.tw/ycchen/. 大 綱. WWW 技術與網路管理 網路管理實務. WWW 技術與網路管理. Web-Based Application Model. WWW Client. WWW Server. App. CGI, ASP. Database. HTML. HTTP. HTTP Server. App. H. Socket, RMI,
E N D
Web-based 網路管理 陳 彥 錚 (Yen-Cheng Chen) 暨南國際大學 資訊管理學系 ycchen@ncnu.edu.tw http://www.im.ncnu.edu.tw/ycchen/
大 綱 • WWW技術與網路管理 • 網路管理實務
WWW技術與網路管理 • Web-Based Application Model WWW Client WWW Server App. CGI, ASP Database HTML HTTP HTTP Server App. H Socket, RMI, CORBA, DCOM App. Applet Applet
Why Web-Based Applications? • Client-Server Base • Universal Client • Rich Multimedia Content • Platform Independence • Open & Common Communication Protocol • Easy Maintenance & Update • Executable Programs Embedded • Distributed & Network-Centric Computing
Managed Device (Agent) WWW Server WWW Client User Interface (UI) Manager UI/Manager Proxy Agent UI/Manager UI Manager UI/Manager UI Manager/ORB UI/Manager/ORB (ORB) UI/Manager Agent with Web Server SNMP Proprietary Protocol (Java RMI, Socket,…) Objects/ORB Web-Based 網路管理 ORB: Object Request Broker
P H H U User Interface Manager HTTP Server Proxy Agent SNMP Agent A M M M U U U P A M H SNMP Support in Agent WWW Client HTTP server Managed Devices SNMP HTTP SNMP HTTP SNMP
H H U U M M Agent with Web Server HTTP A HTTP/SNMP SNMP A
Design Considerations of Web-Based Network Management • General Design Considerations • System Architecture • User Interface Design • Database Access Design • Event Reporting • Trouble Ticket • Security Management
System Architecture • Support SNMP ? • Integrated with Legacy Tools/Systems ? • Maintenance and Update Task ? • Single or Multiple Users ? • Require Client Mobility ? • Support CORBA/DCOM ?
User Interface Design • Icons for Network Devices • Status of Network Devices • Network Configuration • Network Topology • Hierarchical Display
How to make GUI dynamic? • Animated GIF. • Change browser object’s properties by JavaScript, VBScript. • Java Applet (AWT, JFC), ActiveX control. • Interactively load web pages from server. • AJAX • HTML 5
NM Data Representation • Table • Gauge/Threshold • Pie
NM Graph Representation ActiveX Still Image (GIF/JPEG) JavaScript Java
Web Client-Server Communication • HTTP for normal client-req-server-resp communication. • Application-specific TCP/UDP socket communication. • Socket for server-to-client communication • Java Sand Box Issues • Communication among clients. • CORBA/IIOP or DCOM for distributed object communication.
AJAX • Asynchronous JavaScript And XML • 在JavaScript程式中,可以使用http連至伺服器讀取xml檔案。 • 讀取動作於背後進行,網頁維持原畫面正常運作。 • 一旦資料從伺服器讀取後,再更新網頁內容。 Ex: gmail, google maps,…
Event Reporting • Requirement: When a network event/fault occurs, network managers should be notified as soon as possible. • WWW Client should be capable of passively receiving information from WWW Server. • HTTP SNMP ICMP Applet • TCP/UDP HTTP server
Applet Applet Applet Server-to-Client Communication • Communication mechanism? • Standard message format? • Which clients are running? SNMP ICMP ? HTTP server
Types of Alarm Report } • Pure Text Event • Audio Alarm • Visible Alarm • Pager • E-mail WWW Browser Java, JavaScript HTML, Plug-in ... } Server RS-232, mail, ...
TT Trouble Ticket SNMP ICMP HTTP server DB
網路管理實務 • HiNet網路管理系統 • HiView: A Web-Based Network Management System for HiNet Backbone Network. • HiPOP: A Web-Based Network Management System for HiNet POP Network. • HiNet網管應用 • Government Service Network (GSN) • Taiwan Internet Exchange (TWIX) • Chunghwa Telecomm. Intranet
.. .... .. .... .. .. .... .. HiNet網路示意圖 Backbone PoP Internet T1 Channel Switch 高雄 Router 台南 .... Remote Access Server 台中 Modem Pool 新竹 桃園 台北 出國 Other ISP .... .. ... .... ... NM NM WWW Server Mail Server DNS Server Modem HiPOP HiView HiNet Servers Switch End-User PC PoP: Point of Presence
PC UNIX .. .... .. .... .. .. .... HiNet網路管理系統硬體架構圖 Sybase Database HiView Server HiView Clients . . . UNIX HiNet HiNet Cisco Routers HiNet Servers ... WWW Server Mail Server DNS Server
System Architecture HiView Server Network Elements HiView Client Solaris HTTP Socket JDBC SNMP ICMP Web Clients Apache Web Server CGI Programs HTML Pages Sybase Server Netscape Navigator 4.04 + Java 1.1.4 HiView 程式 Java Applets
Technologies for Developing HiView • Java • Java Management API • JDBC • JFC (Java Foundation Class) • RMI (Remote Method Invocation) • JavaScript • SNMP Programming • Web Server Authentication and Access Control • Client-Side State Maintenance • CGI • C, C++, Perl • Sybase DB-library
Management Features: • Status Display • QoS Monitoring • Alarm Reporting • Trouble Ticketing • Traffic Monitoring • System Administration
Status Display Name: CHT-DNS&Mail Type: Domain Name Server State: Normal Packet Loss Rate: 3% Round Trip Time: 21ms State Critical Major Minor Warning Normal Unknown Color Packet Loss Rate >80% >60% >40% >20% <20% > Threshold Round Trip Time
QoS Monitoring • Packet Loss Rate • Round Trip Time
Alarm Reporting • Round Trip Time Threshold Setting • Trouble Ticketing • Audio Alarm • Pager Alarm • E-Mail Alert
WebNMS http://www.webnms.com/webnms/index.html
結 語 • Web-based network management systems will be more popular in the near future. • Network management from ISP’s viewpoint. • Provide remote access of customer’s network traffic monitoring. • More integration with HiNet’s operations and services.