Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start the Rackspace machine
    A. Login to Rackspace console
    B. Start the Rackspace VM
    C. Login to the Rackspace server with the credentials given by Rackspace

  2. Check Ubuntu uname:
    uname -r

    The output needs to be grater then 3.13.0-91-generic:

    Code Block
    languagetext
    titleExample for uname -r
    For example:
    root@vm1-asdc:/data# uname -r
    4.4.0-51-generic
  3. Install the Docker service:
    A. Login to the new machine as root and run:

    Code Block
    languagebash
    apt-get update
    apt-get install apt-transport-https ca-certificates (Press Y)
    apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
    echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | tee /etc/apt/sources.list.d/docker.list
    apt-get update
    apt-cache policy docker-engine
    apt-get -y install linux-image-extra-$(uname -r) linux-image-extra-virtual
    apt-get -y install docker-engine
    service docker start

    B. Verify that Java is installed:
    java -version

    C. If Java is not installed then run:

    Code Block
    languagebash
    apt-get install default-jre
    apt-get update
  4. A system restart is required; reboot the server.


Updating Ubuntu to the latest version available on the Rackspace repository

  1. Login to the Rackspace server:
    The output for a successful login will be displayed; check the version, for example:

    Code Block
    languagetext
    Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-51-generic x86_64)
  2. Upgrade UBUNTU (only if version is below 16.04.1 LTS):
    Run: do-release-upgrade (press y, press enter twice, y, select “install the package maintainer's version”, y, y - for reboot)

    Note

    this will update Ubuntu from 14.04.1 LTS to 16.04.1 LTS

Allocating a volume for data

  1. vi /etc/fstab, add this line:

    Code Block
    languagebash
    /dev/xvdb1 /data ext4 errors=remount-ro,noatime,barrier=0 0 1
  2. Check that the volume is mounted:

    Code Block
    languagebash
    df -h | grep data
  3. The expected result should be in the form:

    Code Block
    languagebash
    /dev/xvdb1 99G 528M 93G 1% /data

Set connection to Docker hub repository

This section deals with connecting to the OpenECOMP SDC Docker repository and checking that the Docker Service is up and running.

To set the connection to the Docker hub repository:

    1. add to /etc/hosts "10.208.197.75 ecomp-nexus"
    2. Connect to OpenEcomp SDC docker-repo (only if needed):
      1. keytool -printcert -sslserver ecomp-nexus:8443 -rfc > nexus.crt
      2. cp nexus.crt /usr/local/share/ca-certificates/
      3. update-ca-certificates