Top Banner
Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009
44

Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

Dec 22, 2015

Download

Documents

Andra Stevenson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

Network Testing Tools

Ettore Tamiro

GARR - Network Operation Center

PAP Workshop

July 15, 2009

Page 2: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

2

Installing a perfSONAR Network Performance Node

This tutorial is based on a previous work by

Rich CarlsonFor the

NWS WorkshopJan 12-14, 2009

Page 3: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

3

Introduction

First question:

Why do we need network testing tools?

Page 4: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

4

Introduction

• Healthy networks are the basis for a good user experience

• Network issues that may be not perceptible using certain applications, can be very annoying for other specific services or can even be the source of severe problems

• This is more true for networks intended to offer multimedia services

Page 5: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

5

Introduction

Second question:

What do we are searching for?

Page 6: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

6

Introduction

• Congested links• Queuing problems• Packet Delay Variations (Jitter)• Packet Loss• …

Page 7: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

7

Introduction

Third question:

What all of these problems have in common?

Page 8: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

8

Introduction

At least one thing:

They are hard to investigate!

And even worst: they are harder to discover

in a multi-domain environment

Page 9: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

9

Introduction

Fourth question:

Are we all alone or out there we can find

something to help us in our quest?

Page 10: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

10

Introduction

Internet2 has built a live Linux distro

With a built-in set of network testing tools

Page 11: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

11

Introduction

• Most of the Internet2 network performance tools are client/server based• Client software runs on the users

Laptop/Desktop computer• Software is automatically downloaded when a test is

requested• Server software runs on a dedicated server

which is physically attached to the network on the same LAN as the production server• Software is pre-installed and must be customized

before using

Page 12: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

12

Initial Suite of Tools

• NDT – a client/server program to find host configuration and network infrastructure faults

• NPAD – a client/server program to verify host configuration and local infrastructure will work with remote sites

• BWCTL – a client/server program to continuously monitor the network infrastructure

• OWAMP – a client/server program to continuously monitor the end-to-end delay

Page 13: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

13

perfSONAR

• A framework for building large scale, multi-domain network measurement and monitoring infrastructures• Reference implementations of tools that

use this framework have been developed by Internet2 engineers to demonstrate the value of this approach

Page 14: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

14

perfSONAR perfNode

• A pre-built ISO image that can be booted to quickly bring up a measurement server• Initial boot requires configuration and

customization steps (this presentation)• Subsequent boots bring the system back to

this known state

• Most of the data in this slide deck comes from the on-line quick-start guide by Jason Zurawski http://code.google.com/p/perfsonar-ps/wiki/NPToolkitQuickStart

Page 15: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

15

Step 1 – Obtain the ISO image

• Download the latest ISO image from http://www.perfsonar.net/download/bundles/pS-NPToolkit/current.iso

• OR, ask Internet2 staff to send you a CD-ROM disk

• Burn the downloaded ISO image onto a CD-ROM disk • Be sure and burn this as an ISO image and

not as a data disk, see the instructions for your burner software.

Page 16: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

16

Step 2 – Prepare the Hardware

• Find a computer you can dedicate as a server• 1.8 GHz Intel/AMD processor• 512 MB RAM• 80 GB Hard disk (Disk needs to be formatted)• 100 Mbps Ethernet interface• CD read-only disk drive

• Note: a low-cost rack-mount server is available from KOI computers http://www.koicomputers.com/ for approximately $600, contact Internet2 staff for details

Page 17: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

17

Step 3 (a) – Initial Boot – BIOS setup

Once you have obtained a setup cd-rom, be sure that your server is configured to boot first from removable media.

This is done by manipulating the boot device priority in the BIOS settings

Be aware that dealing with the BIOS is a risky task, so If you feel unsure, ask for help

Page 18: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

18

Step 3 (b) – Initial Boot

• Insert the CD-ROM disk into the drive and power on the system. The following screen will appear. Press “Enter” or wait 30 seconds for boot process to begin

Page 19: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

19

Step 4 – Begin Configuration

• After a short time, the following screen will appear. All items in RED need to be configured.

Page 20: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

20

Step 5 (a) – Begin Configuration

BE CAREFULL AT THIS STEP!

perfSONAR perfNode uses a mass storage unit to hold both collected data

And configuration settings.

