Installing Hub for Linux
- Copy the Hub rpm file to the system where it will be installed.
-
If you have a previous version of Hub or IIC
installed:
-
Run the Linux rpm command:
- For Intel Linux:
rpm --upgrade /tmp/IronstreamHub-1-2.x86_64.rpm
- For Power Linux:
rpm --upgrade /tmp/IronstreamHub-1-2.ppc64le.rpm
where, /tmp is the directory where the rpm file was saved.
After the rpm command is run:- Open inbound network traffic on ports 80 and 9850 and bind port 80 to the Hub portal service with the commands. To do this, as 'root', enter:
firewall-cmd --zone=public --permanent --add-port 80/tcp firewall-cmd --zone=public --permanent --add-port 9850/tcp firewall-cmd --reload setcap CAP_NET_BIND_SERVICE=+eip /opt/ihub/bin/ironstreamhubportal
This last command is necessary because the Hub Portal port is lower than 1024. It is not necessary for the UI port of 9850.
- The ibmiconfig service will start, which allows access to the browser-based Configuration Tool.
- The Ironstream Hub Portal service will start automatically. This is a web browser-based user interface where Ironstream data pipelines are configured.Note: The Hub service is installed in Manual mode. The service will not stay running if there are no pipelines.You should start it when you have defined pipelines and after this you may wish to change the service to be Automatic so it starts up after a reboot, using the mechanism appropriate to the edition of Linux you are running.
- For Intel Linux:
-
This step can be skipped if the Hub processes on the Linux server are to run as a root. To run the Hub processes as a non-root user:
systemctl start ironstreamhub
systemctl start ibmiconfig
systemctl start ironstreamhubportal
-
If you are using a Splunk Forwarder then start it using the command:
$SPLUNK_HOME/bin/splunk start
To verify that the Forwarder started, use the command:
$SPLUNK_HOME/bin/splunk status
The user name for the Hub processes is stored in the 10-user.conf file located in the /etc/systemd/system/ironstreamhub.service.d directory, the /etc/systemd/system/ibmiconfig.service.d directory and the /etc/systemd/system/ironstreamhubportal.service.d directory.
To change the user for the Hub processes later, repeat the steps in this section.