Introduction
The infinit.e.CentOS.build RPM 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.CentOS.buid:
- 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
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
API nodes - Infinit.e DB Server Node
DB nodes
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 |
|
Installation of the RPM
Once infinit.e.CentOS.build 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.CentOS.build-localBuild.0-0.noarch.rpm
RPM will unpack all of the files required to complete the installation into the following directory:
/mnt/opt/infinit.e-install
Running install.sh
infinit.e.CentOS.builder creates the 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
test