Académique Documents
Professionnel Documents
Culture Documents
Copyright
Your use of this document is subject to the Terms of Use governing the
Cognos software products and related services which you have
licensed or purchased from Cognos. The information contained in this
document is proprietary information of Cognos Incorporated and/or its
licensors and is protected under copyright and other applicable laws.
You may use the information and methodologies described in this
document 'as is' or you may modify them, however Cognos will not be
responsible for any deficiencies or errors that result from modifications
which you make. Copyright 2006 (c) Cognos Incorporated. All Rights
Reserved.
You can print selected pages, a section, or the whole book. Cognos
grants you a non-exclusive, non-transferable license to use, copy, and
reproduce the copyright materials, in printed or electronic format,
solely for the purpose of providing internal training on, operating, and
maintaining the Cognos software.
This document is maintained by the Best Practices, Product and
Technology team. You can send comments, suggestions, and additions
to Best Practices, Product and Technologies.
Contents
1 INTRODUCTION..................................................................................4
1.1 PURPOSE...............................................................................................................4
1.2 APPLICABILITY..........................................................................................................4
1.3 EXCLUSIONS AND EXCEPTIONS.......................................................................................4
2 INTEGRATE YOUR ENVIRONMENTS......................................................5
2.1 SECURITY...............................................................................................................5
2.2 PORTALS...............................................................................................................7
2.3 SINGLE SIGNON.......................................................................................................8
2.4 DIAGRAM...............................................................................................................9
3 CLEANUP SERIES 7...........................................................................10
3.1 POWERPLAY ENTERPRISE SERVER.................................................................................10
3.2 UPFRONT PERSONAL NEWSBOXES................................................................................13
3.3 UPFRONT NEWSITEMS..............................................................................................14
3.4 DEPLOYMENT MANAGER............................................................................................21
3.5 DIAGRAM.............................................................................................................25
4 FAMILIARISE WITH COGNOS 8..........................................................26
4.1 CREATE DATASOURCES.............................................................................................26
4.2 PUBLISH PACKAGES.................................................................................................27
4.3 TEST THE STUDIOS..................................................................................................29
4.4 TRANSFORMER & CUBESWAP......................................................................................30
4.5 DIAGRAM.............................................................................................................35
5 THE UPGRADE PROCESS...................................................................36
5.1 DEPLOYMENT MANAGER............................................................................................36
5.2 MIGRATETOC8.....................................................................................................37
5.3 MAPPING.............................................................................................................40
5.4 DEPLOYTOC8.......................................................................................................41
5.5 EVALUATE............................................................................................................42
5.6 DIAGRAM.............................................................................................................43
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade 4
1 Introduction
1.1 Purpose
This document is intended to supplement the Documentation supplied
with the Series 7 Migration tools.
It outlines considerations for preparing to upgrade Series 7 PowerPlay
and Upfront content into Cognos 8.
1.2 Applicability
All Series 7 and Cognos 8 platforms are applicable.
Examples apply only to Series 7 v7.3mr2 (cer4) and Cognos 8 mr1.
Command-line parameters shown in example invocations of batch
tools shown are subject to change in future releases.
Focus is only on supported PowerPlay and Upfront content.
From
Access Manager Runtime
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade 6
From
Cognos 8 Configuration
Refer "Cognos 8
Installation and
Configuration
Guide"
(inst_cr_winux.pdf),
chapter 9, section
"Configuring Cognos
8 to Use Cognos
Series 7
Namespace"
2.2 Portals
You can expose Series 7 content directly in Cognos 8 by integrating
Upfront within Cognos Connection. The two portals can share the same
authentication, and Upfront's "//NewsIndex" will be displayed below
"Public Folders". The "Personal Newsbox" will appear below "My
Folders".
This is useful to transition users from Series 7 to Cognos 8 but retain
their familiar content in its native form.
Existing users can continue to use Upfront without any awareness of
Cognos 8. New projects can start in Cognos 8 but still have seamless
access to Series 7 content.
As projects of Series 7 content are upgraded to Cognos 8, the Upfront
content can still be navigated to in the lower Series 7 pane, and its
Cognos 8 equivalent presented for validation and use in the upper
Cognos 8 pane. As Upgrade Testing is completed, the Series 7 content
could be obscured by changing the Newsbox attribute to Hidden.
Refer
•
"Cognos 8 Administration and Security Guide" (ug_cra.pdf),
"Allow User Access to Series 7 Reports from Cognos
Connection".
On the computer(s) where the Cognos 8 Presentation Service is
installed, open the c8_location/templates/ps/system.xml file in an
editor. Find and edit the Series 7 parameter as follows, then restart
Cognos 8.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade 8
The Series 7 Trusted Signon Plugin ("TSDK") may work with Cognos 8.
Most Series 7 implementations of the a Trusted Signon Plugin rely on
the "SaferAPIGetTrustedSignon()" function to determine the User's
identity and return this to the calling application. This function is
invoked only by the Authentication Gateway "login.exe" on the
WebServer.
Since Series 7 v7.3mr1, Cognos supports the "Access Manager Service"
as a Ticket Server and as a proxy for interaction with the Namespace
from the Gateway tier. In this environment, the Trusted Signon Plugin
must implement the "SaferAPIGetTrustedSignonWithEnv()" function.
Cognos ReportNet and Cognos 8 support the use of the
"SaferAPIGetTrustedSignonWithEnv()" function for Single Signon. It is
invoked from the Content Manager when the Series 7 Namespace is
used. The location of the Plugin is recorded inside the Namespace, and
that directory path must be valid on the Content Manager host.
Refer
• "Installation and Configuration Guide" (inst_cr_winux.pdf),
chapter 9, "Configuring Cognos 8 to Use Cognos Series 7
Namespace".
• "Installation and Configuration Guide" (inst_cr_winux.pdf),
chapter 9, "Cognos Series 7 Namespaces and the Cognos Series
7 Trusted Signon Plug-in".
• "Access Manager Trusted Services Plug-In SDK Guide"
(accessadmsdk.pdf).
2.4 Diagram
Diagram shows:
• WebServer with both Series 7 and Cognos 8 Gateways
• Both Cognos 8 and Series 7 connect to same Namespace
• PowerCubes are stored on shared FileServer for concurrent access by
multiple Cognos 8 Report Servers and by Series 7 PPES.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
10
3 Cleanup Series 7
3.1 PowerPlay Enterprise Server
Identify broken references to PowerPlay Reports that might cause
Deployment Manager or the Series 7 to Cognos 8 conversion tools to
fail.
Refer
• "Installation Guide for Series 7 Solution" (ebi_inst.pdf),
chapter 9, "Upgrade PowerPlay Metadata".
You can re-run the PPES Dispatcher tools at any time. If there is any
inconsistency in how the PowerPlay Datasource Connection is
specified, then the "-ppx" option will standardise all PPX documents to
reference the current instance of PPES.
From the sample "Print Settings" report
(cern\ppserver\sample_report.ppx):
<?xml version="1.0" encoding="iso-8859-1"?>
<Document xmlns="http://www.cognos.com">
<HEAD xmlns="http://www.w3.org/TR/REC-html40">
<TITLE>sample_report.ppx</TITLE>
</HEAD>
<PowerPlayReport xmlns="http://www.cognos.com/powerplay/report"
Author="PPWIN" Version="1.2">
<PPDSConnection Cube="Sample Cube" Server="ppes.you.com">
<DataPool>
<Dimension Code="MEASURES" DimIdx="5"/>
<Dimension Code="Years" DimIdx="0"/>
<Dimension Code="Products" DimIdx="1"/>
<PPDSID Code="Years" CatId="7281" DimIdx="0"/>
<PPDSID Code="ProductLineCode" CatId="7427" DimIdx="1"/>
<PPDSID Code="Actual Revenue" CatId="21517" DimIdx="5"/>
</DataPool>
<Filter RefIds="21517"/>
</PPDSConnection>
<ReportSpecification>
more
</PowerPlayReport>
</Document>
The tool will parse all CFX documents in the PPSRoot folder and
anywhere that has been relocated using "MountAt". For each
document that references a Report (rather than a Cube or Folder or
Collection) it will attempt to open the identified PPX document and
modify the "PPDSConnection" attribute.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
12
• Problem: PPX is zero bytes
Resolution: Manually restore the PPX or delete the CFX file.
Consequence: possibly orphaned NewsItem in Upfront
• Problem: CFX is corrupt
Resolution: Manually restore or delete the CFX and PPX files.
Consequence: possibly orphaned NewsItem in Upfront
* * * * * * * * * * * * * * MIGRATION STARTED * * * * * * * * * * *
* * *
4/26/2006 11:59:06 AM
11:59:06 AM> Replacing server name and port in all ppx files with
ppes.you.com
Failed : 1
* * * * * * * * * * * * * * MIGRATION FINISHED * * * * * * * * * * * *
* * *
4/26/2006 11:59:06 AM
In the example above, a CFX file was found for a Report that is based
on the Sample Cube. The corresponding PPX document was not found.
The resolution is to either delete the CFX file too, or to restore the PPX
from a Backup. If the CFX is deleted, then any NewsItem in Upfront
that relates to that Report will become "orphaned" as it no longer has
any corresponding provider.
This will repair the Access Control Lists on all Personal Newsboxes, but
is otherwise non-destructive.
Refer
• "Upfront Server Administrator Guide" (upf_sg.pdf),
chapter 5, "Reset Root Personal NewsBox Security".
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
14
"Preview" will list all Personal Newsboxes which are a candidate for
deletion.
"Cleanup" will delete the candidate NewsBoxes, but only if they are
empty.
For example, if the CEO was replaced, then the reports that are in his
Personal NewsBox would probably be useful to his replacement. A
NewsIndex Administrator must cut&paste the content into his
replacement's Personal NewsBox before the original Personal NewsBox
can be deleted.
Refer
• "Upfront Server Administrator Guide" (upf_sg.pdf),
chapter 4, "Delete Unused Resources from the Data Store".
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
16
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
18
http://localhost/cognos/cgi-bin/upfcgi.exe?xmlcmd=
<DescribeNewsItem>
<Id>bdbe0720d44311da9417ae2d208f5dc6</Id>
</DescribeNewsItem>
http://localhost/cognos/cgi-bin/upfcgi.exe?xmlcmd=
<SetNewsItemProperties>
<Id>bdbe0720d44311da9417ae2d208f5dc6</Id>
<ProviderType>Other</ProviderType>
</SetNewsItemProperties>
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
20
Refer
• "Upfront Developers Guide" (upf_dg.pdf)
Appendix-C, "SetNewsItemProperties".
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
22
Deployment Manager is a Desktop administrative tool that connects
directly to the Upfront Dispatcher. Only content that has been
published to Upfront can be extracted ("Packed") using Deployment
Manager.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
24
The process of upgrading to Cognos 8 will require that the Packlets are
all copied from each host to a single location that the "MigrateToC8"
utility can read from.
3.5 Diagram
Diagram shows:
• Deployment Manager connects to Upfront
• Upfront creates its own Packlets (an Upfront PKG file)
• Upfront connects to PPES.
• PPES creates Packlets (CFX, PPX)
• Deployment Manager creates a DMP file and a Log
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
26
Refer
•"Administration and Security Guide" (ug_cra.pdf)
chapter 4, "Cognos Cubes"
Cognos recommends either copying the Cube to a Windows File Server,
or enabling UNC access to the Unix file location using a 3rd-party tool
such as SAMBA.
Where UNC or SAMBA are unacceptable [due to integration difficulties
or security policies], then an interesting alternative is to WebDAV
enable the location of the PowerCubes, and assign a Drive Letter to the
WebDAV location from Windows. This traffic is HTTP rather than SMB
as it is delivered by the WebDAV-enabled WebServer.
Refer http://httpd.apache.org/docs/2.0/mod/mod_dav.html
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
28
Even though no modelling is required, Framework Manager must still
resolve the Windows path of the PowerCube datasource. For other
Cube datasources, Framework Manager will connect to that
datasource.
During the Upgrade and Migration procedure, you will have to maintain
a mapping file that indicates which Cognos 8 "Package" corresponds to
each Series 7 "PPES Cubename".
Refer
• "Framework Manager User Guide" (ug_fm.pdf)
chapter 3, "Cognos Cubes"
• "Framework Manager User Guide" (ug_fm.pdf)
chapter 6, "Create or Modify a Package"
• "Framework Manager User Guide" (ug_fm.pdf)
chapter "6, Publish a Package Based on an OLAP Data Source"
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
30
All the Studios are entirely Web-based, and require no desktop
installation.
The Upgrade and Migration tools provide an ability to move PowerPlay
Web Reports to Analysis Studio or Report Studio. During the Upgrade
and Migration process it will be necessary to evaluate which target
Studio is more appropriate for different Users and Reports. In some
cases, it may be worthwhile to redevelop Reports to better utilise the
features of Cognos 8.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
32
Consequently there are now generations of Cube files to manage.
Also, if a subsequent query is routed to a "BIBusTKServerMain" process
that had resolved the Cube filepath before "CubeSwap" was invoked,
then the query may not necessarily present the new data. Only new
Query Processors will read the new filename from the Content Store
when they start.
Usage: cubeswap
<URL> <dispatcherName> <dataSource> <newCube>
[ <userName> <password> <namespace> ]
Required arguments:
URL - Cognos8 Server URL
eg. "http://<hostname>:9300/p2pd/servlet/dispatch"
dispatcherName - name of dispatcher with services using
the cube that will be updated eg. "http://<hostname>:9300"
dataSource - name of the Data Source that will be
updated with a new cube eg. "Go Data Warehouse"
newCube - the fully qualified name and path for the new cube
eg. "<path>/<cubename.mdc>"
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
34
• {MODEL} – corresponds with PPTS\
{PROJECT}\Models\{MODEL}.mdl
o {GENERATION} – an integer
incremented every time a Cube is
deployed at the end of the
Transformer process
All Cubes created from this
Model in this Generation by
Transformer.
cube.mdc
Refer
• "Administration and Security Guide" (ug_cra.pdf)
section "Update a PowerCube Connection"
• "Enterprise Server Guide" (pes.pdf)
Appendix-B, "The ppadmtool Program"
4.5 Diagram
Diagram shows:
• Transformer retrieving data from DBMS to build cubes locally
• Transformer hosts deploys Cube to
PPES\Cubes\{PROJECT}\{MODEL}\{GENERATION+1}\cube.mdc
on FileServer
• Transformer hosts invoke "ppadmtool" to amend "LocalSource"
connection on PPES host
• Transformer hosts invoke "cubeswap" to amend Datasource
Connection on Cognos 8 host
• PPES Dispatcher ("ppserver") accesses CFX files, Query
Processors ("ppdsweb") access Cubes, Report Processors
("pprp") access PPX reports from FileServer
• Cognos 8 accesses Databases on DBMS host, and also Cubes on
FileServer from "BIBusTKServerMain" Query Processors
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
36
5.2 MigrateToC8
To migrate or upgrade Series 7 content, two install kits must be
installed:
• The "migs7" install kit, which must be installed into your Series 7
environment (and is only available on Windows); and
•
The appropriate "migdeploy" install kit, which must be installed
into your Cognos 8 environment. This install kit is platform
specific.
These may be downloaded from
http://support.cognos.com/supported/en/support/downloads/cognos8/8.
1.2/license_acceptance.html
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
38
"MigrateToC8" includes features for migrating Impromptu Catalogs and
Reports. This functionality utilises OLE control of Impromptu Client, and
hence this portion of the Upgrade and Migration procedure is available
only on Windows.
Copy the Package and all Packlets from hosts in a Distributed
Architecture to a single Series 7 host where the "migs7" component
has been installed.
-p The password for the Creator user class in the Impromptu Catalog.
-u The name of the Creator user class in the Impromptu Catalog.
-U The Access Manager User name for namespace.
-P The Access Manager User password for namespace.
-N The Cognos 8 security namespace ID to be used.
-r The Cognos rendition to be used for migration.
@SETLOCAL
SET PACKAGE=Omega
SET GEN=20060425
SET SOURCE=E:\Data\Cognos\DepMan\packages\%PACKAGE%\%GEN%.dmp
SET TARGET=E:\Data\Cognos\MigrateToC8\%PACKAGE%
MKDIR %TARGET%
CD /D D:\Apps\cognos\cer4\migs7
The tool will first extract [or reuse] all Users and UserClass names and
their Series 7 unique identifier "authid" to XML files in the
"cern\migs7\security" folder. These will be used later to construct the
Cognos 8 "CAMid" equivalent.
For each invocation of "MigrateToC8", a timestamped subdirectory is
created at the TARGET location, eg
"20060427T124227.%COMPUTERNAME%.migratetoc8". The packlet
contents are massaged into intermediate XML documents.
A Log file "migratetoc8.xml" is created in the "_LOG" subdirectory. This
should be inspected for errors using a Browser.
Importantly, a file "nameMap.xml" is created in the "_SUPPORT\maps"
folder. This identifies all Series 7 content in the Series 7 Source.
Diagram shows:
• Names and AuthIds extracted from Namespace into XML
documents in "migs7\security" subdirectory.
• Packlets transformed into intermediate XML documents
• A Log written to "_LOG\migratetoc8.xml"
• List of all referenced Series 7 content written to
"_SUPPORT\maps\nameMap.xml"
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
40
5.3 Mapping
You likely need to locate and edit "nameMap.xml". This file is used
during the next phase of Upgrade and Migration to reassociate the
upgraded PowerPlay Reports to corresponding Packages in Cognos 8.
This file is recreated by every invocation of "MigrateToC8".
Consider maintaining a Master Copy of this file that is used to replace
the one generated by MigrateToC8 above. This may simplify the effort
required to map many Cubes to their corresponding Packages in
Cognos 8.
5.4 DeployToC8
"DeployToC8" is used to read the intermediate XML documents above,
combined with the modified "nameMap.xml" and create Cognos 8
Analysis or Report Studio reports.
Access Control Lists from Upfront are converted to CAMid constraints
using the Namespace ID and the Security mappings created by
MigrateToC8 above.
For each intermediate PPX report, "DeployToC8" will determine the
corresponding Cognos 8 Package using "nameMap.xml", then interact
with the Cognos 8 Report Server [using the SOAP API] to determine a
corresponding MDX statement for the selected Dimensional Analysis.
This interaction involves extraction of Metadata (Dimensions, Levels,
Categories) from the Cube by the "BIBusTKServerMain" Query
Processor(s).
You will observe extensive CPU utilisation on the Cognos 8 Report
Server(s) during this phase.
The Cognos 8 content is written to a Cognos 8 Deployment Archive
which can be subsequently imported into Cognos Connection.
The Logfile is copied and extended. It will reveal which features have
not been Upgraded and Migrated successfully, and any other
assumptions made.
Usage:
deploytoc8 [options] <source folder> <target folder>
Options:
-h Print the usage summary (this text).
--user <UserID> The user name to sign on to Cognos 8.
--password <Password> The password to sign on to Cognos 8.
--namespace <NamespaceID> The namespace to sign on to Cognos 8.
-t <interval> Override default time-out for calls to
Cognos 8.
-y <strategy> The strategy for PowerPlay report
migration.
-a Automatically import output into Cognos 8.
Cognos Proprietary
Information
Series 7 to Cognos 8 Upgrade
42
@SETLOCAL
SET PACKAGE=Omega
SET GEN=20060427T124227.myhostname.migratetoc8
SET STUDIO=analysis
SET SOURCE=E:\Data\Cognos\MigrateToC8\%PACKAGE%\%GEN%
SET TARGET=E:\Data\Cognos\DeployToC8\%PACKAGE%
cd /d D:\Apps\Cognos\c8\migdeploy
Cognos recommends that you try deploying to both Report Studio and
to Analysis Studio to inspect the quality of the results. Some analyses
may be more appropriate in one studio or the other. This can only be
decided by the Acceptance Testing users.
5.5 Evaluate
After you run the deploytoc8 command, the target directory contains
several directories and files:
• "target\_LOG\viewMigrationLog.html"
You can open "viewMigrationLog.html" in a Web browser. This
log file contains information about both the "migratetoc8" and
"deploytoc8" processes. The log file contains details about what
happens during the deployment and links to troubleshooting
topics in the documentation to help you solve any problems.
• "target\deployment\_DEPLOYMENT\"
This directory contains the compressed deployment archive files
(.zip) that you can import into Cognos 8.
Copy the Deployment Archive into the Cognos 8 Content Manager's
"Deployment" location.
Use Content Administration tool to import the Deployment Package.
You must enable the package so that users can access it. By default,
the package is disabled and none of the entries it contains are
accessible in the target environment after deployment. The package is
disabled so that you can test it before you make it available to users.
5.6 Diagram
Diagram shows:
• Intermediate XML and "nameMap.xml" read by "DeployToC8"
• SOAP interaction with Cognos 8 to build Deployment Archive
• Deployment Archive imported into Cognos 8
Cognos Proprietary
Information