OpenShift Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 47: Line 47:
=O/S Installation=
=O/S Installation=


Execute a ''minimal'' installation on all hosts.
Execute a ''minimal'' installation on one host, and perform the following steps. Then the same image can be used for as a base for the other nodes.


Register all hosts with [[Red Hat Subscription Manager]] to RHEL 7.x and OpenShift 3 repositories.
Register all hosts with [[Red Hat Subscription Manager]] to RHEL 7.x and OpenShift 3 repositories.

Revision as of 00:28, 3 May 2017

External

Internal

Overview

There are two installation methods: quick install, which uses a CLI tool available in the "atomic-openshift-utils" package, which, in turn, uses Ansible in the background, and advanced install. The advanced install assumes familiarity with Ansible.

Prerequisites

System Requirements

Relevance OpenShift 3.3.

Master

  • Physical or virtual system.
  • RHEL 7.1 installed with the "minimal" installation option.
  • 2 CPUs
  • 8 GB RAM
  • 30 GB storage space.

Node

  • Physical or virtual system.
  • RHEL 7.1 installed with the "minimal" installation option.
  • 1 CPU
  • 8 GB RAM
  • 15 GB storage space.
  • Docker 1.9.1 or later
  • 15 GB to allocated to Docker storage.

DNS Setup

A DNS server is required.

After setup, the DNS server needs to be configured to resolve a public wildcard DNS entry to the public IP address of the node that executes the default router, by adding an A record, with a low TTL. If the environment has multiple routers, an external load balancer is required.

*.myapp.example.com. 300 IN  A 1.2.3.4

O/S Installation

Execute a minimal installation on one host, and perform the following steps. Then the same image can be used for as a base for the other nodes.

Register all hosts with Red Hat Subscription Manager to RHEL 7.x and OpenShift 3 repositories.

Extra packages required:

  • git
  • net-tools
  • bind-utils
  • iptables-services

Manage services:

Run CLI to Install

Post-Install

Deploy the Integrated Docker Registry

Deploy the HAProxy Router

Load Image Streams

Load Templates

Set up NFS

The NFS server is required for persistent volumes.