Professional Documents
Culture Documents
By
Rich Babicz/Srini
Motupalli
1 | Page
Table of Contents
Setup of JDBC connection........................................................................................... 3
Setting up routing rules in distributed cognos environment.......................................3
Designing a star-schema model.................................................................................5
Export of Dynamic Cube Content............................................................................... 5
Import of Dynamic cube in new environment...........................................................10
Publishing Cognos Dynamic cube.............................................................................15
Starting Dynamic cube............................................................................................. 25
2 | Page
fact that all dispatchers are 32bit execution mode which can handle both
CQM and DQM processing.
7. If any above tests are unsuccessful evaluate changes before attempting an
alternative test method, otherwise move to step 9. This method is to bring
down report services on two CQM dispatchers and leave active CM up.
Requests will then be routed to active cube dispatcher and will be successful
on every attempt.
8. Run test report on cube which should succeed on every attempt. If successful
startup 32bit dispatchers and move to step 9.
9. If above tests successful, modify Cube dispatcher report execution mode
setting to 64bit, stop services, save and restart dispatcher services.
10.Run a report similar to step 6. Results should now be that requests will now
occasionally fail (1 of 3 attempts on avg) due to the 64bit dispatcher unable
to handle CQM requests.
11.Setup new routing rule from Cognos Administration/Configuration tab
Dispatchers and Services.
12.Click on routing rule icon and add a new rule. Type in exact name of package
and select the 64b rptg server group and save. Go to cube package
properties and Set routing rule on package.
13.You may have to setup a rule to act as a catch all bucket for all non-routed
requests. Needs investigation as this is a newly changed behavior in in
10.2.1.
14.Setup routing rule for CQM packages in similar manner but select 32brptg
server group.
15.Test cube report with all dispatchers up and running. Report should now
succeed on every attempt.
4 | Page
Misc. Items
5 | Page
6 | Page
f) Select Include data sources and connections but do not select Include
sign-ons
Note: if we select Include sign-ons, Sign-on information will also be
imported into DEV/PROD environment and later sign-on information
has to be changed manually.
Under Conflict resolution, select Keep existing entries if you
have other relational data sources already existing in DEV/PROD
environments. Otherwise, data sources from DEV will overwrite the
data sources in PROD. This should not be happen.
g) Under Entry Ownership , set the owner to The user performing the import
and
7 | Page
Note: if the reports/packages already exist in PROD environment, then use New
Entries Only.
8 | Page
9 | Page
j) Under select an action, select Save and run once and click Finish.
10 | P a g e
e. Select the package/folders from the list shown and click Next.
f.
Leave all other options default or if needed can change the options during
import as well for the options set during export and click Next(If Include
11 | P a g e
g.
h.
12 | P a g e
i.
j.
13 | P a g e
k. In next tab select View the details of this import after closing this dialog and
check for any errors during import and click Ok.
l.
After import, observe that only the data source Trade_Cube Datasource
time stamp changed and no change for other data sources. Please find below
snapshot. This import is conducted on October 27th.
14 | P a g e
2) Go to Status > Data Stores and assign the Trade_Cube to proper dispatcher group
(64b_rptg) by selecting Add Datastore to server Group and click Ok.
15 | P a g e
3) Set the query service level JVM heap size setting s as required. This setting has to
be done based on the memory needed for Member chache,data cache, aggregate
cache and temp space needed.
16 | P a g e
5) Go to Status > System tab and start the cube by right click and Start.
If could not start cognos dynamic cube, make sure that the users credentials are renewed.
If not, Please go to my preferences > Personal > click on Renew the Credentials.
17 | P a g e
6) Once the cube is started, its status will be Available next to it and make sure that
all the recommended aggregates are loaded.
Once the dynamic cube is published and started, it will load all the dimensional members
into member cache.
But doesnt load fact data until the aggregates are built and saved against dynamic cube
in content store.
Below are the detailed steps to generate aggregates and saving them against dynamic
cube in content store.
1) Stop the cube and enable the workload logging on dynamic cube and set
Right click cube > Set Properties
2) Set the Maximum space for in-memory aggregates(MB) to zero otherwise cube will
load pre existing aggregates into in memory if any and click Ok.
18 | P a g e
3) Stop and Start the cube. Workload logging file will be created in a folder(with cube
name) in below location of server .
C:\Program Files\ibm\cognos\c102_64\logs\XQE\ROLAPCubes
4) Run any prebuilt or designed reports with some sample set of data(No need to run
reports with full volume of data).
5) Workload_log file in ROLAPCubes folder will be updated with executed reports
metadata which will be used by DQA when we start building aggregates.
6) Start the aggregate advisor from Dynamic cube analyzer tool and select the cube
(which you want aggregate recommendations) and click Next
e) If there is any workload_log. Xml with metadata to be used, then will see
those reports in Report names section of this page and selected required
reports to be used for advisor recommendations.
20 | P a g e
f) Click Finish and advisor run for couple of min based on fact data volume
and provide recommendations as shown below.
21 | P a g e
22 | P a g e
23 | P a g e
Start/Restart dynamic cube and it will load all new recommended aggregations.
24 | P a g e