Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: revert single node

Table of Contents

Rancher Installation - Single Node - Script/template version

Single collocated VM

Automation is currently only written for single VM that hosts both the rancher server and the deployed onap pods. Use the heat template below to deploy your VM (adjust your tenancy parameters)

Once the VM comes up run the oom_entrypoint.sh script - which will download the oom_rancher_setup.sh script to setup docker, rancher, kubernetes and helm - the entrypoint script will then run the cd.sh script to bring up onap based on your values.yaml config by running helm install on it.

Code Block
languagebash
themeMidnight
linenumberstrue
# source your windriver tenant rc file
source logging-openrc.sh
# edit the env file with your own tenant config - then run the stack
openstack stack create -t oom_openstack.yaml -e oom_openstack_oom.env obrien20180418b
# wait for the VM (or add the following to the cloud-init section (coming)) - ssh into the VM and run the following
# download and run the bootstrap and onap install script, the -s server name can be an IP, FQDN or hostname
wget https://jira.onap.org/secure/attachment/11469/oom_entrypoint.sh
chmod 777 oom_entrypoint.sh
# edit the downloaded values.yaml (that is copied to oom/kubernetes/onap/ by the cd.sh script) with your onap preferences and openstack tenant config
sudo ./oom_entrypoint.sh -b master -s devops.onap.info -e onap
# wait 15 min for rancher to finish, then 30-90 min for onap to come up

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyOOM-714
 see https://jira.onap.org/secure/attachment/11455/oom_openstack.yaml and https://jira.onap.org/secure/attachment/11454/oom_openstack_oom.env

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyOOM-710
 see https://jira.onap.org/secure/attachment/11439/oom_entrypoint.sh

customize your template (true/false for any components, docker overrides etc...)

https://jira.onap.org/secure/attachment/11414/values.yaml

Run oom_entrypoint.sh after you verified values.yaml - it will run both scripts below for you - a single node kubernetes setup running what you configured in values.yaml will be up in 50-90 min.  If you want to just configure your vm without bringing up ONAP - comment out the cd.sh line and run that separately.

4733707d-2057-3a0f-ae5e-4fd8aff50176
Jira Legacy
serverSystem Jira
serverId
keyOOM-715
 see https://jira.onap.org/secure/attachment/11438/oom_rancher_setup.sh

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyOOM-716
 see https://jira.onap.org/secure/attachment/11413/cd.sh

Verify your system is up by doing a kubectl get pods --all-namespaces and checking the 8880 port to bring up the rancher or kubernetes gui.

Rancher Installation

...

The following are instructions on how to create an Openstack VM running Rancher.

...

Access Rancher server via web browser

(e.g.  http://10.12.6.16:8080/env/1a5/apps/stacks)


Add Kubernetes Environment to Rancher

...

Until an LF-hosted public ONAP repository is available (comping soon!), please clone the OOM repo (https://gerrit.onap.org/r/gitweb?p=oom.git;a=summary).

Follow the instructions in the oom/kubernetes/README.MD or look at the official documentation to get started

...