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

26-Apr, 2016
Installing Red Hat OpenShift 2 Environment using Click2Cloud Inc.’s Auto Script – Tutorial Part 2 – 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

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 ( & installation utility directly using the below command:

# curl -O

# curl -O

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


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:

Installing Red Hat OpenShift Environment using Click2Cloud Auto Script - Linux Broker installation - Install broker _ Yes.jpg

  • Enter your subscription details – User ID, Password and Subscription Pool_Id:

  • Press to enter password details for Mcollective, Mongodb and Openshift. If you select 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 file in current directory. If you want to re-enter the details press 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 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:


Click Here For Tutorial 3

For any queries, you can contact: , OR +1 (425) 749-7495 and +1 (425) 748-9666



Recent Posts

Get In Touch With

Our Offices

location Plot No. 21, Premier Technology Group, Third Floor, I.T Park Road, Parsodi, Nagpur - 440022(MS)

phone0712-297 0257 / 0712-297 1228 / +91-766 690 5354

location Click2Cloud Inc. , Suite #05-143, 800 Bellevue Way NE Bellevue, WA, 98004, USA.


location No.401, Unit 8, Building 8, Area 5, HeYiDongLi, Fengtai District, Beijing, China, 100076

phone+86 173 4656 0417

location2806 Bloor Street West, Toronto, ON M5S 0B1

phone+1 425 748 9666

locationOffice No. 121-122Cowork06, Building Number 67 - Regus Doha Dring Building, Street 250 - DRing Road, Zone 45 - Old Airport,PO Box 32522, Doha, Qatar

phone+974 4423 1210

location7 Temasek Boulevard, #12-07, Suntec Tower One, Singapore 038987

locationNo 5, 17/f, strand 50 50 bonham strand, Sheung wan, Hong Kong