Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 36 Next »

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
    infinit.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/infinite-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

Version*

Createrepo

X

X

createrepo-0.4.11-3.el5.noarch.rpm

Jpackage-utils          

X

X

jpackage-utils-5.0.0-2.jpp5.noarch.rpm
jpackage-utils-compat-el5-0.0.1-1.noarch.rpm 

yum-priorities

X

X

yum-priorities-1.1.16-16.el5.noarch.rpm

s3cmd

X

X

s3cmd-1.0.0-4.1.x86_64.rpm

Java JRE & JDK

X

X

jre-6u30-linux-x64-rpm.bin
jdk-6u30-linux-x64.bin 

Tomcat 6

X

X

tomcat6-6.0.29-1.jpp5.noarch.rpm
tomcat6-admin-webapps-6.0.29-1.jpp5.noarch.rpm
tomcat6-webapps-6.0.29-1.jpp5.noarch.rpm

Splunk

X

X

splunk-4.2.4-110225-linux-2.6-x86_64.rpm

MongoDB

X

X

mongo-10gen-2.0.2-mongodb_1.x86_64.rpm
mongo-10gen-server-2.0.2-mongodb_1.x86_64.rpm

Elasticsearch

X

X

elasticsearch-0.18.7-1.noarch.rpm

Curl

X

X

curl-7.15.5-9.el5_7.4.x86_64.rpm
RPM-BuildXXrpm-build-4.4.2.3-22.el5_7.2.x86_64.rpm

* Note: The software versions listed above are those installed via the offline installation mechanism. When the infinit.e-platform.prerequisites.online.rpm is used the latest version of each software package (with the exception of Java, Splunk, and Jpackage-utils) are retrieved via yum).

1. Installation of the RPM

To install from the Ikanow repo, simply run:

yum install infinit.e-platform.prerequisites.online

For offline installs:

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):

yum localinstall infinit.e-platform.prerequisites.online-*.rpm --nogpgcheck

or:

mkdir ~/yum.repos.d.backup
mv /etc/yum.repos.d/* ~/yum.repos.d.backup
yum localinstall infinit.e-platform.prerequisites.offline-*.rpm --nogpgcheck --disablerepo=*

depending on the type of install.

Note that in the offline case all existing yum repositories are removed so that yum does not try to go out over the Internet to fetch dependencies. Running the offline install script (below) will then create a single local repository.

2. Running install.sh

The RPM will unpack all of the files required to complete the installation into the following directory:

/mnt/opt/infinite-install

infinit.e-platform.prerequisites copies the online_install.sh or offline_install.sh script from following directory on the target machine:

/mnt/opt/infinite-install/scripts

to :

/mnt/opt/infinit.e-install/install.sh

If you are not already in you root directory type the following command within terminal:

cd /mnt/opt/infinite-install/

API Node

By default install.sh will create an API Node 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 apinode

DB Node

To install a DB Node type:

sh install.sh 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/infinite-install/config/infinite.configuration.properties.TEMPLATE to
/mnt/opt/infinite-install/config/infinite.configuration.properties and edit the
properties contained within the file to match your deployment environment.
################################################################################

Follow the instructions above before continuing with the next steps of the Infinit.e installation, e.g.:

> cp /mnt/opt/infinite-install/config/infinite.configuration.properties.TEMPLATE.STANDALONE /mnt/opt/infinite-install/config/infinite.configuration.properties
or
> cp /mnt/opt/infinite-install/config/infinite.configuration.properties.TEMPLATE.AWS /mnt/opt/infinite-install/config/infinite.configuration.properties

> vi /mnt/opt/infinite-install/config/infinite.configuration.properties

Note: See Appendix B - infinite.configuration.properties.TEMPLATE (STANDALONE and AWS) for more information on editing the infinite.configuration.properties file. The github templates may be found here (AWS) and here (standalone).

  • No labels