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

26-Apr, 2016
Installing Red Hat OpenShift 2 Environment using Click2Cloud Inc.’s Auto Script – Tutorial Part 3 – Linux Node Deployment

Installing  Red Hat OpenShift 2 Environment using Click2Cloud Inc.’s Auto Script – Tutorial Part 3 – Linux Node 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.

3.1 Enter 2 to install node



3.2  Press y if you have RHN Account, redhat subscription is required to configure linux node:

3.3 Enter your subscription details – User ID, Password and Subscription Pool_Id (you can use the same subscription which used in broker):



3.4 Enter mcollective password which provided in broker, else you can check the cfg file on broker at this path – /opt/rh/ruby193/root/etc/mcollective/client.cfg :



3.5 Enter the details like cloud domain, host domain, broker fqdn, broker ip and linux node fqdn:





3.6 Select the default gear size for broker:


3.7 Type the cartridges name which you want to download and configure, if you are not sure leave it blank, it will select the default list of cartridges shown below:



3.8 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 it. Make sure you have full internet access on Linux Node to get the required packages from internet and broker should be reachable from node.

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

3.9 Now check the Linux Node is installed successfully and the services is running properly. Enter to check node:



3.10 It will check all the required services, node.conf and other configuration files. If everything is up and running you will see the PASS message:


You have successfully configured Linux Node in 10 steps.



On Broker

Now go to broker and check the connectivity using the below command:



You can see the node is available at broker. Now create district on broker and add linux node to it.



Create District (on Broker) and add Linux Node

To create district run the utility downloaded earlier on broker.


A. Enter 5 to Manage District:



B. Enter 1 to Create District:


C. Enter 1 to select linux platform and enter the name for linux district:


D. It will create district and show the information as shown below:


E. In the Manage District menu, select 2 to Add Node to a district:


F. Enter the district name and linux node fqdn, once you enter it will check and add the linux node to district:




Create first application using Linux Cartridge

Open browser and enter the broker FQDN or IP address to login to broker console:

Once you login you will see the OpenShift console to create applications, Click on Create your first application now:



Now select the cartridge to create application:



Provide meaningful name to your application and click to Create Application:



It will create PHP application in couple of mins:



So till now we have successfully configured broker, configured linux node and added it to broker, created district and created first app using linux cartridge.

Now we will configure windows node with OpenShift broker.


This is the third part of the tutorial for enabling the OpenShift 2.O for Microsoft Windows. You can visit the other tutorials Click Here For Tutorial 4


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