Changes between Version 6 and Version 7 of Tutorials/4G5G/Inter Digital-5G
- Timestamp:
- Feb 29, 2020, 2:03:05 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/Inter Digital-5G
v6 v7 1 1 = Getting Started with !InterDigital 5G NR Performance System = 2 2 3 === Desciption === 4 In this tutorial we'll demonstrate how to use [wiki:/hardware/SubSystems/IDPerformance InterDigital 5G-NR Performance platform] 3 [[TOC()]] 4 5 == Description == 6 In this tutorial we'll demonstrate how to use [wiki:/hardware/SubSystems/IDPerformance InterDigital 5G-NR Performance platform]. The setup for the experiment is shown in Figure 1. 7 8 [[Image(InterDigital-5G-NR-Tut.png, 800px)]] 9 10 TODDO Setup Description: 11 * gNodeB and UE 12 * Two nodes for controling them 13 * Three subnets as shown 14 * routing 5 15 6 16 == Prerequisites == 7 17 In order to access the test bed, create a reservation and have it approved by the reservation service. Access to the resources are granted only after the reservation is confirmed. Please follow the process shown on [wiki:cosmos_workflow the COSMOS work flow page] to get started. 8 18 9 == Set up == 10 The setup for experimenting with the InterDigital 5G-NR mmWave platform is shown in Figure 1. 11 12 [[Image(InterDigital-5G-NR-Tut.png, 800px)]] 13 14 TODDO Experimetn Description: 15 * gNodeB and UE 16 * Two nodes for controling them 17 * Three subnets as shown 18 * routing 19 == Tutorial Setup == 19 20 20 21 Follow the steps below to gain access to the [wiki:/hardware/Domains/sb1 sandbox 1 console] and set up nodes with appropriate images. … … 24 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 26 1. Load the images on the computing nodes: in each of the two session, start the [Documentation/Short/LoadImage omf image loading] commands: 26 || SSH ession 1 for gNodeB || SSH Session 2 for UE ||27 || {{{omf load -t srv3-lg1 -i ID-5G-gNB.ndz }}} || {{{omf load -t srv4-lg1 -i ID-5G-UE.ndz}}} ||27 || SSH session 1 for gNodeB || SSH Session 2 for UE || 28 || {{{omf load -t srv3-lg1 -i ID-5G-gNB.ndz -r 50 }}} || {{{omf load -t srv4-lg1 -i ID-5G-UE.ndz -r 50}}} || 28 29 1. Turn the server nodes and NR platform devices on: 29 30 {{{ … … 31 32 }}} 32 33 33 == Ex ecution ==34 == Experiment Execution == 34 35 35 36 === Configure Routing on the two compute nodes === … … 39 40 userid@console:~$ ssh root@srv3-lg1 40 41 root@srv3-lg1:~$ ./setup_gNodeB.sh 42 --------------- 43 Make sure to start the gNodeB modem on the MPU by logging in with: 44 sshpass -p root ssh -o StrictHostKeyChecking=no root@192.168.1.2 45 and running: 46 root@NR-SW-MPU-gNB:~# ./start_all.sh 47 ---------------- 48 net.ipv4.ip_no_pmtu_disc = 1 49 root@srv3-lg1:~# 41 50 }}} 42 51 … … 47 56 }}} 48 57 49 The two scripts will start the appropriate firmware on both NR Platform devices and setup routing to push the test traffic from the server that is attached to UE through the 5G-NR link. The NR Platform will automatically “connect” a link between the gNB and UR. This can be verified via the NR GUI58 The two scripts setup routing to push the test traffic from the server that is attached to UE through the 5G-NR link. 50 59 60 [[CollapsibleStart(Routing Scripts)]] 51 61 The two scripts are shown in the table below: 52 62 … … 58 68 {{{ 59 69 #!/bin/bash 60 # Start the gNodeB on the MPU 61 sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2 "sh /home/root/start_all.sh &" 62 # Turn on routing 70 echo "---------------" 71 echo "Make sure to start the gNodeB modem on the MPU by logging in with:" 72 echo "sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2" 73 echo "and running:" 74 echo "root@NR-SW-MPU-gNB:~# ./start_all.sh" 75 echo "----------------" 76 # Turn on routing 63 77 echo 1 > /proc/sys/net/ipv4/ip_forward 64 78 sysctl -w net.ipv4.ip_no_pmtu_disc=1 … … 93 107 }}} 94 108 }}} 109 [[CollapsibleEnd]] 95 110 96 === NR GUI Setup & Instructions === 111 === Start services on the two MPUs === 112 113 1. ssh into gNodeB MPU at 192.168.1.2 with username "root" and password "root" and execute the setup script "start_all.sh": 114 {{{ 115 root@srv3-lg1:~# ssh root@192.168.1.2 116 root@192.168.1.2's password: 117 root@NR-SW-MPU-gNB:~# ./start_all.sh 118 root@NR-SW-MPU-gNB:~# metal: info: metal_uio_dev_open: No IRQ for device 3ed80000.shm. 119 120 root@NR-SW-MPU-gNB:~# exit 121 logout 122 Connection to 192.168.1.2 closed. 123 root@srv3-lg1:~# 124 }}} 125 1. ssh into UE MPU at 192.168.2.1 with username "root" and password "root: and execute the setup script "start_all.sh": 126 {{{ 127 root@srv4-lg1:~# ssh 192.168.2.1 128 root@192.168.2.1's password: 129 root@NR-SW-MPU-UE:~# ./start_all.sh 130 root@NR-SW-MPU-UE:~# metal: info: metal_uio_dev_open: No IRQ for device 3ed80000.shm. 131 132 root@NR-SW-MPU-UE:~# exit 133 logout 134 Connection to 192.168.2.1 closed. 135 root@srv4-lg1:~# 136 }}} 137 138 The two scripts will start the appropriate firmware on both NR Platform devices. The NR Platform will automatically “connect” a link between the gNB and UR. This can be verified via the NR GUI 139 140 === GUI Setup & Instructions === 141 97 142 Note that the GUI web server has already been started during Linux startup. 98 Open the browser and point it at '''http://localhost:8080''' (if using ssh tunneling) or at '''http://srv3-lg1.sb1.cosmos-lab.org:3005''' 143 Open the browser and point it at '''http://localhost:8080''' (if using ssh tunneling) or at '''http://srv3-lg1.sb1.cosmos-lab.org:3005''' if using VPN. 144 99 145 === Sending iperf data between the gNB and UE === 146 100 147 The following commands are provided as an example of how to send Downlink iperf data traffic on the NR 28GHz mmW OTA link via the compute machines that are attached to the gNB and UE platforms 101 148 … … 112 159 === Analyze the NR link performance via the NR GUI === 113 160 114 115 161 [[Image(NR-gui.png)]] 116 162 163 == Shutting Down Resources == 164 165 Turn off the server nodes and NR platform devices: 166 {{{ 167 omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2 168 }}}