4How to Perform a Siebel Database Upgrade
How to Perform a Siebel Database Upgrade
This chapter provides a roadmap for performing each type of upgrade to the current Siebel CRM release. Each roadmap lists the processes and tasks you must follow to complete the upgrade. Print the relevant roadmap and use it to guide you in carrying out the upgrade. This chapter includes the following topics:
Roadmap for Performing a Siebel Database Upgrade
Upgrades: All upgrades.
Environments: All environments.
Use one of the following roadmaps to guide you through the steps for upgrading your Siebel database:
Each roadmap consists of a group of processes. Each process consists of a numbered list of tasks. After you complete the tasks in a process, go on to the next process in the roadmap. When you have completed all the processes in the roadmap, the upgrade is complete.
Depending on your installed release, you might not have to complete all the tasks in a process. Before starting a task, check the applicability information at the beginning of the task and verify the task applies to your upgrade.
Roadmap for Upgrading from Siebel 7.8.2, 8.0.x or 8.1.1.x
If you are upgrading from Siebel CRM version 7.8.2 or higher to version 8.1. complete the processes in this roadmap in the order shown:
For a description of the differences between production and development upgrades, see About Siebel Upgrade Environments.
Roadmap for Upgrading from Siebel 7.x, 8.0.x or 8.1.1.x Without a Development Environment
If you are upgrading from Siebel CRM Release 7.x, 8.0.x or 8.1.1.x, and you do not have a development environment, complete the processes in this roadmap in the order shown.
Upgrading without a development environment means the following are true:
You are running an uncustomized, preconfigured version of Siebel Business Applications.
You have not used Siebel Tools to create or modify any objects or logical schema definitions in the Siebel Repository.
You have not modified the physical schema in the Siebel database.
If your upgrade meets these criteria, complete the following processes in the order shown:
Preparing for a Siebel Upgrade Without a Development Environment.
Perform a production test upgrade. See Process of Upgrading a Production Test Environment.
Upgrade your production environment. See Process of Upgrading a Siebel Production Environment.
Process of Planning a Siebel Database Upgrade
Upgrades: All upgrades.
Environments: All environments.
This process is part of an upgrade roadmap. See Roadmap for Upgrading from Siebel 7.8.2, 8.0.x or 8.1.1.x and Roadmap for Upgrading from Siebel 7.x, 8.0.x or 8.1.1.x Without a Development Environment.
To plan the upgrade, read the following:
In the chapter in Siebel Database Upgrade Guide that describes how the Siebel database upgrade works, read topics about the following:
About the Siebel case insensitivity wizard
About the Siebel repository merge
About inheriting upgrade behavior in a Siebel upgrade
About the Siebel postmerge utilities
About the Siebel Incorporate Custom Layout upgrade option
About the Database Configuration Utilities
In the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning, read topics about the following:
About Siebel upgrade planning resources
About best practices for doing your Siebel database upgrade
About Siebel user interface changes
About the Siebel Party Model
About migrating Siebel HTML attachments to base tables
Upgrade planning for multilingual Siebel deployments
Upgrade planning for Siebel RC2 or AES encryption
Upgrade planning for Siebel access control
The chapter in Siebel Database Upgrade Guide that describes application planning for a Siebel upgrade.
The appendix in Siebel Database Upgrade Guide that contains reference information on Siebel Marketing upgrades.
The appendix in Siebel Database Upgrade Guide that lists tables modified or seeded during a Siebel upgrade.
Process of Upgrading a Siebel Development Environment
Upgrades: All upgrades.
Environments: Development environment only.
This process is part of a roadmap. See Roadmap for Performing a Siebel Database Upgrade.
This topic lists the steps required to upgrade a Siebel development environment to the current release. Print this topic and use it as a checklist for doing the upgrade.
The topic is divided into subtopics, each containing a list of numbered steps. Complete each subtopic in the order shown.
Searching for Bulletins and Alerts on My Oracle Support
Check My Oracle Support for recently published bulletins and alerts regarding the upgrade.
Upgrade Third-Party Software
If necessary, upgrade third-party software that is used by Oracle’s Siebel software. For example, you might have to upgrade the operating system software. Some database upgrades require newer versions of UNIX or Windows.
Upgrade the Servers
Verify that you have identified all the maintenance releases and Siebel Patchset releases for the upgrade.
To perform the following steps, see Siebel Installation Guide for the operating system you are using and Implementing Siebel Business Applications on DB2 for z/OS:
Install the Siebel CRM 8.1 Gateway Server and Siebel Servers.
The upgraded Siebel Servers will not work correctly with the RDBMS server until after you have upgraded the Siebel database to the new release.
Install the Siebel Database Configuration Utilities files on the Siebel Server you will use to perform the upgrade.
Install language packs for your currently deployed languages and any new languages.
If you have customized the configuration of Enterprise components, such as Siebel Servers, you must migrate the customizations to the upgraded environment. For information on this task, see Siebel System Administration Guide.
Upgrade the RDBMS
If required, upgrade your version of DB2 for z/OS. Refer to the IBM documentation to perform the upgrade.
Preupgrade Tasks for the Siebel Database
Review guidelines for configuring DB2 for z/OS. See Implementing Siebel Business Applications on DB2 for z/OS.
Verify that the Workflow Monitor and Workflow action agents have processed all pending requests.
Stop the Siebel Servers.
7.5.3 upgrades only: Perform the task in Updating Table Space Group Names.
Remove customized database triggers.
The Siebel upgrade process is not designed to support custom database triggers. If you have created customized triggers for the Siebel schema to be upgraded, you must remove them before starting the Siebel upgrade process. You can re-create these objects once the Siebel upgrade completes successfully.
Prepare the storage control file to use in the upgrade. See Process of Preparing the Storage Layout of the Schema.
Perform the tasks in the following:
The chapter in Siebel Database Upgrade Guide that describes basic database preparations for a Siebel upgrade.
Preupgrade Tasks for a Development Environment Upgrade
Perform the tasks in Preparing a Development Environment for a Siebel Upgrade
Rename the Siebel Repository. For information on this task, see the chapter in Siebel Database Upgrade Guide that describes upgrading the Siebel database.
Preupgrade Tasks for Application Data
Perform the tasks in the chapter in Siebel Database Upgrade Guide that describes how to prepare Siebel application data for upgrade.
Some of these tasks are optional, depending on the currently installed Siebel products and your upgrade path. Review and perform these tasks as necessary.
Preparing Developers for the Upgrade
Back up the development database.
Verify that all developers have checked in their projects and that all projects are unlocked.
Verify that all developers have disconnected from the database. The only open connection must be the account that is performing the upgrade.
Install the new Siebel Tools on development workstations. Keep at least one copy of the previous version of Siebel Tools. You will require it to perform repository operations before the repository merge.
Activate the new Siebel Tools on development workstations. Keep at least one copy of the previous version of Siebel Tools. You will require it to perform repository operations before the repository merge.
Perform all remaining tasks with the new Siebel Tools, unless stated otherwise.
Upgrade Siebel Database Schema (upgrep)
(Optional) Change the Siebel Database Configuration Wizard language. For information on this topic, see the chapter in Siebel Database Upgrade Guide that describes how to upgrade the Siebel database.
Create the staging database by performing the following tasks:
Generate the Upgrade Files by performing the following tasks:
Note: Edit the generated files as required by Siebel Technical Notes, Siebel Alerts, Siebel Release Notes on My Oracle Support or other publications before transferring them to the z/OS host.Upgrade the target database by performing the following tasks:
Upgrade the repository and import seed data as described in Upgrading the Repository and Importing Seed Data.
If the upgrade contains unacceptable errors, do the following:
Restore the backup of the database that you made previously (see Preparing Developers for the Upgrade).
Correct the errors.
Rerun the Database Configuration Wizard.
Back up the upgraded database repository.
Prepare for Repository Merge
Perform the following tasks. For information on performing these tasks, see the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge:
Migrate Siebel Repository objects to the standard user interface (UI).
Configure Siebel Repository objects to inherit upgrade behavior.
About Backing Up the New Customer Repository or Database Schema.
Execute the REORG utility on tables that receive a large number of inserts during the repository import process. For a list of the tables that must be reorganized at this point, see About Reorganizing Tables Before the Repository Merge.
Run database statistics on the Siebel repository tables. For further information on running database statistics, see Generating RUNSTATS Jobs. Running statistics on the Siebel repository tables improves merge performance.
If upgrading from Siebel CRM versions 7. 7 or 7.8.x, run statistics specifically on the
S_SYM_STR
andSYM_STR_INT
tables. If you are upgrading from a pre-7.7 Siebel CRM release, theS_SYM_STR
andSYM_STR_INT
tables are not populated until the merge is completed so you do not have to run statistics on them at this point.
Perform Repository Merge
Performing a Siebel Repository Merge.
Note: If you are upgrading from Siebel CRM version 8.1.1.x fix pack (SIA repository) to Siebel Innovation Pack 2016 or later, refer to Performing the Incremental Repository Merge instead of this topic.Review the Siebel Repository merge log files. For information on this task, see the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge.
If the repository merge contains unacceptable errors, do the following:
Restore the backup of the database or New Customer Repository. See About Backing Up the New Customer Repository or Database Schema.
Correct the errors.
Rerun the repository merge.
Run the Siebel postmerge Utilities. This task is not required if you are performing an incremental repository merge.
For information on this task, see the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge.
-
Perform the following tasks. For information on performing these tasks, see the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge:
Delete unneeded Siebel repository files.
Generate Siebel Enterprise Integration Manager (EIM) temporary columns.
(Optional) Set label alignment for Siebel text fields.
Generate database statistics for new tables and new indexes using the RUNSTATS utility. Your DBA can check the system catalog to determine the database objects that do not have statistics.
For further information on generating database statistics, see Generating RUNSTATS Jobs.
Back up the Siebel database.
Upgrade Custom Database Schema (upgphys)
Run the Database Configuration Wizard to extract the storage control file from the target database as follows:
Specify the following values when prompted to do so:
Extract Options: Extract from Catalog.
Storage Control File: Specify the name of the storage control file to be extracted. You must specify the name storage_postupg.ctl.
Make sure you specify values for the target database when prompted for the names of the schema qualifier, ODBC data source, and database user name and password.
The procedure to extract a storage control file using the Extract from catalog option is described in Implementing Siebel Business Applications on DB2 for z/OS. The extracted target database storage control file is used as input to the upgphys upgrade process.
Run the Database Configuration Wizard to complete the development environment upgrade:
Choose the following settings:
Environment Type: Development.
Upgrade Options: Upgrade Custom Database Schema (upgphys).
Storage Control File: The storage control file that you generated in step 1.
Make sure you specify values for the target database when prompted for the names of the schema qualifier, ODBC data source, and database user name and password.
Launch the Siebel Upgrade Wizard. SQL commands are executed on the development environment database and a number of output files are generated.
Transferring the Development Environment Upgrade Output Files to the z/OS Host.
If the upgrade contains unacceptable errors, do the following:
Restore the backup of the database.
Correct the errors.
Rerun the Database Configuration Wizard.
Back up the upgraded database.
Review the User Interface
Review Siebel Repository object property conflicts.
For information on this task, see the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge.
Carefully review the user interface in the new release by performing the tasks in the chapter in Siebel Database Upgrade Guide that describes reviewing the Siebel user interface.
If you customized style sheet or Web template files in the previous release, implement those customizations in the new release again and execute a full publish in Siebel Tools to compile the Siebel Runtime Repository data.
The postmerge utilities do not convert certain types of flow-based applets to grid-based applets. For example, they do not convert custom form applets to grid-based applets. Convert remaining flow based applets as desired. For further information on editing applet layout, see Configuring Siebel Business Applications.
Postmerge Development Tasks
Perform the following tasks. For information on these tasks, see the chapter in Siebel Database Upgrade Guide that describes the Siebel postmerge development tasks:
Review objects deleted from the Siebel Repository
Review obsolete objects in the Siebel Repository
Upgrade to the Siebel symbolic string model
Update Siebel Enterprise Application Integration (EAI)
Resolve any business component and join conflicts.
Postupgrade Tasks for Database and File System
Perform the applicable tasks in Postupgrade Tasks for Siebel Database and File System
Perform the following tasks. For information on these tasks, see the chapter in Siebel Database Upgrade Guide that describes postupgrade tasks for the Siebel database and file system:
Check for inactivated EIM table columns in the Siebel database
Validate dock objects and rule definitions in the Siebel database
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 and Implementing Siebel Business Applications on DB2 for z/OS for recommended parameter settings.
If you exported data from interface tables before the upgrade, review the database and import the data as desired.
Upgrade unencrypted data and data that was encrypted using the standard encryptor to RC2 or AES encryption. For information on this task, see the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning.
Postupgrade Tasks for Applications Configuration
If applicable, review the results of the Person and Organization merge. Make configuration changes as required. For further information, see the topic about the Siebel Party Model in the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning.
Perform the tasks in:
The chapter in Siebel Database Upgrade Guide that describes the postupgrade tasks for Siebel Business Applications
Verify the function of interfaces in integrated applications.
Activate and deploy workflows. To perform these tasks, see Siebel Business Process Framework: Workflow Guide.
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 using EAI, see Overview: Siebel Enterprise Application Integration.
If you have used EIM to set up batch processing jobs, verify EIM is configured correctly. For information on using EIM, see Siebel Enterprise Integration Manager Administration Guide.
Perform System Tests
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
Prepare for Transition to Production Test Environment
If you revised the repository after running upgphys, you must regenerate the repository definition files. For information, see Regenerating the Siebel Repository Definition Files.
Process of Upgrading a Production Test Environment
Upgrades: All upgrades.
Environments: Production test environment only. Does not apply to production environment.
This process is part of a roadmap. See Roadmap for Performing a Siebel Database Upgrade.
This topic lists the tasks required to upgrade your production test environment to the current release. Print this topic and use it as a checklist for doing the upgrade.
The topic is divided into subtopics, each containing numbered steps. Complete the steps in the order shown.
Searching for Bulletins and Alerts on My Oracle Support
Check My Oracle Support for recently published bulletins and alerts regarding the upgrade.
Upgrade Third-Party Software
Upgrade third-party software that is used by Oracle’s Siebel software if required. For example, you might have to upgrade the operating system software. Some database upgrades require newer versions of UNIX or Windows.
Upgrade the Servers
Verify you have identified all the maintenance releases and Siebel Patchset releases for the upgrade.
To perform the following steps, see Siebel Installation Guide for the operating system you are using and Implementing Siebel Business Applications on DB2 for z/OS. Do the following:
Install the Siebel CRM 8.1 Gateway Server and Siebel Servers.
The upgraded Siebel Servers will not work correctly with the RDBMS server until after you have upgraded the Siebel database to the new release.
Install the Siebel Database Configuration Utilities files on the Siebel Server you will use to perform the upgrade.
Install language packs for your currently deployed languages and any new languages.
If you have customized the configuration of Enterprise components, such as Siebel Servers, you must migrate the customizations to the upgraded environment. For information on this task, see Siebel System Administration Guide.
Upgrade the RDBMS
If required, upgrade your version of DB2 for z/OS and DB2 Connect middleware. You might also have to upgrade any DB2 clients that connect to the Siebel database. Refer to the IBM documentation to perform the DB2 for z/OS and DB2 Connect upgrades.
Preupgrade Tasks for the Siebel Database
Review guidelines for configuring DB2 for z/OS. For information, see Implementing Siebel Business Applications on DB2 for z/OS.
Verify that the Workflow Monitor and Workflow action agents have processed all pending requests.
Remove customized database triggers.
The Siebel upgrade process is not designed to support custom database triggers. If you have created customized triggers for the Siebel schema to be upgraded, you must remove them before starting the Siebel upgrade process. You can re-create these objects once the Siebel upgrade completes successfully.
Prepare the storage control file to use in the upgrade. See Process of Preparing the Storage Layout of the Schema.
Perform the tasks in:
The chapter in Siebel Database Upgrade Guide that describes the basic database preparations for a Siebel upgrade
Before starting the production test upgrade, ensure that:
Siebel database transactional tables with clustering indexes are organized in cluster sequence.
Generate database statistics for your Siebel database transactional tables, if required.
Preupgrade Tasks for Application Data
Perform the tasks in the chapter in Siebel Database Upgrade Guide that describes how to prepare Siebel application data for upgrade.
Some of these tasks are optional, depending on the currently installed Siebel products and your upgrade path. Review and perform these tasks as necessary.
Preupgrade Tasks for a Production Test Environment Upgrade
Review the information in Requirements for Upgrading the Production Environment.
For instructions on how to set up the Siebel database and Siebel Servers in the production test environment, refer to 477772.1 (Article ID) on My Oracle Support. This document was formerly published as Siebel Technical Note 586.
Stop the Siebel Servers.
Close all database connections. The only database connection must be the account performing the upgrade.
Disconnect the Siebel Server from the development environment database and connect it to the production test environment database.
Copy application files to the environment:
Reports files
Custom Style sheets
See the topic on copying UI files to a new Siebel environment in the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge.
About Moving the Customized Repository and Schema Definition Files.
If you revised repository objects or schema definitions after performing your development environment upgrade, regenerate the schema.ddl and custrep.dat files before transferring them to the production test environment. For information, see Regenerating the Siebel Repository Definition Files.
Preparing for a Siebel Upgrade Without a Development Environment.
If you do not have a development environment, perform this task.
Verify the production test database is either a copy of the current production database or has the same topology and a similar amount of data. This is important for effective performance testing of the upgrade scripts.
Back up the production test environment database. To do upgrade tuning, you will restore this database and perform test upgrades on it.
Prepare for Production
(Optional) Change the Siebel Database Configuration utilities language. For information on this topic, see the chapter in Siebel Database Upgrade Guide that describes how to upgrade the Siebel database.
(7.5.3 Upgrades only)Run the Database Configuration Wizard as described in About Running the Database Configuration Wizard on Windows or About Running the Database Configuration Wizard Under UNIX. Do the following:
Specify the following options:
Upgrade Options: Prepare for Production Upgrade
Environment Type: Production
Launch the Siebel Upgrade Wizard.
Upgrade the Siebel Database Schema (upgrep + upgphys)
Create the staging database by performing the following tasks:
Generate the upgrade files by performing the following tasks:
Note: Edit the generated files as required by Siebel Technical Notes, Alerts, Siebel Release Notes on My Oracle Support, or other publications before transferring them to the z/OS host.Upgrade the target database by performing the following tasks:
Extract the storage control file from the target database using the Database Configuration Wizard as follows:
Specify the following values when prompted to do so:
Extract Options: Extract from Catalog.
Storage Control File: Specify the name of the storage control file to be extracted. You must specify the name storage_postupg.ctl.
Make sure you specify values for the target database when prompted for the names of the schema Qualifier, ODBC data source, and database user name and password.
The procedure to extract a storage control file using the Extract from catalog option is described in Implementing Siebel Business Applications on DB2 for z/OS. The extracted target database storage control file is used as input to the upgphys upgrade process.
Upgrade the repository and import seed data. See Upgrading the Repository and Importing Seed Data.
If the upgrade contains unacceptable errors, do the following:
Restore the backup of the database.
Correct the errors.
Rerun the Database Configuration Wizard.
Back up the upgraded database.
Postupgrade Tasks for Database and File System
Perform the relevant tasks in Postupgrade Tasks for Siebel Database and File System
Perform the following tasks. For information on these tasks, see the chapter in Siebel Database Upgrade Guide that describes postupgrade tasks for the Siebel database and file system:
Check for inactivated EIM table columns in the Siebel database
Validate dock objects and rule definitions in the Siebel database
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 and Implementing Siebel Business Applications on DB2 for z/OS for recommended parameter settings.
If you exported data from interface tables before the upgrade, review the database and import the data as desired.
Upgrade unencrypted data and data that was encrypted using the standard encryptor to RC2 or AES encryption. For information on this task, see the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning.
Ensure Siebel database transactional tables with clustering indexes are organized in cluster sequence, and check whether or not you have to run the REORG utility on new tables.
Generate statistics for tables and indexes that were created or rebuild when additive schema changes were applied to the database. You might also have to reorganize these tables and indexes. For further information on generating database statistics, see Generating RUNSTATS Jobs.
Postupgrade Tasks for Siebel Application Configuration
Perform the tasks in the following to prepare for system testing:
The chapter in Siebel Database Upgrade Guide that describes the postupgrade tasks for Siebel Business Applications
Verify the function of interfaces in integrated applications.
Activate and deploy workflows. To perform these tasks, see Siebel Business Process Framework: Workflow Guide.
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 using EAI, see Overview: Siebel Enterprise Application Integration.
If you have used EIM to set up batch processing jobs, verify EIM is configured correctly. For information on using EIM, see Siebel Enterprise Integration Manager Administration Guide.
If you customized style sheet or Web template files in the previous release, implement those customizations in the new release again and execute a full publish in Siebel Tools to compile the Siebel Runtime Repository data.
Carefully review the UI in the new release before implementing customizations to those files.
Perform System Tests
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
Process of Tuning the Upgrade Performance
Upgrades: All upgrades.
Environments: Production test environment only. Does not apply to production environment.
This process is optional.
This process is part of a roadmap. See Roadmap for Performing a Siebel Database Upgrade.
Use this process to run test upgrades in the production test environment so you can tune upgrade performance. Improving upgrade performance reduces downtime when you perform the production environment upgrade. The steps in this process cover standard performance tuning. For help with this process and to implement more advanced tuning, contact your Oracle sales representative for Oracle Advanced Customer Services to request assistance.
You can also use this process to test the additive schema changes feature to verify that it does not adversely affect application functionality. The additive schema changes feature allows you to perform part of the upgrade on the production database without taking it offline. This reduces the downtime required to upgrade the production database.
Perform this process in the production test environment. Do not perform this process in the production environment.
Review the following upgrade planning and performance tuning resources before performing this process:
478308.1 (Article ID) on My Oracle Support. This document was formerly published as Siebel Technical Note 616. This document describes strategies for minimizing production environment downtime during an upgrade. The steps outlined in this topic are intended primarily for use with the baseline best practices described in Technical Note 616.
Tuning the Siebel Production Upgrade Scripts This chapter provides information on how you can improve the performance of the production environment upgrade by tuning the production upgrade scripts in a production test environment.
Set Up the Target Database
Back up and remove the upgraded production test database.
In the production test environment, install a recent backup of your production database.
This database has not been upgraded and is called the target database. You use it to perform test upgrades as part of tuning upgrade performance.
Define an ODBC connection to the target database.
Verify that the target database is configured for optimum upgrade performance. Review the relevant topics in the following:
The chapter in Siebel Database Upgrade Guide that describes the basic database preparations for a Siebel upgrade
(Optional) Run statistics on the target database if the catalog statistics require updating.
Perform the relevant tasks in the chapter in Siebel Database Upgrade Guide that describes how to prepare Siebel Business Applications data for upgrade.
Upgrade the Target Database Schema (upgrep + upgphys)
Using the upgrade files you generated during the production test upgrade, upgrade the target database by performing the following tasks:
Upgrade the repository and import seed data. See Upgrading the Repository and Importing Seed Data. Specify the storage control file you extracted when you performed the production test upgrade (see Upgrade the Siebel Database Schema (upgrep + upgphys)).
Note the time required to upgrade the database.
Review the upgrade logs for errors. See About the Siebel Upgrade Log Files.
If the upgrade contains errors that prevented completion or adversely affected performance, correct the errors and rerun the upgrade.
Tune the Upgrade Files
Evaluate upgrade performance, particularly the time required to complete the upgrade.
Do one of the following:
If the time required to complete the upgrade is acceptable, no further tuning is required. Perform the steps in Process of Upgrading a Siebel Production Environment.
If the time required to complete the upgrade is too long, perform the remaining steps in this subtopic to continue tuning upgrade performance.
If the time required to complete the upgrade is too long and you cannot tune further, contact your Oracle sales representative for Oracle Advanced Customer Services to request assistance in applying advanced tuning.
Carefully review target database and database server configuration. Adjust as required to further improve upgrade performance.
Tune the upgrade files:
Copy the tuned upgrade scripts to a safe location for use in the production upgrade.
Restore the Target Database
Perform these steps if you have made changes to the upgrade environment or to the upgrade files and want to run the upgrade again to verify performance improvement.
In the production test environment, restore the target database from backup.
This returns the target database to its nonupgraded state so that you can perform another test upgrade.
In the production test environment, perform another test upgrade and evaluate upgrade performance.
Repeat the tuning process and perform test upgrades until upgrade performance is acceptable.
When you have completed tuning upgrade performance in the production test environment, delete and remove the target database.
Process of Upgrading a Siebel Production Environment
Upgrades: All upgrades.
Environments: Production environment only. Does not apply to production test environment.
This process is part of a roadmap. See Roadmap 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 subtopics, each containing numbered steps. Complete the steps in the order shown.
Searching for Bulletins and Alerts on My Oracle Support
Check My Oracle Support for recently published bulletins and alerts regarding the upgrade.
Upgrade Third-Party Software
Upgrade third-party software that is used by Oracle’s Siebel software if required. For example, you might have to upgrade the operating system software. Some database upgrades require newer versions of UNIX or Windows.
Upgrade the Servers
Verify you have identified all the maintenance releases and Siebel Patchset releases for the upgrade.
To perform the following steps, see Siebel Installation Guide for the operating system you are using and Implementing Siebel Business Applications on DB2 for z/OS.
Install the Siebel CRM 8.1 Gateway Name Server and Siebel Servers.
The upgraded Siebel Servers will not work correctly with the RDBMS server until after you have upgraded the Siebel database to the new release.
Install the Siebel Database Configuration Utilities files on the Siebel Server you will use to perform the upgrade.
Install language packs for your currently deployed languages and any new languages.
If you have customized the configuration of Enterprise components, such as Siebel Servers, you must migrate the customizations to the upgraded environment. For information on this task, see Siebel System Administration Guide.
Upgrade the RDBMS
If required, upgrade your version of DB2 for z/OS and DB2 Connect middleware. You might also have to upgrade any DB2 clients that connect to the Siebel database. Refer to the IBM documentation to perform the DB2 for z/OS and DB2 Connect upgrades.
Preupgrade Tasks for the Siebel Database
Review guidelines for configuring DB2 for z/OS. See Implementing Siebel Business Applications on DB2 for z/OS.
Verify that the Workflow Monitor and Workflow action agents have processed all pending requests.
Stop the Siebel Servers.
Verify there are no open database connections.
Remove customized database triggers.
The Siebel upgrade process is not designed to support custom database triggers. If you have created customized triggers for the Siebel schema to be upgraded, you must remove them before starting the Siebel upgrade process. You can re-create these objects once the Siebel upgrade completes successfully.
Prepare the storage control file to use in the upgrade. See Process of Preparing the Storage Layout of the Schema.
Perform the applicable tasks in the following:
The chapter in Siebel Database Upgrade Guide that describes the basic database preparations for a Siebel upgrade
Preupgrade Tasks for Application Data
Perform the tasks in the chapter in Siebel Database Upgrade Guide that describes how to prepare Siebel application data for upgrade.
Some of these tasks are optional, depending on the currently installed Siebel products and your upgrade path. Review and perform these tasks as necessary.
Preupgrade Tasks for a Production Environment Upgrade
Review the information in Requirements for Upgrading the Production Environment.
Copy application files to the environment:
Reports files.
Custom style sheets. See the topic on copying UI files to a new Siebel environment in the chapter in Siebel Database Upgrade Guide that describes how to perform the Siebel Repository merge.
About Moving the Customized Repository and Schema Definition Files.
Preparing for a No-Development-Environment Siebel Upgrade.
If you do not have a development environment, see Preparing for a Siebel Upgrade Without a Development Environment for information on this task.
Upgrade the Siebel Database Schema (upgrep + upgphys)
If you have completed a production test upgrade and have tuned the SQL and JCL upgrade files on the z/OS host, you can use these files to perform the target database upgrade in the production environment. This approach has several advantages:
You do not have to generate upgrade files in the production environment and then manually transfer customizations to them from the production test environment.
You do not have to run the Database Configuration Wizard in Prepare for Production mode again.
You do not have to run the zSeries Staging of Files for Upgrade process using the Database Configuration Wizard to create the staging database and to generate upgrade files again.
With some exceptions, you do not have to perform database-related configuration tasks required by Siebel Release Notes on My Oracle Support or by Alerts again.
Verify you have a current backup of the production environment database.
On the Siebel Server you used to upgrade the production test environment, create an ODBC to connect to the production environment database.
Edit the tuned upgrade files you generated during the production test environment upgrade. Replace any values in the upgrade files that are specific to the production test environment with production environment values. You might have to change the following values in the upgrade files:
Host/LPAR name where the target database resides
DB2 subsystem name of the target database
Schema/Tableowner qualifier name on the target database
ODBC data source name of the target database
You can edit the upgrade files using any utility that allows you to edit partitioned data sets (PDSs). For advice on editing upgrade files, contact your Oracle sales representative for Oracle Advanced Customer Services.
Upgrade the target database using the tuned upgrade files, which now contain production environment information, by performing the following tasks:
Extract the storage control file from the target database using the Database Configuration Wizard as follows:
Specify the following values when prompted to do so:
Extract Options: Extract from Catalog.
Storage Control File: Specify the name of the storage control file to be extracted. You must specify the name storage_postupg.ctl.
Make sure you specify values for the target database when prompted for the names of the schema Qualifier, ODBC data source, and database user name and password.
The procedure to extract a storage control file using the Extract From Catalog option is described in Implementing Siebel Business Applications on DB2 for z/OS. The extracted target database storage control file is used as input to the upgphys upgrade process.
Upgrade the repository and import seed data. See Upgrading the Repository and Importing Seed Data.
If the upgrade contains unacceptable errors, do the following:
Restore the backup of the database.
Correct the errors.
Rerun the Database Configuration Wizard.
Back up the upgraded production database.
Postupgrade Tasks for Database and File System
Perform the relevant tasks in Postupgrade Tasks for Siebel Database and File System
Perform the following tasks. For information on these tasks, see the chapter in Siebel Database Upgrade Guide that describes postupgrade tasks for the Siebel database and file system:
Check for inactivated EIM table columns in the Siebel database
Validate dock objects and rule definitions in the Siebel database
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 and Implementing Siebel Business Applications on DB2 for z/OS for recommended parameter settings.
If you exported data from interface tables before the upgrade, review the database and import the data as desired.
Upgrade unencrypted data and data that was encrypted using the standard encryptor to RC2 or AES encryption. For information on this task, see the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning.
- Generate database statistics for new or rebuilt tables and indexes. Determine whether or not any tables must be reorganized by running RUNSTATS with the Report Only option specified. For more information about running statistics, see Generating RUNSTATS Jobs.
Postupgrade Tasks for Applications Configuration
Review the results of the Person and Organization merge, if applicable. Make configuration changes as required. For further information, see the topic about the Siebel Party Model in the chapter in Siebel Database Upgrade Guide that describes Siebel database and UI upgrade planning.
Perform the tasks in the following:
The chapter in Siebel Database Upgrade Guide that describes the postupgrade tasks for Siebel Business Applications
Activate and deploy workflows. To perform these tasks, see Siebel Business Process Framework: Workflow Guide.
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 using EAI, see Overview: Siebel Enterprise Application Integration.
If you have used EIM to set up batch processing jobs, verify EIM is configured correctly. For information on using EIM, see Siebel Enterprise Integration Manager Administration Guide.
If you customized style sheet or Web template files in the previous release, implement those customizations in the new release again and execute a full publish in Siebel Tools to compile the Siebel Runtime Repository data.
Perform System Tests
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
Deploy to Users
Upgrade your Siebel Mobile and Developer Web Clients. See Siebel Installation Guide for the operating system you are using for further information.
If you have customized the configuration of Siebel Enterprise Server components, such as Siebel Servers, you must manually enter the customizations in the upgraded environments. For information on this task, see Siebel System Administration Guide.
Use Siebel Anywhere to create distribution kits for deployment. See Siebel Anywhere Administration Guide.
Generate a Siebel Remote database template. See Siebel Remote and Replication Manager Administration Guide.
Set up database extraction for Siebel Mobile Web Clients. See Siebel Remote and Replication Manager Administration Guide.