Skip to Content
Technical Articles

Q – the easy Installer for SAP IQ

last changed: 17th of March 2021

Q – the easy Installer for SAP IQ – Motivation …

 

Blog – SAP (Sybase) IQ – the hidden treasure …

in the last Months, actually beginning with 2019 the request for the Installation of SAP Sybase IQ growed for several reasons, everyone can understand:

Beside that, other bullet points came into the consideration:

 

So, since 2013 the SAP First Guidance – SAP NLS Solution with SAP IQ 16.x became the “Almanack” for SAP IQ Database Implementations, despite for SAP-NLS or native usage.

SAP NLS Solution for BW(4) – Overview 2020

Note 2780668 – SAP First Guidance – BW NLS Implementation with SAP IQ
Note 3017355 – SAP IQ 16.1 SP04 PLx – correct SAPIQDB.cfg settings

Imagine there is a simple routine based on the SAPHostAgent to install SAP Sybase IQ 16.x with three input values:

  • <SID> (What, also IQ get’s a SAP <SID>?)
  • Instance Number (what’s about port 2638?)
  • Size of DB in GB (including all sizing considerations)

 

The Answer: Q – the easy Installer for SAP IQ

Q introduces to James …

the following picture shows the Setup of Q, which is actually the same Installation Procedure as the SAP Datahub SL Container Bridge Architecture

Q%20-%20overall%20process%20of%20functionality

Q – overall process of functionality

 


 

enable HTTPS Port 1129 for the SAP Host Agent

either you call the SAPHostAgent via HTTP Port 1128 or HTTPS Port 1129

run the following command (same setup as for the SL Container Bridge):

server:/usr/sap/hostctrl/exe #./saphostexec -install -setup slplugin -passwd
server:/usr/sap/hostctrl/exe #

add the following parameter to the file host_profile and restart the SAP Host Agent

server:/usr/sap/hostctrl/exe # vi host_profile
service/admin_users = sapadm <sid>adm
service/disable_capability = ExecuteOperation/PermissionPolicy

server:/usr/sap/hostctrl/exe # ./saphostexec -restart

now it is possible to call the SAP Host Agent on HTTPS Port 1129

#create the url on host via:
echo https://$(hostname -f):1129/NLSSetup/prepare

 


Version v0.74 allows now to specify the IQ Block and Page Size for the specific needs

Q – enter the three (now five) values

 

Please Note: the latest used Version is now IQ 16.4 SP04 PL09
Note 3031613 – SAP IQ 16.1 SP04 PL09 (Build 15175) Release Notes Information

for SAP NLS and ILM scenarios, also update the IQ Network Client to the latest Version
Note 3031621 – SAP IQNC 16.1 SP04 PL09 (Build 15175) Release Notes Information
Note 3017355 – SAP IQ 16.1 SP04 PLx – correct SAPIQDB.cfg settings

In case the /tmp Directory is mounted as read-only then follow the steps in the Note
Note 2104632 – ./setup.bin raises warning /tmp does not have enough disk space! – SAP IQ

server:/ebf29137 # ./setup.bin
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

JRE libraries are missing or not compatible....
Exiting....
server:/ebf29137 # mount | grep "/tmp"
/dev/mapper/vg_sys_r1-tmp on /tmp type ext4 (rw,nodev,noexec,noatime,data=ordered)
server:/ebf29137 #
server:/ebf29137 # export IATEMPDIR=/sapmnt/tmp
server:/ebf29137 # ./setup.bin

 

The SAPHostAgent uses a routine called “sapinstancebuilder” which creates a complete file system structure equally to an existing SAP Systems like SAP HANA or SAP BW/ERP/etc.

You can always watch the progress of the IQ Installation in the URL of the Browser

  • http://server.domain.ext:1128/NLSSetup/prepare
    https://server.domain.ext:1129/NLSSetup/execute

or alternatively in the SAPHostAgent working directory
/usr/sap/hostctrl/work # tail -f nls.execution.status

Once the IQ Database Installation is finished, you can use the iSQL Windows Client to connect to the Database and Check the status with the sp procedures

sp_iqstatus;
sp_iqlmconfig;
sp_iqcheckoptions;
sp_iqconnection;
sp_iqwho;

