Oracle9iAS Personalization Administrator's Guide
Release 9.0.1

Part Number A87539-02
Go To Documentation Library
Library
Go To Product List
Solution Area
Go To Table Of Contents
Contents

Go to previous page Go to next page

5
Installing OP

Before installing Oracle9iAS Personalization (OP), install Oracle9i database and Oracle9iAS (Chapter 3) and Oracle Workflow 2.6.1 (Chapter 4).

Then, follow the steps described in this chapter to install OP.

The installation of OP is divided into two top-level steps, as follows:

Note that each step has manual steps that you must perform after the OUI installation completes.

Installing OP Components

OP is installed on two different systems.

The following components, referred to as the "OP Application Server components," are installed on the system where Oracle9iAS is installed:

All other OP components, referred to as the "OP database components" (including the Administrative UI and OP documentation), are installed on the system where Oracle9i is installed.

Installing OP Database Components

Follow these steps to install the OP database components:

  1. Log in to your Oracle DBA's operating system account on the system where Oracle9i is installed.

  2. If any OP components are already installed on this system, deinstall them (see "Deinstalling OP", below).

  3. In a shell, issue the following command to start Oracle Universal Installer (OUI):

    <cdrom>/Disk1/runInstaller
    
    

    where <cdrom> points to the directory where your cd is mounted. Be sure your DISPLAY environment variable is set appropriately.

  4. Welcome: The Welcome screen appears. Click Next.

  5. File Locations: Displays source and destination. Confirm that the correct source and destination paths are specified. The destination should be the Oracle Home directory. Then click Next.

  6. Available Products: Select Oracle9iAS Personalization Database Components. Click Next.

  7. Installation Types: Complete or Custom. Choose Custom only if you want to install certain components, for example, if you want to install everything except the MTR on one system and then install the MTR on a different system. Click Next.

  8. Available Product Components: This page lists the components; check the ones you want to install. If you are doing a complete installation, everything is checked by default. Click Next.

  9. Database Information: Provide the following information for your Oracle database, as established while installing the database. The fields may be filled in with default values. Confirm that these values are appropriate for your database or enter new values.

    • ORACLE_SID:

    • TNSName:

    • INET Hostname: This is the hostname or IP address of the system containing the database.

    • Port:

    Click Next.

  10. DB System Account Information: Provide the following and then click Next:

    • DBA Name: system (This is the default; provide a user name for a user with DBA privileges.)

    • DBA Password: manager (This is the default; provide a password for a user with DBA privileges.)

    • Workflow Admin Name: owf_mgr (This is the default; provide the Workflow administrator name created during Workflow installation.)

    • Workflow Admin Password: owf_mgr (This is the default; provide the Workflow administrator password created during Workflow installation.)

    • OPWFBase Password: The OPWFBase user is created during MOR configuration. Create the OPWFBase password here.

    • SYS Password: Enter the password for SYS user (provided after database installation).

  11. OP Tablespace Data File Directory: Specify the path and directory for OP tablespace data files. The default path is displayed as:

    $ORACLE_HOME/oradata/<ORACLE_SID>
    
    

    By clicking the Browse button, you can browse and assign another path for data file directory. If you accept the default path, confirm that this path exists. If it does not exist, OUI prints a message saying that the path does not exist, and your installation will fail. Click Next.

  12. MOR Configuration Information: Provide the following and then click Next:

    • MOR User Name: OPMOR (default)

    • MOR Password: MORPW (default; change this password here)

    • MOR Tablespace Name: OPMOR (default)

    • MOR Data File Size: 512M (default)

      Important: Sizes must be specified in megabytes. If, for example, you want 1 gigabyte, you must convert it to megabytes and enter 1024M. (For 2 gigabytes, however, you cannot specify 2048M, because 2047M is Oracle's limit.)

    • MOR Temp Tablespace Name: OPMOR_TEMP_TS (default)

    • MOR Temp Data File Size: 1024M (default)

  13. RE Configuration Information: Provide the following and then click Next.

    • RE User Name: RE (default)

    • RE Password: REPW (default; change this password here)

    • RE Tablespace Name: RE (default)

    • RE Data File Size: 512M (default)

  14. MTR Configuration Information: Provide the following and then click Next:

    • MTR User Name: DEMO_MTR (default)

    • MTR User Password: MTRPW (default; change this password here)

    • MTR Tablespace Name: DEMO_MTR (default)

    • MTR Data File Size: 512M (default)

  15. Populated MTR Schema: Choose whether you want to install an MTR schema populated with demo data. The default selection is Yes, which results in an MTR schema populated with the demo data. Select No if you want to use your own data (you will get the same schema structure, but without data). (See Chapter 8 and Chapter 9.) Click Next.

  16. Summary: Lists elements to be installed. Click Install.

  17. Install: OUI starts installing. (If this is the first installation of OP, you will see several messages such as "RE doesn't exist" -- this is normal. OP creates all necessary files and tables.)

  18. Configuration Tools: There is a tool for each component being configured; use the vertical scroll bar on the right to see the names of all the tools:

    • RE Create Wizard: Once this tool completes successfully, it creates an RE user and RE schema on the specified database.

    • MTRDemo Create Wizard: When it completes successfully, it creates an MTR user and MTR schema populated with demo data on the specified database.

    • MOR Create Wizard: When it completes successfully, it creates an MOR user and an MOR schema and OPWFBASE user and OPWFBASE schema on the specified database.

  19. End of Installation: Click Exit.

  20. You may have to stop and restart the database, especially if you are reinstalling OP.


    Note:

    Whenever you stop and restart the database, you should check to see if Listener is still running. If Listener is not running, you should restart it. 


Installing OP Application Server Components

Follow these steps to install the OP Application Server components:

  1. Log in to your Oracle DBA's operating system account on the system where Oracle9iAS is installed.

  2. If any OP components are already installed on this system, deinstall them (see "Deinstalling OP", below).

  3. In a shell, issue the following command to start Oracle Universal Installer (OUI):

    <cdrom>/Disk1/runInstaller
    
    

    where <cdrom> points to the directory where your cd is mounted. Be sure your DISPLAY environment variable is set appropriately.

  4. Welcome: The Welcome screen appears. Click Next.

  5. File Locations: Displays source and destination. Confirm that the correct source and destination paths are specified. The destination should be the Oracle Home directory. Then click Next.

  6. Available Products: Select Oracle9iAS Personalization iAS Components. Click Next.

  7. Installation Types: Complete or Custom. We recommend that you select Complete. Click Next.

  8. Available Product Components: This page lists the components; check the ones you want to install. REAPI Demo Test Servlet should be checked. If you are doing a complete installation, everything is checked by default. Click Next.

  9. Summary: Lists elements to be installed. Click Install.

  10. Install: OUI starts installing. OP creates all necessary files and tables.

  11. End of Installation: Click Exit.

Manual Steps

After completing an OP installation and configuration that includes an MOR, there are a few things you need to do manually on both systems where you've installed OP.

Manual Steps for Oracle9i System

Perform the following steps on the system where Oracle9i is installed.

  1. Log in to your Oracle DBA's operating system account on the system where Oracle9i is installed.

  2. Update jserv.conf file: Go to

    $ORACLE_HOME/Apache/Jserv/etc/
    
    

    and append the file

    $ORACLE_HOME/dmt/conf/jservConf.add
    
    

    to jserv.conf file.

  3. Update jserv.properties: Append the file

    $ORACLE_HOME/dmt/conf/jservProperties.add
    
    

    to jserv.properties file.

  4. In thejserv.properties file, update the DISPLAY parameter to point to the display at the host that is running X Windows by replacing the name of the X Windows server host name in wrapper.env=DISPLAY=<hostname>:0.0

    Verify that there is only one entry configuring wrapper.env=DISPLAY=<hostname>. If you have more than one entry, comment the others out.

    The system that is running the Xdisplay must allow the use of its display by the java awt toolkit with the command

    xhost + <system_where_Jserv_runs>

    Note: You need X Windows to render images related to the OP Administrative UI. Ideally, X Windows runs on the machine on which you have installed OP. If this is inconvenient or impractical, X Windows must run on a machine that is connected to the machine on which you installed OP.

  5. Stop and restart the database.


    Note:

    Whenever you stop and restart the database, you should check to see if Listener is still running. If Listener is not running, you should restart it. 


  6. Log in as root and restart the Oracle HTTP Server server with these commands:

    • Stop Oracle HTTP Server:

      $ORACLE_HOME/Apache/Apache/bin/apachectl stop
      
      
    • Wait 15 seconds.

    • Start Oracle HTTP Server in ssl mode:

      $ORACLE_HOME/Apache/Apache/bin/apachectl startssl
      
      

      If the command succeeds, you see the following line:

      ./apachectl start ssl:http started
      
      
    • Exit root.

  7. To start Oracle Workflow engine, as Oracle DBA, use the following command:

    /usr/bin/csh $ORACLE_HOME/dmt/install/WF/opwfengine.csh start <MOR_schema>
    
    
    

    You will be prompted to enter the following:

    • Workflow user name (default was owf_mgr; use the user name you provided in step 10 earlier in this chapter)

    • Workflow password (default was owf_mgr; use the password you provided in step 10 earlier in this chapter)

    • Database TNS name

Manual Steps for Oracle9iAS System

Perform the following steps on the system where Oracle9iAS is installed.

  1. Log in to your Oracle DBA's operating system account on the system where Oracle9iAS is installed.

  2. Update jserv.conf file on the system where Oracle9iAS is installed: Go to

    $ORACLE_HOME/Apache/Jserv/etc/
    
    

    and append the file

    $ORACLE_HOME/dmt/conf/oprocmgr/reapiJservConf.add
    
    

    to jserv.conf file.

  3. Log in as root and restart the Oracle HTTP Server with these commands:

    • Stop Oracle HTTP Server:

      $ORACLE_HOME/Apache/Apache/bin/apachectl stop
      
      
    • Wait 15 seconds.

    • Start Oracle HTTP Server in ssl mode:

      $ORACLE_HOME/Apache/Apache/bin/apachectl startssl
      
      

      If the command succeeds, you see the following:

      ./apachectl start ssl:http started
      
      
    • Exit root.

Test the OP Installation

To confirm that OP is properly installed, do the following:

Deinstalling OP

If there is a copy of OP installed on either of your systems, deinstall it from both systems before installing a new version.

Deinstalling Oracle9i OP Components

Follow these steps to deinstall the OP components that are installed on the system where Oracle9i is installed:

  1. Log in to your Oracle DBA system account on the system where Oracle9i is installed.

  2. Stop Oracle Workflow with the command

    /usr/bin/csh $ORACLE_HOME/dmt/install/WF/opwfengine.csh stop  <MOR_schema>
    
    
  3. Make sure no OP users are connected to the database. To find out whether there are any OP user sessions, connect to the database as SYSTEM user and execute the following SQL statement:

    SQL> select username from v$session where status='ACTIVE' or status= 
    'INACTIVE';
    
    

    and close the connections or kill the existing sessions for OP users.

  4. All OP processes are now stopped or removed, and you are ready to deinstall OP. Log in to your Oracle DBA system account.

  5. Set the DISPLAY environment variable if necessary.

  6. Run the following command to start Oracle Universal Installer:

    <cdrom>/Disk1/runInstaller
    
    
  7. Welcome: Click Deinstall Products.

  8. Inventory: This window displays the installed products in the available Oracle home.

  9. Select Oracle9iAS Personalization Database Components 9.0.0.1.0, and click Remove. A confirmation window appears; click Yes.

  10. Remove: The Remove window appears; it displays a progress bar.

  11. You may want to remove data files corresponding to MOR and RE tablespaces for the deinstalled OP. MTR schema and associated data files that are not removed when you deinstall. If you want to install an MTR with the same user name, the current MTR will be dropped and replaced with the new one.

  12. Remove the $ORACLE_HOME/dmt directory.

Deinstalling Oracle9iAS OP Components

Follow these steps to deinstall the OP components that are installed on the system where Oracle9i is installed:

  1. Log in to your Oracle DBA system account on the system where Oracle9iAS is installed.

  2. Set the DISPLAY environment variable if necessary.

  3. Run the following command to start Oracle Universal Installer:

    <cdrom>/Disk1/runInstaller
    
    
  4. Welcome: Click Deinstall Products.

  5. Inventory: This window displays the installed products in the available Oracle home.

  6. Select Oracle9iAS Personalization iAS Components 9.0.1.0.0, and click Remove. A confirmation window appears; click Yes.

  7. Remove: The Remove window appears; it displays a progress bar.

  8. Remove the $ORACLE_HOME/dmt directory.


Go to previous page Go to next page
Oracle
Copyright © 2001 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Library
Go To Product List
Solution Area
Go To Table Of Contents
Contents