Jump to: navigation, search

StarlingX/Docs and Infra/InstallationGuides/virtual-AIO-Simplex

< StarlingX‎ | Docs and Infra‎ | InstallationGuides
Revision as of 19:39, 9 August 2019 by Greg-waines (talk | contribs) (Install Software on Controller-0)

Virtual Install - Single all-in-one server

Deployment Diagram

Starlingx-deployment-options-simplex1.png


Physical Host Requirements for Virtual Servers

The recommended minimum requirements for the workstation, hosting the virtual machine(s) where StarlingX will be deployed, include:

Hardware Requirements

A workstation computer with minimally:

  • Processor: x86_64 only supported architecture with BIOS enabled hardware virtualization extensions
  • Cores: 8
  • Memory: 32GB RAM
  • Hard Disk: 500GB HDD
  • Network: One network adapter with active Internet connection

Software Requirements

A workstation computer with Ubuntu 16.04 LTS 64-bit .
All other required packages will be installed by scripts in StarlingX tools repo.

Host Setup

Update OS:

apt-get update

Clone the StarlingX tools repository:

apt-get install -y git
cd $HOME
git clone https://opendev.org/starlingx/tools

Install required packages:

cd $HOME/tools/deployment/libvirt/
bash install_packages.sh
apt install -y apparmor-profiles
apt-get install -y ufw
ufw disable
ufw status

Setup virtual platform networks for virtual deployment:

bash setup_network.sh 

Get the StarlingX ISO.
This can be from a private StarlingX build or, as shown below, from the public Cengen StarlingX build off 'master' branch:

wget http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_build/outputs/iso/bootimage.iso

Create the XML definitions for the virtual servers required by this configuration option.
This will create the XML virtual server definition for:

  • simplex-controller-0


Caution icon.svg CAUTION

The following command will also start the X-based graphical virt-manager application; if their is no X-server present then errors will occur.
Caution icon.svg NOTE

The following command will also start/virtually-powered-on the 'simplex-controller-0' virtual server.
bash setup_configuration.sh -c simplex -i ./bootimage.iso      




Install Software on Controller-0

The controller-0 virtual server, 'simplex-controller-0', has been started/virtually-powered-on by the previous 'setup_configuration.sh' command.

Attach to the console of virtual controller-0 and select the appropriate installer menu options in order to start the non-interactive install of StarlingX software on controller-0.

Caution icon.svg WARNING

When entering the console it is very easy to miss the first installer menu selection; use ESC to go to previous menus, in order to ensure you are at the first installer menu selection.
virsh console simplex-controller-0



Bootstrap System on Controller-0

Blah, blah, blah.

Configure Controller-0

Blah, blah, blah.

Unlock Controller-0

Blah, blah, blah.


Install OpenStack

Blah, blah, blah.

Example OpenStack Configuration

Blah, blah, blah.