Friday, August 31, 2018

How to install the openshift container platform on Redhat enterprise linux 7


Step1:

Verify the hostname using the following command,

master # host $(hostname)
node    # host $(hostname)

Step2:

How to setup the  OCP master ?

yum  -y install  atomic-openshift-docker-excluder    \
atomic-openshift-excluder  atomic-openshift-utils  \
bind-utils bridge-utils git \
iptables-services  net-tools wget

Step3:

On the master and the node1 remove openshift  exclusions  from  /etc/yum.conf 

 master  &&& node1   #   atomic-openshift-excluder  unexclude


Step4:

Install the OpenShift  Container platform  using tools  provided in the  atomic-openshift-utils package

master   #  atomic-openshift-installer install

Step5:

After the installations is complete, re-add the exclusions to the /etc/yum.conf 

master  &&&& node1  #  atomic-openshift-excluder  exclude


Step6:

How to verify the  master  server is installed with the  OCP master ?

systemctl  status  |   grep openshift

Step7

How to verify the  master  server is installed with the  OCP node ?

systemctl  status  |   grep openshift











No comments:

Post a Comment