Creating or upgrading the database tables if you are using Oracle
To create or upgrade the HCL Workload Automation and the dynamic workload broker database tables if you are using Oracle.
When you are creating or upgrading the HCL Workload Automation and the dynamic workload broker database tables if you are using Oracle, run the following procedures:
Creating the database tables for Oracle
- Customize the properties file. See Customizing the properties file for Oracle.
- Generate the SQL files. See Generating the SQL files for Oracle.
- Create or upgrade the SQL tables. See Running scripts to create or upgrade the SQL tables for Oracle.
Upgrading the database tables for Oracle
A new method for upgrading the HCL Workload Automation and the dynamic workload broker database schema is provided for Oracle. The update or upgrade can be performed manually before you install the product component or, using the Installation Manager wizard or silent installation, the schema is updated during the installation procedure.
If you typically update your database tables manually before updating the HCL Workload Automation components in your environment, then you can use this new method which includes a script that quickly generates the required SQL statements in an SQL file and optionally applies them directly to the database in a single step.
- A single script that dynamically generates the SQL statements and applies them directly to the database. Optionally, you can configure the script to generate only and then apply them at a later time but before installing the product component.
- The script can be run and rerun as many times as needed without any cleanup required between runs. For example, if for some reason a database object is corrupt, you can rerun the script to regenerate the SQL file and apply it.
- Use this method as a stand-alone tool to check the consistency of the database schema. The database administrator can verify if the database schema has changed and repair any inconsistencies.
- Modify the upgradeOracleIWSDB.properties file assigning the appropriate values to the parameters.
- Run the launchUpgradeIWSDB.bat or the launchUpgradeIWSDB.sh script to generate and apply the SQL statements. Optionally, you can choose to only generate the statements and apply them later, but before installing the product component.