The WCT command invokes a command-line tool that is specified by the -tool parameter. You can use the WCT command 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
-defLocName definition_location_name
-importDefinitionLocations
-removeDefinitionLocation definition_location_name
-listDefinitionLocations
-createDefinition
-deleteDefinition webserver_definition_name
-listDefinitions
-response response_file
./wctcmd.sh
-tool pct
-defLocPathname definition_location_pathname
-defLocName definition_location_name
-importDefinitionLocations
-removeDefinitionLocation definition_location_name
-listDefinitionLocations
-createDefinition
-deleteDefinition webserver_definition_name
-listDefinitions
-response response_file
This parameter is required.
This parameter is required when you create or delete a definition.
This parameter is required when you create or delete a definition.
A new definition is created as part of this operation.
Usage example:
wctcmd.bat -tool pct -importDefinitionLocation -defLocPathname C:\data\IBM\WebSphere\Plugins -defLocName DefinitionLocationName -response C:\IBM\WebSphere\tools\WCT\responsefile.txt
./wctcmd.sh -tool pct -importDefinitionLocation -defLocPathname /opt/IBM/WebSphere/Plugins -defLocName DefinitionLocationName -response /opt/IBM/WebSphere/tools/WCT/responsefile.txt
Usage example:
wctcmd.bat -tool pct -listDefinitionLocations
./wctcmd.sh -tool pct -listDefinitionLocations
This parameter is used when you remove a definition location.
Usage example:
wctcmd.bat -tool pct -removeDefinitionLocation -defLocPathname C:\data\IBM\WebSphere\Plugins
./wctcmd.sh -tool pct -removeDefinitionLocation -defLocPathname /opt/IBM/WebSphere/Plugins
orwctcmd.bat -tool pct -removeDefinitionLocation -defLocName DefinitionLocationName
./wctcmd.sh -tool pct -removeDefinitionLocation -defLocName DefinitionLocationName
Usage example:
wctcmd.bat -tool pct -createDefinition -defLocName DefinitionLocationName -response C:\IBM\WebSphere\tools\WCT\responsefile.txt
./wctcmd.sh -tool pct -createDefinition -defLocName DefinitionLocationName -response /opt/IBM/WebSphere/tools/WCT/responsefile.txt
This parameter is used when you delete an existing definition.
Usage example:
wctcmd.bat -tool pct -defLocPathname C:\data\IBM\WebSphere\Plugins -defLocName DefinitionLocationName -deleteDefinition WebServerDefinitionName
./wctcmd.sh -tool pct -defLocPathname /opt/IBM/WebSphere/Plugins -defLocName DefinitionLocationName -deleteDefinition WebServerDefinitionName
Usage example:
wctcmd.bat -tool pct -listDefinitions -defLocName DefinitionLocationName
./wctcmd.sh -tool pct -listDefinitions -defLocName DefinitionLocationName
This parameter is required when you create a definition.
Parameter | Values |
---|---|
|
|
|
Location of the WebSphere Application Server installation home directory |
|
|
|
HTTP administration port number |
|
IHS administrator user ID for the IHS administration server |
|
User group for the IHS administration server |
|
|
|
|
|
Web server port for the web server to be configured |
|
Domino Version 7.0 or 8.0 user ID |
|
Web server definition name with no spaces |
|
|
Parameter | Values |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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, and 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/AppServer85
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\\AppServer85
webServerConfigFile1=D:\\IBM\\HTTPServer\\conf\\httpd.conf
webServerDefinition=webserver1
webServerHostName=local.ibm.com
webServerInstallArch=32
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, and OS400.
configType=remote
enableAdminServerSupport=true
enableUserAndPass=true
enableWinService=false
ihsAdminCreateUserAndGroup=true
ihsAdminPassword=******
ihsAdminPort=8008
ihsAdminUnixUserGroup=grp101
ihsAdminUnixUserID=user1
mapWebServerToApplications=true
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
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