Installing 5733-QU2 aka DB2 Web query for System i V1R1M0
Just a few minutes ago (Around 10:30 in the morning) i’ve received a package through DHL from IBM, which finally contained the 5733-QU2 media. I’ve decided to write about my experiences with the installation, and i’m typing this as i go through the install.
The product is a single cd, which i’ve put into my laptop, created a CD Image using ImgBurn, and copied it to our i5/OS cd share. After that, i copied the CD image to a model 515 for testing, added it to and image catalog, and mounted the image.
While this was happening, i studied the short included README note. It contained a link to the DB2 Query for Web Getting started page. This page again references APAR II14318, which contains the necessary PTF levels to install this product. The installation guide is in the DB2 Web Query Install Guide.
The first step was to verify that i had all required products installed (using GO LICPGM, 10). There are multiple prereqs stated in multiple documents, i’ve just combined these three lists into one:
5722SS1 Option 3 - Extended Base Directory (installed by default)
5722SS1 Option 30 - Qshell (installed by default)
5722SS1 Option 33 - PASE (installed by default)
5722DG1 IBM HTTP Server (installed by default)
5722JC1 IBM Toolbox for Java (installed by default)
5722JV1 Option 8 - J2SE 5.0 32bit (NOT installed by default)
If you install a new licensed program, it might be necessary to rerun the latest cumulative and group PTFs. It makes sense to combine this with the next step.
I’ve verified that my group PTFs were current (using WRKPTFGRP):
SF99504 - DB2 fixpack level 10
SF99114 - IBM HTTP Server fixpack level 8
SF99291 - Java fixpack level 7
I’ve had higher levels at all products.. If you’re no current on PTFs, you might want to check my writeup about installing PTFs with image catalogs.
But there were more PTF requirements to be met, and you’d also need some special PTFs depending on your language feature code (It’s all in APAR II14318).
I’ve issued the following command to retrieve the missing PTFs through my ESA internet connection:
SNDPTFORD PTFID((SI27813) (SI27814) (SI28336))
The usual QESECARE job started and used up cpu time for about 10 minutes, and then a progress bar appeared. It started to download the PTFs. These three PTFs are about 120MB in size.
You’ll also need to download some more PTFs for use with web query itself. You can download them in the same session, or later. The DB2 web query PTFs are about 650MB in size - while this is not much, remember that IBMs servers are very, very slow - this download can take about 2-4 hours.
SNDPTFORD PTFID((SI28391) (SI28393) (SI28399) (SI28406) (SI28582))
(Only use this command if you’re using lang #2939, for other languages see APAR APAR II14318)
After downloading all these PTFs, i’ve started to reapply the current CUME/Groups (because i’ve installed the J2SE 5.0 32bit Java product), and also the newly ordered PTFs.
After IPLing the machine, i checked if PTFs SI27813, SI27814 and SI28336 were successfully applied. They were. I also checked if all groups were marked “Installed” using WRKPTFGRP. They were.
I loaded the correct image catalog, made sure that the correct disk was selected (F2939_01), and then issued the installation command:
RSTLICPGM LICPGM(5733QU2) DEV(OPTVRT01)
After accepting the license agreement, the installation started. After waiting for about two hours (and watching the RST reaching more than 20′000 objects restored), the installation finally succeeded.
It’s important to know that 5733QU2 needs quite a lot of space, which is not documented anywhere from IBM’s side. You’ll need 650MB for CD Image, which needs about 3GB of space when extracted. Add to that the space needed by PTFs (about 3-6GB), you’re at about 6-9GB of needed space. Those of you running a 595 with more than a hundred 147GB arms might laugh at this, but the lowend 520 machines with two mirrored 36GB disk drives might see this differently.
I do wonder about the final performance of this product, as several IBMers have stated the hardware requirements to be extreme, but the statements are inconclusive because they contradict each other:
Question from Rdandrew: What are the minimum hardware recommendations?
Drmack says: for any query/sql environment we recommend a minimum 8GB of memory per CPU w/ V5R4. We have tested with 600 CPW machines and it runs well there. Typically, 20-25 disk arms keeps your system balanced too.
Question from Dblyth: will the 515 express models run this effectively? they are limited to 8 disk arms, 4 will be typical and 4GB memory will also be typical.
Drmack says: Yes, we think the 515 is a little powerhouse despite your picking up on the fact that is may be under our guidelines for memory and disk I/O
Most of our customers are running IBMs (still expensive) low end machines - 270, 800, 520, 515 with 4 or less disk arms.
Moving on, the next step is installing the 5733QU2 PTFs. This should be done before touching anything about 5733QU2. I started the PTF installer and told it to apply PTFs immediately. This should save me from IPLing the system again (the Java PTFs contained LIC fixes - needing an IPL).
This procedure also needed a lot of time, about two hours (same as the install). At first, the progress of a SAV command appeared, that apparently saved all the files from the IFS into a savefile. After taking it’s sweet time compressing said SAVF, it started a RST command that extracted files from another savefile. Basically, it reran the installation process again (eating more and more time). This would explain why the 5733-QU2 PTFs have nearly the same size as a single CD, but i wonder what IBM’s excuse if for not dealing with IFS based products more efficiently.
While i’m waiting for the PTF installation to finish, i’m pondering the time needed to do this. I’ve started the whole installation thing at around 10:30, and it’s 15:30 right now. That means i’ve wasted about 5 hours just installing a product and it’s necessary PTFs. This wouldn’t sound that bad if we were talking about a low end intel server, but this is a high end server made by IBM, of which i expect the highest performance. A
After the PTF procedure completed, i checked if PTFs SI28391, SI28393, SI28399, SI28406 and SI28582 were applied correctly. They were.
I continued the installation using the command:
CALL QWEBQRY76/REGWEBQRY
The next steps were easy, and fully according to IBMs documentation:
CHGUSRPRF USRPRF(QWEBQRYADM) PASSWORD(mypw) GRPPRF(MRADMIN)
CALL QWEBQRY76/WQADDLIC 'myuser'
Sign on as QWEBQRYADM
QWEBQRY76/STRWEBQRY
The next step was to bring 5733QU2 into it’s German language version - this actually needs extra steps, and it just shows that 5733-QU2 isn’t really integrated with i5/OS (yet?).
You’ll need to enter QSHELL command prompt using STRQSH.
Then you’ll need to enter a command to translate your installation
/qibm/proddata/webquery/ibi/srv76/home/bin/tsgult.out NLSCFG /qibm/userdata/webquery/ibi/srv76/wfs 500 DEU
This will translate according to the CCSID 500 and the german language. It’s important to know that the examples mentioned in the Web Query Install PDF do not work - you need to explicitly specify both the CCSID and the language!
Next step was logging onto web query:
http://IPADRESS:11331/webquery_html/wfconsole.htm
The page took about 5 seconds to load, but it worked!
I logged in using the QWEBQRYADM credentials, and i was logged in. In the top left corner we saw the recent developments of IBMs branding effort System: OS/400. Product names are very important, and in a new product like QU2, i want to see “i5/OS”, and not “OS/400″.
I clicked on the Configuration/NLS Settings button as instructed by the manual. I was greeted by this error message:
An HTTP 500 error has been returned when attempting to communicate with the WebFOCUS web components. The application server log contains information on why this error has occurred. Contact your WebFOCUS Administrator or Information Builders Customer Support Services for further assistance
My first try was to restart web query using QWEBQRY76/ENDWEBQRY, STRWEBQRY commands. This didn’t help.
After a bit of searching i found out that the logfiles are located in /qibm/UserData/WebQuery/ibi/webfocus76/WQLWI7/logs/. I found a few messages which could indicate the problem:
2007/10/15 15:42:55.090 SCHWER Webcontainer : com.ibm.ws.webcontainer.servlet.ServletWrapper : Uncaught service() exception thrown by servlet {0}: {1}([/console/wfconsolenls.jsp, java.lang.NullPointerException]) Thread[HttpServer : 4,5,main] ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=HttpServer : 4 ::loggername=com.ibm.ejs.ras
2007/10/15 15:42:55.128 SCHWER Exception occured in com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter ::class.method=com.ibm.ws.ffdc.FFDCFilter.processException() ::thread=HttpServer : 4 ::loggername=com.ibm.ws.ffdcjava.lang.NullPointerException
at _ibmjsp.console._wfconsolenls._jspService(_wfconsolenls.java:91)
[snip]
2007/10/15 15:42:55.142 SCHWER Exception occured in com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() ::class.method=com.ibm.ws.ffdc.FFDCFilter.processException() ::thread=HttpServer : 4 ::loggername=com.ibm.ws.ffdcjavax.servlet.ServletException
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:166)
[snip]
2007/10/15 15:42:55.204 SCHWER Webcontainer : com.ibm.ws.webcontainer.webapp.WebApp : [Servlet Error]-[{0}]: {1}([/console/wfconsolenls.jsp, java.lang.NullPointerException]) Thread[HttpServer : 4,5,main] ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=HttpServer : 4 ::loggername=com.ibm.ejs.ras
java.lang.NullPointerException
at _ibmjsp.console._wfconsolenls._jspService(_wfconsolenls.java:91)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
[snip]
I’ve tried a few more tricks, like changing the NLS configuration to 237 DEU, and removing the NLS configuration completely. Neither did work.
I’ve opened PMR 61859,212,848 on this. Let’s see how this turns out. Moving on, i’ve tried to logon to the end user interface:
http://10.33.2.200:11331/webquery/
I was greeted with a really ugly login page, and entered my userid and password. It seems to work fine so far, updates regarding the NLS problems will be forthcoming. It’s 17:19 now, and i’m going home.
