Saturday, September 18, 2010
Adding web pages to WebTop/TBSM/ITNM
INSTALL_DIR/tip/profiles/TIPProfile/systemApps/isclite.ear/Webtop.war/
accessed via:
https://hostname:16316/ibm/console/webtop/filename
Now, where it gets pretty exciting is that WebTop 2.2 and above are hosted on WebSphere, a full-fledged app server, and it supports JSP pages (which basically let you write server-side Java code to do anything you want, PLUS output HTML). An example JSP file can be found here:
http://www.java2s.com/Code/Java/JSP/Printtherequestheadersandthesessionattributes.htm
Just put that file into the above directory and you'll see all of the session and request information available to your JSP.
Have fun.
Friday, September 3, 2010
Tivoli Common Reporting 1.3 - Framework Manager Installation
Prerequisites
Before installing Framework manager, you will need the following.
1. A Windows box to install framework manager. IT is NOT supported on other operating systems.
2. Necessary ODBC data sources or Database client software installed on the Windows system. You can't use JDBC type-4 drivers.
Installation and Configuration
Installing Framework manager is pretty straight-forward. The installation media contains a separate folder named "CognosModeling". You basically run the issetup.exe from win32 subdirectory to install it. However, you need to perform couple of easy post install configurations to get the product to work. The steps are given below.
1. Bring up the Cognos Configuration under Programs->IBM Cognos 8->IBM Cognos Configuration. Note: There is another "IBM Cognos Configuration" under Tivoli Common Reporting. Do not make changes to it as it will break the TCR product.
2. Select the Environment Group under Local Configuration.
3. Change the Gateway URI property to https://<tcrserver>:16316/tarf/servlet/component
4. Change the "Dispatcher URI for external applications" to http://<tcrserver>:16315/tarf/servlet/dispatch
5. Again the above values for default TCR installation (assuming 16316 is HTTPS and 16315 is HTTP). You can double check by bringing up the "IBM Cognos Configuration" under Tivoli Common Reporting and comparing the property values for "Gateway URI" & "External dispatcher URI" with the above values.
Once you configured these values, you should be able to bring up Framework Manager, create a new project and signin with your TIP id (e.g. tipadmin) to create your custom data model.
Hope this helps.
Friday, August 27, 2010
Getfile, Putfile, Executecommand - added in ITM 6.2.2 fp02
GETFILE:
{-m|--system} SYSTEM
{-s|--source} REMOTE_FILE
{-d|--destination} LOCAL_FILE
[{-t|--type} Transfer MODE] - Either [text|bin]
[{-f|--force}] – Forces an overwrite of the file if it exists
Example:
tacmd getfile -m itmtest:LZ -s /tmp/itmtest.log -d /base_logs/itmtest_08272010.out -t text –f
--------------------------------------------------------------
PUTFILE:
{-m|--system} SYSTEM
{-s|--source} LOCAL_FILE
{-d|--destination} REMOTE_FILE
[{-t|--type} MODE] ] - Either [text|bin]
[{-f|--force}] – Forces an overwrite of the file if it exists
Example:
tacmd putfile -m itmtest:LZ -s /automationscripts/ testing.sh -d /tmp/testing.sh -t text –f
NOTE: When transferring the file, it sets the permissions of the file to “666”.
--------------------------------------------------------------
EXECUTECOMMAND:
tacmd executecommand
{-m|--system} SYSTEM
{-c|--commandstring} COMMAND_STRING
[{-w|--workingdir} REMOTE_WORKING_DIRECTORY}]
[{-o|--stdout}]
[{-e|--stderr}]
[{-r|--returncode}]
[{-l|--layout}]
[{-t|--timeout} TIMEOUT]
[{-d|--destination} LOCAL_STD_OUTPUT_ERROR_FILENAME]
[{-s|--remotedestination} REMOTE_STD_OUTPUT_ERROR_FILENAME]
[{-f|--force} FORCE_MODE}
[{-v|--view}]
Example:
tacmd executecommand -m itmtest:LZ -c "/tmp/testing.sh" -o -e -r -l –v
NOTE: You will need to parse the STDOUT from this command to get the local STDERR, STDOUT, Return Code etc…
Monday, August 23, 2010
Tivoli Common Reporting 1.3 Overview
Wednesday, July 28, 2010
BIRT Tip: Dependent Parameters in your reports
- Create a new dataset called COUNTRIES to select all unique Country information. e.g. A sample SQL is "SELECT distinct COUNTRY from CUSTOMERS".
- Create a new dataset called StatesInCountry to select all unique State information for a given country. e.g. A Sample SQL is "SELECT distinct STATE from CUSTOMERS WHERE COUNTRY = ?". Leave the parameter binding for the first parameter (param_1) to NONE for now. We will change it later.
- Create a new Cascading Parameter Group called "paramStates". Choose "Multiple Dataset" option as we will have to select information from two datasets created above.
- Click on Add Button on the "New Cascading Parameter" dialog to add a new Cascading parameter. Enter the name for the cascading parameter as "paramCountries", choose COUNTIRES dataset created in Step1 as the dataset and select the "COUNTRY" fields for value and display text.
- Click on Add button again to add the state cascading parameter. Enter the name for the cascading parameter as "paramStatesInCountry", choose the StatesInCountry dataset created in Step 2 as the dataset and select the "STATE" field for value and display text.
- Click Ok to close "New Cascading Parameter" dialog. Please see the attached screenshot containing the Cascading Parameter Group information.
- Now edit the StatesInCountry dataset created in step 2, goto Parameters section, edit the param_1 parameter binding and set the LinkedToReport Parameter value to the "paramCountries" cascading parameter created in step 4. Click ok to save the changes.


Wednesday, July 14, 2010
5 Things You Didn't Know About Java series from Developerworks
Tuesday, July 13, 2010
Video demos of Tivoli products
http://www.ibm.com/developerworks/wikis/display/tivolimediagallery/Home