We installed C11.0.0 to 13 as well as 11.1.2 to 5 under SLES 12 using silent installation.
We run the installer.properties file through a script that parses variables according to the environment being installed (two or three tier).
The script holds some variable values:
COG_INSTALL_DIR = /opt/IBM/cognos/crn0
COG_INSTALL_REPO =ca_srv_lnxi38664_11.1.5.zip
COG_INSTALL_BIN=ca_instl_lnxi38664_2.0.191003.bin
This is the properties file for two tier:
BISRVR_CA_INSTALL=1
BISRVR_CA_TOOLS_INSTALL=0
USER_INSTALL_DIR=${COG_INSTALL_DIR}
REPO=${COG_INSTALL_REPO}
BISRVR_CUSTOM_FIRST=1
BISRVR_CUSTOM_EXPAND=0
BISRVR_FEATURE_DATATIER=1
BISRVR_FEATURE_APPTIER=1
BISRVR_FEATURE_GATEWAY=0
BISRVR_FEATURE_SAMPLES=0
-fileOverwrite_${COG_INSTALL_DIR}/Uninstall_IBM_Cognos_Analytics.lax=Yes
-fileOverwrite_${COG_INSTALL_DIR}/configuration/preserve/preserve.txt=Yes
-fileOverwrite_${COG_INSTALL_DIR}/configuration/preserve/.ca_base_preserve.txt=Yes
-fileOverwrite_${COG_INSTALL_DIR}/UnixSetup.sh=Yes
We then simply execute:
${COG_INSTALL_BIN} -f installer.properties -i silent
The installer shipped with 11.1.5 is ca_instl_lnxi38664_2.0.191003.bin.
Beforehand we prepared a cogstartup.xml unencrypted and run that through the script aswell replacing configuration values like Contentstore UserID and password according to the environment where we are installing. We copy that prepared cogstartup.xml to the <installdir>/configuration/ folder and execute
./cogconfig.sh -config
to encrypt it.
Haveing scripted copying bcprov-files, coglocale.xml, jdbc-drivers, logoff.xml and content-import we are able to have a fresh install in minutes. We are maintaining over 60 environments on 8 different clustered VMs.
We were not able to upgrade existing installation for two reasons:
a) We are using symlinks for "logs" and "deployment" folders. Symlinking them to different partitions.
The installer cannot handle symlinks. And stops installing with "not enough diskspace".
b) Replacing symlinks beforehand we receive errmsg when
upgrading from 11.0.13 LTS to 11.1.4:in/opt/IBM/cognos/crn2/uninstall/logs/IBM_Cognos_Analytics_Install_11_22_2019_18_48_46.log[...]Additional Notes: ERROR - The install cannot continue because it was unable to find the entries C8RS, C8CM, C8GATE inside the component list file:/opt/IBM/cognos/crn2/cmplst.txt[..]root@xx:/ : cat /opt/IBM/cognos/crn2/cmplst.txt | grep -E "(C8RS|C8CM|C8GATE)"C8GATE_version=11.0.13.1C8GATE_name=Gateway TierC8RS_version=11.0.7.3C8RS_name=Application TierC8CM_version=11.0.13.20C8CM_name=Data TierThis issue is subject to an open PMR being investigated at this time.
Sidenote:
* 100% silent installation needs X11 forwarding in ssh disabled. unset the $DISPLAY for this.
* running interactive installer as well as cogconfig.sh interactivly needs X11 forwarding to be set ;-) and requires some extra libs that where not shipped on our SLES12
Hope this helped you.
------------------------------
Ralf Roeber
Managing Partner
Amvara Consulting
El Masnou
------------------------------