Create application servers using the job manager
In a flexible management environment, we can submit the Create application server job to create a server. The job can create an application server on a stand-alone node or on a federated node of a deployment manager.
Start the job manager and the targets. If a target is a stand-alone application server, also start the administrative agent.
Your ID at the job manager must be authorized for the administrator role or the operator role to submit jobs. When you submit a job, we can specify a user name and password for authentication and authorization at the target or targets. When you submit a job to multiple targets, the user name and password or the credentials for the submitter must be applicable to all the job targets.
We can use the administrative console of the job manager or the deployment manager to create an application server on one or more managed targets. From the console, choose the Create application server job, specify server and job options, review the summary, and submit the job.
Instead of using a console, we can run the createApplicationServer job script in the AdministrativeJobs command group. See the Administrative job types topic.
- Click Jobs > Submit from the navigation tree of the administrative console.
- Choose a job to create a server.
- Select the Create application server job type from the list.
- Optionally specify a description of the job.
- Click Next.
- Choose the job targets on which to add the server.
- Select a group of targets from the list, or select Target names.
Only groups of targets that are valid for the job type selecteded are displayed in the list of target groups.
- If we selected Target names, then specify a target name and click Add, or click Find and specify the chosen targets on the Find targets page.
- If user authentication is required, specify a user name, password, or any other authentication values as needed.
- Click Next.
- Specify parameters for the create server job.
- For Server name, specify a server name that is unique on the targets.
Avoid trouble: A server name can not contain a blank character. gotcha
To see the names of existing servers on the targets, click Find on the Specify job parameters page. On the Find node resources page, specify the targets and click Find. For example, suppose a managed target, nodeA, has one server, server1. Specify a name that is unique to nodeA:
- If the target is in a WAS Network Deployment cell, for Node name specify the target name in the cell on which to create the server.
You do not have to specify the target name for a base (stand-alone) node. For example, suppose the managed node, nodeA, is a federated node in a WAS Network Deployment cell. Specify the node name:
- To use a template other than the default server template, specify the name and location of the template to use.
- To use a specific port number and not use the unique port number generated by the product, deselect Generate unique ports.
- For a server on a z/OS target, optionally specify short names and bit mode.
If we do not specify values, the product generates unique short names and uses the default bit mode.
- Click Next.
- Schedule the job.
The times and dates specified are relative to the job manager.
- Optionally specify one or more email addresses where notifications are sent when the job finishes.
If we specify multiple email addresses, separate them with commas.
- Select when the job is available for submission.
- Select the job expiration.
- Optionally specify a recurring interval for the job, a start date and time for the interval, and an end date and time for the interval.
- Click Next.
- Review the summary, and click Finish to submit the job.
The targets run the job and attempt to create the application server.
What to do next
On the Job status page, click the ID of the create application server job and view the job status. Click the status refresh icon
to refresh the displayed status.
If the job is not successful, view any error messages that result from running the job, correct the error condition, and submit the job again.
If the job is successful, click Jobs > Target resources to see the new application server in the list of resources.
After creating the server, we can run a job that starts the server.
Set up a job manager environment Start and stop the job manager Start and stop the administrative agent Start and stop the deployment manager Start and stop a node Checking job status Start servers using the job manager
Administrative job types Find targets Find target resources Target resources collection