Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS
Middleware server template administrative tasks
Use middleware server template administrative tasks to create server templates for middleware servers that you have created. Use the following commands to create middleware server templates:
- createApacheServerTemplate command
- createForeignServerTemplate command
- createJBossServerTemplate command
- #radtaskmwstemplate__createphp
- createTomCatServerTemplate command
- createWasCEServerTemplate command
- createWebLogicServerTemplate command
createApacheServerTemplate command
The createApacheServerTemplate command creates a new server template that is based on an existing Apache server representation.
Target object
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createApacheServerTemplate{-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createApacheServerTemplate('[-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createApacheServerTemplate(['-templateName','weblogic_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
createForeignServerTemplate command
The createForeignServerTemplate command creates a new server template that is based on an existing custom HTTP server representation.
Target object
Required parameters
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createForeignServerTemplate{-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createForeignServerTemplate('[-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createForeignServerTemplate(['-templateName','weblogic_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
createJBossServerTemplate command
The createJBossServerTemplate command creates a new server template that is based on an existing JBoss server representation.
Target object
Required parameters
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createJBossServerTemplate{-templateName jboss_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createJBossServerTemplate('[-templateName jboss_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createJBossServerTemplate(['-templateName','jboss_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
createTomCatServerTemplate command
The createTomCatServerTemplate command creates a new server template that is based on an existing Apache Tomcat server representation.
Target object
Required parameters
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createTomCatServerTemplate{-templateName tomcat_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createTomCatServerTemplate('[-templateName tomcat_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createTomCatServerTemplate(['-templateName','tomcat_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
createWasCEServerTemplate command
The createWasCEServerTemplate command creates a new server template that is based on an existing WebSphere® Application Server Community Edition server representation.
Target object
Required parameters
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createWasCEServerTemplate{-templateName wasce_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createWasCEServerTemplate('[-templateName wasce_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createWasCEServerTemplate(['-templateName','wasce_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
createWebLogicServerTemplate command
The createWebLogicServerTemplate command creates a new server template that is based on an existing BEA WebLogic server representation.
Target object
Required parameters
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Specifies the server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Specifies a description for the template.
- -templateLocation
- Specifies the location where you want to place the template.
Return value
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createWebLogicServerTemplate{-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createWebLogicServerTemplate('[-templateName weblogic_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createWebLogicServerTemplate(['-templateName','weblogic_new','-serverName','xdtest1','-nodeName','xdnode1','-description','My new template'])
Related tasks
Creating middleware server templatesRelated information
Middleware server creation administrative tasks