Configuring your RPS Node

You can configure an RPS node only when the Datapump application is not running.

To configure the RPS node on a secondary RPS system

  1. Select the RPS Node Configuration command from the File menu.

    The Configure RPS Node dialog, shown in the following image, is then displayed.

    The Schema and Mapping text boxes in the Mapping group box display the schema and mapping for which the RPS data store was created. As these values are read-only, you cannot change them.

  2. The Jade Database Mode combo box displays the mode in which the RPS data store was created. It also enables you to change the database mode. You can change:

    You cannot change the Working Set mode.

  3. The default values in the Override Mapping Options group box are the values defined on the Define RPS sheet of the Relational Population Service wizard. (For details, see "Setting Up the RPS Options", in Chapter 15 of the JADE Development Environment User’s Guide.)

    To override any default mapping values that you require:

    1. Specify the name of the target RDBMS database in the Relational Database Name text box. If you do not specify the target RDBMS database, an RDBMS error may occur when you attempt to execute the generated SQL scripts.

    2. Specify the connection string for the RPS node, in the Connection String text box. A connection string for an SQL Server connection contains ODBC DSN information to the RDBMS database; for example:

      DSN=SQLServer2005;Database=Rps

      For SQL Server, the Database=relational-database-name value must be specified in the Configure RPS Node dialog only if your ODBC Data Source Name (DSN) does not specify a database. Other DSNs may require other options.

    3. If you want to specify a different database type for the node, select the type that you require in the Database Type combo box.

      If you select a database type that differs from that in the RPS mapping and the database already exists with a different type, an alter script is generated and run to modify the appropriate columns, as required

    4. Select the Alternative Action option from the Per Statement Exception Policy – Create combo box list if you want an alternative update action performed when an RDBMS error occurs on a create row.

      Select the Halt option if you want the Datapump application to halt when the RDBMS error occurs on a create row.

    5. Select the Alternative Action option from the Per Statement Exception Policy – Delete combo box list if you want an alternative ignore action performed when an RDBMS error occurs on a delete row.

      Select the Halt option if you want the Datapump application to halt when the RDBMS error occurs on a delete row.

    6. Select the Alternative Action option from the Per Statement Exception Policy – Update combo box list if you want an alternative create action performed when an RDBMS error occurs on an update row.

      Select the Halt option if you want the Datapump application to halt when the RDBMS error occurs on an update row.

    7. Select the RPS Table option from the Logging Options combo box list if you want any RDBMS errors that occur logged in the RPS table.

      Select the Default option if you want RDBMS errors output only to the jommsg.log file.

  4. If you want to specify your own non-GUI Datapump application, select that schema and application in the corresponding Schema and Application combo boxes in the Data Pump Application group box.

    The default value (<default>) indicates the RootSchema JadeRpsDataPump application is run on the RPS node from the schema in which the RPS mapping is defined. For details about specifying your own data pump application, see "RPS Datapump Application", earlier in this chapter.

  5. Check the Auto Start Datapump check box in the Data Pump Application group box if you want to automatically start the Datapump application when the RPS node is started. By default, this check box is unchecked, indicating that the Datapump application must be started from the RPS Manager. (See also "Restarting the Datapump Application", earlier in this chapter.)

  6. In the Data Pump Restart Options group box:

    1. Check the Auto Execute Drop/Reload check box if you want to restart the Datapump application automatically start the Datapump application after a reorganization to run the Drop/Reload alter script to rename and recreate any tables (as required) and then extract and load the data for these tables.

      By default, this check box is unchecked, indicating that the Drop/Reload scripts are not automatically executed and it is the responsibility of your RDBMS administrator to apply the required changes before restarting the Datapump application.

    2. If you checked the Auto Execute Drop/Reload check box in the previous step, check the Bulk Load Historical Tables check box if you want to load data for historical tables when reloading data into the RDBMS. All automatic loads (when setting up the RDBMS and reorganization reloads) then include data for historical tables. See also "Alter Scripts", earlier in this chapter.

      By default, the Bulk Load Historical Tables check box is unchecked.

    3. If you want to initiate multiple data extract worker processes on automatic extracts, specify the required number in the # of Extract Workers text box.

    4. In the Alter Script Path text box, specify the directory on the JADE RPS server node to be used for update scripts generated during reorganizations.

      The alter script path defaults to the JADE database path. This path must be set if you checked the Auto Start Datapump check box in step 5 of this instruction or you selected the Create Tables command from the RPS menu on an RPS secondary system.

      If you are unsure of your file directory, click the adjacent Browse button to access the common Browse for Directory selection dialog that enables you to select the auto script path.

    5. If you do not want to use the sqlcmd utility to execute SQL scripts, including alter scripts and server bulk load scripts, uncheck the Use Sqlcmd check box. By default, the Use Sqlcmd check box is checked.

      The sqlcmd utility must be installed on the machine that hosts the RPS node. If it is not installed for any reason, we recommend that you obtain the standalone installation package for the sqlcmd utility from the Microsoft download site and use that to install sqlcmd. If you do not enter a value in this text box, the script is executed using the ODBC interface.

      If you use sqlcmd to execute SQL scripts, including alter scripts and server bulk load scripts, the output of the script is saved in a script-name.log file in the directory in which the script is found. The output includes the echoed input and any information or error messages output. If the script fails, an invalid error result is returned and the error is reported to you if you are using the RPS Manager and it is recorded in the jommsg.log file.

      The advantages of using the sqlcmd option are as follows.

      • Error results, which are lost when using the ODBC interface, are correctly reported.

      • The error information from SQL Server is saved in the log file.

    6. Specify the name of the SQL server instance in the Server Name text box.

  7. If you are using auto extracts, set the values in the Load Execution Options group box.

  8. If you want to reset the default values in controls in the Override Mapping Options group box to the values specified in the RPS mapping, click the Defaults button.

  9. Click the OK button. Alternatively, click the Cancel button to abandon your selections.