A server template is used to define the configuration settings for a new application server. When you create a new application server, you either select the default server template or a template you previously created, that is based on another, already existing application server. The default template is used if you do not specify a different template when you create the server.
You can also use the createApplicationServerTemplate command for the AdminTask object to create a server template.
If you do not create any additional server templates, the defaultZOS template is used as the template for the first cluster member. This template uses the default port assignments for the z/OS® platform. If some of these ports are already defined for use elsewhere in your z/OS system, your newly created cluster member might not start, might function incorrectly, or might generate unexpected error messages. Therefore, you must resolve any port conflicts before you start this server.
AdminTask.createApplicationServer('node_name>', '[-name server_name -templateName template_name ]')
where node_name> is the node to which you are adding the new application server, server_name is the name of the application server you are creating, and template_name is the name of the server template you are using to create the new application server.
AdminTask.exportServer('[-archive c:/temp/templateExport.car -nodeName node_name> -serverName server_name]')-
AdminTask.importServer('[-archive c:/temp/templateExport.car -nodeName node_name> -serverInArchive server_name]')
The server server_name now resides on the target system with unique ports. If you need to change the assigned ports, in the administrative console, click
, and then click Communications > ports.In this information ...Related reference
| IBM Redbooks, demos, education, and more(Index) |