Implementing Siebel Business Applications on DB2 for z/OS > Installing the Siebel Database on the DB2 Host > Running the Database Configuration Wizard >
Running the Database Configuration Wizard Under UNIX
The procedures in this topic describe how to do the following tasks on a UNIX platform:
- Start the Database Configuration Wizard under UNIX
- Save the configuration information you enter using the Database Configuration Wizard
- Launch the Upgrade Wizard
To run the Database Configuration Wizard under UNIX
- Before running the Database Configuration Wizard under UNIX, you must configure your environment by running the CreateDbSrvrEnvScript script. To run CreateDbSrvrEnvScript:
- Navigate to the
SIEBSRVR_ROOT/ install_script/install directory.
- Run CreateDbSrvrEnvScript as follows:
CreateDbSrvrEnvScript SIEBEL_ROOT LANG Database_Platform
where:
- Navigate to the
SIEBSRVR_ROOT/ bin directory, and source either the dbenv.sh or the dbenv.csh file, according to the type of shell you use:
. ./dbenv.sh
TIP: Make sure there is a s pace between the initial period and ./dbenv.sh .
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/8.2.2.0.0/ses/siebsrvr .
- Navigate to the config subdirectory of the
SIEBEL_ROOT directory. For example, navigate to a location like /siebel/8.2.2.0.0/ses/config .
- Start the Database Configuration Wizard by running the following command:
SIEBEL_ROOT/config/config -mode dbsrvr
For a description of the command line syntax and options, see Siebel Installation Guide for UNIX.
- 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/ bin but 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.ucf
where master_ process.ucf is 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.ucf
The Upgrade Wizard runs the SQL scripts to perform the task you selected when you ran the Database Configuration Wizard.
|