summaryrefslogtreecommitdiffstats
path: root/docs/release/installation/installation.instruction.rst
blob: 03316f35a9a5b54806ff235ced9c63541fe6862c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0


========
Abstract
========

This document describes how to install <cran> raletive subproject, it's dependencies and required system resources.

.. contents::
   :depth: 3
   :local:

Version history
---------------------

+--------------------+--------------------+--------------------+--------------------+
| **Date**           | **Ver.**           | **Author**         | **Comment**        |
|                    |                    |                    |                    |
+--------------------+--------------------+--------------------+--------------------+
| 2019-03-19         | 0.1.0              | Weichen Ni         | First draft        |
|                    |                    |                    |                    |
+--------------------+--------------------+--------------------+--------------------+
|                    |                    |                    |                    |
|                    |                    |                    |                    |
+--------------------+--------------------+--------------------+--------------------+
|                    |                    |                    |                    |
|                    |                    |                    |                    |
|                    |                    |                    |                    |
+--------------------+--------------------+--------------------+--------------------+


Introduction
============
<INTRODUCTION TO THE SCOPE AND INTENTION OF THIS DOCUMENT AS WELL AS TO THE SYSTEM TO BE INSTALLED>


This document describes the supported software and hardware configurations for the OPNFV C-RAN project relative reference as well as providing guidelines on how to install and
configure such reference system.

Although the available installation options gives a high degree of freedom in how the system is set-up,
with what architecture, services and features, etc., not nearly all of those permutations provides
a OPNFV compliant reference architecture. Following the guidelines in this document ensures
a result that is OPNFV compliant.

The audience of this document is assumed to have good knowledge in network and Unix/Linux administration.


Preface
=======
<DESCRI
BE NEEDED PREREQUISITES, PLANNING, ETC.>

Before starting the installation of C-RAN@OPNFV, some planning must preceed.

First of all, you need to download OAI eNodeB and UE tar packeage and have them installed.
link as follow :

The eNodeB code link :
https://drive.google.com/open?id=1_BiK2vgfxdHg3hsBxvwCObcal3bVP0SD

The UE code link:
https://drive.google.com/open?id=1pwepCkk2FU6hClRL_lLnsTVYkKkGcUci


Software requirements
=====================

you will need a node of baremental envirment with two VMs.

Host OS: centos  x86_64-linux-3.10.0-51.el7.x86_64

Guest os: ubuntu 14.04.3 linux kernel>=3.19

VM model: Memory: 4GB, hard disk: 15GB, vCPU: 2


Hardware requirements
=====================

Following minimum hardware requirements must be met for installation of C-RAN@OPNFV:

Suggeted hardwrare, other capable hardware is fine.
HP DL380 PGen8, memory 64G, frequency 3.0, network card 100Mbps, hard disk 600GB



Installation manual
================================================

Based on the OAI community, CMCC contributes different version of BBU function realization. CMCC will update code when the internal legal process finished. 


I. Initial environment construction

1. Operating System : ubuntu14.04 version, linux kernel 3.19

2. In VM1, decompress the eNB.tar. In VM2, decompress the UE.tar.

eNB.tar and UE.tar can be stored anywhere you like, take /home/ as an example.

cd /home/

tar –xzvf eNB.tar

tar –xzvf UE.tar

3. Run the following command in two VMs respectively:

Open directory: cd openairinterface5g-develop-nos1/cmake_targets

Executive command (under root mode): ./build_oai -I --oaisim -x --install-system-files

Intall the lib and related tools.



II. VM1 configuration:


1. Open directory: openairinterface5g-develop-nos1/cmake_targets

2. Run the script: sh build_rcc.sh

3. Run the script: sh run_rcc.sh


III. VM2 configuration

1. Configure the VM external communication IP

(1) Open file: openairinterface5g-develop-nos1/targets/PROJECTS/GENERIC-LTE-EPC/CONF/ rru.oaisim.conf

(2) Modify the local network address, including the UE IP and local network port IP.

 RUs=(

{

local_if_name = "";//Local network port name, e.g.eth0

remote_address = ""; //UE IP

 local_address = "";// IP of local network port

……

})

2. Code compiling:

(1) Open directory: openairinterface5g-develop-nos1/cmake_targets

(2) Run the script: sh build_rcc.sh

(3) Run the script: sh run_rcc.sh

(4) access success: In VM1, get the following log  RRCConnectionReconfigurationComplete

(5) Test case description
 

Test objection: Test the NFVI platform supporting for radio access network

Test index: Observe the downlink bandwidth of radio access network

Test scheme: Launch the Iperf function respectively in VM1 and VM2. The UE VM launches the iperf server, eNB launches the iperf client.

Test procedure:  

IP: eNB ip is 10.0.1.1, UE ip is 10.0.1.2  (If you want to modify the ip, check the openairinterface5g-develop-nos1/targets/tools/init_nas_nos1)
The destination IP is: 10.0.1.2, , the source IP is: 10.0.1.1
Under UDP mode, Iperf client sends the packets to iperf server, the test time continues 120s, the number of connection is one, the packet loss limit to 0.6%, recording the network bandwidth.

Futher test command can be found on C-RAN wiki page:
https://wiki.opnfv.org/pages/viewpage.action?pageId=24576836