Changes between Version 15 and Version 16 of Tutorials/4G5G/Inter Digital-5G


Ignore:
Timestamp:
May 11, 2020, 1:29:33 AM (4 years ago)
Author:
msherman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/Inter Digital-5G

    v15 v16  
    2525 1. [Documentation/Short/Login Login] into sandbox 1 console (console.sb1.cosmos-lab.org) with two SSH sessions. The first session will be used for access to gNodeB while the second will be dedicated to handling UE.
    2626 1. Make sure all the nodes and devices used in the experiment are turned off:
    27 {{{
     27{{{#!shell
    2828omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2 
    2929}}}
     
    4141
    4242 * Execute NR gNB setup script on srv3-lg1
    43 {{{
     43{{{#!shell-session
    4444userid@console:~$ ssh root@srv3-lg1
    4545root@srv3-lg1:~$ ./setup_gNodeB.sh
     
    5555
    5656 * Execute NR UE setup script on srv4-lg1.
    57 {{{
     57{{{#!shell-session
    5858userid@console:~$ ssh root@srv4-lg1
    5959root@srv4-lg1:~$ ./setup_UE.sh
     
    7070|---------------
    7171{{{#!td
    72 {{{
     72{{{#!shell
    7373#!/bin/bash
    7474echo "---------------"
     
    9898|---------------
    9999{{{#!td
    100 {{{
     100{{{#!shell
    101101#!/bin/bash                                                                                                   
    102102echo "---------------"
     
    125125
    126126 1. ssh into gNodeB MPU at 192.168.1.2 with username "root" and password "root" and execute the setup script "start_all.sh":
    127 {{{
     127{{{#!shell-session
    128128root@srv3-lg1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2
    129129root@NR-SW-MPU-gNB:~# ./start_all.sh
     
    136136}}}
    137137 1. ssh into UE MPU at 192.168.2.1 with username "root" and password "root: and execute the setup script "start_all.sh":
    138 {{{
     138{{{#!shell-session
    139139root@srv4-lg1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.2.1
    140140root@NR-SW-MPU-UE:~# ./start_all.sh
     
    152152
    153153Use '''mtr''' utility to confirm that traffic is going through the NR link:
    154 {{{
     154{{{#!shell-session
    155155root@srv4-lg1:~# mtr -c 1 -r 8.8.8.8
    156156Start: Sat Feb 29 14:32:31 2020
     
    194194
    195195 * In the UE console session start the iperf server
    196 {{{
     196{{{#!shell
    197197iperf3 -s -i 1
    198198}}}
    199199 * In the gNodeB session strat the iperf client
    200 {{{
     200{{{#!shell
    201201iperf3 -c 192.168.2.2 -i 1 -u -b 20M -l 1472 -t 30
    202202}}}
     
    213213|---------------
    214214{{{#!td align=left valign=top
    215 {{{
     215{{{#!shell-session
    216216root@srv3-lg1:/# iperf3 -c 192.168.2.2 -i 1 -u -b 20M -l 1472 -t 3
    217217Connecting to host 192.168.2.2, port 5201
     
    231231}}}
    232232{{{#!td align=left valign=top
    233 {{{
     233{{{#!shell-session
    234234root@srv4-lg1:~# iperf3 -s -i 1
    235235-----------------------------------------------------------
     
    262262
    263263Turn off the server nodes and NR platform devices:
    264 {{{
     264{{{#!shell-session
    265265omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2
    266266}}}
     
    269269
    270270If you modify software on any of the server nodes save the image by the [omf save image commands] but don't forget to first prepare the node by executing (this is the example for srv3-lg1 node):
    271 {{{
     271{{{#!shell-session
    272272root@srv3-lg1:~# ./prepare.sh
    273273}}}
    274274This script will “clean” and “dump” old log files and any other unnecessary files that do not need to be saved as part of the image, thereby reducing the size of the saved image.
    275275At the end of this script, the node will shutdown (it might block your ssh window forcing you to open another one); once back on the console, you can save that node disk image with
    276 {{{
     276{{{#!shell-session
    277277username@console:~# omf save -n srv3-lg1.sb1.cosmos-lab.org
    278278}}}