+

Search Tips   |   Advanced Search

Create application servers

During the installation process, the product creates a default application server, named server1. Most installations require several application servers to handle the application serving needs of their production environment. We can use the command-line tool or the console to create additional application servers.

Determine to use the application server that you are creating as part of a cluster. If this application server is going to be part of a cluster, use the Create a new cluster wizard instead of the Create a new application server wizard to create this application server. The topic Add members to a cluster describes how to use the Create a new cluster wizard.

To create a new application server that is not part of a cluster, we can either use the createApplicationServer, createWebServer, or createGenericServer wsadmin command, or we can use the console.

(zos) To create a new application server that is not part of a cluster, we can either use the Profile Management tool, the createApplicationServer, createWebServer, or createGenericServer wsadmin command, or we can use the console.

If we are migrating from a previous version of the product, we can upgrade a portion of the nodes in a cell, while leaving others at the previous product level. This means that, for a period of time, you might be managing servers that are running at two different release levels in the same cell. However, when creating a new server definition, use a server configuration template, and that template must be created from a server instance that matches the version of the node for which we are creating the server.

There are no restrictions on what we can do with the servers running on the more current release level.

(zos) Avoid trouble: For a global resource serialization (GRS) ring to attach one or more monoplexes to a sysplex environment, the cell name of any servers running in any of the monoplexes must be unique within the entire GRS environment. This requirement means that the cell name of a server running in any of the monoplexes:

If we have servers with duplicate cell names within the GRS environment, WebSphere Application Server cannot differentiate between the sysplex cell and the monoplex cell, and treats both servers as part of the same cell, This inaccurate cell association typically causes unpredictable processing results.gotcha

Avoid trouble: If we use additional servers with unique ports, WAS does not automatically configure the virtual host for the server. Specifically, WAS does not automatically add the host alias ports to a virtual host. However, we can use the console to add a new host alias for each of the ports used by the new server. For more information, see the documentation about configuring virtual hosts.gotcha

Complete the following steps to use the console to create a new application server that is not part of a cluster.

  1. In the console, click Servers > Server Types > WebSphere application servers > New.

    The Create a new application server wizard starts.

  2. Select a node for the application server.

  3. Enter a name for the application server. The name must be unique within the node.

  4. Click Next.

  5. Select a server template for the new server.

    We can use a default application server template for the new server, or we can use the template that is optimized for development uses. The new application server inherits all of the configuration settings of the template server.

  6. Click Next.

    By default, this option is enabled. If we select this option, then we might need to update the alias list for the virtual host to use with this server to contain these new port values. If we deselect this option, then ensure that the default port values do not conflict with other servers on the same physical machine.

  7. Select Generate unique HTTP ports if we want the wizard to generate unique ports for the application server.

  8. (zos) Optional: Click Next and specify a short name for the server.

    The short name is also used as the JOBNAME for the server. If we do not specify a value for the short name field, the short name defaults to BBOSnnn, where nnn is the first free number in the cell that can be used to create a unique short name. For example, if default short names are already assigned to two other servers in the cell, the short name BBOS003 will be assigned to this server if we do not specify a short name when creating this server

    Avoid trouble: Make sure set up a RACF SERVER class profile that includes this short name.gotcha

  9. (zos) Optional: Specify a generic short name for the server.

    The generic short name for the server becomes the cluster transition name. If we do not specify a value for the generic short name field, the generic short name defaults to BBOCnnn, where nnn is the first free number in the cell that can be used to create a unique generic short name. For example, if default generic short names are already assigned to three other servers in the cell, the generic short name BBOC004 is assigned to this server if we do not specify a generic short name when creating this server.

    Avoid trouble: Make sure set up a RACF SERVER class profile that includes this generic short name.gotcha

  10. Click Next. Review the settings for the new server.

  11. To change any of the settings, click Previous until you return to a page where we can change that setting.

  12. Click Finish when we do not want to make any additional changes.

  13. Click Review, select Synchronize changes with nodes, and then click Save to save the changes.

  14. (zos) Optional: Run the updateZOSStartArgs script to enable an application server to use the z/OS reusable ASID function, if it is not already enabled for the node that is associated with this application server.

    This function enables an application server to reuse all ASIDs, including those associated with cross-process services.

    Avoid trouble: Before running this script, verify that you are running on z/OS Version 1.9 or higher, and that the reuse ASID function is enabled during the z/OS startup process. If the function is not enabled on z/OS, running this script has no affect on how ASIDs are handled.gotcha


Results

The new application server is in the list of servers on the console Application servers page.


What to do next

This newly created application server is configured with default settings that are not displayed when you run the Create New Application Server wizard.

We can:


Subtopics


Related tasks

  • Configure application servers for UCS Transformation Format
  • Add members to a cluster
  • Create a server

    (zos) Enable the reusable ASID function

  • Get started with wsadmin scripting
  • Add members to a cluster
  • Configure virtual hosts

    (zos) Controlling application environments with RACF server class profiles

    (zos) Resource Access Control Facility Tips for customizing WebSphere Application Server

    (zos) SAF profile prefixes and the customization jobs

    (zos) Application server custom properties for z/OS

    Server collection

    Application server settings