In the previous Blog Post, I’ve installed the DB2 Database for Sterling B2B Integrator. In this Post I will install the first Sterling B2B Integrator Node in my soon to be Sterling B2B Integrator Cluster.
I will start by setting up a new server on my VMWare Workstation. This server is installed with the following setup:
|RedHat Enterprise Linux 7 64-bit – Minimal Install
|Static: 192.168.192.11 (Hostname: sinode1.demos.ibm.int)
Sterling B2B Integrator needs IBM Java 7. It can be downloaded at the developerWorks site (login with IBM ID needed). To avoid conflict, it might be an idea to uninstall existing Java if installed with the OS.
Install the ibm-java-x86_64-sdk-7.0-8.0.bin
Then set the Java Environment Variables
Sterling B2B Integrator needs Java Unrestricted Policy Files. This can be downloaded from this link. Upload the zip-file to somewhere on your server. I put it under the security folder in the JRE. But it can be put anywhere.
The LANG Variable has to e set to en_US like below.
The file /etc/security/limits.conf needs to be updated with the following parameters:
hard nofile 8196
soft nofile 4096
hard memlock 3000000
soft memlock 3000000
hard nproc 16000
soft nproc 16000
hard stack 512000
soft stack 512000
Finally the Sterling B2B Integrator can be installed.
Start by Extracting the Install tar-file to your server.
When it is extracted, go to the IMSI folder within the extracted folder structure and Unzip the Installation Manager for Linux (this is a Multi-Platform installation, so there is Installation Managers for all supported Platforms).
Now it is time to try starting the install. There might however still be some missing Libraries depending on the Version of RedHat (or other OS) installed, but that is discovered when trying to start the installation since the installation program then verifies that all that is needed is in place. One common issue is that some 32-bit libraries is needed, and since I am running a 64-bit RedHat, those libraries might be missing. In my case the glibc.i686 and libgcc.i686 libraries was missing.
Go in to the IM_Linux folder and run ./installc -c. On first try it shows that ld-linux.so.2 is missing. This needs to be installed.
In general, when using RedHat or CentOS, it is easy to find what libraries is needed by using yum whatprovides <filename>, and then use yum to install that library.
I now discovers that libgcc_s.so.1 also is needed. So I install the libgcc.i686 library as well.
Try to run ./installc -c again. The text based installer should then start, and some information on Java, Host, SMTP, Unrestricted Policy Files, Database etc. needs to be put in. There is an Installation Checklist here, that is good to fill out before starting that includes all the variables needed.
After 2-3 hours with extracting, munging, installing etc rolling over your screen, Sterling B2B Integrator should be up and running. Have a cup of coffee or three while waiting…
There is also possible to do a silent install based on a text-file including the variables needed for the setup. That might be recommended when setting up several servers. But I personally kind of like the wizard. For servers with Graphical User Interface, the wizard is graphical.
RESULT & TEST
After the install is done, start the Sterling B2B Integrator Node.
It takes some minutes to start… And then it might take some minutes before the GUI is up.
Test the installation by going to the Sterling B2B Integrator GUI. In my case that is http://sinode1.demos.ibm.int:40000/dashboard since I installed on port 40000 and has the hostname sinode1.demos.ibm.int.
We now have a current solution looking like below.