Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
A set of Ansible playbooks, defined by openness-experience-kits are used to achieve setup of Edge Connector and Edge GW with one-click.

...

In order to set some custom static hostname, a command can be used:

hostnamectl set-hostname <host_name>

...

In order to execute playbooks, inventory.ini must be configure configured to include specific hosts to run the playbooks on.

...

# ssh-keygen

Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):  <ENTER>
Enter passphrase (empty for no passphrase):  <ENTER>
Enter same passphrase again:  <ENTER>
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:vlcKVU8Tj8nxdDXTW6AHdAgqaM/35s2doon76uYpNA0 root@host
The key's randomart image is:
+---[RSA 2048]----+
|          .oo.==*|
|     .   .  o=oB*|
|    o . .  ..o=.=|
|   . oE.  .  ... |
|      ooS.       |
|      ooo.  .    |
|     . ...oo     |
|      . .*o+.. . |
|       =O==.o.o  |
+----[SHA256]-----+

Then, the generated key must be copied to every host from the inventory. It is done by running ssh-copy-id, e.g.:

...

  • git submodule update --init --recursive

Setup Environment

Enter the work directory:

  • cd ./5g-mec-cloud-gaming

...

NOTE: Playbooks for Edge Controller/Kubernetes master must be executed before playbooks for Edge Nodes.

NOTE: Edge Nodes and Edge Controller must be set up on different machines.

Uninstall Guide

Role The role of cleanup playbook is to revert changes made by deploy playbooks. Convention The convention for the scripts is: action_mode.sh [group].  Following script is available for cleanup:

  • cleanup_ne.sh [ controller | nodes]

Teardown The teardown is made by going step by step in reverse order and undoing the steps. For example, playbooks for Edge Controller/Kubernetes master must be executed before playbooks for Edge Nodes. During the unistall operation, the cleanup script of Edge Nodes should be executed first, and then run the cleanup script of Edge Controller / Kubernetes master.

...

For PRC users who have network problems, try the following mirrors.

  • Kubernetes

kubernetes Kubernetes repo URL: https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64, as a replacement of https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64.

Kubernetes repo key: https://mirrors.aliyun.com/kubernetes/yum/doc/yum-key.gpg, as a replacement of https://packages.cloud.google.com/yum/doc/yum-key.gpg.

                                   https://mirrors.aliyun.com/kubernetes/yum/doc/rpm-package-key.gpg, as a replacement of https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg.

  •  Kubeovn

Kubeovn repo: https://gitee.com/mirrors/Kube-OVN.git, as a replacement of https://github.com/alauda/kube-ovn.git.

Kubeovn raw file repo: https://gitee.com/mirrors/Kube-OVN/raw, as a replacement of https://raw.githubusercontent.com/alauda/kube-ovn.

Useful Commands

To display pods deployed in the default namespace:

  • kubectl get pods

...

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license
2Kubernetes1.17Apache 2.0 license
3Docker19.3Apache 2.0 license
4etcd 3.4.3-0Apache 2.0 license

edge GW (aka edgenode in openNESS)

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license
2Kubernetes1.17Apache 2.0 license
3Docker19.03Apache 2.0 license
4openvswitch2.11.4Apache 2.0 license
5kube-ovn 0.10.2Apache 2.0 license

5GCEmulator

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license