Network Management System Framework and Development

57 downloads 33527 Views 362KB Size Report
best practice for developers to implement the network ... developed to monitor the network performance ... this network management system; it can monitor.
2009 International Conference on Future Computer and Communication

Network Management System Framework and Development 1

2

Mohd Nazri Ismail Faculty of MIIT, University Kuala Lumpur, Malaysia [email protected];

Sera Syarmila Faculty of MIIT, University Kuala Lumpur, Malaysia [email protected]

1

2

Abstract--We present the framework development of network management system approach. This research designs for network management system monitoring in Local Area Network (LAN) environment. The main objective of this study is to monitor and measure the server performance, thus to analyze whether the server is normal, optimal or overloaded. As a result, this framework of network management system can provide measurement of the server network traffic observed in the real network environment. In addition, this framework of network management system can also provide a best practice for developers to implement the network management system in real time basic.

such as a heavy load in the network that usually generates higher traffic. II. RELATED WORKS Multi-traffic in the network infrastructure has become more complex to observe and analyze. The main factors of network congestion are related to network design and bandwidth capacity. Therefore, retrieving and sending information from servers to Internet or Intranet in Higher Educational Institutes should be measured and evaluated via prototype of network management system. We have setup a real network environment to monitor and analyze of network traffic at University of Kuala Lumpur in Malaysia. This study posits several research questions: i) what is the traffic performance level of server for real time; and ii) Is the prototype of network management system for evaluating and measuring the server performance effective?

Keywords: NMS, Real time, LAN, Performance I. INTRODUCTION Framework of network management system was developed to monitor the network performance of the servers. Considerable research has been conducted to model and quantify the performance of network (e.g. [1], [2], [3]). Evaluating the performance of servers usually involves constructing an appropriate framework development to measure the server performance. For example, several flow-level network traffic models have been proposed to describe/stimulate [4], [5], [9], [6]. In contrast to other works in the literature (e.g., [7], [8], [10]), we developed prototype of network management system to measure the performance of servers. Our network management system can be used to monitor server performance in a live network environment. The beneficial and contribution of this network management system; it can monitor and manage the server performance. Therefore, this network management system framework is designed to: i) manage the performance of servers; ii) monitor the uploading and downloading speed of network performance; and iii) assist network administrator to prepare, propose and plan the server activities more effective and systematic. Many factors may contribute to the congestion of network interface, 978-0-7695-3591-3/09 $25.00 © 2009 IEEE DOI 10.1109/ICFCC.2009.11

III. METHODOLOGY AND FRAMEWORK System Development Life Cycle (SDLC) is used to development network management system (NMS) framework. SDLC consists of six phases: planning, analysis, design, implement, testing and maintain. Figure 3.1 shows the overall framework and development of the network management system. NMS was developed to monitor server. CPU, Memory and Disk Space are the most critical resources of any server and if over-utilized can cause the server crash. Figure 3.2 shows NMS architecture framework and divided into server network performance and server health. Server network performance consists of four categories: port listener, ping host, network analyzer and bandwidth monitor. While, server health consists of two categories: CPU usage and running process.

450

(RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. Scripting languages such as VBA and VBScript are syntactically similar to Visual Basic, but perform differently. Others software tool have used in NMS development are Adobe Photoshop and Macromedia Flash MX. Figure 4.2 shows login menu for authorize user to login in NMS.

Figure 3.1: NMS Framework and Development Methodology

Figure 4.1: Physical Environment of ClientServer Real Network

Figure 3.2: NMS Architecture and Development

IV. PROPOSED NETWORK MANAGEMENT SYSTEM DEVELOPMENT

Figure 4.2: Login Menu

Figure 4.1 shows the physical client-server environment in real world. The physical clientserver of local area network (LAN) environment is based on traffic in and traffic out at University of Kuala Lumpur. NMS is developed to monitor server performance such as packet in/out and network utilization. The NMS is developed using Visual Basic (VB). Visual Basic (VB) is an event driven programming language and associated development environment from Microsoft for its COM programming model. Visual Basic was derived from BASIC and enables the rapid application development

Based on NMS framework and architecture, we developed performance main menu utilities for network monitoring system that can use by network administrator (see Figure 4.3). If system administrator selects the ‘Bandwidth’ and ‘Ping Host’ in the performance main menu, a performance result is provided by a special window display in GUI. At this time, the number of bytes received and sent represents the traffic usage rate relative to time (refer to Figure 4.4). Figure 4.5 shows the ‘ping’ result to destination host in real network.

451

Figure 4.5: Ping Application Development Result

Figure 4.3: Main Menu

Figure 4.6: CPU Performance in Bar Meter

Figure 4.4: Development of Server Network Interface Card Performance Result

Figure 4.7: Total of Application Processes in Server Machine

NMS is installed and executed in server machine. Figure 4.6 shows server CPU usage activities in bar meter dashboard. The bar meter dashboard shows CPU graph and percentage usage in digital and analog results. In addition, NMS also can monitor and measure all processes currently running in server machine (see Figure 4.7). NMS for server health can provide information and activities occur in server platform environment, thus to analyze whether the server is normal, optimal or overloaded.

V. SAMPLE OF CODING This section describes sample of coding development that captures the performance characteristics of server environment in real time. Figure 5.1 and Figure 5.2 show pseudo code to display and calculate bytes received and sent occur on server platform. In addition, it can display and calculate speed of downloading and uploading activities. The output result of NMS development can refer to Figure 4.4.

452

DoEvents Dim DS As Long, US As Long DS = BytesRecv - LastRecvBytes Define Parameters US = BytesSent - LastSentBytes If DownloadSpeedTop < DS Then DownloadSpeedTop = DS If UploadSpeedTop < US Then UploadSpeedTop = US DoEvents lblRecv.Caption = Format(BytesRecv / 1024, "###,###,###,###,##0 KB") lblSent.Caption = Format(BytesSent / 1024, "###,###,###,###,##0 KB")

Private Sub cmdRequery_Click() Dim varData As Variant Dim strData As String Dim lngLoop As Long blnDisplay = True

Apply Queuing Theory

Average of DownloadSpeedAverage = Download & (DownloadSpeedAverage + DS) / 2 Upload UploadSpeedAverage = Speed (UploadSpeedAverage + US) / 2 lblDownloadSpeedTop = "Top download speed: " & Format(DownloadSpeedTop / 1024, "###,###,###,###,#0.#0 Kb/S") lblUploadSpeedTop = "Top upload speed: " & Format(UploadSpeedTop / 1024, "###,###,###,###,#0.#0 Kb/S")

Screen.MousePointer = 11 ' hourglass Me.Text1.Text = "" Me.Label1.Caption = "" varData = Process.RunningProcs Screen.MousePointer = 0 If blnDisplay Then For lngLoop = 1 To UBound(varData) Me.Text1.Text = LCase$(Me.Text1 & varData(lngLoop)) Me.Text1.Text = Me.Text1.Text & vbCrLf Next lngLoop Me.Label1.Caption = CStr(lngLoop) & " running processes. " End If End Sub

Figure 5.3: List All Applications Process on Server Activities

Figure 4.3: Calculation of Bytes Received and Sent for Real Time Basic

Public Function SysTray() TheForm.cbSize = Len(TheForm) TheForm.mhWnd = Pic1.hwnd TheForm.hIcon = Pic1.Picture TheForm.uId = 1&

lblRecv.Caption = Format(BytesRecv / 1024, "###,###0KB") lblSent.Caption = Format(BytesSent / 1024, "###,###0 KB") DownloadSpeedAverage = (DownloadSpeedAverage + DS) / 2 UploadSpeedAverage = (UploadSpeedAverage + US) / 2 lblDownloadSpeedTop = "Top download speed: " & Format(DownloadSpeedTop / 1024, "###,###,#0.#0 Kb/S")

TheForm.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE TheForm.ucallbackMessage = WM_MOUSEMOVE Shell_NotifyIcon NIM_ADD, TheForm End Function Function ModifyIcon() TheForm.cbSize = Len(TheForm)

lblUploadSpeedTop = "Top upload speed: " & Format(UploadSpeedTop / 1024, "###,###,###,#0.#0 Kb/S")

TheForm.mhWnd = Pic1.hwnd TheForm.hIcon = Pic1.Picture TheForm.uId = 1&

lblDownloadSpeedAverage = "Average download speed: " & Format(DownloadSpeedAverage / 1024, "#,#0.#0 Kb/S") lblUploadSpeedAverage = "Average upload speed: " & Format(UploadSpeedAverage / 1024, "###,,###,#0.#0 Kb/S")

TheForm.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE TheForm.ucallbackMessage = WM_MOUSEMOVE TheForm.szTip = "CPU Usage: " & status & "%" & Chr$(0) Shell_NotifyIcon NIM_MODIFY, TheForm End Function

Me.Caption = lblDownloadSpeedTop.Caption & vbNewLine lblUploadSpeedTop.Caption & vbNewLine & lblDownloadSpeedAverage.Caption & vbNewLine & _ lblUploadSpeedAverage.Caption CL.Add Int(Format(DownloadSpeedAverage / 1024, "###,###,###,###,#0.#0")) + 5

Figure 5.4: Display CPU Usage Performance

Figure 5.2: Display Bytes (Received and Sent) and Uploading Speed

Figure 5.3 and Figure 5.4 show server healthy performance consists of CPU pseudo code and applications running process pseudo code. The output result of NMS development can refer to Figure 4.5 and Figure 4.6. Figure 5.5 shows development of ‘ping’ pseudo code. It needs to

453

type an IP address to reach destination host. NMS will accumulate time taken to destination host. The output result of NMS development can refer to Figure 4.4.

REFERENCES [1] Kawasaki, S., Niwa, et. al. 2006. “A Study on Formulation of the Ubiquitous Cloud Model”, Mobile Data Management, 2006. MDM 2006. 7th International Conference, pg:148 – 148.

Private Sub cmdPing_Click() On Error Resume Next Winsock1.RemoteHost = txtEnterIP.Text Winsock1.Connect

[2] A. Tsalgatidou, G. Athanasopoulos & et. al. 2006. Developing scientific workflows from heterogeneous services, ACM SIGMOD, Vol. 35 (2 ), pg: 22 - 28

If txtEnterIP = " " Then MsgBox "Type an IP Address!" End If

[3] Qingwen Liu, Shengli Zhou, et. al,. 2006. “Crosslayer modeling of adaptive wireless links for QoS support in heterogeneous wired-wireless networks”, Wireless Networks, Vol. 12 (4), Kluwer Academic Publishers.

Dim ECHO As ICMP_ECHO_REPLY Dim pos As Integer Call Ping(txtEnterIP.Text, ECHO) txtStatusData.Text = GetStatusCode(ECHO.status) txtLagData.Text = ECHO.RoundTripTime & " (milliseconds)" txtSizeData.Text = ECHO.DataSize & " (bytes)" txtComputerName = Winsock1.RemoteHost txtComputerName.Text = GetHostNameFromIP(txtEnterIP.Text)

[4] S. Fredj, T. Bonald, A. Proutiere, G. Regnie, and J. Roberts. “Statistical bandwidth sharing: A study of congestion at flow level”. In Proceedings of ACM SIGCOMM ’01, San Diego, CA, August 2001. [5] Guojun Jin & Brian L. Tierney. 2003. capability effects on algorithms for bandwidth measurement’. Proceedings of ACM SIGCOMM conference on measurement, p.g 27-38.

End Sub

Figure 5.5: Pseudo Code of ‘Ping’ Development

VI. CONCLUSION

‘System network the 3rd Internet

[6] Chadi Barakat, Patrick Thiran, Gianluca Iannaccone, Christophe Diot, Philippe Owezarski “A flow-based model for Internet backbone traffic”. Proceedings of the 2nd ACM SIGCOMM Workshop on Internet measurment , p.p: 35 – 47,2002, Marseille, France.

In conclusion, we have developed and demonstrated an architecture and framework for network monitoring system (NMS). The most apparent aspect is traffic in and out for server network performance. The proposed framework and architecture of NMS was designed and implemented that could manage server platform. Our framework and development has limitations that must be overtaken before using in real network environment. Verification and validation (V&V) are probably the greatest issues that NMS will face. The framework is also still limited in performance and security management capabilities. It only offers a basic of management functions that should improve before it could be ready to be used in real network environment. The accuracy of NMS performance is not yet proven in real network environment. Future work is to verify and validate a NMS prototype model for measuring and monitoring the accuracy of bandwidth management, ping utility and CPU usage in real time with real network environment.

[7] S. Ben Fredj, T. Bonald, A. Proutiere, G. Regnie and J. Roberts, “Statistical Bandwidth Sharing: A Study of Congestion at Flow Level”, ACM SIGCOMM, August 2001. [8] T. Bu and D. Towsley, “Fixed Point Approximation for TCP behavior in an AQM Network”, ACM SIGMETRICS, Jun. 2001. [9] Osman Balci. ‘Quality Assessment, Verification and Validation of Modeling and Simulation Applications’. Proceeding of the 2004 Winter Simulation Conference. Simulation Conference, 2004. Proceedings of the 2004 Winter Vol. 1, Issue , 5-8 Dec. 2004 Page(s): - 129 [10] Jing Cong & Bernd E. Wolfinger. 2006. “A unified load generator based on formal load specification and load transformation”, Proceedings of the 1st international conference on Performance evaluation methodolgies and tools, ACM International Conference Proceeding Series, Pisa, Italy,Vol. 180 (53).

454

Suggest Documents