Compass 4 nfv Euphrates hands on Justin chi

  • Slides: 27
Download presentation
Compass 4 nfv Euphrates hands on Justin chi (chigang@huawei. com)

Compass 4 nfv Euphrates hands on Justin chi ([email protected] com)

What is Compass 4 nfv • Installer project based on Compass. • Released in

What is Compass 4 nfv • Installer project based on Compass. • Released in OPNFV from Brahmaputra. • Deployment of OPNFV full stack, Open. Stack, SDN, NFV features. • Ansible is used by default as a configuration management tool • Plugins support also allows users to extend the system 2021 -02 -21

What is Compass 4 nfv 2021 -02 -21

What is Compass 4 nfv 2021 -02 -21

What is new in Euphrates for Compass 4 nfv • Containerized Compass-core – Reduce

What is new in Euphrates for Compass 4 nfv • Containerized Compass-core – Reduce the dependence on Jumphost – Release/archive as containers. • Containers dedicated to deploy openstack • Containers dedicated to deployment K 8 s • Containers dedicated to deploy other Open. Stack distros • Open. Stack-ansible(upstream) as Open. Stack adapter • Kubespray(upstream) as K 8 s adapter. 2021 -02 -21

What is new in Euphrates for Compass 4 nfv 2021 -02 -21

What is new in Euphrates for Compass 4 nfv 2021 -02 -21

flow-process of deployment 2021 -02 -21

flow-process of deployment 2021 -02 -21

Select the appropriate deployment mode • Virtual deployment – Easy and quick – No

Select the appropriate deployment mode • Virtual deployment – Easy and quick – No setting for networking – Good for beginners • Bare metal deployment – Understanding your environment • Hardware information • Networking, switch 2021 -02 -21

Select the appropriate deployment mode • Virtual deployment – Preconditions • One blade server

Select the appropriate deployment mode • Virtual deployment – Preconditions • One blade server with Ubuntu preinstalled • Internet access • Get Compass 4 nfv deployment scripts – Virtual host configurations • Number of virtual hosts • Flavor of each virtual host • Operating system of each virtual host 2021 -02 -21

Select the appropriate deployment mode • Virtual deployment – Select the Open. Stack verson

Select the appropriate deployment mode • Virtual deployment – Select the Open. Stack verson • Get Started • Quick Start way for virtual deployment – Just run the commend below curl https: //raw. githubusercontent. com/opnfv/compass 4 nfv/stable/euphrates/quickstart. sh | bash 2021 -02 -21

Select the appropriate deployment mode • Bare metal deployment – Preconditions • Bare metal

Select the appropriate deployment mode • Bare metal deployment – Preconditions • Bare metal servers – 1 Jump. Server(Ubuntu preinstalled) » Ubuntu preinstalled » Internet access » Select a NIC as Install networking » Connecting servers IPMI network – Several servers where Open. Stack deployed » MAC addresses of NICs 2021 -02 -21

Select the appropriate deployment mode • Bare metal deployment – Preconditions • Physical networking

Select the appropriate deployment mode • Bare metal deployment – Preconditions • Physical networking configuration – LAN switch configuration – IPMI IP/user/pass of each baremetal – Servers physical networking configuration 2021 -02 -21

Understanding Open. Stack network • • Management network Guest network External network API network

Understanding Open. Stack network • • Management network Guest network External network API network 2021 -02 -21

Understanding network • • mgmt: Management network tenant: Guest network external: External +API network

Understanding network • • mgmt: Management network tenant: Guest network external: External +API network Storage network 2021 -02 -21

Servers configuration in Compass • • IPMI IP/User/Pass PXE Mac address NICs rename(optional) Assign

Servers configuration in Compass • • IPMI IP/User/Pass PXE Mac address NICs rename(optional) Assign role for each server 2021 -02 -21

Network configuration in Compass • • • Assign NIC for network Assign Vlan for

Network configuration in Compass • • • Assign NIC for network Assign Vlan for network Assign IP ranges Assign network in roles Assign Public IP for floating IP – Public VIP for Horizon access 2021 -02 -21

Enable Scenarios • ODL, KVM, MOON, OVS-DPDK • Specific networking configuration for OVS-DPDK –

Enable Scenarios • ODL, KVM, MOON, OVS-DPDK • Specific networking configuration for OVS-DPDK – Additional NICs for DPDK networking 2021 -02 -21

Start Bare metal deployment • • Host OS Open. Stack Version Scenario Networking configuration

Start Bare metal deployment • • Host OS Open. Stack Version Scenario Networking configuration 2021 -02 -21

Deployment finished • Horizon Access – IP tables rules(required when virtual deployment) – Get

Deployment finished • Horizon Access – IP tables rules(required when virtual deployment) – Get Horizon IP – Get Horizon Password • Open. Stack CLI – Access Compass-tasks container – Access utility lxc-container on controller 2021 -02 -21

Testing and Verification • Run Functest health check – Get Functest container – Get

Testing and Verification • Run Functest health check – Get Functest container – Get Open. Stack openrc – Get Open. Stack credential 2021 -02 -21

Testing and Verification • Run yardstick 2021 -02 -21

Testing and Verification • Run yardstick 2021 -02 -21

K 8 s deployment • Virtual deployment(Recommended) – Preconditions • One blade server with

K 8 s deployment • Virtual deployment(Recommended) – Preconditions • One blade server with Ubuntu preinstalled • Internet access • Get Compass 4 nfv deployment scripts – Virtual host configurations • Number of virtual hosts • Flavor of each virtual host • Operating system of each virtual host 2021 -02 -21

K 8 s deployment • Network configuration – Only two networks in K 8

K 8 s deployment • Network configuration – Only two networks in K 8 s configuration • Management network • External network • Host configuration – Assign K 8 s roles in Host – Assign number of host 2021 -02 -21

Default networking configuration 2021 -02 -21

Default networking configuration 2021 -02 -21

Deployment finished • K 8 s CLI – Access Compass-tasks container – Access each

Deployment finished • K 8 s CLI – Access Compass-tasks container – Access each host 2021 -02 -21

When deployment fail • Find the log – work/deploy/log/compass-deploy. log • Try again(if online

When deployment fail • Find the log – work/deploy/log/compass-deploy. log • Try again(if online deployment) • Send your questions to us – IRC: #opnfv-compass 4 nfv – Mail: [email protected] opnfv. org 2021 -02 -21

Reference • Installation Guide – http: //docs. opnfv. org/en/stableeuphrates/submodules/compass 4 nfv/docs/release/installation/in dex. html#compass 4

Reference • Installation Guide – http: //docs. opnfv. org/en/stableeuphrates/submodules/compass 4 nfv/docs/release/installation/in dex. html#compass 4 nfv-installation • Wiki – https: //wiki. opnfv. org/display/compass 4 nfv/Containerized+Comp ass+for+K 8 S+Integration 2021 -02 -21

Questions?

Questions?