Intelligent Management: middleware server template administrative tasks
Use middleware server template administrative tasks to create server templates for middleware servers that we have created.
Use the following commands to create middleware server templates:
- createApacheServerTemplate command
- createForeignServerTemplate command
- createLibertyServerTemplate command
- createJBossServerTemplate command
- createTomCatServerTemplate command
- createWasCEServerTemplate command
- createWebLogicServerTemplate command
createApacheServerTemplate command
The createApacheServerTemplate command creates a new server template based on an existing Apache server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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 based on an existing custom HTTP server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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'])
createLibertyServerTemplate command
The createLibertyServerTemplate command creates a new server template based on an existing Liberty profile server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we want to place the template.
Return value.
This command returns the configuration ID of a new template.
Batch mode example usage
- Use Jacl:
$AdminTask createLibertyServerTemplate{-templateName liberty_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"}- Use Jython String:
AdminTask.createLibertyServerTemplate('[-templateName liberty_new -serverName xdtest1 -nodeName xdnode1 -description "My new template"]')- Use Jython List:
AdminTask.createLibertyServerTemplate(['-templateName','liberty_new','-serverName','xdtest1','-nodeName', 'xdnode1','-description','My new template'])
createJBossServerTemplate command
The createJBossServerTemplate command creates a new server template based on an existing JBoss server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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 based on an existing Apache Tomcat server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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 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
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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 based on an existing BEA WebLogic server representation.
Target object:
Required parameters:
- -templateName
- Name of the server template to create. (String, required)
- -serverName
- Server from which to base the template. (String, required)
- -nodeName
- Node on which the specified server runs. (String, required)
- -description
- Description for the template.
- -templateLocation
- Location where we 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'])
Create middleware server templates Intelligent Management: middleware server creation administrative tasks