Changes between Version 1 and Version 2 of Cnbp2019/Agenda/PfsonarLab


Ignore:
Timestamp:
Feb 24, 2019, 2:15:51 PM (5 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Cnbp2019/Agenda/PfsonarLab

    v1 v2  
    1 = Perfsonar, BWCTL and iperf =
     1= perfSonar, BWCTL and iperf =
    22
    33== Setup Perfsonar ==
    44
    5 Installing perfsonar will take some time. Therefore we will give you a .ova file which you can import to your virtualbox. This will give youa vm with perfsonar installed.
    6 
    7 - Please download the .ova file. Note down the location.
    8 [http://192.248.4.49/NetMon/centos--perfsonar4.0.1--NMM.ova download]
    9 
    10  - Go to the location where file is downloaded and double click the file.
    11 
    12  - You will get a window asking whether you need to import. check the '''Reinitialize the MAC address of all network cards''' check box and Click '''import'''
    13 
    14  - Click '''agree''' to the conditions.
    15 
    16  - It will take some time to import. After a while you will get a perfsonar instant in your virtulbox.
    17 
    18  - Select the VM and click '''Settings'''. Go to '''Network'''. In adapter 1 Select '''Bridged Adapter''' in the Attached to: drop down list. and Select the correct network interface (Which you are using). Click '''Ok'''.
     5Installing perfSonar will take some time. Therefore we have given you a virtual machine preinstalled. **Before starting your vm make sure you switch off all other vm's and GNS and remember you have one perfsonar per group**.
     6
     7Next in your Virtual Box,
     8
     9 - Select the perfSonar VM and click '''Settings'''. Go to '''Network'''. In adapter 1 Select '''Bridged Adapter''' in the Attached to: drop down list. and Select the correct network interface (Which you are using). Click '''Ok'''.
    1910
    2011 - Now start the VM and Log in as '''root''' password is <Class Password>.
    2112
    22  - Once you log in it will ask you to create a user for web administration. Give the username as '''admin'''. Give the password as class password.
     13 - Once you log in it will ask you to create a user for web administration. Give the username as '''admin'''. Give the password as <Class Password>.
    2314
    2415 - Then it will ask whether you want to disable root ssh log in and create a ssh user. hit '''enter'''. Give your name as the username. Give password as <Class Password>.
     
    4031}}}
    4132
    42  - Now edit the '''/etc/sysconfig/network-scripts/ifcfg-<Your interface name>''' and add the following lines. You can find your perfsonar IPv4 and IPv6 Addresses from the [wiki:2017netmonipallocation table]
     33 - Now edit the '''/etc/sysconfig/network-scripts/ifcfg-<Your interface name>''' and add the following lines. You can find your group perfsonar IPv4 and IPv6 Addresses from the [wiki:Cnbp2019/Agenda/IpAllocation table]
    4334{{{
    4435IPADDR=<Your IP Address>
    45 GATEWAY=192.248.6.254
     36GATEWAY=192.248.7.254
    4637NETMASK=255.255.255.0
    4738DNS1=192.248.1.161
    4839IPV6ADDR=<Your IPv6 Address>
    49 IPV6_DEFAULTGW=2401:dd00:1032:2::ffff
     40IPV6_DEFAULTGW=2401:dd00:2009::ffff
    5041}}}
    5142
     
    112103 - Select '''ping''' from '''Type''' drop down list.
    113104 - Set the following details
    114      * Test name/description : Test with <Neighbor IP>
     105     * Test name/description : Test with <Neighbor group IP>
    115106     * Interface : Default
    116107     * Time between tests : 5
    117108     * Units : minutes
    118109     * Packets per test : 10
    119      * Hostname/IP : <Your Neighbor's IP Address>
     110     * Hostname/IP : <Your Neighbor group's IP Address>
    120111     * Host description : <Neighbor's Name>
    121112 - Click '''Ok'''
     
    135126bwctl -f m -t 10 -i 1 -c <your neighbors perfsonar IP address>
    136127}}}
    137  - You will get an out put as follows
     128 - You will get an output as follows
    138129
    139130[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netmon2017perfsonar/ps2.png)]]