OpenShift Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(41 intermediate revisions by the same user not shown)
Line 5: Line 5:
=Internal=
=Internal=


* [[OpenShift#Subjects|OpenShift]]
* [[OpenShift TODEPLETE#Subjects|OpenShift TODEPLETE]]


=Overview=
=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]].
{{Internal|OpenShift_Concepts#Installation|Installation Concepts}}


=Prerequisites=
=Subjects=


==System Requirements==
* [[OpenShift 3.5 Installation|OpenShift 3.5 HA Installation]]
* [[OpenShift 3.6 Installation]]


Relevance OpenShift 3.3.
=Installation Troubleshooting=


===Master===
ansible-playbood -vvv /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml > install.out


* Physical or virtual system.
This generates an installation log that contains the location of the installation files (templates) on the target nodes.
* RHEL 7.1 installed with the "minimal" installation option.
* 2 CPUs
* 8 GB RAM
* 30 GB storage space.


===Node===
Example:


* Physical or virtual system.
ok: [master1.local] => {
* RHEL 7.1 installed with the "minimal" installation option.
    "changed": false,
* 1 CPU
    "checksum": "cc1e65bb730ab21e3f0c352251cd1d094f1259f1",
* 8 GB RAM
    <b><font color=orange>"dest": "/tmp/openshift-metrics-ansible-C6Xjkq/templates/metrics-heapster-rc.yaml", </font></b>
* 15 GB storage space.
    "gid": 0,
* Docker 1.9.1 or later
    "group": "root",
* 15 GB to allocated to Docker storage.
    "invocation": {
 
        "module_args": {
==DNS Setup==
            "backup": false,
 
            "content": null,
A DNS server is required.  
            "delimiter": null,
 
            "dest": "/tmp/openshift-metrics-ansible-C6Xjkq/templates/metrics-heapster-rc.yaml",
After setup, the DNS server needs to be configured to resolve a public wildcard DNS entry to the [[OpenShift Concepts#Node|node]] that executes the [[OpenShift_Concepts#Router|default router]]. If the environment has multiple routers, an external load balancer is required.
            "directory_mode": null,
 
            "follow": true,
=Run CLI to Install=
            "force": true,
 
            "group": null,
=Post-Install=
            "mode": null,
 
            "original_basename": "heapster.j2",
==Deploy the Integrated Docker Registry==
            "owner": null,
 
            "regexp": null,
==Deploy the HAProxy Router==
            "remote_src": null,  
 
            "selevel": null,  
==Load Image Streams==
            "serole": null,
 
            "setype": null,
==Load Templates==
            "seuser": null,
 
            "src": "/home/ansible/.ansible/tmp/ansible-tmp-1508226983.15-262452251753895/source",
==Set up NFS==
            "unsafe_writes": null,
 
            "validate": null
The NFS server is required for [[OpenShift_Concepts#Volume|persistent volumes]].
        }
    },
    "md5sum": "b26056e8d1d246431cabdcc1d0f4dc09",
    "mode": "0644",
    "owner": "root",
    "secontext": "unconfined_u:object_r:user_home_t:s0",
    "size": 2456,
    "src": "/home/ansible/.ansible/tmp/ansible-tmp-1508226983.15-262452251753895/source",
    "state": "file",
    "uid": 0
}

Latest revision as of 19:54, 18 November 2020

External

Internal

Overview

Installation Concepts

Subjects

Installation Troubleshooting

ansible-playbood -vvv /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml > install.out

This generates an installation log that contains the location of the installation files (templates) on the target nodes.

Example:

ok: [master1.local] => {
    "changed": false, 
    "checksum": "cc1e65bb730ab21e3f0c352251cd1d094f1259f1", 
    "dest": "/tmp/openshift-metrics-ansible-C6Xjkq/templates/metrics-heapster-rc.yaml", 
    "gid": 0, 
    "group": "root", 
    "invocation": {
        "module_args": {
            "backup": false, 
            "content": null, 
            "delimiter": null, 
            "dest": "/tmp/openshift-metrics-ansible-C6Xjkq/templates/metrics-heapster-rc.yaml", 
            "directory_mode": null, 
            "follow": true, 
            "force": true, 
            "group": null, 
            "mode": null, 
            "original_basename": "heapster.j2", 
            "owner": null, 
            "regexp": null, 
            "remote_src": null, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "src": "/home/ansible/.ansible/tmp/ansible-tmp-1508226983.15-262452251753895/source", 
            "unsafe_writes": null, 
            "validate": null
        } 
    }, 
   "md5sum": "b26056e8d1d246431cabdcc1d0f4dc09", 
   "mode": "0644", 
   "owner": "root", 
   "secontext": "unconfined_u:object_r:user_home_t:s0", 
   "size": 2456, 
   "src": "/home/ansible/.ansible/tmp/ansible-tmp-1508226983.15-262452251753895/source", 
   "state": "file", 
   "uid": 0
}