comac exemplar platform release installing and setting up...contents full pod tutorial by record...

26
Installing and Setting Up COMAC Exemplar Platform Release Pingping Lin, Doyoung Lee, Hyunsun Moon, Woojoong Kim ONF

Upload: others

Post on 29-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Installing and Setting Up COMAC Exemplar Platform Release

Pingping Lin, Doyoung Lee, Hyunsun Moon, Woojoong KimONF

Page 2: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Contents

Full pod tutorial by record video, we will hands by COMAC in a box.

• Part 1: “Physical Infrastructure” Pingping

• Part 2: “K8S & CORD Platform” Doyoung

• Part 3: “OMEC” Hyunsun

• Part 4: “CDN and Video Test” Woojoong

Page 3: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

1 Min to Setup Hardware Connectivity

management

Direct Attach Copper (DAC) QSFP+

Server

1G 10G

Server

1G 10G

Server

1G 10G

Internet

Server

1G 10G

1G

1G

10G

40G

40G

1G

L2 SW

L2 SW

OF SW

OR

Fiberoptic

Page 4: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

1 Min to Setup Hardware Connectivity:Front

Page 5: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

1 Min to Setup Hardware Connectivity : back

Page 6: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Software Overview

● Kernel modules○ “nf_conntrack_proto_sctp” for SCTP protocol ○ “vfio-pci for” SR-IOV

● Software List

○ git clone https://github.com/kubernetes-incubator/kubespray.git -b release-2.11

○ git clone https://gerrit.opencord.org/automation-tools

○ git clone https://gerrit.opencord.org/pod-configs

○ git clone https://gerrit.opencord.org/helm-charts

● SR-IOV SETUP○ Specify SPGWU to run on edge 3, install “VFIO driver” userspace APP with dpdk

○ Specify CDN to run on edge 2, install “Netdevice driver”

Page 8: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Contents

• Part 1: “Physical Infrastructure” Pingping

• Part 2: “K8S & CORD Platform” Doyoung

• Part 3: “OMEC” Hyunsun

• Part 4: “CDN and Video Test” Woojoong

Page 9: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

K8S and CORD Platform

Doyoung LeeONF/POSTECH

Page 10: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Kubespray (1/3)

- Multi-clusters for COMAC

CentralONF Router Management

central1eth0

eth2central2

eth0

eth2edge1

eth0

eth2

edge2eth0

eth2edge3

eth0

eth2

OF Switchma1

Edge

OF Switchma1

192.168.171.3 192.168.171.4 192.168.170.3 192.168.170.4 192.168.170.5

119.0.0.101 119.0.0.103

119.0.0.10

119.0.0.10213.0.0.202

Page 11: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Kubespray (2/3)

- Easy way to install Kubernetes cluster! - Use sample configuration files in automation-tools - automation-tools/comac/sample/central or edge or single

extra-var.yaml hosts.ini

Page 13: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

CORD Platform & COMAC Profiles

- CORD Platform- NEM (Network Edge Mediator): XOS- Logging: Logstash, Elasticsearch, Kibana- Monitoring: Grafana, Prometheus- Message Broker: Kafka- Controller: ONOS

- COMAC Profiles- Service graph- COMAC profiles

- Using overriding values for configuration

Page 15: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

CORD Platform

Page 16: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

COMAC Profiles

Page 17: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Contents

• Part 1: “Physical Infrastructure” Pingping

• Part 2: “K8S & CORD Platform” Doyoung

• Part 3: “OMEC” Hyunsun

• Part 4: “CDN and Video Test” Woojoong

Page 18: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

OMEC

Page 20: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Contents

• Part 1: “Physical Infrastructure” Pingping

• Part 2: “K8S & CORD Platform” Doyoung

• Part 3: “OMEC” Hyunsun

• Part 4: “CDN and Video Test” Woojoong

Page 21: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

CDN Installation

Woojoong KimOpen Networking Foundation

Page 22: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

How To Install CDN Local and Remote?

Video archiveMedia server

Video files

CDN server

Cached videos

Edge Cluster Central Cluster

NGINX

Ant media

ffMPEG

CDN-RemoteCDN-Local

Helm chart #1: CDN-Local Helm chart #2: CDN-Remote

Page 23: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

● File: omec-override-values-multi.yaml○ remote_ip: <IP address of any central cluster node>○ remote_streaming:

■ antmedia_ip: <IP address of any central cluster node>■ video_quality: {360, 480, 720} # for CDN-Remote

○ stream_name: <Name to access video stream → for URL>

23

CDN Configuration Variables

Page 26: COMAC Exemplar Platform Release Installing and Setting Up...Contents Full pod tutorial by record video, we will hands by COMAC in a box. • Part 1: “Physical Infrastructure” Pingping

Thank You

Follow Up Links:https://guide.opencord.org