Upgrade Guide > How to Perform a Siebel Database Upgrade >

Process of Upgrading a Siebel Production Environment


Upgrades: All Siebel upgrades.

Environments: Production environment.

Prerequisites: You must be able to execute ODBC commands on the production database from within the production test environment. For more information, see About the Siebel Database Upgrade Process. If you cannot do this, contact Oracle's Siebel Technical Support.

This process is part of a road map. See Road Map for Performing a Siebel Database Upgrade.

This topic lists the tasks required to transition your production test environment to production. Print this topic and use it as a checklist for doing the upgrade.

The topic is divided into sections, each containing numbered steps. Complete the steps in the order shown.

Upgrade the Servers

Verify you have identified all the maintenance releases, Fix Packs, and quick-fix patches required for the upgrade. These requirements are located on Oracle's Siebel SupportWeb under Product Documentation > Maintenance Release Guides.

CAUTION:  Do not install a new Siebel Database as part of upgrading the Siebel Enterprise.

To perform the following steps, see the Siebel Installation Guide for the operating system you are using.

  1. Upgrade the Gateway Name Server, Siebel Servers, and Siebel Web Server Extension (SWSE).

    For information upgrading these Siebel Enterprise components, see Siebel Installation Guide for the operating system you are using.

  2. Install the Siebel Database Server files on the Siebel Server you will use to perform the upgrade. You only need to install the database server files for the database type that you are upgrading.
  3. Install language packs for your currently deployed languages and any new languages.
  4. If you have customized the configuration of Enterprise components, such as Siebel Servers, you must manually enter the customizations in the upgraded environment. See Going Live with Siebel Business Applications.

Upgrade Third-Party Software

  1. Upgrade third-party software as required due to dependencies on Oracle's Siebel software or other installed software. For example, you may need to upgrade the following software:
    • Actuate Server (Siebel Reports Server).
    • Operating system software. Some database upgrades require newer versions of AIX or Windows.

Upgrade the RDBMS

  1. If required, upgrade the RDBMS version. Refer to the vendor's documentation to perform the upgrade. For information on supported RDBMS systems, see System Requirements and Supported Platforms on Siebel SupportWeb.

Pre-Upgrade Tasks for the Siebel Database

These steps apply to all database types.

  1. Review guidelines for configuring the RDBMS. See the Siebel Installation Guide for the operating system you are using.
  2. Verify that the Workflow Monitor and Workflow action agents have processed all pending requests.
  3. Stop the Siebel Server and the Siebel Gateway Name Server.
  4. Verify that there are no open database connections.
  5. Perform the tasks in Basic Database Preparations for a Siebel Upgrade.

Pre-Upgrade Tasks for IBM DB2

  1. Perform the tasks in Preparing an IBM DB2 Database for a Siebel Upgrade.
  2. Execute runstats on the Siebel Database. This will improve upgrade performance.

Pre-Upgrade Tasks for Oracle

  1. Perform the tasks in Preparing an Oracle Database for a Siebel Upgrade.
  2. Run the Oracle Analyze command on the Siebel Database. Highly fragmented indexes can cause the upgrade to fail.

Pre-Upgrade Tasks for MS SQL Server

  1. Perform the tasks in Preparing an MS SQL Server Database for a Siebel Upgrade.
  2. Run MS SQL Server statistics. This will improve upgrade performance.

Pre-Upgrade Tasks for Application Data

  1. Perform the tasks in Technical Note 521 on Oracle's Siebel SupportWeb. Table 16 shows the applicability of the tasks in the Technical Note.
Table 18. Tasks in Technical Note 521
Item
Environment

Location and amendment of S_VIEW_WTMPL_IT.ITEM_NUM records

Development, production test, production

Update multi-value group (MVG) and association list applets

Development only

Update unnamed controls in applet web template items

Development only

  1. Perform the tasks in the Technical Notes and Alerts on Oracle's Siebel SupportWeb shown in Table 17.
Table 19. Technical Notes and Alerts
Title
Environment

Technical Note 481

Development only

  1. Perform the tasks in Preparing Siebel Application Data for Upgrade.

Pre-Upgrade Tasks for the UI

  1. Copy UI files to the production environment:
    1. Custom SRF file. Verify that this is the most current version.
    2. Reports files.
    3. Copying UI Files to a New Siebel Environment.

Upgrade the Siebel Database (upgrep)

