Application server - using the utilities that change the properties
This section documents a common procedure that you are advised
to follow when using the following utilities:
- changeDataSourceProperties
- changeHostProperties
- changeSecurityProperties
To avoid the risk of changing a configuration value inadvertently,
you should follow a procedure that creates a file containing the current
properties, edit it to the values you require, and apply the changes.
The details are as follows:
- Log on to the computer where HCL Workload Automation is
installed as the following user:
- UNIX
- root
- Windows
- Any user in the Administrators group.
- Access the directory: <TWA_home>/wastools
- Stop the WebSphere Application Server using the conman stopappserver command (see Starting and stopping the application server and appservman)
- From that same directory run the following script
to create a file containing the current properties:
- UNIX
- show<property_type>Properties.sh > my_file_name
- Windows
- show<property_type>Properties.bat > my_file_name
- DataSource
- Host
- Security
- Edit my_file_name with a text editor. Check the start of the file. The command might have written a message from the application server (WASX7357I:) at the beginning of the file. Delete this message.
- Change the value of the configuration parameters, according to your requirements. You do not need to supply all of the parameters in the file.
- Save the file my_file_name.
- Run the script:
- Windows
- change<property_type>Properties.bat my_file_name
- UNIX
- change<property_type>Properties.sh my_file_name
The properties are updated, according to the rules given in the descriptions of each property type.
- Start the WebSphere Application Server using the conman startappserver command (see Starting and stopping the application server and appservman)
- Check that the change has been implemented in HCL Workload Automation.