HCL Workload Automation, Version 9.4

Procedure to upgrade the dynamic workload broker SQL schema on Microsoft SQL Server when using Windows Authentication

To upgrade the dynamic workload broker database when using Windows Authentication, run the following steps:
  1. From the workstation where the Microsoft SQL Server is installed, start a shell in which you impersonate the domain user that is the owner of the HCL Workload Automation instance.
  2. Go to the following directory:
    TWSTEMPDIR\TDWB\dbtools\mssql\scripts

    Where TWSTEMPDIR is the directory you specified in the TWSTEMPDIR property of the configuration file. For more information about how to customize the property file, see Customizing the properties file for Microsoft SQL Server.

  3. Run the following command:
    migratedb_root.bat 
    <sqlServerInstance> <windowsAuthMode>
    <twsDatabase> <agentType>
    Where:
    <sqlServerInstance>
    The name of the SQL Server instance.
    <windowsAuthMode>
    Specifies if Windows authentication is used to connect to SQL Server. Enter TRUE if you are authenticating as Windows user.
    <twsDatabase>
    The name of the database.
    <agentType>
    The type of HCL Workload Automation component for which you are upgrading the SQL tables. Enter:
    MDM
    If the dynamic workload broker for which you are upgrading the SQL tables resides in a master domain manager.
    Attention: Start this procedure only after the master domain manager database is upgraded.
    BKM
    If the dynamic workload broker for which you are upgrading the SQL tables resides in a backup master domain manager.
    Attention: Start this procedure only after the backup master domain manager database is upgraded.
    DDM
    If the dynamic workload broker for which you are upgrading the SQL tables resides in a dynamic domain manager.
    BDM
    If the dynamic workload broker for which you are upgrading the SQL tables resides in a backup domain manager.
    Attention: Start this procedure only after the dynamic domain manager database is upgraded.