Changes between Version 8 and Version 9 of Tutorials/4G5G/Inter Digital-5G


Ignore:
Timestamp:
Mar 10, 2020, 3:10:58 PM (4 years ago)
Author:
seskar
Comment:

Legend:

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

    v8 v9  
    2323 1. [Documentation/Short/CreateRes Create a resource reservation] on sandbox 1
    2424 1. Prepare your computer (i.e. laptop) for 5G-NR status page access: either prepare [wiki:/Documentation/ssh_tunnel ssh tunnel] thought the sandbox 1 console to gNodeB server node, port 3005 (i.e. map localhost:8080 to srv3-lg1.sb1.cosmos-lab.org:3005) or follow the instructions to establish a [wiki:/Documentation/VPN VPN tunnel] to the [wiki:/hardware/Domains/sb1 COSMOS sandbox 1]. This will be used by the browser to connect to a web server running on the server nodes.
    25  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.
     25 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.
     26 1. Make sure all the nodes and devices used in the experiment are turned off:
     27{{{
     28omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2 
     29}}}
    2630 1. Load the images on the computing nodes: in each of the two session, start the [Documentation/Short/LoadImage  omf image loading] commands:
    2731||  SSH session 1 for gNodeB                        ||  SSH Session 2 for UE                   ||
     
    132136 1. ssh into UE MPU at 192.168.2.1 with username "root" and password "root: and execute the setup script "start_all.sh":
    133137{{{
    134 root@srv4-lg1:~# ssh 192.168.2.1
     138root@srv4-lg1:~# ssh root@192.168.2.1
    135139root@192.168.2.1's password:
    136140root@NR-SW-MPU-UE:~# ./start_all.sh
     
    241245=== Analyze the NR link performance via the NR GUI ===
    242246
     247Navigate to the DEBUG tab of the GUI and select the gNB Applink and UE1 Applink buttons located under the Status  bar. When selected the LED will turn “green” indicating the GUI is communicating with the respective node.
     248
    243249[[Image(NR-gui.png)]]
    244250
     
    249255omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2
    250256}}}
     257
     258== Saving the Node Images ==
     259
     260If 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):
     261{{{
     262root@srv3-lg1:~# ./prepare.sh
     263}}}
     264This 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.
     265At 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
     266{{{
     267username@console:~# omf save -n srv3-lg1.sb1.cosmos-lab.org
     268}}}
     269(please note the -n option and the FQDN for the node both of which are mandatory for successful saving operation).