SAP IQ allows you with the sql tool iqdsn to create a DSN entry directly in the file .odbc.ini located in the home directory of the SAP IQ Administrator.

sybase@server:/usr/sap/NLS/data/db>
iqdsn -y -w "SAPIQDB" -c "UID=DBA;PWD=dba;ServerName=server_<SID>_<nr>;DBN=SAPIQDB; Host='server.domain.net:3<nr>38'"
sybase@server:/usr/sap/NLS/data/db> dbping -d -c dsn=SAPIQDB

If for any reason it is not possible to connect to the IQ Database with the Windows Client, you can also directly call the Interface with the tool dbisql (also with the usage of the DSN above):

siqadm@server:/usr/sap/SIQ/data/db> dbisql -c "uid=dba;pwd=Password;dbn=SAPIQDB" -nogui
(DBA)>

 


the SAP IQ Cockpit (Monitoring and much more)


As Flash is not longer available from Adobe since end of 2020, the SAP IQ COCKPIT cannot be used anymore as of now. If your Company is not Blocking Flash System Wide, simply use the Waterfox Browser to continue.

Blog – How to keep Enterprise Flash Applications accessible in 2021

Note 2905488 – SAP IQ Cockpit End of Life: December 2020

Nevertheless´, you can always use the Web based Monitoring with Transaction DBACOCKPIT or work with the command line based SAP IQ Monitoring.

tx. DBACOCKPIT


the URL is called like – https://server.domain.ext:34283/cockpit/#

configure the correct Ports for the IQ COCKPIT usage:

stop_COCKPIT 
cdsw
cd COCKPIT4/bin
./cockpit.sh -port db=3<nr>80,msg=3<nr>81,http=3<nr>82,https=3<nr>83,rmi=3<nr>84,tds=3<nr>85
cddb 
start_COCKPIT

as the easy Installer improves a lot of the manual tasks, the IQ Agent Registration is easy as well


the SAP BW nearline storage configuration


Blog – SAP-NLS Solution for SAP BW based on SAP IQ.
For the SAP-NLS Implementation finally, you have to call some transactions in the SAP BW backend:

  • DBCO => depending on the scenario additional work for SDA is necessary
  • RSDANLCON => create the NLS storage target
  • DBACOCKPIT => reuse the DBCO connection to monitor the Database within BW
  • RSOADSODTO => cold store usage with BW/4

tx.%20RSDANLCON

Done …


The needed files can now be found in the Document => ask roland.kramer@sap.com

 


Roland Kramer, SAP Platform Architect for Intelligent Data & Analytics, SAP SE
@SAPFirstGuidance

 

“I have no special talent, I am only passionately curious.”

6 Comments
You must be Logged on to comment or reply to a post.
  • Hi Roland Kramer,

    Thanks for sharing valuable knowledge and expertise with community. We have just  start  to Implement SAP NLS BW 7.4 with Sybase IQ 16.1 install on Windows Server 2016.After installation and configuration  with your Guide line for NLS.We have create DBCO connection with sybase IQ but connection not successfully showing error (ERROR Database connection SAPIQDB: ADBC error ‘Internal error 16 has occurred).We have implement relevant SAP Note but unfortunately can’t find any solution.

    Kindly give guideline regarding this.

    Regards,

    Muhammad Shafiq

     

    • Hello,

      If not already figured out the root case: there are no Windows based IQ Client drivers for Unix Based SAP BW Application Servers available.

      Please try to find a suitable OS-DB combination ...

      Best regards Roland

    • Hello Raymond

      No, it is not. you can still use the Transaction DBACOCKPIT to include the Monitoring Web based instead of Flash.

      As an Alternative, you can use Ruffle -  to emulate the Flash Content from the Cockpit, but it is not jet working properly ...

      Best Regards Roland

      /
    • hello Ravikanth Lingamaneni

      thanks for the Tipp. I'm using Firefox 78.9.0esr with Adobe Flash Player at this time.
      unfortunately, when the Company blocks Flash Systemwide, also this Browser will not help.

      but much easier as the workaround with Firefox and the Non Supported Adobe Flash Player.

      Thanks and Best Regards Roland