Friday, August 8, 2014

InfiniDB(Single Server Mode) installation Step by Step on RHEL 6.x / CentOS 6.x

We are going to install InfiniDB - Single Server Mode(Standard Edition) on RHEL 6.x / CentOS 6.x

Download the source from http://www.infinidb.co/try-infinidb

Note: you need root access to install and configure InfiniDB and here commands executed are in BOLD.

OS : RHEL 6.5
User: root
Mode: Single User
Edition: Standard Edition

----------------------------------------------------------------------------------------------------------------



[root@server1 ~]# cd /usr/local/


[root@server1 local]# tar -xzf infinidb-4.5.1-3.x86_64.bin.tar.gz


[root@server1 local]# cd Calpont/bin/


[root@server1 bin]# ./post-install
The next step is:


/usr/local/Calpont/bin/postConfigure


[root@server1 bin]# ./postConfigure


This is the Calpont InfiniDB System Configuration and Installation tool.
It will Configure the Calpont InfiniDB System and will perform a Package
Installation of all of the Servers within the System that is being configured.


IMPORTANT: This tool should only be run on the Parent OAM Module
which is a Performance Module, preferred Module #1


Prompting instructions:


Press 'enter' to accept a value in (), if available or
Enter one of the options within [], if available, or
Enter a new value




===== Setup System Server Type Configuration =====


There are 2 options when configuring the System Server Type: single and multi


'single' - Single-Server install is used when there will only be 1 server configured
on the system. It's a shorter install procedure used for POC testing, as an example.
It can also be used for production systems, if the plan is to stay single-server.


'multi' - Multi-Server install is used when you want to configure multiple servers now or
in the future. With Multi-Server install, you can still configure just 1 server
now and add on addition servers/modules in the future. This is used more for
production installs.


Select the type of System Server install [1=single, 2=multi] (2) > 1


Performing the Single Server Install.
Enter System Name (calpont-1) > infinidb1


===== Setup Storage Configuration =====


----- Setup High Availability Data Storage Mount Configuration -----


There are 2 options when configuring the storage: internal or external


'internal' - This is specified when a local disk is used for the dbroot storage
or the dbroot storage directories are manually mounted externally
but no High Availability Support is required.


'external' - This is specified when the dbroot directories are externally mounted
and High Availability Failover Support is required.


Select the type of Data Storage [1=internal, 2=external] (1) > 1


Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of dbroot IDs assigned to module 'pm1' (1) > 1


===== InfiniDB SNMP-Trap Process Check =====


InfiniDB is packaged with an SNMP-Trap process.
If the system where InfiniDB is being installed already has an SNMP-Trap process
running, then you have the option of disabling InfiniDB's SNMP-Trap process.
Not having the InfiniDB SNMP-Trap process will affect the
generation of InfiniDB alarms and associated SNMP traps.
Please reference the Calpont InfiniDB Installation Guide for
additional information.


InfiniDB SNMP-Trap process is enabled, would you like to disable it [y,n] (n) > {PRESS ENTER}


InfiniDB SNMP Process successfully enabled


===== Setup the Network Management System (NMS) Server Configuration =====


This would be used to receive SNMP Traps from InfiniDB, like a Network Control Center
Enter IP Address(es) of NMS Server (0.0.0.0) > {PRESS ENTER}




===== Performing Configuration Setup and InfiniDB Startup =====


NOTE: Setting 'NumBlocksPct' to 50%
Setting 'TotalUmMemory' to 25% of total memory (Combined Server Install maximum value is 16G). Value set to 4G


Running the Infinidb MySQL setup scripts


Starting MySQL. SUCCESS!
Shutting down MySQL. SUCCESS!
SUCCESS!


Starting InfiniDB Database Platform


InfiniDB Database Platform Starting, please wait ......... DONE


System Catalog Successfull Created


InfiniDB Install Successfully Completed, System is Active


Enter the following command to define InfiniDB Alias Commands


. /usr/local/Calpont/bin/calpontAlias


Enter 'idbmysql' to access the InfiniDB MySQL console
Enter 'cc' to access the InfiniDB OAM console


[root@server1 bin]# . /usr/local/Calpont/bin/calpontAlias


[root@server1 local]# idbmysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.1.73 InfiniDB 4.5.1-3


Copyright (c) 2014, InfiniDB, Inc. and/or its affiliates. All rights reserved.
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.


InfiniDB is a registered trademark of InfiniDB, Inc. and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql>
 

---------------------------------------------------------------------------------------------------------


Yes ! we have successfully installed InfiniDB

if its throws any error, you can check the logs in /var/log/Calpont directory.
Also check whether mysql-calpont and infinidb service has been started.

 [root@server1 ~]# /etc/init.d/mysql-Calpont status
MySQL running (2355)                                       [  OK  ]
[root@server1 ~]# /etc/init.d/infinidb status
InfiniDB is running

If you face any other issue, do post here i will do my best to resolve your issue.