Installing the IBM Big SQL package
After you have prepared the environment and acquired the software, follow these steps to install IBM Big SQL.
Before you begin
- Ensure that you installed Hortonworks Data Platform (HDP) (if performing a fresh install rather than a migration).
- Ensure that you followed the steps in Preparing to install IBM Big SQL.
- You must have acquired the software from Passport Advantage download website. See Obtaining IBM Big SQL for details.
- When you install Big SQL as the non-root user, preface the instructions with sudo, where the instruction would normally require the root user. For more information about non-root access, see Configuring Ambari agents for non-root access to IBM Big SQL.
About this task
When you run the ibmbigsql_5.0.1.bin file, configuration files are copied to appropriate locations to enable Ambari to see the services as available. When adding services through Ambari, additional software packages can be downloaded. If the Hadoop cluster cannot directly access the internet, a local mirror repository can be created.
Where you perform the following steps depends on whether the Hadoop cluster has direct internet
access.
- If the Hadoop cluster has direct access to the internet, perform the steps from the Ambari server of the Hadoop cluster.
- If the Hadoop cluster does not have direct internet access, perform the steps from a Linux host with direct internet access. Then, transfer the files, as required, to a local repository mirror.
Procedure
Example
This is an example of running the Big SQL module for OFFLINE
installation:
[root@main1 DownloadDirector]# ./ibmbigsql_5.0.1.bin
Creating directory ./IBM-Big_SQL
Verifying archive integrity... All good.
Uncompressing IBM-Big_SQL 100%
************************************************************************
License Files
************************************************************************
License files are available in the directory:
/opt/builds/ambari/IBM-Big_SQL/licenses
1. Do you Accept the Terms and Conditions in the Licenses Directory? (y/n) : y
************************************************************************
Migration from IOP to HDP
************************************************************************
2. Are you migrating from IOP to HDP? YES(1) or NO(2) : 1
************************************************************************
The IOP directory /usr/iop exists, so you currently have IOP installed.
************************************************************************
************************************************************************
Installation Method (Online/Offline)
For ONLINE, make sure you have the package lsb-release installed.
Run the cmd --> sudo yum install redhat-lsb-core
************************************************************************
3. Do you wish to use the ONLINE(1) or OFFLINE(2) method? 2
************************************************************************
Remember to have HDP installed.
************************************************************************
************************************************************************
Current System's Architecture
************************************************************************
You are running on: x86_64
************************************************************************
Target System's Architecture
************************************************************************
4. Is the system to be installed on x86_64(1) or ppc64le(2)? : 1
************************************************************************
Current System's RHEL version
************************************************************************
You are running: Red Hat Enterprise Linux Server release 7.2 (Maipo)
************************************************************************
Target System's RHEL version
************************************************************************
5. Is the system to be installed on using RHEL 6 or 7? (6/7): 7
************************************************************************
Executing BIN File
************************************************************************
You chose OFFLINE + HDP
Downloading...
Installing Package...
...
Installation Complete