Enabling dynamic scheduling after installation

This section describes the procedure that you must follow to enable dynamic scheduling if you upgrade the product, both the master and the agent, without enabling the dynamic scheduling capabilities.

To enable dynamic scheduling, perform the following steps:
  1. Browse to the following path:
    On Windows operating systems
    <TWA_home>\TWS\broker\config
    On UNIX operating systems
    <TWA_DATA_DIR>/broker/config
  2. In the BrokerWorkstation.properties file, modify the values of the following properties according to the values that you specified at upgrade time:
    Broker.Workstation.Name= workstation_name_DWB
    Broker.Workstation.Port= port_number
    MasterDomainManager.HostName= host_name
    MasterDomainManager.Name= workstation_name
    Broker.AuthorizedCNs=server1; ... ;servern
    where:
    Broker.Workstation.Name=workstation_name_DWB
    It is the master domain manager workstation name followed by _DWB. You can modify this value including the _DWB suffix.
    Broker.Workstation.Port=port_number
    It is the port on the workload broker workstation used by the HCL Workload Automation master domain manager to communicate with dynamic workload broker. You can specify any value. The default value is 41114 if the Netman port number is 31111. The valid range is from 1 to 65535. If you changed the Netman port number, the Broker.Workstation.Port port_number is calculated as:
    netman_port_number+10003
    MasterDomainManager.HostName=host_name
    It is the fully qualified host name on which the master domain manager will be contacted by the agents.
    MasterDomainManager.Name=workstation_name
    It is the master domain manager workstation name.
    Broker.AuthorizedCNs=server1; ... ;servern
    It is the list of prefixes of common names included in the master domain manager certificates authorized to communicate with the broker server. For more information about authorizing the connection to the server, Customizing certificates for master domain manager and dynamic agent communication.
  3. On the master domain manager, verify the current value of the host.https.port by checking the ports_variables.xml configuration file. The file is located in the following path:
    On Windows operating systems
    <TWA_home>usr\servers\engineServer\configDropins\overrides
    On UNIX operating systems
    <TWA_DATA_DIR>/usr/servers/engineServer/configDropins/overrides
  4. On the master domain manager and on every agent that is connected to the workload broker server, update the JobManager.ini configuration file located under:
    On Windows operating systems
    <TWA_home>\TWS\ITA\cpa\config
    On UNIX operating systems
    <TWA_DATA_DIR>/ITA/cpa/config
    by assigning to the tdwb_hostname and tdwb_httpsport variables contained in the ResourceAdvisorUrl property, the following values:
    tdwb_hostname
    Specify the fully qualified host name of the workload broker server
    tdwb_httpsport
    Specify the value that the httpsPort has on the master domain manager as listed in the ports_variables.xml configuration file. The default is 31116, which is the dynamic workload broker port number. The port is currently set to zero because at installation time you specified that you would not use the dynamic workload broker.
    The ResourceAdvisorUrl property has the following syntax:
    ResourceAdvisorUrl = https://tdwb_hostname>:tdwb_httpsport>
    /JobManagerRESTWeb/JobScheduler/resource
  5. On the master domain manager and on every agent of your network that you want to connect to the workload broker server, start the HCL Workload Automation agent by running the following command:
    • On Windows operating systems:
      StartUpLwa.cmd
    • On UNIX and Linux operating systems:
      StartUpLwa
This is an example of BrokerWorkstation.properties file.
# --------------------------------
# Broker Workstation Configuration
# --------------------------------

# This file can be used to configure the local Dynamic Workload Broker Workstation.
# Jobs submitted or scheduled on this workstation are routed to TWS agents according to available resources.  
#---------------------------------

# Use this switch to enable or disable the Dynamic Workload Broker Workstation
Broker.Workstation.Enable=true

# Name of the Dynamic Workload Broker Workstation in the TWS production plan
Broker.Workstation.Name=panofsky_DWB

# Port on which the Dynamic Workload Broker Workstation listens (equivalent to Netman port)
Broker.Workstation.Port=41114

# Seconds between following attempts to link the Dynamic Workload Broker Workstation
Broker.Workstation.RetryLink=600

# Name of the Master Domain Manager Workstation
MasterDomainManager.Name=panofsky

# Name of the Master Domain Manager Host Name
MasterDomainManager.HostName=10.14.39.47

# HTTPS Port on which the Master Domain Manager listens
MasterDomainManager.HttpsPort=31116

# Cpu Type of the Dynamic Workload Broker Workstation
Broker.Workstation.CpuType=MDM

Broker.AuthorizedCNs=Server;ServerNew

# Domain of the Domain Manager Workstation
DomainManager.Workstation.Domain=MASTERDM

# Name of the Domain Manager Workstation in the TWS production plan
DomainManager.Workstation.Name=panofsky

# Port on which the Domain Manager Workstation listens (equivalent to Netman port)
DomainManager.Workstation.Port=31111

# Name of the Dynamic Master Domain Manager Host Name
DomainManager.Workstation.Address=panofsky.Nonprod.hclpnp.com

# Name of the Dynamic Master Domain Manager OS Type
DomainManager.Workstation.OS=UNIX