Changes between Version 4 and Version 5 of Nmm2022/Agenda/perfSONARsetup


Ignore:
Timestamp:
Jun 16, 2022, 3:16:00 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/perfSONARsetup

    v4 v5  
    1414In addition, the above different options/packages can be installed using different methods and in different environments docker and virtual machines.
    1515
     16=== Hardware requirements ===
    1617
     18The requirements for the perfsonar-core, perfsonar-toolkit, and perfsonar-centralmanagement bundles are a minimum of 2 cores and 4GB of RAM. The perfsonar-testpoint bundle may work with 2GB of RAM, but 4GB is recommended. The clock speed requirements depends on how fast your network is, but we recommend at least 2GHz cores in general, and 2.8GHz or higher if you want to test 10G paths.
    1719
    18 {{{
    19 # sudo su
    20 # cd /etc/apt/sources.list.d/
    21 # curl -o perfsonar-release.list http://downloads.perfsonar.net/debian/perfsonar-release.list
    22 # curl http://downloads.perfsonar.net/debian/perfsonar-official.gpg.key | apt-key add -
    23 # add-apt-repository universe
    24 # apt update
    25 }}}
     20While for perfsonar bare-metal installation is allways recommended other options like Virtual machines, Docker containers and cheap hardware options are supported with subject to varying level of success. For more information on hardware options please check [https://docs.perfsonar.net/install_hardware.html this page].
    2621
    27 === Step 2: Install a Bundle ===
    28 perfSONAR Toolkit:
    29 {{{
    30 # apt install perfsonar-toolkit
    31 }}}
    32 ''' NOTE: ''' During the installation process, you’ll be asked to choose a password for the pscheduler and the esmond databases. Use ''' '1234' ''' as the password or anything you preferred.
     22=== perfSONAR installation ===
    3323
    34 wait for installation to complete.Then reboot the system.
    35 {{{
    36 # reboot now
    37 }}}
     24Lets now see how to install perfsonar. Perfsonar toolkit is the package that contains the full suite of the testing tools. There several methods to install this toolkit. Here we are using CentOS Toolkit ISO image to do the installation. This can be installed either on bare-metal server or on a virtual machine.
    3825
    39 === Step 3: Starting your services (optional) ===
    40 You can start all the services by rebooting the host since all are configured to run by default. In order to check services status issue the following commands:
     26First you need to write ISO image into a USB drive and boot the server from the USB. Next you will follow instructions which is almost same as installation of a CentOS 7 operating system.
    4127
    42 {{{
    43 # service pscheduler-scheduler status
    44 # service pscheduler-runner status
    45 # service pscheduler-archiver status
    46 # service pscheduler-ticker status
    47 # service owamp-server status
    48 # service perfsonar-lsregistrationdaemon status
    49 }}}
     28From below choose the Install the perfSONAR Toolkit.
    5029
    51 If they are not running you may start them with appropriate service commands as a root user. For example :
    52 {{{
    53 # service pscheduler-scheduler start
    54 # service pscheduler-runner start
    55 # service pscheduler-archiver start
    56 # service pscheduler-ticker start
    57 # service owamp-server start
    58 # service perfsonar-lsregistrationdaemon start
    59 }}}
     30[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps2.png)]]
    6031
    61 === Step 4 :Configuring the Toolkit for the First Time  ===
    62 After booting the system, run the following command to configure the perfSonar web users.
    63 {{{
    64 # sudo su
    65 # /usr/lib/perfsonar/scripts/nptoolkit-configure.py
    66 }}}
     32Next select the language.
    6733
    68 This will open the ''' perfSONAR Toolkit customization script ''' with a menu as follows;
    69 {{{
    70 perfSONAR Toolkit customization script
     34[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps3.png)]]
    7135
    72 1. Change Timezone
    73 2. Manage Web Users
    74 0. exit
     36Next select the installation destination which is the hard disk of your installation.
    7537
    76 Make a selection:
     38[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps4.png)]]
    7739
    78 }}}
     40After click on Done the Toolkit with the CentOS operating system will be installed. Once installation completed you will see the below login screen.
    7941
    80 Enter 2 and proceed
     42[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps5.png)]]
    8143
    82 {{{
    83 Welcome to the perfSONAR Toolkit user administration program.
    84 This program will help you administer users.
    85 You may configure any of the options below with this program:
    86         1. Add a new user
    87         2. Delete a user
    88         3. Change a user's password
    89         0. exit
    90 Make a selection: 1
     44After you log in, you are prompted to create a user ID and password to log into PerfSONAR's web frontend. Make sure to remember your login information.
    9145
    92 }}}
     46[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps6.png)]]
    9347
    94 Enter 1 and proceed
     48You're also asked to disable SSH access for root and create a new user for sudo; just follow the steps to create the new user.
    9549
    96 Use ''' admin ''' as account name and ''' 1234 ''' as password.
    97 {{{
    98 Enter the user whose account you'd like to add. Just hit enter to exit: admin
    99 New password:
    100 Re-type new password:
    101 Adding password for user admin
     50[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARsetup/ps7.png)]]
    10251
    103 }}}
     52Next you will configure an IP address and hostname to the system.
    10453
    105 Then enter 0 and exit from the customization script.
    10654
    10755=== Step 5: Accessing the Web Interface ===