twsinst
- On Windows™ operating systems
%ProgramFiles%\HCL\TWA_TWS_USER
- On UNIX™ and Linux™ operating systems
/opt/HCL/TWA_TWS_USER
TWS_USER
is the user for which you are installing the HCL Workload Automation instance that you specify in the
command. If you stop and restart the installation, the installation process starts from the
installation step where it was stopped.To install the HCL Workload Automation Agent, perform the following steps:
- On Windows™ operating systems
-
- Download the HCL Workload Automation Agent eImage related to your operating system.
- Log in as administrator on the workstation where you want to install the product.
- In the
image_directory\TWS\operating_system\ACTIONTOOLS
directory, delete the.distributed
file and create an empty file named.zcentric
- From
image_directory\TWS\operating_system
, run twsinst using the syntax described in the following section.Note: twsinst for Windows™ operating systems is a Visual Basic Script (VBS) that you can run in CScript and WScript mode.The HCL Workload Automation for Z user is automatically created. The software is installed by default in the HCL Workload Automation for Z installation directory. The default value is%ProgramFiles%\HCL\TWA
.
- On UNIX™ and Linux™ operating systems
-
- Download the HCL Workload Automation Agent eImage related to your operating system.
- Create the HCL Workload Automation for Z user. The
software is installed by default in the user's home directory, referred to as
/installation_dir/TWS
- User:
- TWS_user
- Home:
/installation_dir/TWS
(for example:/home/user1/TWS
whereuser1
is the name of the HCL Workload Automation for Z user.)
- Log in as root on the workstation where you want to install the product.
- In the
image_directory/TWS/operating_system/ACTIONTOOLS
directory, delete the.distributed
file and create an empty file named.zcentric
- From the image_directory/TWS/operating_system directory, run twsinst using the syntax described in the following section.
Synopsis
- On Windows™ operating systems
-
- Show command usage and version
-
twsinst.vbs -u | -v
- Install a new instance
-
twsinst.vbs -new -uname user_name -password user_password -agent zcentric [-addjruntime true|false] [-displayname agentname] [-domain user_domain] [-hostname hostname] [-inst_dir install_directory] [-jmport port_number] [-jmportssl true|false] [-lang lang_id] [-skip_usercheck] [-stoponcheckprereq] [-tdwbport tdwbport_number] [-tdwbhostname hostname] [-work_dir working_directory] [-zhostname zconn_hostname [-zport zconn_portnumber]
- On UNIX™ and Linux™ operating systems
-
- Show command usage and version
-
twsinst -u | -v
- Install a new instance
-
twsinst -new -uname user_name -agent zcentric [-addjruntime true|false] [-displayname agentname] [-hostname hostname] [-inst_dir install_directory] [-jmport port_number] [-jmportssl true|false] [-lang lang_id] [-reset_perm] [-skip_usercheck] [-stoponcheckprereq] [-tdwbport tdwbport_number] [-tdwbhostname hostname] [-work_dir working_directory] [-zhostname zconn_hostname [-zport zconn_portnumber]
Parameters
- -agent zcentric
- Installs the HCL Workload Automation Agent.
- -addjruntime true|false
- Adds the Java™ runtime to
run job types with advanced options, both those supplied with the
product and the additional types implemented through the custom plug-ins.
Valid values are true and false. The default is true.
If you decided not to install Java™ runtime, you can still add this feature at a later time as it is described in Adding a feature.
- -domain user_domain
- Windows™ operating systems only. The domain name of the HCL Workload Automation user. The default is the name of the workstation on which you are installing the HCL Workload Automation Agent.
- -displayname agentname
- The name to be assigned to the HCL Workload Automation Agent. The default is the host name.
- -hostname hostname
- The fully qualified host name or IP address on which the agent will be contacted by the dynamic workload broker.
- -inst_dir install_directory
- The directory where to install the HCL Workload Automation Agent. On UNIX™ and Linux™, this path cannot contain blanks. On Windows™ operating systems, if you specify a path that contains blanks, enclose it in double quotes. On any operating system, specify an absolute path. If you do not manually specify a path, the path is set to the default home directory. On UNIX™ and Linux™, the path is set to the user_name home directory, and on Windows™ operating systems it is set to .
- -jmport port_number
-
The port used by the HCL Workload Automation for Z controller or the dynamic workload broker to connect to the HCL Workload Automation Agent. The default value is 31114. The valid range is from 1 to 65535.
- -jmportssl true|false
- The port used by the HCL Workload Automation for Z controller,
or by the dynamic workload broker to connect to the HCL Workload Automation Agent.
This number is registered in the
ita.ini
file, located in ITA\cpa\ita on Windows™ operating systems and ITA/cpa/ita on UNIX™ and Linux™.- For communication using SSL or HTTPS
- Set jmportssl = true. To communicate with the dynamic workload broker, it is recommended that you set the value to true. In this case, the port specified in jmport communicates in HTTPS. If you specify true, ensure that you also configure the HTTPS communication on the z/OS® master.
- For communication without using SSL, or through HTTP
- Set jmportssl = false. In this case the port specified in jmport communicates in HTTP.
To increase the performance of the HCL Workload Automation for Z server, it is recommended that you set this value to false.
- -lang lang_id
- The language in which the twsinst messages are displayed.
If not specified, the system LANG is used. If the related catalog
is missing, the default C language catalog is used. Note: This is the language in which the installation log is recorded, and not the language of the installed engine instance. twsinst installs all languages as default.
- -new
- A fresh installation of the agent. Installs an agent and all supported language packs.
- -password user_password
- Windows™ operating systems only. The password of the user for which you are installing HCL Workload Automation Agent. The password can include alphanumeric, dash (-), and underscore (_) characters, and the following symbols: ()!?=ˆ*/˜ [] $`+;:.,@.
- -reset_perm
- UNIX™ and Linux™ only. Reset the permissions of the libatrc library.
- -skip_usercheck
- Enable this option if the authentication process within your organization is not standard, thereby disabling the default authentication option. On UNIX™ and Linux™ operating systems if you specify this parameter, the program skips the check of the user in the /etc/passwd file or the check you perform using the su command. On Windows™ operating systems if you specify this parameter, the program does not create the user you specified in the -uname username parameter. If you specify this parameter you must create the user manually before running the script.
- -stoponcheckprereq
- Stop the installation whenever a problem occurs during the prerequisite check. For more information about the prerequisites, see Product Requirements.
- -tdwbhostname hostname
- The fully qualified host name of the dynamic domain manager of backup dynamic domain manager used to connect to the HCL Workload Automation Agent. It is used together with the -tdwbport tdwbport_number parameter. It adds the capability to run dynamic workload to the HCL Workload Automation Agent. If not specified, the default value is localhost. This value is registered in the ResourceAdvisorUrl property in the JobManager.ini file.
- -tdwbport tdwbport_number
- The dynamic domain manager of backup
dynamic domain manager HTTP or HTTPS port
number used to connect to the HCL Workload Automation Agent. It is used together with the
-tdwbhostname host_name
parameter to add the capability to run dynamic workload to the HCL Workload Automation Agent. This number is registered in the ResourceAdvisorUrl property in the JobManager.ini file. The default value is 0, meaning that the capability to run dynamic workload to the agent is not added. The valid range is from 0 to 65535. - -u
- Displays command usage information and exits.
- -uname user_name
- The name of the user for which the HCL Workload Automation Agent is
installed. This user name is not to be confused with the user performing
the installation logged on as root on UNIX™ and Linux™ and
as administrator on Windows™ operating
systems.
On UNIX™ and Linux™, this user account must be created manually before running the installation. Create a user with a home directory. By default, HCL Workload Automation Agent is installed in the home directory of the specified user.
- -work_dir working_directory
- The temporary directory used for theHCL Workload Automation installation
process files deployment.
- On Windows™ operating systems
- If you specify a path that contains blanks, enclose it in double quotes. If you do not manually
specify a path, the path is set to %temp%\TWA\tws95, where
%temp%
is the temporary directory of the operating system. - On UNIX™ and Linux™ operating systems
- The path cannot contain blanks. If you do not manually specify a path, the path is set to /tmp/TWA/tws95.
- -v
- Displays the command version and exits.
- -zhostname zconn_hostname
- The fully qualified host name of the Z connector (this is coincident with the
Dynamic Workload Console host name). It is used
together with the
-zport zconn_port
parameter. It adds the capability to download the plug-ins from the Z connector.This value is registered in the ResourceAdvisorAgent property of the JobManager.ini file.
- -zport zconn_portnumber
- The HTTP or HTTPS port number of the Z connector (this is coincident with the
Dynamic Workload Console port number). It is
used together with the
-zhostname zconn_hostname
parameter to add the capability to download the plug-ins from the Z connector. The valid range is from 1 to 65535.This value is registered in the ResourceAdvisorAgent property in the JobManager.ini file.
Examples
HWA_user
and accept the default
value to add the runtime environment for Java™. The runtime
environment is used to run jobs supplied with the product or implemented through the custom
plug-ins, it also enables the capability to remotely run, from the agent, the dynamic workload broker resource command on the server. - On Windows™ operating systems
-
twsinst.vbs -new -uname HWA_user -password qaz12qaz -jmportssl false -jmport 31114 -inst_dir "c:\Program Files\HCL\TWA\TWS_user"
- On UNIX™ and Linux™ operating systems
-
./twsinst -new -uname HWA_user -jmportssl false -jmport 31114 -inst_dir /home/HWA_user/TWA