wiki:Tutorials/Cloud/OSM

Version 17 (modified by msherman, 5 years ago) ( diff )

Open Source MANO (OSM)

A full deployment consists of 3 components:

  • OSM as the NFV Orchestrator
  • OpenVIM or Openstack as the infrastructure manager (only OpenVIM is supported for now)
  • some number of compute nodes, where openvim will run VMs under OSM's instruction

OSM Node

This tutorial implements the getting started from: https://osm.etsi.org/wikipub/index.php/OSM_Release_SIX

and adds support for ORBIT hardware.

The previous tutorial targeted Ubuntu 14.04 and 16.04, this is updated for Ubuntu 18.04.

Pre-set-up:

omf load -t srv3-lg1.sb1.cosmos-lab.org -i oai_osm_1804.ndz

ssh Credentials: native / native

Web Credentials admin / admin

From Scratch

Dependencies:

  • 40Gb disk space
  • user:
    • non-root user,
    • with non-empty password
    • member of sudo, docker, lxd groups
  • Packages:
    • net-tools
  • ipv6 disabled
  1. Prepare the node
    1. Load the image: omf load -t srv3-lg1.sb1.cosmos-lab.org -i baseline_1804.ndz -r 60
    2. Turn the node on: omf tell -a on -t srv3-lg1.sb1.cosmos-lab.org
    3. Log in as root: ssh native@srv3-lg1.sb1.cosmos-lab.org
    4. set up non-root user echo native:native | chpasswd
    5. Add user to groups: sudo groupadd lxd && sudo groupadd docker && sudo usermod -a -G lxd,docker native
    6. logout: exit
    7. Log in as the user "native": ssh native@srv3-lg1.sb1.cosmos-lab.org
  2. Set up OSM
    1. Install "net-tools" sudo apt install net-tools
    2. Download script: wget https://osm-download.etsi.org/ftp/osm-6.0-six/install_osm.sh
    3. Make it executable: chmod +x install_osm.sh
    4. Run it: ./install_osm.sh 2>&1 | tee osm_install_log.txt
    5. enter "y"
      1. if it crashes, run lxd init
    6. choose all defaults, except none for ipv6
    7. if failed, rerun install_osm.sh
  3. Connect browser
    1. Via ssh tunnel
    2. via VPN TODO
    3. navigate browser to node control ip, enter admin/admin as credentials

VIM Node

Pre-Set up:

omf load -t srv2-lg1.sb1.cosmos-lab.org -i oai_vim_ctrl_1804.ndz

From Scratch

Compute Node 1-N

Pre-Set up:

omf load -t srv1-lg1.sb1.cosmos-lab.org -i oai_vim_compute_1804.ndz

From Scratch

Attachments (3)

Note: See TracWiki for help on using the wiki.