HP Helion OpenStack v1.1 RC3 Laptop Installation Procedure

2015-02-19

HP Helion OpenStack v1.1 RC3 Laptop Installation Procedure

Laptop Installation Procedure HOS v1.1 RC3

This procedure details how to install Helion OpenStack v1.1 RC3 (build 77) on to a laptop for ‘tyre-kicking’ use only.
HA and monitoring are not enabled, by design, during this install procedure to minimise resource requirements.
An EliteBook8740w with 32GB RAM and a 240GB SSD was used to verify this procedure.

Step-by-step guide

Prerequisites

ssh``-keygen -t rsa -N "" sudo apt-get install -y ntp xrdp xfce4 libvirt-bin openvswitch-switch openvswitch-common python-libvirt qemu-kvm libssl-dev libffi-dev virt-manager chromium-browser sudo /etc/init``.d``/libvirt-bin restart

Modify /etc/ntp.conf

# Specify one or more NTP servers. server 127.127.1.0 fudge   127.127.1.0     stratum 10 restrict 192.0.2.0 mask 255.255.255.0 nomodify notrap

Restart & Verify NTP

service ntp restart ntpq -p

blog1

Extract the installation binaries

# Note : in this demo the binaries are located in the /home/helion directory. Please ensure the correct location is modified for the HOS binaries (tar file) cd /root tar -zxvf /home/helion/ee_installer_build77``.tgz

Seed Host Environment Variables

# configure environment variables export NODE_MEM=4096 export NODE_CPU=4 export HP_VM_MODE=y export SEED_NTP_SERVER=<laptop ip address> export SEED_NAMESERVER=<dns server>

32GB Laptop VMPLAN File

cat << EOF > vmplan.csv ,,,,2,8192,,Undercloud ,,,,2,7168,,OvercloudControl ,,,,2,7168,,OvercloudControl ,,,,2,7168,,OvercloudControl ,,,,2,3072,,OvercloudSwiftStorage ,,,,2,3072,,OvercloudSwiftStorage ,,,,4,6144,,OvercloudCompute EOF

Seed Installation

bash -x tripleo``/tripleo-incubator/scripts/hp_ced_host_manager``.sh --create-seed --vm-plan vmplan.csv 2>&1|``tee LaptopSeedVMinstall.log

blog2

Seed VM Configuration

# login to seed vm ssh 192.0.2.1 # configure environment variables export OVERCLOUD_SWIFTSTORAGESCALE=1 export OVERCLOUD_SWIFT_REPLICA_COUNT=1 export OVERCLOUD_CONTROLSCALE=1 export USE_TRICKLE=0

blog3

Modify /root/tripleo/configs/kvm-default.json

{ "cloud_type"``: "KVM"``, "compute_scale"``: 1, "vsa_scale"``: 0, "vsa_ao_scale"``: 0, "so_swift_storage_scale"``: 0, "so_swift_proxy_scale"``: 0, "bridge_interface"``: "em1"``, "ntp"``: { "overcloud_server"``: "192.168.122.1"``, "undercloud_server"``: "192.168.122.1"``, "seed_server"``: "192.168.122.1" } }

Constrained hardware settings

export OVERCLOUD_STACK_TIMEOUT=120 export UNDERCLOUD_STACK_TIMEOUT=120

Begin the undercloud and overcloud build

# Execute this line if you had to modify the kvm-defaults.json file above source /root/tripleo/tripleo-incubator/scripts/hp_ced_load_config``.sh /root/tripleo/configs/kvm-default``.json # start the UC & OC build process bash -x tripleo``/tripleo-incubator/scripts/hp_ced_installer``.sh  2>&1|``tee Laptopstackinstall.log

blog4

Originally published on allthingscloud.eu (2015-02-19).

← All posts