Introduction
The infinit.e-platform.prerequisites.online and .offline RPMS contains a collection of packages, data files, and scripts that are necessary to prepare a clean CentOS 5.6 or Red Hat Enterprise Linux 5.5 server for the installation of IKANOW's Infinit.e.
There are two types of installation mode supported by infinit.e-platform.prerequisites:
- Online
i{*}nfinit.e-platform.prerequisites.online -*The Online installation is for target machines that have an active connection to the internet that allows YUM to retrieve the latest version of packages required for the installation. - Offline
infinit.e-platform.prerequisites.offline - *The Offline installation is for target machines that *are not connected to the internet. When the installation script (install.sh) is run YUM is pointed to the /mnt/opt/infinit.e-install/rpms directory where the required RPMs and their dependencies are located.
Infinit.e's architecture consists of two different types of server nodes:
- Infinit.e API Server Node
- Infinit.e DB Server Node
The installation mode and node type can be specified during installation via the use of command line arguments (see Running install.sh below).
Note: The following is a list of packages installed on the target machine based on the type of node being installed:
|
API Node |
DB Node |
---|---|---|
Createrepo |
X |
X |
Jpackage-utils |
X |
X |
yum-priorities |
X |
X |
s3cmd |
X |
X |
Java |
X |
X |
Tomcat 6 |
X |
X |
Splunk |
X |
X |
MongoDB |
X |
X |
Elasticsearch |
X |
X |
Curl |
X |
X |
Hadoop |
X |
|
Hue |
X |
|
1. Installation of the RPM
Once infinit.e-platform.prerequisites RPM has been copied to the target machine execute the following command (assuming that you are within the same directory in which the RPM is located):
rpm -i infinit.e-platform.prerequisites.online-localBuild.0-0.noarch.rpm
or:
rpm -i infinit.e-platform.prerequisites.offline-localBuild.0-0.noarch.rpm
depending on the type of install.
RPM will unpack all of the files required to complete the installation into the following directory:
/mnt/opt/infinit.e-install
2. Running install.sh
infinit.e-platform.prerequisites copies the online_install.sh or offline_install.sh script from following directory on the target machine:
/mnt/opt/infinit.e-install/scripts
Within the scripts directory is a bash script called install.sh that needs to be executed from with terminal to install the packages and data files unpacked into the infinit.e-install directory. The following examples demonstrate how to execute the install.sh script.
Online API Node
By default install.sh will create an API Node on a machine that is connected to the internet when you type the following command.
sh install.sh
Alternatively you could explicitly pass the install mode and node type arguments as shown below.
sh install.sh online apinode
Online DB Node
To install a connected DB Node type:
sh install.sh online dbnode
Offline API Node
The following command line will install an disconnected API node:
sh install.sh offline apinode
Offline DB Node
The following command line will install an disconnected DB node:
sh install.sh offline dbnode
3. Configuring the Node via the infinite.configuration.properties.TEMPLATE File
When the install.sh script has completed running you should see the following message:
################################################################################" IMPORTANT: Copy /mnt/opt/infinit.e-install/config/infinite.configuration.properties.TEMPLATE to /mnt/opt/infinit.e-install/config/infinite.configuration.properties and edit the properties contained within the file to match your deployment environment. ################################################################################
.