1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
8 O-DU High Installation Guide
9 *****************************
14 This document describes how to install O-DU High, it's dependencies and required system resources.
23 +--------------------+--------------------+--------------------+--------------------+
24 | **Date** | **Ver.** | **Author** | **Comment** |
26 +--------------------+--------------------+--------------------+--------------------+
27 | 2020-12-04 | 1.0.1 | HCL Technologies | Cherry Release |
29 +--------------------+--------------------+--------------------+--------------------+
30 | 2020-12-04 | 1.0 | Radisys | Cherry Release |
32 +--------------------+--------------------+--------------------+--------------------+
38 This document describes the hardware and software requirements along with guidelines on how to install O-DU High.
40 The audience of this document is assumed to have good knowledge in RAN concepts and Linux system.
46 O-DU High images can be built using the source code or corresponding docker images can be downloaded.
52 Following minimum hardware requirements must be met for installation of O-DU High
54 +--------------------+----------------------------------------------------+
55 | **HW Aspect** | **Requirement** |
57 +--------------------+----------------------------------------------------+
58 | **# of servers** | 1 |
59 +--------------------+----------------------------------------------------+
62 +--------------------+----------------------------------------------------+
65 +--------------------+----------------------------------------------------+
68 +--------------------+----------------------------------------------------+
71 +--------------------+----------------------------------------------------+
74 Software installation and deployment
75 ==========================================
77 This section describes the installation of the O-DU High on the reference hardware.
82 Following libraries are required to compile and execute O-DU High:
85 - Ubuntu : sudo apt-get install -y build-essential
86 - CentOS : sudo yum groups mark install -y “Development Tools”
88 Ensure the version is 4.6.3 and above using
93 - Ubuntu : sudo apt-get install -y libsctp-dev
94 - CentOS : sudo yum install -y lksctp-tools-devel
97 - Ubuntu : sudo apt-get install -y libpcap-dev
98 - CentOS : sudo yum install -y libpcap-devel
105 - Create a folder to clone the O-DU High code into. The folder is hereafter referred to as <O-DU High Directory>.
107 - Clone code into <O-DU High Directory>
109 git clone "https://gerrit.o-ran-sc.org/r/o-du/l2"
112 Setting up Netconf server
113 -------------------------
115 Following steps are required to compile ODU with O1 interface enabled:
117 - Install Netconf libraries:
119 libssh, libyang, libnetconf2, sysrepo, netopeer2
121 Script is provided in the following folder to install these libraries
125 | cd <O-DU High Directory>/l2/build/scripts
126 | sudo ./install_lib.sh -c
128 - Start Netopeer2-server:
131 | cd <O-DU High Directory>/l2/build/scripts
132 | sudo ./netopeer-server.sh start
134 - Create a new netconf user
136 Switch to root user and run following commands
140 | adduser --system netconf && \\
141 | echo "netconf:netconf!" | chpasswd
143 | mkdir -p /home/netconf/.ssh && \\
144 | ssh-keygen -A && \\
145 | ssh-keygen -t dsa -P '' -f /home/netconf/.ssh/id_dsa && \\
146 | cat /home/netconf/.ssh/id_dsa.pub > /home/netconf/.ssh/authorized_keys
148 - Install the YANG modules
152 | cd <O-DU High Directory>/l2/build/yang
153 | sysrepoctl -i ./yang/o-ran-sc-odu-alarm-v1.yang
154 | sysrepoctl -i ./yang/o-ran-sc-odu-interface-v1.yang
156 - Configure the startup IP and Port configurations for DU, CU and RIC
160 | cd <O-DU High Directory>/l2/build/config
162 | Open the startup_config.xml and edit the desired IP and Port for CU, DU and RIC.
163 | Then load the configuration in the sysrepo running datastore using the command below
165 | sysrepocfg --import=startup_config.xml --datastore running --module o-ran-sc-odu-interface-v1
172 - Navigate to Build folder
174 cd <O-DU High Directory>/l2/build/odu
176 - Clean O-DU High binary
178 make clean_odu MACHINE=BIT64 MODE=FDD
181 - Compile O-DU High binary
183 make odu MACHINE=BIT64 MODE=FDD
188 - Navigate to Build folder
190 cd <O-DU High Directory>/l2/build/odu
192 - Clean CU Stub binary
194 make clean_cu NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
196 - Compile CU Stub binary
198 make cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
202 - Navigate to Build folder
204 cd <O-DU High Directory>/l2/build/odu
206 - Clean RIC Stub binary
208 make clean_ric NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
210 - Compile RIC Stub binary
212 make ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD
215 Compilation with O1 interface enabled
216 --------------------------------------
220 - Navigate to Build folder
222 cd <O-DU High Directory>/l2/build/odu
224 - Clean O-DU High binary
226 make clean_odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
229 - Compile O-DU High binary
231 make odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
236 - Navigate to Build folder
238 cd <O-DU High Directory>/l2/build/odu
240 - Clean CU Stub binary
242 make clean_cu NODE=TEST_STUB MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
244 - Compile CU Stub binary
246 make cu_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
250 - Navigate to Build folder
252 cd <O-DU High Directory>/l2/build/odu
254 - Clean RIC Stub binary
256 make clean_ric NODE=TEST_STUB MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
258 - Compile RIC Stub binary
260 make ric_stub NODE=TEST_STUB MACHINE=BIT64 MODE=FDD O1_ENABLE=YES
264 The above generated images can be found at:
266 - O-DU High - <O-DU High Directory>/l2/bin/odu
268 - CU Stub - <O-DU High Directory>/l2/bin/cu_stub
270 - RIC Stub - <O-DU High Directory>/l2/bin/ric_stub