The WCT command-line utility invokes the command-line tool that is specified by the -tool parameter. You can use the WCT command-line utility and specify the pct tool to configure a web server to use an application server as a hosting server.
wctcmd.bat -tool pct -defLocPathname definition_location_pathname -createDefinitionLocation definition_location_name -importDefinitionLocation definition_location_name -removeDefinitionLocation definition_location_name -defLocName definition_location_name -defLocVersion definition_location_version -response response_file -listDefinitionLocations -deleteDefinition definition_name -listDefinitions
./wctcmd.sh -tool pct -defLocPathname definition_location_pathname -createDefinitionLocation definition_location_name -importDefinitionLocation definition_location_name -removeDefinitionLocation definition_location_name -defLocName definition_location_name -defLocVersion definition_location_version -response response_file -listDefinitionLocations -deleteDefinition definition_name -listDefinitions
This parameter is required.
This parameter is required.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This parameter is optional.
This option is valid only for a local configuration type.
Not supported on HP-UX or Solaris x64 (x86_64)
Not supported on HP-UX or Solaris x64 (x86_64)
Supported on Windows
Supported on Windows
Specify only one web server to configure.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
The specified file must exist.
The specified file must exist.
No spaces are allowed in the web server definition name.
Installation will use the hostname hostname on the machine.
The hostname of the target installation machine will be used.
Leaving the string empty will result in the installer using the default profile.
This option is valid only in local installation scenarios.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
The additional relevant credentials must be supplied.
No additional values are required.
Specify this value only when configuring IHS.
Specify this value only when configuring IHS.
Not supported on HP-UX or Solaris x64 (x86_64)
Supported on Windows
Specify only one web server to configure.
The following is an example of the content of
a response file for an IHS local plug-in configuration. The valid
values for the webServerOS parameter, which is
used to specify the web server operating system, are Windows, Linux,
Solaris, AIX, HPUX, OS390, OS400.
configType=local_standalone enableAdminServerSupport=true enableUserAndPass=true enableWinService=false ihsAdminCreateUserAndGroup=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUnixUserGroup=grp101 ihsAdminUnixUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=opt/IBM/WebSphere/AppServer80 webServerConfigFile1=opt/IBM/HTTPServer/conf/httpd.conf webServerDefinition=webserver1 webServerHostName=local.ibm.com webServerOS=operating_system_value webServerPortNumber=80 webServerSelected=ihs
configType=local_standalone enableAdminServerSupport=true enableUserAndPass=true enableWinService=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUserID=admin1 ihsWindowsPassword=****** ihsWindowsStartupType=Automatic ihsWindowsUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=D:\IBM\WebSphere\AppServer80 webServerConfigFile1=D:\IBM\HTTPServer\conf\httpd.conf webServerDefinition=webserver1 webServerHostName=local.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
The following
is an example of the content of a response file for an IHS local plug-in
configuration. The valid values for the webServerOS parameter,
which is used to specify the web server operating system, are Windows,
Linux, Solaris, AIX, HPUX, OS390, OS400.
configType=remote enableAdminServerSupport=true enableUserAndPass=true enableWinService=false ihsAdminCreateUserAndGroup=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUnixUserGroup=grp101 ihsAdminUnixUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=opt/IBM/WebSphere/AppServer80 wasMachineHostname=192.168.1.2 webServerConfigFile1=opt/IBM/HTTPServer/conf/httpd.conf webServerDefinition=webserver1 webServerHostName=remote.ibm.com webServerOS=operating_system_value webServerPortNumber=80 webServerSelected=ihs
configType=remote enableAdminServerSupport=true enableUserAndPass=true enableWinService=true ihsAdminPassword=****** ihsAdminPort=8008 ihsAdminUserID=admin1 ihsWindowsPassword=****** ihsWindowsStartupType=Automatic ihsWindowsUserID=user1 mapWebServerToApplications=true profileName=AppSrv01 wasExistingLocation=D:\IBM\WebSphere\AppServer80 wasMachineHostname=192.168.1.2 webServerConfigFile1=D:\IBM\HTTPServer\conf\httpd.conf webServerDefinition=webserver1 webServerHostName=remote.ibm.com webServerInstallArch=32 webServerOS=windows webServerPortNumber=80 webServerSelected=ihs
wctcmd.bat -tool pct -importDefinitionLocation -defLocName someDefLocName -defLocPathname C:\data\IBM\WebSphere\Plugins -response C:\IBM\WebSphere\tools\WCT\responsefile.txt
./wctcmd.sh -tool pct -importDefinitionLocation -defLocName someDefLocName -defLocPathname /data/IBM/WebSphere/Plugins -response /var/IBM/WebSphere/tools/WCT/responsefile.txt
wctcmd.bat -tool pct -removeDefinitionLocation -defLocName someDefLocName -defLocPathname C:\data\IBM\WebSphere\Plugins
./wctcmd.sh -tool pct -removeDefinitionLocation -defLocName someDefLocName -defLocPathname /data/IBM/WebSphere/Plugins
wctcmd.bat -tool pct -defLocPathname C:\data\IBM\WebSphere\Plugins -listDefinitionLocations
./wctcmd.sh -tool pct -defLocPathname /data/IBM/WebSphere/Plugins -listDefinitionLocations
wctcmd.bat -tool pct -deleteDefinition someDefName -defLocName someDefLocName
./wctcmd.sh -tool pct -deleteDefinition someDefName -defLocName someDefLocName
wctcmd.bat -tool pct -defLocPathname C:\data\IBM\WebSphere\Plugins -listDefinitions
./wctcmd.sh -tool pct -defLocPathname /data/IBM/WebSphere/Plugins -listDefinition