|
NPToolkitQuickStart
perfSONAR Network Performance Toolkit Quick Start
Installation and ConfigurationThe following guide describes in detail the steps required to set up the perfSONAR Network Performance Toolkit. It is important to follow each step in order. Upon getting stuck, consult the FAQ at the end of this document. First Steps
Console ConfigurationAfter the boot process, there will be a menu of options.
Each step will be explained here with pictures where applicable. Step 1To properly store configuration information and stored measurement data, a drive must be configured to act as storage. Normally we would expect the onboard disk to fill this role, but optionally a external drive such as a USB flash device may be used. There are minimal requirements for the storage:
The following images demonstrate the steps of this particular configuration option.
Step 2There are some basic items that are useful to all services from both a customization point of view (e.g. personalized web pages and menus) as well as a global discovery point of view (e.g. finding specific data for a specific institutions resources).
Community KeywordsA particular question, Enter the communities of interest, can be confusing to answer for new users. This particular question is trying to associate some loosely coupled labels to the data that the perfSONAR NPToolkit disk will be making available to the larger world. Think of this step similar to assigning labels to photos or music. Some examples of valid answers are:
Use as many community names as necessary to properly categorize the data from the installation. The menu will appear after this step is completed. Step 3There are built in accounts for this installation:
These accounts must have the password set before leaving the configuration as they can be a security risk if let untouched.
After this step, the menu will appear again. Step 4All services are enabled by default with the exception of SSH. This screen allows the administrator to turn off or on services before starting, thus allowing the disk use to be customized for specific circumstances. The first screen lists the current services (disk defaults).
This is the appearance after enabling SSH.
Kerberosed SSHNote that there are packages available on the disk that are capable of running ssh through Kerberos (a requirement of many LHC site installations). If the installation site has such requirements, ssh may be enabled after some configuration. The requirement for kerberized SSH means that your Institution runs own PKI infrastructure. If your are not the sysadmin of the monitoring box then please consult with responsible person about PKi credentials for this host. If you are the sysadmin:
For example in case of Fermilab it is required to prohibit all kinds of authentication except for Kerberos ticket exchange and GSSAPI.
Step 5Section 5 allows a finer grain of control over user accounts. The first screen lists the available options.
The first option is to add a new user, pictured below:
The second option removes users. Note that when a user does not exist the option will respond appropriately.
This shows a proper removal of a user.
The last option is to change the password for a user. Note that in the event a user doesn't exist a proper error message will be displayed.
The final image shows a proper password change.
After done, the menu will re-appear. Step 6In this step the BWCTL tool will be configured. It is recommended that very liberal and permissive rules are entered to allow maximum functionality.
After finishing, the menu will appear again. Step 7To properly run several measurement tools, NTP is required. This step allows the user to pick NTP services from a list.
It is recommended that 3 to 4 close servers are selected for timekeeping. Do not choose more than this because it may confuse NTP.
After selection is completed, the menu will re-appear. Step 8In this step the OWAMP tool will be configured. It is recommended that very liberal and permissive rules are entered to allow maximum functionality.
After finishing, the menu will appear again. Step 9This is an optional step that can be called to configure a static IP address (instead of DHCP). Note that this step will take some time to complete due to use of various network configuration tools.
The menu will come back after completion. Step 10This step is also optional, and allows the user to change the timezone. The first image shows that the default is EST/EDT:
The screen below shows the first stage after choosing the change the zone, selecting a region.
After selecting a region, localities will be printed to the screen.
Finally we choose a new (or in this case the same) timezone.
The menu will appear after this. Step 11The final step allows the user to select the advertised interface. This simply means the interface that will be registered to the global directories.
After this step the menu will appear again. Post ConfigurationAfter exiting the menu, the machine may require a reboot.
If this is the case, please do so. When the machine comes back up then simply exit the configuration (all menu items should be green or magenta). After performing all of these steps and exiting the menu the bootup process will start: The user will be faced with a prompt where loggin through the user accounts is possible:
There are some additional steps that can now be taken to configure some other services, specifically the perfSONAR services. Web ConfigurationOnce the machine has booted it is now accessible via the static IP or a DHCP address. To see the address use the /sbin/ifconfig command from the console:
Once the contact information is known, use a web browser to view the status of the disk, e.g. visit http://HOST_OR_ADDRESS* or https://HOST_OR_ADDRESS* (https is the default, and all communication will be redirected to there):
There are several GUIs that can be used configure services (note: to do this logging in as the knoppix or other users added in Step 5 above is required. Root cannot log in):
Cacti ConfigurationPlease visit NPToolkitCacti for complete instructions regarding setting up Cacti for the polling of SNMP enabled network elements. perfSONAR BUOY ConfigurationPlease visit NPToolkitPerfSONARBUOY for complete instructions on using the perfSONAR-BUOY configuration GUI to manage the scheduled polling of bandwidth and latency hosts. PingER ConfigurationPlease visit NPToolkitPingER for complete instructions on using the PingER administrative GUI to manage the scheduled latency tests to remote sites. Disk VerificationOnce the machine has booted it is now accessible via the static IP or a DHCP address. To see the address use the /sbin/ifconfig command from the console:
Once he contact information is known, use a web browser to view the status of the disk, e.g. visit http://HOST_OR_ADDRESS* or https://HOST_OR_ADDRESS* (https is the default, and all communication will be redirected there anyway):
There are also several GUIs linked directly from this page that can be used to view the status of services: Global Service DirectoryThrough the power of the Global Lookup Service (gLS) there are several GUIs available on the disk that can be used to display and locate services from around the world (including the newly set up instance after some requisite registration time). The main interface is directory.cgi:
Note that many GUIs take advantage of caching techniques to limit the scope and frequency of the information queries: e.g. do not use this as a real-time information source. CactiThis is a non-administrative view of cacti data. This link can be shared with individuals and does not require a username or password.
PingERThis GUI can be used to view the data of the on-board PingER instance or that of any other remote service. Note that this GUI has a lot more power for selecting the time range and data sources than some of the Service Test tools.
Java Owamp ClientThe Java version of an OWAMP Client (jowping) has a simple interface that can be used to perform owamp tests to the onboard or any other OWAMP server.
NPADIn addition to being a performance tool, NPAD features a web interface that can be used to locate the results of past tests.
NDTIn addition to being a performance tool, NDT features a web interface that contains other relevant information.
Service TestThe serviceTest.cgi script is able to test simple perfSONAR tasks to a variety of services; namely the three services included on this disk:
Also note that if something is not configured properly, the following error condition can be seen:
FAQ
ide: failed opcode was: unknown hda: no DRQ after issuing MULTWRITE_EXT ide0: reset: success Last Updated$Id$ |
Sign in to add a comment