Example installations
About this task
The following example shows the syntax used when using the twsinst script to install a new instance of a fault-tolerant agent.
cscript twsinst -new
-uname TWSuser1
-password user_password
-acceptlicense yes
-agent fta
-company HCL
-displayname thishostcomputername
-hostname thishostname.mycompany.com
-inst_dir "c:\Program Files\HCL\TWA_TWSuser1"
-master TWSmdm
-port 37124
-thiscpu fta92
./twsinst -new
-uname TWSuser1
-acceptlicense yes
-agent fta
-company HCL
-create_link
-hostname thishostname.mycompany.com
-inst_dir "/opt/HCL/TWA_TWSuser1"
-master TWSmdm
-port 37124
-reset_perm
-skipcheckprereq
-thiscpu fta92
-work_dir "/home/TWSuser1/tmp"
The following example shows the syntax used when using the twsinst script to install a new instance of a dynamic agent and adding the Java™ run time for running job types with advanced options.
cscript twsinst -new
-uname TWSuser1
-password user_password
-acceptlicense yes
-addjruntime true
-agent dynamic
-displayname thishostcomputername
-hostname thishostname.mycompany.com
-inst_dir "c:\Program Files\HCL\TWA_TWSuser1"
-jmport 31114
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
./twsinst -new
-uname TWSuser1
-acceptlicense yes
-addjruntime true
-agent dynamic
-displayname thishostcomputername
-hostname thishostname.mycompany.com
-inst_dir "/opt/HCL/TWA_TWSuser1"
-jmport 31114
-reset_perm
-skipcheckprereq
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
The following example shows the syntax used when running the twsinst script to install a new instance of both a fault-tolerant and a dynamic agent, and adding the Java run time for running job types with advanced options.
cscript twsinst -new
-uname TWSuser1
-password user_password
-acceptlicense yes
-addjruntime true
-agent both
-displayname thishostcomputername
-hostname thishostname.mycompany.com
-inst_dir "c:\Program Files\HCL\TWA_TWSuser1"
-jmport 31114
-master TWSmdm
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
-thiscpu mainworkstation
./twsinst -new
-uname TWSuser1
-acceptlicense yes
-addjruntime true
-agent both
-displayname thishostcomputername
-create_link
-displayname thishostcomputername
-hostname thishostname.mycompany.com
-inst_dir "/opt/HCL/TWA_TWSuser1"
-jmport 31114
-master TWSmdm
-reset_perm
-skipcheckprereq
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
-thiscpu fta92
The following example shows the syntax used when using the twsinst script to install a new instance of a dynamic agent, adding the Java run time for running job types with advanced options, and to install a gateway on the same workstation as the agent to enable communication with the master domain manager.
cscript twsinst -new
-uname TWSuser1
-password user_password
-acceptlicense yes
-addjruntime true
-agent dynamic
-displayname thishostcomputername
-gateway local
-gwid gateway_id
-hostname thishostname.mycompany.com
-inst_dir "c:\Program Files\HCL\TWA_TWSuser1"
-jmport 31114
-jimportssl true
-master TWSmdm
-skipcheckprereq
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
-thiscpu mainworkstation
./twsinst -new
-uname TWSuser1
-acceptlicense yes
-addjruntime true
-agent both
-displayname thishostcomputername
-create_link
-displayname thishostcomputername
-gateway local
-gwid gateway_id
-hostname thishostname.mycompany.com
-inst_dir "/opt/HCL/TWA_TWSuser1"
-jmport 31114
-jimportssl true
-master TWSmdm
-reset_perm
-skipcheckprereq
-tdwbport 31116
-tdwbhostname mainbroker.mycompany.com
-thiscpu fta92