Friday, February 12, 2016

OD stuff to take note

You may get the following errors when installing streams (check the logs in the streamsadmin home dir during the installation.. if after installation check in the InfoStreams/log directory:

IS_SELINUX_WARNING=You are installing to target system Red Hat Enterprise Linux Server release 6.5 (Santiago) to directory /home/streamsadmin/InfoSphereStreams. The current SELinux setting is PERMISSIVE. You can continue with the installation, however the following conditions prevent the product from being enabled for SELinux.

1. CDISI3035W The user who installs the product must be the root user.


If you cancel the installation, correct the error conditions and try again. If you continue, you must correct the error conditions after the installation completes and run /home/streamsadmin/InfoSphereStreams/bin/streamsinstallpolicy.sh to enable the product for SELinux. For information on running the product on an SELinux system, see the InfoSphere Streams Information Center.
IS_SYS_CONFIG_WARN=The following warning conditions were detected. You can continue the installation, but the product might not function correctly. If you continue, check the installation summary log file for additional actions.

1. CDISI3044W The system soft limit for the maximum number of processes is low: 1024.


First problem:
Set selinux to disabled (permissive will give the first error)

Second problem:
set /etc/security/limits.d/90-nproc.conf to higher value (soft limit)

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

Other notes:
1. Ensure software binaries are set to a path where there are no spaces because during installation, it will use the tar command which will fail if there are spaces in the path

2. Set in the root .bashrc:
export JAVA_HOME=/apps/ibm/db2/V10.5/java/jdk64
export DETECT_HOME=/home/streamsadmin/OpDetection
. /home/db2inst1/sqllib/db2profile
export PATH=$PATH:$JAVA_HOME/bin

3. Set in the streamsadmin .bashrc:
ulimit -u 10000
ulimit -n 10000
export JAVA_HOME=/apps/ibm/db2/V10.5/java/jdk64
export DETECT_HOME=/home/streamsadmin/OpDetection
source /home/streamsadmin/InfoSphereStreams/bin/streamsprofile.sh
. /home/db2inst1/sqllib/db2profile

4. During installation of streams, you can view the streams installation logs:
/home/streamsadmin/InfoSphereStreams3.2.1.2_InstallDetail.log

Once installation is done, you can view the logs in:
/home/streamsadmin/InfoSphereStreams/logs

Detect logs will be in /root and then moved to the OD install dir/logs

No comments:

Post a Comment