O-RAN notes(2)---Bronze SMO deployment (1)

本文档介绍了如何部署O-RAN SC Bronze版本的SMO,包括所需的VM配置、Ubuntu 18.04 LTS操作系统、以及部署过程中的关键步骤,如生成cloud-init脚本、安装Kubernetes、Helm和Docker。过程中提到了针对不同镜像的下载问题和解决方案,最终成功部署了包含多个命名空间的K8s集群。
摘要由CSDN通过智能技术生成

O-RAN SC Bronze(or release 'B') has been released at 2020/6/21.

Follow link: https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=14221635

 

(1) SMO deployment

https://wiki.o-ran-sc.org/display/GS/SMO+Installation

First of all, you need a VM. Recommend OS is Ubuntu 18.04 LTS (Bionic Beaver).

dabs@smobronze:~/oran/dep/tools/k8s/bin$ uname -a
Linux smobronze 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

2020/7/4 update:

Minimum requirements on RAM and HD for SMO deployment:

  • 12GB for VM RAM
  • 30GB for VM hard disk
(10:46 dabs@smobronze smo) > top | grep Mem
KiB Mem : 12241356 total,   197140 free, 11103664 used,   940552 buff/cache
KiB Swap:        0 total,        0 free,        0 used.   847688 avail Mem 

(10:46 dabs@smobronze smo) > df /dev/sda1
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda1      ext4   49G   24G   23G  52% /

 

[Step 1: Obtaining the Deployment Scripts and Charts] is very simple:

dabs@smobronze:~$ mkdir oran
dabs@smobronze:~$ cd oran
dabs@smobronze:~/oran$ git clone http://gerrit.o-ran-sc.org/r/it/dep -b bronze
Cloning into 'dep'...
warning: redirecting to https://gerrit.o-ran-sc.org/r/it/dep/
remote: Counting objects: 3, done
remote: Total 4412 (delta 0), reused 4412 (delta 0)
Receiving objects: 100% (4412/4412), 2.21 MiB | 45.00 KiB/s, done.
Resolving deltas: 100% (1784/1784), done.
dabs@smobronze:~/oran$ cd dep/
dabs@smobronze:~/oran/dep$ git submodule update --init --recursive --remote
Submodule 'ric-dep' (https://gerrit.o-ran-sc.org/r/ric-plt/ric-dep) registered for path 'ric-dep'
Cloning into '/home/dabs/oran/dep/ric-dep'...
Submodule path 'ric-dep': checked out 'f13294efad66831d8140c35d21fb59d19160493d'

[Step 2: Generation of cloud-init Script]:

update dep/tools/k8s/etc/infra.rc:

dabs@smobronze:~/oran/dep/tools/k8s/etc$ cat infra.rc 
# modify below for RIC infrastructure (docker-k8s-helm) component versions
# RIC tested
#INFRA_DOCKER_VERSION=""
#INFRA_HELM_VERSION="2.12.3"
#INFRA_K8S_VERSION="1.16.0"
#INFRA_CNI_VERSION="0.7.5"
# older RIC tested
#INFRA_DOCKER_VERSION=""
#INFRA_HELM_VERSION="2.12.3"
#INFRA_K8S_VERSION="1.13.3"
#INFRA_CNI_VERSION="0.6.0"
# ONAP Frankfurt
INFRA_DOCKER_VERSION="18.09.7"
INFRA_K8S_VERSION="1.15.9"
INFRA_CNI_VERSION="0.7.5"
INFRA_HELM_VERSION="2.16.6"

run gen-cloud-init.sh to generate the k8s-1node-cloud-init-k_1_15-h_2_16-d_18_09.sh script:

dabs@smobronze:~/oran/dep/tools/k8s/bin$ ./gen-cloud-init.sh 
find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
reading in values in /home/dabs/oran/dep/tools/k8s/bin/../etc/env.rc
reading in values in /home/dabs/oran/dep/tools/k8s/bin/../etc/infra.rc
reading in values in /home/dabs/oran/dep/tools/k8s/bin/../etc/openstack.rc
dabs@smobronze:~/oran
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值