39656307 how to install and configure cognos

Upload: rmram234

Post on 10-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 39656307 How to Install and Configure Cognos

    1/5

    How to install and configure Cognos

    Step 1

    Install Cognos components. This will take a lot and I recommend to restart the computerbetween every three components or so, in order to clear the cache, or whatever it is that it

    makes it run slower.

    [edit]

    Step 2

    Download OracleXEUniv.exe from Oracle site and install it. Create a new user cognos

    with any password (I chose "cognos" as well) and grant all privileges to it. (NOTE -

    Character Set of the Database should be UNICODE)

    [edit]

    Step 3

    Locate ojdbc14.jar in oraclexe\app\oracle\product\10.2.0\server\jdbc\lib and copy it to

    cognos\c8\webapps\p2pd\WEB-INF\lib

    If classes12.jar exists in this folder, delete it or rename it.

    [edit]

    Step 4

    1. Download Apache 2.2 webserver free from Apache Webserver Project page and

    install it.

    2. Locate the file 'httpd.conf'in the \Conf

    and add the following text at the bottom:

    # cognos

    Include conf/extra/cognos8.conf

    Create the file conf/extras/cognos8.conf with the following contents:

    #

    # Cognos 8

    #

    http://it.toolbox.com/wiki/index.php/Cognoshttp://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=4http://it.toolbox.com/wiki/index.php/Oraclehttp://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=5http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=6http://httpd.apache.org/http://it.toolbox.com/wiki/index.php/Cognoshttp://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=4http://it.toolbox.com/wiki/index.php/Oraclehttp://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=5http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=6http://httpd.apache.org/
  • 8/8/2019 39656307 How to Install and Configure Cognos

    2/5

    ScriptAlias /cognos8/cgi-bin "C:/Program Files/Cognos/c8/cgi-bin"

    AllowOverride None

    Options None

    Order Allow,Deny

    Allow from All

    Alias /cognos8 "C:/Program Files/Cognos/c8/webcontent"

    Options None

    AllowOverride None

    Order Allow,Deny

    Allow from All

    Options None

    AllowOverride None

    Order Allow,Deny

    Allow from All

    Replace c: with d: or whatever drive letter you installed the Cognos software to.

    Restart the Apache service.

    [edit]

    Step 5

    1. Start Cognos Configuration.

    2. Delete whatever it is under Content Manager and create a new item called

    Content Store, of type Oracle.

    http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=7http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=7
  • 8/8/2019 39656307 How to Install and Configure Cognos

    3/5

  • 8/8/2019 39656307 How to Install and Configure Cognos

    4/5

    You may want to clear up some of the Cognos server logs as part of your

    startup/shutdown processing, just add the line to your startup or shutdown scripts.

    erase /f /q "C:\Program Files\Cognos\c8\logs\*.*"

    Don't forget that Apache also has its own log files that can grow quite large and you may

    want to clear these out quite frequently.

    NB - if you are using Cgonso 8.4 then you should change the name to "IBM Cognos 8"

    [edit]

    Step 7

    1. You should now import the samples.

    2. Create five users in OracleXE called gosales, gosalesdw, gosaleshr, gosalesmr

    and gosalesrt. The password should be the same as the user id. Make sure to grantthem all the privileges.

    3. Go to cognos\c8\webcontent\samples\datasources\oracle and extract the .gz files.

    4. Under this folder run the following commands:

    (Atcommand prompt not at sqlplus command window)

    imp gosales/gosales@xe file = GOSALES.dmp full=y log=log.txt

    imp gosaleshr/gosaleshr@xe file = GOSALESHR.dmp full=y log=log.txt

    imp gosalesdw/gosalesdw@xe file = GOSALESDW.dmp full=y log=log.txt

    imp gosalesmr/gosalesmr@xe file = GOSALESMR.dmp full=y log=log.txt

    imp gosalesrt/gosalesrt@xe file = GOSALESRT.dmp full=y log=log.txt

    [edit]

    Step 8

    1. In Cognos Connection select Cognos Administration and then Configuration.

    2. Click the New Data Source button.

    3. Type gosales for name and click Next.4. Select Oracle for type and click Next.

    5. Type xe for connection string (small caps needed). Select User ID and

    Password checkboxes. Enter gosales for user ID and the same for password.

    6. Test the connection. In case of failure restart the Oracle database.7. If all goes well click Finish.

    8. Repeat the steps for gosalesdw, and the rest.

    [edit]

    Step 9

    1. Open Framework Manager.

    http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=9http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=10http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=11http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=9http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=10http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=11
  • 8/8/2019 39656307 How to Install and Configure Cognos

    5/5

    2. Open project C:\Program Files\cognos\c8\webcontent\samples\Models\

    great_outdoors_sales\ great_outdoors_sales.cpf

    3. If you get an error during opening try replacing localhost:80 with 127.0.0.1:80 inCognos Configuration gateway URI.

    4. Expand Data Sources and for each data source check that the Content Manager

    Datasource and Schema have the same value (gosales, gosalesdw,).5. Also modify the Interface (under Type) to OR instead of OL.

    6. Test each Data Source. In case of failure restart the Oracle database. Save your

    changes to the project file.7. Expand Packages and publish each package (right click -> publish packages..).

    8. Ignore the errors.

    9. Save and exit.

    10. Do the same for project C:\Program Files\cognos\c8\webcontent\samples\Models\great_outdoors_warehouse\great_outdoors_warehouse.cpf

    [edit]

    Step 10

    1. Copy Cognos_Samples.zip from c8\webcontent\samples\content to

    c8\deployment.2. Open Cognos Connection and select Cognos Administration -> Configuration ->

    Content Administration.

    3. Click New Import icon.4. Cognos_Samples should appear in the list. Select Next, then Next again.

    5. On the Select the Public Folders Content page, select the checkbox to the left of

    the Cognos_Samples package.

    6. Select Next, Next again, then Import Now.

    [edit]

    Step 11

    You should be able to see the sample database folders under local folders in Cognos

    Connection.

    http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=12http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=13http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=12http://it.toolbox.com/wiki/index.php?title=How_to_install_and_configure_Cognos&action=edit&section=13