You upgrade the production database by using the SQL scripts in the production test environment. In the production test environment, you run the Database Configuration Utility but enter environment information for the production database. Then you start the Siebel Upgrade Wizard in the production test environment. The Siebel Upgrade Wizard uses the production database environment information and the SQL in the production test environment, including any changes you have made, to upgrade the production database.

  1. Verify you have a current backup of the production environment database.
  2. On the Siebel Server you used to upgrade the production test environment, create an ODBC to connect to the production environment database.
  3. Navigate to DBSRVR_ROOT\common (UNIX: DBSRVR_ROOT/common) and verify that the file sqlgen.usg exists.

    This file contains a record of when the SQL generator was run. When you run the Database Server Configuration Utilities, if this file exists, no SQL commands are generated.

    CAUTION:  If this file does not exist, do not run the Database Server Configuration Utilities. It will overwrite the SQL files used to upgrade your production test database. Contact Oracle's Siebel Technical Support for guidance on proceeding with the upgrade.

    You do not have to run the Database Server Configuration Utilities in Prepare for Production Mode.

  4. Run the Database Server Configuration Utilities:
    1. Choose the following settings when you run the utility:
      • Upgrade Options: Upgrade Siebel Database Schema (upgrep)
      • Environment Type: Production
    2. Enter the information for the production environment instead of the production test environment.
    3. Enter the name of the ODBC for connecting to the production database.
    4. When prompted whether you want to run the Siebel Upgrade Wizard, answer No and exit.

      This updates the master UCF file with the production environment configuration. When you run the Siebel Upgrade Wizard, the SQL commands will be executed on the production environment database.

  5. In the production test environment, verify that the SQL scripts for performing the upgrade were not overwritten. You can do this by checking the modification times. If the scripts were overwritten, do not continue. Instead, contact Oracle's Siebel Technical Support.
  6. Perform the production database upgrade. See Starting the Siebel Upgrade Wizard.

    The Siebel Upgrade Wizard uses the SQL commands generated for the production test environment to upgrade the production environment. If you used Upgrade Tuner to revise the SQL commands, these changes are included.

  7. Review the upgrade logs and resolve errors:
  8. If the upgrade contains unacceptable errors, do the following:
    1. Restore the backup of the database.
    2. Correct the errors.
    3. Rerun the Siebel Upgrade Wizard.
  9. Multilingual deployments: Perform the steps in Technical Note 447 on Oracle's Siebel SupportWeb to import language-specific repository strings and seed data into the upgrade repositories.
  10. Manually Archiving Siebel Upgrade Log Files.

Upgrade Custom Database Schema (upgphys)

You upgrade the production database by using the SQL scripts in the production test environment. In the production test environment, you run the Database Configuration Utility but enter environment information for the production database. Then you start the Siebel Upgrade Wizard in the production test environment. The Siebel Upgrade Wizard uses the production database environment information and the SQL in the production test environment, including any changes you have made, to upgrade the production database.

  1. Verify you have a current backup of the production environment database.
  2. On the Siebel Server you used to upgrade the production test environment, verify you have created an ODBC to connect to the production environment database.
  3. Run the Database Server Configuration Utilities:
  4. Review the upgrade logs and resolve errors:
  5. If the upgrade contains unacceptable errors, do the following:
    1. Restore the backup of the database.
    2. Correct the errors.
    3. Restart the Siebel Upgrade Wizard.
  6. Manually Archiving Siebel Upgrade Log Files.
  7. Installing New Siebel License Keys During an Upgrade.
  8. Use the Siebel Application Deployment Manager to migrate administrative data such as LOVs and responsibilities from production test to production. See Going Live with Siebel Business Applications.
  9. Back up the upgraded production environment database.

Postupgrade Tasks for Database and File System

  1. Perform the tasks in Postupgrade Tasks for the Siebel Database and File System.
  2. Reset upgrade-specific database and database server parameters back to their recommended settings for production. See Siebel Installation Guide for the operating system you are using for recommended parameter settings.
  3. If you exported data from interface tables before the upgrade, review the database and import the data as desired.
  4. Upgrading to Siebel RC2 or AES Encryption.
  5. Generate a Siebel Remote database template file. See Siebel Remote and Replication Manager Administration Guide.
  6. (Oracle database 9i and later). Set Optimizer Mode to CBO.
  7. Run database statistics.

NOTE:  The upgrade is complete. The remaining sections deal with configuration and validation tasks.

Postupgrade Tasks for Applications Configuration

  1. If applicable, review the results of the Person and Organization merge. Make configuration changes as required. To determine applicability or obtain more information, see About the Siebel Party Model.
  2. Perform the tasks in Postupgrade Tasks for Siebel Applications.
  3. Verify the function of interfaces in integrated applications.
  4. Activate and deploy workflows.
  5. If you have set up integrations for transferring data to or from third-party applications using Siebel EAI, verify the integrations are configured correctly. For information on EAI, see Overview: Siebel eBusiness Application Integration Volume I.
  6. If you have used EIM to set up batch processing jobs, verify EIM is configured correctly. For information on EIM, see Siebel Enterprise Integration Manager Administration Guide.

System Tests

  1. Use available test data to perform unit testing. Validate application function in the following areas:
    • User interface
    • Data interfaces
    • Integrity of migrated data
    • Workflow function

Upgrade Guide Copyright © 2006, Oracle. All rights reserved.