Scripts for installing StarlingX in virtualized environments
Go to file
Daniel Caires 90c8b451d0 Update repo README
Update information about how the VirtualBox script works.

Story: 2005051
Task: 49024

Change-Id: I632d1c1de6dcd8b111e7c6d52ffb4945e5d749be
Signed-off-by: Daniel Caires <daniel.caires@encora.com>
2023-10-30 17:09:37 +00:00
libvirt Merge "Script to show host's and lab's disk usage" 2023-08-25 14:12:21 +00:00
provision repair script simplex_stage-1.sh for deployment 2018-11-23 16:50:11 +08:00
requirements libvirt: add pep8/flake8 to tox job 2023-07-24 17:15:45 -04:00
virtualbox/pybox Reuse SSH Client 2023-10-25 10:59:55 -03:00
.gitreview Add .gitreview file 2023-06-28 09:46:20 -04:00
.zuul.yaml libvirt: add pep8/flake8 to tox job 2023-07-24 17:15:45 -04:00
pylint.rc Assigned local port doesn't stop installation 2023-07-05 11:24:17 -03:00
README.rst Update repo README 2023-10-30 17:09:37 +00:00
tox.ini Merge "Review lab-setup files" 2023-08-11 13:50:12 +00:00

StarlingX Deployment in Virtualized Environments

A StarlingX system can be installed in a variety of platforms with the following deployment options:

  • Standard Controller
    • Dedicated Storage
    • Controller Storage
  • All-in-one
    • Duplex
    • Simplex

Deployment options uses a variety of configurations based on 3 node identities:

  • Controller
  • Storage
  • Compute

Standard Controller :: Dedicated Storage

The software installation workflow for an initial Ceph-backed block storage on dedicated storage nodes is:

  • Controller-0 Installation and Provisioning
  • Controller-1 / Compute Host / Storage Host Installation
  • Controller-1 Provisioning
  • Provider Network Configuration
  • Compute Host Provisioning
  • Storage Host Provisioning

Standard Controller :: Controller Storage

The software installation workflow for an initial LVM-backed block storage on controller nodes is:

  • Controller-0 Installation
  • Controller-0 and System Provisioning
  • Controller-1 / Compute Host Installation
  • Controller-1 Provisioning
  • Compute Host Provisioning

All-in-one :: Duplex

The software installation workflow for two combined controller / compute nodes is:

  • Controller-0 Installation and Provisioning
  • Controller-1 Installation and Provisioning

All-in-one :: Simplex

The software installation workflow for a single combined controller / compute node is:

  • Controller-0 Installation and Provisioning

Virtualization Environments

The available virtualization products where StarlingX has been deployed are:

  • VirtualBox
  • Libvirt/QEMU

Directory: libvirt

Deployment under Libvirt/QEMU uses a set of xml files to define the node identity:

  • Controller All-in-one
  • Controller
  • Compute
  • Storage

These nodes are used to create the virtual machines and the network interfaces to setup the StarlingX system:

  • Setup Simplex
    • 1 Controller
  • Setup Duplex
    • 2 Controllers
  • Setup Controller Storage
    • 2 Controllers
    • 2 Computes
  • Setup Dedicated Storage
    • 2 Controllers
    • 2 Computes
    • 2 Storages

Directory: virtualbox

Deployment under VirtualBox uses a set of parameters passed via terminal to define the StarlingX system:

  • Controller All-in-one
  • Controller
  • Compute
  • Storage

These parameters are used to create the virtual machines, the network interfaces and completly install StarlingX.

The script will create a number of virtual machines depending on the setup chosen:

  • Setup Simplex
    • 1 Controller
  • Setup Duplex
    • 2 Controllers
  • Setup Controller Storage
    • 2 Controllers
    • 2 Computes
  • Setup Dedicated Storage
    • 2 Controllers
    • 2 Computes
    • 2 Storages

Directory: provision

A set of scripts are provided to automate the provisioning of data interfaces and local storage resources for the compute function for StarlingX Duplex or Simplex.