Changes between Version 22 and Version 23 of Tutorials/4G5G/Inter Digital-5G


Ignore:
Timestamp:
Sep 15, 2023, 6:56:12 PM (8 months ago)
Author:
prasanthi
Comment:

Legend:

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

    v22 v23  
    1010[[Image(InterDigital-5G-NR-Tut.png, 800px)]]
    1111
    12 As can be seen from the figure, the setup consists of one gNodeB and one UE unit and the two sandbox 1 servers (in this case srv3-lg1.sb1.cosmos-lab.org and srv4-lg1.sb1.cosmos-lab.org). The first server (srv3-lg1) acts as a gateway while the second one is acting as a UE computing platform (to which a UE modem is attached). The 5G Platform devices and the nodes are connected to the sandbox 1 data 1 network and relies on IP routing to ensure that the traffic flow from the client follows the dashed red line in the figure. The intended route is divided into three segment (IP subnets):
     12As can be seen from the figure, the setup consists of one gNodeB and one UE unit and the two sandbox 1 servers (in this case srv1-in1.sb1.cosmos-lab.org and srv1-in2.sb1.cosmos-lab.org). The first server (srv1-in1) acts as a gateway while the second one is acting as a UE computing platform (to which a UE modem is attached). The 5G Platform devices and the nodes are connected to the sandbox 1 data 1 network and relies on IP routing to ensure that the traffic flow from the client follows the dashed red line in the figure. The intended route is divided into three segment (IP subnets):
    1313 * gNodeB Subnet (192.168.1.X) - connecting gateway to the gNodeB device
    1414 * UE Subnet (192.168.2.X) - connects client node to the UE device
     
    2424 1. If you don't have one already, sign up for a [wiki:GettingStarted#MakeanAccount COSMOS account]
    2525 1. [wiki:GettingStarted#MakeaReservation Create a resource reservation] on sandbox 1
    26  1. Prepare your computer (i.e. laptop) for 5G-NR status page access: either prepare [wiki:UserGuide/RemoteAccess/SshTunnel ssh tunnel] thought the sandbox 1 console to gNodeB server node, port 3005 (i.e. map localhost:3005 to srv3-lg1.sb1.cosmos-lab.org:3005) or follow the instructions to establish a [wiki:UserGuide/RemoteAccess/VPN VPN tunnel] to the [wiki:Architecture/Domains/cosmos_sb1 COSMOS sandbox 1]. This will be used by the browser to connect to a web server running on the server nodes.
     26 1. Prepare your computer (i.e. laptop) for 5G-NR status page access: either prepare [wiki:UserGuide/RemoteAccess/SshTunnel ssh tunnel] thought the sandbox 1 console to gNodeB server node, port 3005 (i.e. map localhost:3005 to srv1-in1.sb1.cosmos-lab.org:3005) or follow the instructions to establish a [wiki:UserGuide/RemoteAccess/VPN VPN tunnel] to the [wiki:Architecture/Domains/cosmos_sb1 COSMOS sandbox 1]. This will be used by the browser to connect to a web server running on the server nodes.
    2727 1. [wiki:UserGuide/RemoteAccess#RemoteAccess 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.
    2828 1. Make sure all the nodes and devices used in the experiment are turned off:
    2929{{{#!shell
    30 omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-
     30omf tell -a offh -t srv1-in1,srv1-in2,rfdev2-in1,rfdev2-in
    3131}}}
    3232 1. Load the images on the computing nodes: in each of the two session, start the [Documentation/Short/LoadImage  omf image loading] commands:
    3333||  SSH session 1 for gNodeB                        ||  SSH Session 2 for UE                   ||
    34 || {{{omf load -t srv3-lg1 -i ID-5G-gNB.ndz -r 50 }}} || {{{omf load -t srv4-lg1 -i ID-5G-UE.ndz -r 50}}} ||
     34|| {{{omf load -t srv1-in1 -i ID-5G-gNB.ndz -r 50 }}} || {{{omf load -t srv4-lg1 -i ID-5G-UE.ndz -r 50}}} ||
    3535 1. Turn the server nodes and NR platform devices on:
    3636{{{#!shell-session
    37 omf tell -a on -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2
     37omf tell -a on -t srv1-in1,srv4-lg1,rfdev2-1,rfdev2-2
    3838}}}
    3939   
     
    4242=== Configure Routing on the two compute nodes ===
    4343
    44  * Execute NR gNB setup script on srv3-lg1
    45 {{{#!shell-session
    46 userid@console:~$ ssh root@srv3-lg1
    47 root@srv3-lg1:~$ ./setup_gNodeB.sh
     44 * Execute NR gNB setup script on srv1-in1
     45{{{#!shell-session
     46userid@console:~$ ssh root@srv1-in1
     47root@srv1-in1:~$ ./setup_gNodeB.sh
    4848---------------
    4949Make sure to start the gNodeB modem on the MPU by logging in with:
     
    5353----------------
    5454net.ipv4.ip_no_pmtu_disc = 1
    55 root@srv3-lg1:~#
     55root@srv1-in1:~#
    5656}}}
    5757
     
    128128 1. ssh into gNodeB MPU at 192.168.1.2 with username "root" and password "root" and execute the setup script "start_all.sh":
    129129{{{#!shell-session
    130 root@srv3-lg1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2
     130root@srv1-in1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2
    131131root@NR-SW-MPU-gNB:~# ./start_all.sh
    132132root@NR-SW-MPU-gNB:~# metal: info:      metal_uio_dev_open: No IRQ for device 3ed80000.shm.
     
    178178
    179179Note that the GUI web server has already been started during Linux startup.
    180 Open the browser and point it at '''http://localhost:3005''' (if using ssh tunneling) or at '''http://srv3-lg1.sb1.cosmos-lab.org:3005''' if using VPN; login credentials for the GUI are: '''admin'''/'''admin'''.
     180Open the browser and point it at '''http://localhost:3005''' (if using ssh tunneling) or at '''http://srv1-in1.sb1.cosmos-lab.org:3005''' if using VPN; login credentials for the GUI are: '''admin'''/'''admin'''.
    181181
    182182Once the page comes up, navigate to the DEBUG tab of the GUI:
     
    191191
    192192[[CollapsibleStart(Enable Logging to DataBase)]]
    193 The configuration file WEBSERVER/server/config.js located on srv3-lg1.sb1.cosmos-lab.org can be modified to enable logging to the database as follows:
     193The configuration file WEBSERVER/server/config.js located on srv1-in1.sb1.cosmos-lab.org can be modified to enable logging to the database as follows:
    194194
    195195{{{#!td align=center