twsinst
- On Windows operating systems:
- %ProgramFiles%\IBM\TWA\TWS
- On UNIX and Linux operating systems:
- /user's_home/TWS
- On Windows operating systems:
-
- Insert the DVD for your operating system or download the agent eImage.
- Log in as administrator on the workstation where you want to install the product.
- From DVD_root/TWS/operating_system,
run twsinst using the synopsis 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 IBM Workload Scheduler for z/OS user is automatically created. The software is installed by default in the IBM Workload Scheduler for z/OS installation directory. The default value is %ProgramFiles%\IBM\TWA.
- On UNIX and Linux operating systems:
-
- Insert the DVD for your operating system or download the agent eImage.
- Create the IBM Workload Scheduler for z/OS 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 where user1 is the name of the IBM Workload Scheduler for z/OS user.)
- Log in as root on the workstation where you want to install the product.
- From the DVD_root/TWS/operating_system directory, run twsinst using the synopsis described in the following section.
Synopsis
- On Windows operating systems:
-
- Show command usage and version
-
twsinst -u | -v
- Install a new instance
-
twsinst -new -uname user_name -password user_password [-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]
- On UNIX and Linux operating systems:
-
- Show command usage and version
-
twsinst -u | -v
- Install a new instance
-
twsinst -new -uname user_name [-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]
Parameters
- -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 IBM Workload Scheduler user. The default is the name of the workstation on which you are installing the IBM Workload Scheduler for z/OS Agent.
- -displayname agentname
- The name to be assigned to the IBM Workload Scheduler for z/OS 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 IBM Workload Scheduler for z/OS 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. 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 %ProgramFiles%\IBM\TWA.
- -jmport port_number
-
The port used by the IBM Workload Scheduler for z/OS controller or the dynamic workload broker to connect to the IBM Workload Scheduler for z/OS Agent. The default value is 31114. The valid range is from 1 to 65535.
- -jmportssl true|false
- The port used by the IBM Workload Scheduler for z/OS controller,
or by the dynamic workload broker to connect to the IBM Workload Scheduler for z/OS 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 IBM Workload Scheduler for z/OS 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 IBM Workload Scheduler for z/OS Agent.
- -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 http://www-01.ibm.com/support/docview.wss?rs=672&uid=swg24039466.
- -tdwbhostname hostname
- The fully qualified host name of the dynamic domain manager of backup dynamic domain manager used to connect to the IBM Workload Scheduler for z/OS Agent. It is used together with the -tdwbport tdwbport_number parameter. It adds the capability to run dynamic workload to the IBM Workload Scheduler for z/OS 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 IBM Workload Scheduler for z/OS Agent. It is used together with the -tdwbhostname host_name parameter to add the capability to run dynamic workload to the IBM Workload Scheduler for z/OS 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 IBM Workload Scheduler for z/OS 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, IBM Workload Scheduler for z/OS Agent is installed in the home directory of the specified user.
- -work_dir working_directory
- The temporary directory used for theIBM Workload Scheduler 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\tws93, 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/tws93.
- -v
- Displays the command version and exits.
Examples
- On Windows operating systems:
-
twsinst -new -uname TWS_user -password qaz12qaz -jmportssl false -jmport 31114 -inst_dir "c:\Program Files\IBM\TWA\TWS_user"
- On UNIX and Linux operating systems:
-
./twsinst -new -uname TWS_user -jmportssl false -jmport 31114 -inst_dir /home/TWS_user/TWA