You will be prompted to specify this unit and a wrong selection could

Make you loose all of the data stored on your computer HD!

You have been provided with a 2GB usb disk that will be used as installation

Unit. If unsure on which unit to select during the setup process, don’t esitate to

ASK!

Page 21: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

21

Step 5 (b) – Select a Drive

• Enter ‘1’ to configure the Drive information

• In this case only 1 drive is available, select the drive listed on your server• Note: the drive will be reformatted if

necessary

Page 22: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

22

Step 6 – Configure Site Settings

• Select ‘2’ to enter the Site Settings option• Enter admin’s name/email, org name and physical

location, and the link speed, use “PAPW” as the communities of interest

Page 23: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

23

Step 7 – Enter passwords

• Enter ‘3’ to set the system passwords, you will not be able to use the system if you don’t set these passwords

Page 24: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

24

Step 8 – Configure specific services

• Enter ‘4’ to enable/disable specific services• Enable NDT, NPAD, BWCTL, OWAMP and Web Service• Enable SSH only if you want to remotely login to this server• Disable PingER, SNMP, and perfSONAR-BUOY services

Page 25: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

25

Step 9 – Manage Users

• Skip this item, unless you specifically need to add a new user, you can skip this item!

Page 26: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

26

Step 10 – Configure BWCTL

• Enter ‘6’ and press ‘Enter’ when prompted. Simply take the default settings

Page 27: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

27

Step 11 – Configure NTP

• You are in a closed LAN so enter ‘7’, then simply enter ‘0’ to exit this page. For a production system you can obtain better servers from your campus IT staff

Page 28: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

28

Step 12 – Configure OWAMP

• Enter ‘8’ and then press ‘Enter’ when prompted to take the default values

Page 29: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

29

Step 13 – Configure Static IP address• In most cases your campus will automatically

assign an IP address to the server during the boot process but

• For this tutorial provide the IP address and NETMASK that you have received from the PAPW staff

Page 30: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

30

Step 14 – Enter timezone info

• An optional step to set the timezone for your physical location.

Page 31: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

31

Step 15 – Modify advertised interface

• Skip this item. In most cases your server will have only 1 network interface so you can skip this task.

Page 32: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

32

Configuration Complete

• Once you have configured all these items, Press ‘0’, the system may reboot, or it may just continue on and complete the boot process.

• When the boot process is complete you will receive a login prompt.• The login id is “knoppix” (no quotes)• The password is what you assigned

Page 33: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

33

User Login Complete

Page 34: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

34

Verify IP address

• Enter the command ‘ifconfig’ to verify IP address is configured and operational

Page 35: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

35

Start KDE desktop environment

• Enter the command ‘startx’

Page 36: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

36

Java support• In the “real world” you don’t need Java to run

on your server because it is required only by the client hosts (the one with the browser)

• But, given that you have only one PC for this tutorial, you need to run a server and a client on the same machine

• GARR has made available a web server in this LAN with everything needed for a “painless” Java setup (http://192.168.118.1)

• Once Java will be installed you can test your server or those of your collegues

Page 37: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

37

Verify Operation

• Bring up a web browser and enter https://{ip-address} where {ip-address} is the address assigned to this server in the w.x.y.z format

• If your IT department has assigned a DNS name to this address you can use that name instead.

Page 38: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

38

Main Server Web page

Page 39: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

39

Finding other Server

• The “Global Set Of Services” link gets you to a new page that lists your peer servers.

• All remote servers should be listed, servers run by peer PAPW sites will appear under the “PAPW” heading

Page 40: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

40

Page 41: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

41

Server Status

• Your server is now ready to support testing

• You can point clients to it so verify your site is operating properly

• You can point clients to the remote site to verify that the WAN path is capable of carrying your traffic

Page 42: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

42

Running NDT test

• Press “Start” Button

Page 43: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

43

Running NPAD test

• Test to Local server and enter required speed and RTT to remote location then press “start”

Page 44: Network Testing Tools Ettore Tamiro GARR - Network Operation Center PAP Workshop July 15, 2009.

44

Conclusion

• Server should be permanently installed at your home institution ‘on’ your local network

• Once the ISO image is booted, the tools will register with a global lookup service so others can find them

• These tools will make it easier to find and fix network performance problems