6.2. Using the Installation Scripts
openshift.ks
kickstart script is available at:
Example 6.1. Downloading the openshift.ks
Kickstart Script
$ curl -O https://raw.githubusercontent.com/openshift/openshift-extras/enterprise-2.2/enterprise/install-scripts/openshift.ks
openshift.sh
bash script is the extracted %post
section of the openshift.ks
script and is available at:
Example 6.2. Downloading the openshift.sh
Bash Script
$ curl -O https://raw.githubusercontent.com/openshift/openshift-extras/enterprise-2.2/enterprise/install-scripts/generic/openshift.sh
Important
When using the openshift.ks
script, you can supply parameters as kernel parameters during the kickstart process. When using the openshift.sh
script, you can similarly supply parameters as command-line arguments. See the commented notes in the header of the scripts for alternative methods of supplying parameters using the openshift.sh
script.
Note
openshift.sh
script by supplying parameters as command-line arguments. The same parameters can be supplied as kernel parameters for kickstarts using the openshift.ks
script.
6.2.1. Selecting Components to Install
install_components
parameter, the scripts can be configured to install one or more of the following components on a single host:
Options | Description |
---|---|
broker | Installs the broker application and tools. |
named | Supporting service. Installs a BIND DNS server. |
activemq | Supporting service. Installs the messaging bus. |
datastore | Supporting service. Installs the MongoDB datastore. |
node | Installs node functionality, including cartridges. |
Warning
openshift.sh
script and installs the broker
, named
, activemq
, and datastore
components on a single host, using default values for all unspecified parameters:
Example 6.3. Installing the broker
, named
, activemq
, and datastore
Components Using openshift.sh
$ sudo sh openshift.sh
install_components=broker,named,activemq,datastore
openshift.sh
script and installs only the node
component on a single host, using default values for all unspecified parameters:
Example 6.4. Installing the node
Component Using openshift.sh
$ sudo sh openshift.sh
install_components=node