Running the Database Configuration Wizard on UNIX
The procedures in this topic describe how to do the following tasks on UNIX:
Start the Database Configuration Wizard on UNIX
Save the configuration information you enter using the Database Configuration Wizard
Launch the Upgrade Wizard
To run the Database Configuration Wizard on UNIX
Before running the Database Configuration Wizard on UNIX, you must configure your environment by running the CreateDbSrvrEnvScript script. To run CreateDbSrvrEnvScript:
Navigate to the SIEBSRVR_ROOT/
install_script/installdirectory.Run CreateDbSrvrEnvScript as follows:
CreateDbSrvrEnvScript SIEBEL_ROOT LANG Database_Platformwhere:
SIEBEL_ROOT is the top-level Siebel Enterprise Server installation directory, for example,
/siebel/sesLANG is the three-letter code for the primary language of your Siebel database, for example,
ENUDatabase_Platform is Db2.390
CreateDbSrvrEnvScript creates two environment setup scripts, dbenv.sh and dbenv.csh, in the
SIEBSRVR_ROOT/bindirectory.
Navigate to the
SIEBSRVR_ROOT/bindirectory, and source either the dbenv.sh or the dbenv.csh file, according to the type of shell you use:Korn or Bourne shell
. ./dbenv.shTip: Make sure there is a space between the initial period and./dbenv.sh.C shell
source dbenv.csh
Review the values of the $SIEBEL_ROOT and LANGUAGE environment variables and verify that they are correct:
Set the LANGUAGE variable to the language in which the Database Configuration Wizard prompts appear, for example, ENU for U.S. English.
Set the $SIEBEL_ROOT variable to the path of your Siebel Server installation directory, for example,
/siebel/ses/siebsrvr.
Navigate to the config subdirectory of the SIEBEL_ROOT directory. For example, navigate to a location like
/siebel/ses/config.Start the Database Configuration Wizard by running the following command:
SIEBEL_ROOT/config/config -mode dbsrvrFor a description of the command line syntax and options, see Siebel Installation Guide.
The first Database Configuration Wizard screen appears. Enter the information you are prompted for in this screen, and click Next to continue.
Enter the information you are prompted for in all subsequent screens. Use the Next and Back buttons to navigate to the next or previous screens.
After you have entered all the requested information, the following message is displayed:
Configuration is complete: your output will be saved under $SiebelRoot/siebsrvr/bin/ master_<process>_mf.ucf. Would you like to deploy the process you configured to the database now or later?Choose one of the following options, then click Next:
Yes apply configuration changes now. The configuration information you entered is saved and the generated SQL is executed in the Siebel Upgrade Wizard.
No I will apply configuration changes later. The configuration information is saved but the generated SQL is not executed in the Siebel Upgrade Wizard. You can run the Upgrade Wizard manually later to execute the generated SQL.
The utility displays the Parameter Review screen listing all the values you have entered. To amend any of the configuration values, click Back to return to the appropriate screen and make changes. Otherwise, click Next.
Depending on the option you selected in Step 8, one of the following occurs:
If you selected the option, Yes apply configuration changes now, click OK and the Siebel Upgrade Wizard is launched. Click OK to proceed or click Cancel to cancel the Upgrade Wizard.
If you click OK, the Upgrade Wizard runs the SQL scripts to perform the task you selected when you ran the Database Configuration Wizard. After the Siebel Upgrade Wizard has finished running, click Exit to exit the Database Configuration Wizard.
If you selected the option, No I will apply configuration changes later, a message appears saying that the Siebel Configuration Wizard completed successfully. Click OK to finish.
The configuration information you entered in the Database Configuration Wizard is saved in a master file located in SIEBSRVR_ROOT/
binbut the Upgrade Wizard is not launched. You can run the Upgrade Wizard later by entering the following command from the command line:srvrupgwiz /m master_process_mf.ucfwhere
master_process.ucfis the name of the master file containing the configuration information you entered and process is the name of the Siebel database operation you selected.For example, enter the following command if you had selected the Install Database option:
srvrupgwiz /m master_install_mf.ucfThe Upgrade Wizard runs the SQL scripts to perform the task you selected when you ran the Database Configuration Wizard.