Beruflich Dokumente
Kultur Dokumente
6 Redux README
Table of Contents
________________________________________________________________________
DB2 Service: Occasionally the DB2 service may not load on initial system startup. This
usually happens when there is a mismatch between the machine computer name and the
computer name in the DB2 configuration. If this happens run the following fix:
C:\FixComputerNameCA11.bat
Note: If the file is not present, then you can download the file manually from either of the
following locations using the browser on your image:
https://ibm.box.com/s/30dhefmsshsvrdjrm25v8h8w9n661c3l
https://demo.ibmcloud.com/DC3K/ProvisioningScripts/FixComputerNameCA11.bat
The file will run and correct the hostname. Please check this file, and the hosts
file, db2nodes.cfg to verifiy that the post provisioning changes took place.
________________________________________________________________________
Note: Refresh the Samples Data Module from the GO Sales.xls in this same Box folder.
________________________________________________________________________
Note 1: When using RDP to login, you must add port 3333 onto the IP address i.e.
169.55.142.118:3333
Note 2: When using SPSS Data Collection, comment out the 127.0.0.1 line using a # in the
file located at C:\Windows\System32\drivers\etc\hosts
Warning: There may be some DPM settings that need to be updated from IBMDEMO to
the deployed IP address.
________________________________________________________________________
MS Software Installed:
Sdelete
7-zip
NotePad++
FireFox
Thunderbird and hMail
Adobe Acrobat Reader
Adobe Flash
AutoHotkey (for Ctrl-Alt-Z Password Shortcuts)
________________________________________________________________________
Cognos Analytics 11.0.6 IF1 with SPSS Modeler 18 plus ADM, and Statistics 24. Login with
"administrator/IBMDem0s" for the IBMDemo namespace or "admin/IBMDem0s!" for the
Cognos namespace. Remote Desktop port 3333
ReadMe:https://ibm.box.com/s/30dhefmsshsvrdjrm25v8h8w9n661c3l
You can use Windows Remote Desktop (if enabled) for Windows systems or use Putty for Linux
systems by using the IP Address and login credentials below to access the system itself. Linux
systems only allow Putty/SSH on the private IP address. The below credentials are for the
Operating System only.
OS Username: administrator
OS Password: XqG2dr7f
OS: Windows 2012
Demo test URL (see description above for demo login credentials as well as other steps you may
need to do before accessing the demo): http://169.47.215.197:9300/bi
Additional Information:
Support:
If your instance stops responding for any reason, please try the Reboot option on the
MyCloud page.
Please review the Cloud Concierge Support page for How-To, Documentation, FAQ,
and Use-Case videos at https://demo.ibmcloud.com/dc3knjs/support
All systems will have an accompanying README file. Please check the README file
before contacting Support.
Support FAQ: https://ibm.box.com/s/58vmbarvuzhtnqxn0mtfj9g8yvvh9tj6
Please contact askibmst@ca.ibm.com for further questions. **Please forward this
email when contacting our support team. Support hours are Monday-Friday 9am-5pm EST.
What is a Framework Manager?
IBM Cognos Framework Manager is used to create business model of
metadata derived from one or more data sources. It is a Windows
based tool which is used to publish the business models to Cognos BI in
the form of packages which can be used for analytical reporting and
analysis.
Types of DW system
Metadata Modeling
A Metadata model is defined as the collection of database objects
(tables, columns and relationship between objects) imported from the
database. When you run the report, metadata published in BI Cognos
portal generates a SQL statement according to the query.
The IBM Cognos Framework manager can hide the complexity of data
in the data source and also alter the way how data is shown to users. It
provides a view that is easy for BI users to understand and perform
analysis and reporting.
Project Viewer This pane on left side allows you to access all the
existing projects in a tree format.
Tools This pane on the right side provides you various important
useful tools. You can perform a search, or display an object and its
dependent objects, changing project language, etc.
Specify how the import should handle duplicate object names. Choose
either to import and create a unique name, or not to import. If you
choose to create a unique name, the imported object appears with a
number.
After importing Metadata, you must check the imported Metadata for
the following areas
Determinants
Click on the Cognos 8 Model and then the Next button. Navigate to
the .cpf file from Cognos 8 Model and the click on Next.
Select the check boxes for objects you want to import and then click on
Next and then on Finish.
Import View
Business View
The Import view shows you the metadata imported from the data
source. To validate the data as per your BI reporting, you can perform
the following steps
Organize the model by creating separate views for each user group that
reflect the business concepts familiar to your users.
Relationships are used to create queries on multiple objects in a
metadata model. Relationships can be bidirectional and without
creating relationship, objects are individual entities with no use in
metadata model.
There are different relationships which are possible, some of them are
Cardinality Concept
It is defined as the number of related rows for each of the two query
subjects. Cardinality is used in the following ways
0 An Outer join with all objects from both, including the items that
dont match.
Once you create a relationship after the metadata import, you can also
modify the relationship or Cardinality in the Framework manager.
Click on OK button.
Click OK.
Note The data source query subject references the data from only one
data source at a time, but you can directly edit the SQL that defines the
retrieve data to edit the query subject.
Model Query Subjects They are not directly created from a data
source but are based on the query items defined in other query subjects or
dimensions. Using the model query subject, it allows you to create more
abstract and business view of data source.
Right click on Query Subject Edit Definition. Click on the SQL tab
Available database objects box, drag objects to the SQL box.
You can also insert a data source reference, insert a macro, embed a
calculation and embed a filter.
Purpose Action
To view system tables from data source Show System Objects check box
Edit SQL
When you edit any Relation database source, create or query a Relation
database, then SQL is used in the background. You can use the
following options
Cognos SQL
Native SQL
To edit SQL of the model query subject, copy SQL from query
Information tab and paste to the new data source query subject. It is
possible to convert a model query subject to data source query subject.
Click OK.
Also note that it is not possible to change the type of SQL for query
subjects based on the OLAP data sources.
To change the type of SQL, click on SQL Type List. Then, click OK.
Best Practices in Modeling IBM Cognos 10.2
Semantic Layers in Framework Manager
click to enlarge
From IBM Cognos Connection all the end user applications can be
launched. Each one has a specific functionality focus:
All these tools share the same semantic layer built with
IBM Cognos Framework Manager.
Semantic Layers
click to enlarge
click to enlarge
Flexible Models
Model flexibility can be defined from two different points of view.
How easily can the model be adapted to changing conditions and
how easily can the user generate ad hoc query requests? Both
questions can be answered by using star schema modeling.
Query Flavour
click to enlarge
Framework Objects
click to enlarge
For every query item, the modeler should check if the usage is set
correctly. The usage of a field can be an identifier, attribute or
fact. Facts are numeric, usually additive or semi-additive data. All
indexed columns or columns containing business keys should be
set as identifier. Attributes are typically all other strings.
For every fact column, the aggregate should be set. Other options
that should be set are the format, screen tip, description These
properties are inherited by derived objects at a later stage in the
modeling process.
1 or 0 to 1 implies a dimension
click to enlarge
click to enlarge
Consolidate
When all data related issues and reporting traps are handled, the
next step in the modeling process is creating a Consolidation View.
The consolidation view usually is split up into two namespaces:
a Relational View and a Dimensionally Modeled Relational (DMR)
view of the metadata.
The first is used for normal reporting and generates SQL that is
fired to the database. The second is used in multi-dimensional
analysis and resembles an OLAP cube. The main difference
between a Dimensionally Modeled Relation model (DMR) and an
OLAP-cube is that the latter is physically stored in a
multidimensional way. The DMR-model is a virtual way of modeling
the data source and does not physically stores data.
click to enlarge
Relational
In this view model query subjects will be created using the query
subjects in the Data Foundation View. The structure will, unlike the
Data Foundation View, not resemble the database. The main goal
of this layer is to provide an easy to understand structure that is
recognisable to business users. It is perfectly okay to combine a
snowflake into a single model query subject as this would be a
logical point of view of the business users. Normally technical
meaningless objects such as load dates or sequence numbers like
primary keys and foreign keys to dimensions should be removed or
hidden. Facts should only contain measures and degenerate
dimensions. All foreign keys to dimensions should be hidden to the
business user. It is good practice not to remove these technical
fields but to keep them separated/hidden in a subfolder in the
model query subject. While debugging reports, it can be quite
handy to be able to include the primary key of a table to identify
exactly which record has issues.
DMR
click to enlarge
Presentation
The final step in modeling a framework is creating a Presentation
Layer. The Presentation Layer is built from several Star Schema
Groupings. Star Schema Groupings make the model more intuitive
to the end user by showing only related facts and dimensions. For
every star schema a different namespace is created, showing the
end user functional business areas of which to select elements in
the query. Using the wizard, star schema groupings can be created
quickly.
Multilingual
When there are multiple columns for every language, the modeler
can specify that the column name retrieved at runtime is
dependent of the user language. Sometimes the languages are not
mapped correctly. Therefore a mapped value is chosen from the
Language_lookup parameter map.
click to enlarge
When column names are changed in the database, only change the
column names in the Data Foundation View. Changing the column
name in the design language in the Consolidation View would
break the report. This only applies to the design language (English
Zimbabwe), all other languages (English) can be changed freely
without affecting the report. So clever use of the design language
will allow you to be able to easily change column names without
breaking existing reports.
Enhance performance
Aggregate tables are probably the single most cost effective
measure in boosting reporting and data warehouse performance.
Unlike competing products, Framework Manager does not have
native functionality to facilitate aggregates. However nearly all
major vendors offer functionality within the database to
transparently rewrite queries to aggregate tables. In Oracle for
example, this functionality is called query rewrite and materialized
views, in DB2 these are called materialized query tables. By using
a query rewrite functionality, the database will transparently
rewrite the query to the aggregate or detail table, depending on
what level of detail the user requested.
Reuse metadata
Security
click to enlarge
Data security will restrict users to query data they are not allowed
to. For example, a district manager will only be able to query data
of his district. Row level security can be put in place in two
different ways. It is possible to hard code the values for every
group. However a more generic approach is to create embedded
filters using security macro functions such as the LDAP username.
Segments
the centralized team can see how other teams are using the
original framework
Conclusion
Key topics
Overview of IBM Cognos BI
Discuss IBM Cognos and Performance Management
Describe IBM Cognos components
Describe IBM Cognos architecture at a high level
Define IBM Cognos groups and roles
Explain how to extend IBM Cognos
Identify Common Data Structures
Examine the characteristics of operational databases and databases
designed for reporting
Examine relationships and cardinality
Identify different data traps
Examine dimensional data sources
Gather Requirements
Examine key modeling recommendations
Define reporting requirements
Explore data sources to identify data access strategies
Create a Baseline Project
Examine the IBM Cognos BI and Framework Manager workflow processes
Define a project and its structure
Describe the Framework Manager environment
Create a baseline project
Enhance the model with additional metadata
Prepare Reusable Metadata
Identify facts and dimensions
Examine relationships, and data traps
Verify relationships and query item properties
Ensure efficient filters by configuring prompt properties
Model for Predictable Results: Identify Reporting Issues
Describe multi-fact queries and when full outer joins are appropriate
Describe how IBM Cognos BI uses cardinality
Identify reporting traps
Use tools to analyze the model
Model for Predictable Results: Virtual Star Schemas
Identify the advantages of modeling metadata as a star schema
Model in layers
Create aliases to avoid ambiguous joins
Merge query subjects to create as view behavior
Model for Predictable Results: Consolidate Metadata
Create virtual facts to simplify writing queries
Create virtual dimensions to resolve fact-to-fact joins
Create a consolidated modeling layer for presentation purposes
Consolidate snowflake dimensions with model query subjects
Simplify facts by hiding unnecessary codes
Calculations and Filters
Use calculations to create commonly-needed query items for authors
Use static filters to reduce the data returned
Use macros and parameters in calculations and filters to dynamically control
the data returned
Implement a Time Dimension
Make time-based queries simple to author by implementing a time
dimension
Resolve confusion caused by multiple relationships between a time
dimension and another table
Specify Determinants
Use determinants to specify multiple levels of granularity and prevent
double-counting
Create the Presentation View
Identify the dimensions associated with a fact table
Identify conformed vs. non-conformed dimensions
Create star schema groupings to provide authors with logical groupings of
query subjects
Rapidly create a model using the Model Design Accelerator
Work with Different Query Subject Types
Identify key differences and recommendations for using data source, model,
and stored procedure query subjects
Identify the effects on generated SQL when modifying query subjects, SQL
settings and relationships
Set Security in Framework Manager
Examine the IBM Cognos BI security environment
Restrict access to packages
Create and apply security filters
Restrict access to objects in the model
Create Analysis Objects
Apply dimensional information to relational Metadata to enable OLAP-style
queries
Define members and member unique names
Identify changes that impact a MUN
Sort members for presentation and predictability
Manage OLAP Data Sources
Connect to an OLAP data source (cube) in a Framework Manager project
Publish an OLAP model
Publish a model with multiple OLAP data sources
Publish a model with an OLAP data source and a relational data source
Advanced Generated SQL Concepts and Complex Queries
Governors that affect SQL generation
Stitch query SQL
Conformed and non-conformed dimensions in generated SQL
Multi-fact/multi-grain stitch query SQL
Variances in Report Studio generated SQL
Dimensionally modeled relational SQL generation
Cross join SQL
Various results sets for multi-fact queries
Use Advanced Parameterization Techniques in Framework Manger
Identify environment and model session parameters
Leverage session, model, and custom parameters
Create prompt macros
Leverage macro functions associated with security
Model Maintenance and Extensibility
Perform basic maintenance and management on a model
Remap metadata to another source
Import and link a second data source
Run scripts to automate or update a model
Create a model report
Optimize and Tune Framework Manager Models
Identify and implement techniques to optimize and tune your Framework
Manager models
Use Dynamic Query Mode in Framework Manager
Work in a Multi-Modeler Environment
Segment and link a project
Branch a project and merge results
Manage Framework Manager Packages
Specify package languages and function sets
Control model versioning
Nest packages
Appendix A: Employ Additional Modeling Techniques
Leverage a user defined function
Set the order of operations in a model calculation
Externalize query subjects
Prepare IBM Cognos 10 content for use as a data source in Transformer
Create query sets
Use external source control through Windows Explorer
Appendix B: Model Multilingual Metadata
Customize metadata for a multilingual audience
Appendix C: Additional Resources
Links to sites where the customer can find more information about course-
related material.
Key topics
1. Introduction to IBM Cognos Analytics
Describe IBM Cognos Analytics and its position within an analytics solution
Describe IBM Cognos Analytics components
Describe IBM Cognos Analytics at a high level
Explain how to extend IBM Cognos
2. Identifying common data structures
Define the role of a metadata model in Cognos Analytics
Distinguish the characteristics of common data structures
Understand the relative merits of each model type
Examine relationships and cardinality
Identify different data traps
Identify data access strategies
3. Defining requirements
Examine key modeling recommendations
Define reporting requirements
Explore data sources to identify data access strategies
Identify the advantages of modeling metadata as a star schema
Model in layers
4. Creating a baseline project
Follow the IBM Cognos and Framework Manager workflow processes
Define a project and its structure
Describe the Framework Manager environment
Create a baseline project
Enhance the model with additional metadata
5. Preparing reusable metadata
Verify relationships and query item properties
Create efficient filters by configuring prompt properties
6. Modeling for predictable results: Identifying reporting Issues
Describe multi-fact queries and when full outer joins are appropriate
Describe how IBM Cognos uses cardinality
Identify reporting traps
Use tools to analyze the model
7: Modeling for predictable results: Virtual star schemas
Understand the benefits of using model query subjects
Use aliases to avoid ambiguous joins
Merge query subjects to create as view behavior
Resolve a recursive relationship
Create a complex relationship expression
8. Modeling for predictable results: consolidate metadata
Create virtual dimensions to resolve fact-to-fact joins
Create a consolidated modeling layer for presentation purposes
Consolidate snowflake dimensions with model query subjects
Simplify facts by hiding unnecessary codes
9. Creating calculations and filters
Use calculations to create commonly-needed query items for authors
Use static filters to reduce the data returned
Use macros and parameters in calculations and filters to dynamically control the data returned
10. Implementing a time dimension
Make time-based queries simple to author by implementing a time dimension
Resolve confusion caused by multiple relationships between a time dimension and another table
11. Specifying determinants
Use determinants to specify multiple levels of granularity and prevent double-counting
12. Creating the presentation view
Identify the dimensions associated with a fact table
Identify conformed vs. non-conformed dimensions
Create star schema groupings to provide authors with logical groupings of query subjects
Rapidly create a model using the Model Design Accelerator
Rapidly create a model using the Model Design Accelerator
13. Working with different query subject types
Identify the effects of modifying query subjects on generated SQL
Specify two types of stored procedure query subjects
Use prompt values to accept user input
14. Setting Security in Framework Manager
Examine the IBM Cognos security environment
Restrict access to packages
Create and apply security filters
Restrict access to objects in the model
15. Creating Analysis objects
Apply dimensional information to relational metadata to enable OLAP-style queries
Sort members for presentation and predictability
Define members and member unique names
Identify changes that impact a MUN
16. Managing OLAP Data Sources
Connect to an OLAP data source (cube) in a Framework Manager project
Publish an OLAP model
Publish a model with multiple OLAP data sources
Publish a model with an OLAP data source and a relational data source
17. Advanced generated SQL concepts and complex queries
Governors that affect SQL generation
Stitch query SQL
Conformed and non-conformed dimensions in generated SQL
Multi-fact/multi-grain stitch query SQL
Variances in IBM Cognos Analytics - Reporting generated SQL
Dimensionally modeled relational SQL generation
Cross join SQL
Various results sets for multi-fact queries
18. Using advanced parameterization techniques in Framework Manger
Identify environment and model session parameters
Leverage session, model, and custom parameters
Create prompt macros
Leverage macro functions associated with security
19. Model maintenance and extensibility
Perform basic maintenance and management on a model
Remap metadata to another source
Import and link a second data source
Run scripts to automate or update a model
Create a model report
20. Optimizing and tuning Framework Manager models
Identify how minimized SQL affects model performance
Use governors to set limits on query execution
Identify the impact of rollup processing on aggregation
Apply design mode filters
Limit the number of data source connections
Use the quality of service indicator
21. Working in a Multi-Modeler Environment
Segment and link a project
Branch a project and merge results
22. Managing packages in Framework Manager
Specify package languages and function sets
Control model versioning
Nest packages
Appendix A. Additional modeling techniques
Leverage a user defined function
Identify the purpose of query sets
Use source control to manage Framework Manager files
Appendix B. Modeling multilingual metadata
Customize metadata for a multilingual audience
https://www.ibm.com/communities/analytics/cognos-analytics-blog/samples-landing-page/
https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.inst_
cr_winux.doc/c_install_fm.html
http://www-01.ibm.com/support/docview.wss?uid=swg21993825