Tutorial Part 2 — Installing Red Hat OpenShift 2 Environment using Click2Cloud Inc.’s Auto Script — Linux Broker Deployment

Installing Red Hat OpenShift 2 Environment using Click2Cloud Inc.’s Auto Script — Tutorial Part 2 — Linux Broker Deployment

Download Click2Cloud Inc.’s Auto Script installer from https://github.com/click2Cloud/openshift2/ or register at www.register.click2cloud.net

Supported Operating System

OpenShift Enterprises is supported on; 64-bit versions of Red Hat Enterprise Linux (RHEL) 6.4 or higher.

It is not supported on Fedora, RHEL 7.x, or CentOS 7.x. A minimal installation of RHEL is recommended to avoid package incompatibilities with OpenShift. This deployment have used RHEL 6.6 x64 image on a 10 GB Droplet.

Various methods you can use for deploying OpenShift Enterprise, one of them is Click2Cloud OSEV2 Script:

  • The OSEv2sh utility, it interactively gathers information about a deployment before automating the installation of an OpenShift Enterprise host. This method is intended for trials as well as production environment.
  • In this deployment, we have used OSEv2sh utility.

Install Linux 6.6 OS and Register the Subscription by command

If you do not have redhat subscription, you can register for the trial subscription from here (For POC only) or contact Redhat Support.

Once you have the subscription account details, register the subscription on broker/node using below command.

  • # subscription-manager register –username <username> –password <password> –auto-attach
  • e.g.: # subscription-manager register –username demo –password demo123 –auto-attach

Check the available subscription with your account and get the pool id (copy this pool id it will require in further installation)



#subscription-manager attach –pool <your pool id>

e.g.: # subscription-manager attach –pool 3affb61f013b3ef6a5fe0b9a


#subscription-manager repos –enable rhel-6-server-ose-2.2-infra-rpms


Linux Broker Deployment

Run the Installation Utility

1. You will get the Installation script with your Click2Cloud OpenShift .NET development kit from here or you can download (install.sh & openshift.sh) installation utility directly using the below command:

# curl -O https://raw.githubusercontent.com/Click2Cloud/openshift2/master/Click2Cloud_OpenShift.NET_development_kit/osev2-script/install.sh

# curl -O https://raw.githubusercontent.com/Click2Cloud/openshift2/master/Click2Cloud_OpenShift.NET_development_kit/osev2-script/openshift.sh

2. Execute the installation utility to interactively configure one or more hosts:

# sh install.sh

3. Follow the instructions provided below to deploy OpenShift Enterprise.

OpenShift Enterprises uses an interactive installation process. There are quite a few questions to answer, so pay attention! The questions are shown below, with the user input in red.

On the Main Menu you will see the multiple choices, which we will use one by one. So let’s start with installing broker.

  • Enter 1 to install broker:
  • Press y if you have RHN Account, redhat subscription is required to configure OSE v2:
  • Enter your subscription details — User ID, Password and Subscription Pool_Id:
  • Press y to enter password details for Mcollective, Mongodb and Openshift. If you select n it will randomly generate the password:
  • Enter the DNS details here- Cloud domain name, Hosts domain name and Broker FQDN:
  • Enter Broker IP Address:
  • Select the default gear size for broker:
  • Review the entered details before the installation starts. All the installation logs will store on sh.broker.log file in current directory. If you want to re-enter the details press n else press y to proceed the installation:

Once the installation started, it will take an hour to complete the installation. Make sure you have full internet access on broker to get the required packages from internet.

Once it’s completed, it will return to the main menu.

  • Now check the broker is installed successfully and the services is running properly. Enter 3 to check broker:
  • It will check all the required services and configuration files. If everything is up and running you will see the PASS message:

Now you have successfully configured Broker in 10 steps

To check the broker from console:

Please reset the demo user password to login from browser.

# htpasswd /etc/openshift/htpasswd demo

New password: *****
Re-type new password: *****

Now open browser and enter the broker FQDN or IP address to login on broker console:


Once you login you will see the OpenShift console to create applications:

Please Note: To create Red Hat Linux based application you have to add Linux node to broker. Please follow the further steps to configure and add Linux node.

This is the second part of the tutorial for enabling the OpenShift 2.O for Microsoft Windows. You can visit the other tutorials at;

Part 1 — System Requirements


Part 3 — Linux Node Deployment


Part 4 — Windows Node Pre-requisite


Part 5 — Windows Node Deployment




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Click2Cloud Inc

Click2Cloud Inc

Click2Cloud Inc. is a privately held Cloud Technology Company that delivers innovative solutions and services in cloud infrastructure automation and migration t