Fully Open Edge Cloud

HowTo Set up Rapid.Space BBU With Lopcomm RRH

Set up Rapid.Space BBU With Lopcomm RU
  • Last Update:2023-10-19
  • Version:002
  • Language:en

How To Set up Rapid.Space BBU with Lopcomm RRH via CRPI

This tutorial  explains how to set up Rapid.Space BBU with Lopcomm RRH via CRPI

The Lopcomm RRH used for the tutorial is xxx (Model name); The CPRI card used in the Tutorial is from Amarisoft

Agenda

  1. Preparation
  2. Supply and request ors-amarisoft
  3. SSH to RRH via CPRI
 
 

Preparation

Before you start, make sure you have installed: 

Re6st verification: 

$ systemctl status re6stnet.service 
● re6stnet.service - Resilient, Scalable, IPv6 Network application
     Loaded: loaded (/usr/lib/systemd/system/re6stnet.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-12-21 11:35:46 CET; 1 months 25 days ago
   Main PID: 1288 (re6stnet)
      Tasks: 5 (limit: 38103)
     Memory: 62.4M
        CPU: 54min 23.294s
     CGroup: /system.slice/re6stnet.service
             ├─   1288 /opt/re6st/parts/python2.7/bin/python2.7 /usr/sbin/re6stnet @re6stnet.conf
             ├─   1958 openvpn --dev-type tap --dev re6stnet-tcp --persist-tun --persist-key --script-security 2 --up /opt/re6st/eggs/re6stnet-0.583-py2.7.egg/re6st/ovpn-client --tls-server --mode server ->
             ├─   1966 babeld -h 15 -H 15 -L /var/log/re6stnet/babeld.log -S /var/lib/re6stnet/babeld.state -I /var/run/re6stnet/babeld.pid -s -C ipv6-subtrees true -C redistribute local deny -C redistribu>
             ├─2140311 openvpn --dev-type tap --dev re6stnet6 --persist-tun --persist-key --script-security 2 --up /opt/re6st/eggs/re6stnet-0.583-py2.7.egg/re6st/ovpn-client --nobind --client --remote 195.>
             └─2197267 openvpn --dev-type tap --dev re6stnet2 --persist-tun --persist-key --script-security 2 --up /opt/re6st/eggs/re6stnet-0.583-py2.7.egg/re6st/ovpn-client --nobind --client --remote 178.>

Make sure you have re6st installed to install SlapOS. Here is the verification of slapos:

$ slapos

usage: slapos [--version] [-v | -q] [--debug] [--log-file LOG_FILE] [--log-color] [--log-time] [-h]

 

SlapOS client 1.7.13

optional arguments:
  --version             show program's version number and exit
  -v, --verbose         Increase verbosity of output. Can be repeated.
  -q, --quiet           Suppress output except warnings and errors.
  --debug               Show tracebacks on errors.
  --log-file LOG_FILE, --logfile LOG_FILE, --log_file LOG_FILE
                        Specify a file to log output (default: console only)
  --log-color           Colored log output in console (stripped if redirected)
  --log-time            Include timestamp in console log
  -h, --help            show this help message and exit
 

Add the licence

Get license from Rapid.Space.

$ ssh root@bbu mkdir -p .amarisoft && scp lteenb.key ltemme.key root@bbu:.amarisoft/

Test the licences by launching lte. 

 

Add setcap

Login to your BBU with root: 

$ ssh root@bbu

create /opt/amarisoft directory and /opt/amarisoft/setcap file

Put the content in /opt/amarisoft/setcap : 

#!/bin/bash
BINARY=$1
setcap cap_net_bind_service,cap_net_raw,cap_net_admin=+ep $BINARY

root@bbu: echo "slapsoft ALL=NOPASSWD:/opt/amarisoft/setcap" > slapsoft-setcap
root@bbu: chmod 440 slapsoft-setcap
root@bbu: mv slapsoft-setcap /etc/sudoers.d/
root@bbu: chown slapsoft: /opt/amarisoft/setcap
root@bbu: chmod +x /opt/amarisoft/setcap

Add setcap so dnsmaq can be used. 

$ ip link set dev slaptapX up

Install ORS playbook

$ wget https://deploy.erp5.net/ors && bash ors

Make sure slapos has been properly installed. Run the script to install the ORS playbook:

$ wget https://deploy.erp5.net/ors && bash ors

Supply and Request the software release

  1. Refer How To Supply A Software To A Computer to supply ORS (FDD) (instead of Theia Runner) on your slapos-node installed BBU.
  2. Refer How To Request A Service On A Specific Computer to request ORS (FDD) (instead of Theia Runner) on your slapos-node installed BBU. 
    • Software Type: select "eNB"
    • RRH: select "Lopcomm ORAN"
    • DL EARFCN: 300
    • dnsmasq: true
    • RRH MAC address: input your RRH MAC address, so the RRH can get the IP from dnsmasq
    • cpri_rx_delay: 25.11
    • cpri_tx_delay: 14.71
    • cpri_tx_dbm: 63

 

Wait your service to be ready

 

Amarisoft configuration for Lopcomm RU is integrated with Rapid.Space panel. 

The CPRI lock should arrive as soon as the service is deployed, meaning the U-plane work by then. 

 

More help

Please search "ORS" as keyword in https://handbook.rapid.space/user