Changes between Version 15 and Version 16 of Tutorials/4G5G/Inter Digital-5G
- Timestamp:
- May 11, 2020, 1:29:33 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/4G5G/Inter Digital-5G
v15 v16 25 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 26 1. Make sure all the nodes and devices used in the experiment are turned off: 27 {{{ 27 {{{#!shell 28 28 omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2 29 29 }}} … … 41 41 42 42 * Execute NR gNB setup script on srv3-lg1 43 {{{ 43 {{{#!shell-session 44 44 userid@console:~$ ssh root@srv3-lg1 45 45 root@srv3-lg1:~$ ./setup_gNodeB.sh … … 55 55 56 56 * Execute NR UE setup script on srv4-lg1. 57 {{{ 57 {{{#!shell-session 58 58 userid@console:~$ ssh root@srv4-lg1 59 59 root@srv4-lg1:~$ ./setup_UE.sh … … 70 70 |--------------- 71 71 {{{#!td 72 {{{ 72 {{{#!shell 73 73 #!/bin/bash 74 74 echo "---------------" … … 98 98 |--------------- 99 99 {{{#!td 100 {{{ 100 {{{#!shell 101 101 #!/bin/bash 102 102 echo "---------------" … … 125 125 126 126 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 128 128 root@srv3-lg1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.1.2 129 129 root@NR-SW-MPU-gNB:~# ./start_all.sh … … 136 136 }}} 137 137 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 139 139 root@srv4-lg1:~# sshpass -p "root" ssh -o StrictHostKeyChecking=no root@192.168.2.1 140 140 root@NR-SW-MPU-UE:~# ./start_all.sh … … 152 152 153 153 Use '''mtr''' utility to confirm that traffic is going through the NR link: 154 {{{ 154 {{{#!shell-session 155 155 root@srv4-lg1:~# mtr -c 1 -r 8.8.8.8 156 156 Start: Sat Feb 29 14:32:31 2020 … … 194 194 195 195 * In the UE console session start the iperf server 196 {{{ 196 {{{#!shell 197 197 iperf3 -s -i 1 198 198 }}} 199 199 * In the gNodeB session strat the iperf client 200 {{{ 200 {{{#!shell 201 201 iperf3 -c 192.168.2.2 -i 1 -u -b 20M -l 1472 -t 30 202 202 }}} … … 213 213 |--------------- 214 214 {{{#!td align=left valign=top 215 {{{ 215 {{{#!shell-session 216 216 root@srv3-lg1:/# iperf3 -c 192.168.2.2 -i 1 -u -b 20M -l 1472 -t 3 217 217 Connecting to host 192.168.2.2, port 5201 … … 231 231 }}} 232 232 {{{#!td align=left valign=top 233 {{{ 233 {{{#!shell-session 234 234 root@srv4-lg1:~# iperf3 -s -i 1 235 235 ----------------------------------------------------------- … … 262 262 263 263 Turn off the server nodes and NR platform devices: 264 {{{ 264 {{{#!shell-session 265 265 omf tell -a offh -t srv3-lg1,srv4-lg1,rfdev2-1,rfdev2-2 266 266 }}} … … 269 269 270 270 If 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 272 272 root@srv3-lg1:~# ./prepare.sh 273 273 }}} 274 274 This 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. 275 275 At 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 277 277 username@console:~# omf save -n srv3-lg1.sb1.cosmos-lab.org 278 278 }}}