Changes between Version 1 and Version 2 of Cnbp2019/Agenda/PfsonarLab
- Timestamp:
- Feb 24, 2019, 2:15:51 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Cnbp2019/Agenda/PfsonarLab
v1 v2 1 = Perfsonar, BWCTL and iperf =1 = perfSonar, BWCTL and iperf = 2 2 3 3 == Setup Perfsonar == 4 4 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'''. 5 Installing 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 7 Next 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'''. 19 10 20 11 - Now start the VM and Log in as '''root''' password is <Class Password>. 21 12 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>. 23 14 24 15 - 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>. … … 40 31 }}} 41 32 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] 43 34 {{{ 44 35 IPADDR=<Your IP Address> 45 GATEWAY=192.248. 6.25436 GATEWAY=192.248.7.254 46 37 NETMASK=255.255.255.0 47 38 DNS1=192.248.1.161 48 39 IPV6ADDR=<Your IPv6 Address> 49 IPV6_DEFAULTGW=2401:dd00: 1032:2::ffff40 IPV6_DEFAULTGW=2401:dd00:2009::ffff 50 41 }}} 51 42 … … 112 103 - Select '''ping''' from '''Type''' drop down list. 113 104 - Set the following details 114 * Test name/description : Test with <Neighbor IP>105 * Test name/description : Test with <Neighbor group IP> 115 106 * Interface : Default 116 107 * Time between tests : 5 117 108 * Units : minutes 118 109 * Packets per test : 10 119 * Hostname/IP : <Your Neighbor 's IP Address>110 * Hostname/IP : <Your Neighbor group's IP Address> 120 111 * Host description : <Neighbor's Name> 121 112 - Click '''Ok''' … … 135 126 bwctl -f m -t 10 -i 1 -c <your neighbors perfsonar IP address> 136 127 }}} 137 - You will get an out 128 - You will get an output as follows 138 129 139 130 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/netmon2017perfsonar/ps2.png)]]