Wasv600nd App-Ibm
Wasv600nd App-Ibm
Chapter 1. Overview and new features for administering applications and their environments .
. 1
Overview of administering applications and their environments . . . . . . . . . . . . . . .
. 2
Getting started with WebSphere Application Server . . . . . . . . . . . . . . . . . . .
. 3
Introduction: System administration . . . . . . . . . . . . . . . . . . . . . . . . .
. 3
Introduction: Administrative console . . . . . . . . . . . . . . . . . . . . . . . .
. 4
Introduction: Administrative scripting (wsadmin) . . . . . . . . . . . . . . . . . . . .
. 4
Introduction: Administrative commands . . . . . . . . . . . . . . . . . . . . . . .
. 5
Introduction: Administrative programs. . . . . . . . . . . . . . . . . . . . . . . .
. 5
Introduction: Administrative configuration data . . . . . . . . . . . . . . . . . . . .
. 6
Welcome to basic administrative architecture . . . . . . . . . . . . . . . . . . . . .
. 6
Introduction: Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 7
Introduction: Application servers . . . . . . . . . . . . . . . . . . . . . . . . .
. 8
Introduction: Web servers . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. 9
Introduction: Clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Introduction: Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Introduction: Cell-wide settings. . . . . . . . . . . . . . . . . . . . . . . . . . . 11
iv IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Creating clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Creating cluster members . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Creating backup clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Starting clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Stopping clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Replicating data across application servers in a cluster . . . . . . . . . . . . . . . . . 283
Deleting clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Deleting cluster members . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Tuning a workload management configuration . . . . . . . . . . . . . . . . . . . . 296
Workload management run-time exceptions . . . . . . . . . . . . . . . . . . . . . 297
Clustering and workload management: Resources for learning . . . . . . . . . . . . . . 297
Setting up a high availability environment . . . . . . . . . . . . . . . . . . . . . . . 298
High availability manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
High availability network components . . . . . . . . . . . . . . . . . . . . . . . . 301
Transport protocol for a high availability manager . . . . . . . . . . . . . . . . . . . 302
Creating a new core group . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Changing a core group’s configuration . . . . . . . . . . . . . . . . . . . . . . . 311
Changing the configuration of a high availability group . . . . . . . . . . . . . . . . . 313
Creating a policy for a high availability group . . . . . . . . . . . . . . . . . . . . . 316
Changing the policy of a high availability group . . . . . . . . . . . . . . . . . . . . 323
Adding members to a core group . . . . . . . . . . . . . . . . . . . . . . . . . 324
Routing high availability group work to a different server . . . . . . . . . . . . . . . . . 326
Configuring the core group bridge service . . . . . . . . . . . . . . . . . . . . . . 328
Contents v
Deploying and managing a custom Java administrative client program with multiple Java 2
Platform, Enterprise Edition application servers . . . . . . . . . . . . . . . . . . . 824
Migrating Java Management Extensions V1.0 to Java Management Extensions V1.2 . . . . . . 825
Java Management Extensions interoperability . . . . . . . . . . . . . . . . . . . . 825
Managed object metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . 826
Managing applications through programming . . . . . . . . . . . . . . . . . . . . . 827
Using command line tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
Example: Security and the command line tools . . . . . . . . . . . . . . . . . . . . 853
startServer command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
stopServer command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
startManager command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
stopManager command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
startNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
stopNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
addNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861
serverStatus command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 865
removeNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 866
cleanupNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 867
syncNode command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868
backupConfig command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 869
restoreConfig command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 870
EARExpander command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871
GenPluginCfg command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 872
vi IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Disabling automatic starting of applications . . . . . . . . . . . . . . . . . . . . . 919
Target mapping collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919
Exporting applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 920
Exporting DDL files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
Updating applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
Ways to update application files . . . . . . . . . . . . . . . . . . . . . . . . . . 924
Preparing for application update settings . . . . . . . . . . . . . . . . . . . . . . 925
Hot deployment and dynamic reloading . . . . . . . . . . . . . . . . . . . . . . . 929
Uninstalling applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
Removing a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
Deploying and administering applications: Resources for learning . . . . . . . . . . . . . . 938
Contents vii
Installing and configuring a JMS provider . . . . . . . . . . . . . . . . . . . . . . 1454
Using asynchronous messaging . . . . . . . . . . . . . . . . . . . . . . . . . 1456
Using JMS resources of WebSphere MQ . . . . . . . . . . . . . . . . . . . . . . 1456
Using JMS resources of a generic provider . . . . . . . . . . . . . . . . . . . . . 1524
Maintaining Version 5 default messaging resources . . . . . . . . . . . . . . . . . . 1532
Administering support for message-driven beans . . . . . . . . . . . . . . . . . . . 1565
Mail, URLs, and other J2EE resources . . . . . . . . . . . . . . . . . . . . . . . . 1581
Using mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1581
Using URL resources within an application . . . . . . . . . . . . . . . . . . . . . 1585
Resource environment entries . . . . . . . . . . . . . . . . . . . . . . . . . . 1588
Configuring mail providers and sessions . . . . . . . . . . . . . . . . . . . . . . 1592
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1598
Securing applications and their environments . . . . . . . . . . . . . . . . . . . . 1598
Planning to secure your environment . . . . . . . . . . . . . . . . . . . . . . . 1599
Implementing security considerations at installation time . . . . . . . . . . . . . . . . 1611
Integrating IBM WebSphere Application Server security with existing security systems . . . . . 1616
Administering security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1624
Deploying secured applications . . . . . . . . . . . . . . . . . . . . . . . . . 1984
Naming and directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1995
Using naming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1995
Configuring name servers . . . . . . . . . . . . . . . . . . . . . . . . . . . 2006
Configuring and viewing name space bindings . . . . . . . . . . . . . . . . . . . . 2006
Developing applications that use JNDI . . . . . . . . . . . . . . . . . . . . . . . 2010
Developing applications that use CosNaming (CORBA Naming interface) . . . . . . . . . . 2025
Object Request Broker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2030
Managing Object Request Brokers . . . . . . . . . . . . . . . . . . . . . . . . 2030
Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2047
Configuring transaction properties for an application server . . . . . . . . . . . . . . . 2047
Configuring transaction properties for peer recovery . . . . . . . . . . . . . . . . . . 2056
Using the transaction service . . . . . . . . . . . . . . . . . . . . . . . . . . 2057
Managing active and prepared transactions . . . . . . . . . . . . . . . . . . . . . 2070
Managing transaction logging for optimum server availability . . . . . . . . . . . . . . . 2071
Interoperating transactionally between application servers. . . . . . . . . . . . . . . . 2074
Using one-phase and two-phase commit resources in the same transaction . . . . . . . . . 2075
WebSphere programming extensions . . . . . . . . . . . . . . . . . . . . . . . . 2078
ActivitySessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2079
Application profiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2093
Asynchronous beans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2105
Dynamic cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2122
Dynamic query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2172
Internationalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2201
Object pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2211
Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2217
Startup beans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2242
Work area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2243
viii IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Installation completes but the administrative console does not start . . . . . . . . . . . . . 2285
Errors connecting to the administrative console from a browser . . . . . . . . . . . . . . 2286
When a single user that uses multiple instances of the Mozilla browser logs into the
administrative console, the first user ID that logs into the administrative console is the current
user. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2286
A user on Mozilla browser Version 1.4 selects a check box on a collection table, presses Enter,
and receives an error. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2287
A user on Mozilla browser Version 1.4 enters an invalid ID or password, presses Enter, and
receives an error message . . . . . . . . . . . . . . . . . . . . . . . . . . 2287
Web server plug-in troubleshooting tips . . . . . . . . . . . . . . . . . . . . . . . 2287
The server process does not start or starts with errors . . . . . . . . . . . . . . . . . . 2289
The stopServer.sh or administrative console stop server commandhangs and creates a Java core
dump (Red Hat Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2290
Errors setting up multiserver environments . . . . . . . . . . . . . . . . . . . . . . 2291
Workload management component troubleshooting tips . . . . . . . . . . . . . . . . . 2293
Workload is not getting distributed . . . . . . . . . . . . . . . . . . . . . . . . . 2297
Problems starting or using the wsadmin command . . . . . . . . . . . . . . . . . . . 2300
Problems using tracing, logging or other troubleshooting features . . . . . . . . . . . . . . 2304
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2305
Contents ix
x IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
How to send your comments
Your feedback is important in helping to provide the most accurate and highest quality information.
v To send comments on articles in the WebSphere Application Server Information Center
1. Display the article in your Web browser and scroll to the end of the article.
2. Click on the Feedback link at the bottom of the article, and a separate window containing an e-mail
form appears.
3. Fill out the e-mail form as instructed, and click on Submit feedback .
v To send comments on PDF books, you can e-mail your comments to: [email protected] or fax
them to 919-254-0206.
Be sure to include the document name and number, the WebSphere Application Server version you are
using, and, if applicable, the specific page, table, or figure number on which you are commenting.
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information
in any way it believes appropriate without incurring any obligation to you.
2 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Getting started with WebSphere Application Server
Note: If you prefer to browse PDF versions of this documentation using Adobe Reader, see the
Getting Started PDF files that are available from
www.ibm.com/software/webservers/appserv/infocenter.html.
Planning
See ″Task overview: Installing″ in the information center for a description of typical scenarios for each
WebSphere Application Server product.
Installing
See ″Task overview: Installing″ for a description of installing the WebSphere Application Server product
and other installable components on the product disc.
Configuring
See “Using the Profile creation wizard” on page 54 for a description of installing profiles that define a
deployment manager, a managed node, or a stand-alone Application Server.
Migrating
See ″Migration and coexistence overview″ and ″Migrating and coexisting″ in the information center for a
description of how to migrate applications and configuration data from a previous version of WebSphere
Application Server.
See ″Accessing the Samples (Samples Gallery)″ in the information center for a description of the set of
Samples that ship with each product. The Samples demonstrate common Web application tasks.
Deploying applications
The information center describes a way to sample WebSphere Application Server functionality by quickly
deploying Web components, such as servlets and JSP files. The method is not recommended as an
official development method. See ″Fast paths for WebSphere Application Server″ in the information center
to get started.
Chapter 1. Overview and new features for administering applications and their environments 3
Servers, nodes and node agents, cells and the deployment manager are fundamental concepts in the
administrative universe of the product. It is also important to understand the various processes in the
administrative topology and the operating environment in which they apply.
For more information, refer to “Welcome to basic administrative architecture” on page 6.
v Scripting
The WebSphere administrative (wsadmin) scripting program is a powerful, non-graphical command
interpreter environment enabling you to run administrative operations in a scripting language. You can
also submit scripting language programs to run. The wsadmin tool is intended for production
environments and unattended operations.
For more information, refer to “Introduction: Administrative scripting (wsadmin).”
v Commands
Command-line tools are simple programs that you run from an operating system command-line prompt
to perform specific tasks, as opposed to general purpose administration. Using the tools, you can start
and stop application servers, check server status, add or remove nodes, and complete similar tasks.
For more information, refer to “Introduction: Administrative commands” on page 5.
v Programming
The product supports a Java programming interface for developing administrative programs. All of the
administrative tools supplied with the product are written according to the API, which is based on the
industry standard Java Management Extensions (JMX) specification.
For more information, refer to “Introduction: Administrative programs” on page 5.
v Data
Product configuration data resides in XML files that are manipulated by the previously-mentioned
administrative tools.
For more information, refer to “Introduction: Administrative configuration data” on page 6.
See the Using the administrative clients PDF for information on how you begin using the console. See also
the Reference > Administrator > Settings section of the Information Center navigation. It lists the
settings or properties you can configure.
4 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The following list highlights the topics and tasks available with scripting. See the Administering applications
and their environment PDF for more information on how to perform these tasks.
v Getting started with scripting Provides an introduction to WebSphere Application Server scripting and
information about using the wsadmin tool. Topics include information about the scripting languages and
the scripting objects, and instructions for starting the wsadmin tool.
v Deploying applications Provides instructions for deploying and uninstalling applications. For example,
stand-alone Java archive files and Web archive files, the administrative console, remote enterprise
archive (EAR) files, file transfer applications, and so on.
v Managing deployed applications Includes tasks that you perform after the application is deployed. For
example, starting and stopping applications, checking status, modifying listener address ports, querying
application state, configuring a shared library, and so on.
v Configuring servers Provides instructions for configuring servers, such as creating a server, modifying
and restarting the server, configuring the Java virtual machine, disabling a component, disabling a
service, and so on.
v Configuring connections to Web servers Includes topics such as regenerating the plug-in, creating new
virtual host templates, modifying virtual hosts, and so on.
v Managing servers Includes tasks that you use to manage servers. For example, stopping nodes,
starting and stopping servers, querying a server state, starting a listener port, and so on.
v Clustering servers Includes topics about clusters, such as creating clusters, creating cluster members,
querying a cluster state, removing clusters, and so on.
v Configuring security Includes security tasks, for example, enabling and disabling global security,
enabling and disabling Java 2 security, and so on.
v Configuring data access Includes topics such as configuring a Java DataBase Connectivity (JDBC)
provider, defining a data source, configuring connection pools, and so on.
v Configuring messaging Includes topics about messaging, such as Java Message Service (JMS)
connection, JMS provider, WebSphere queue connection factory, MQ topics, and so on.
v Configuring mail, URLs, and resource environment entries Includes topics such as mail providers, mail
sessions, protocols, resource environment providers, reference tables, URL providers, URLs, and so on.
v Dynamic caching Includes caching topics, for example, creating, viewing and modifying a cache
instance.
v Troubleshooting Provides information about how to troubleshoot using scripting. For example, tracing,
thread dumps, profiles, and so on.
v Obtaining product information Includes tasks such as querying the product identification.
v Scripting reference material Includes all of the reference material related to scripting. Topics include the
syntax for the wsadmin tool and for the administrative command framework, explanations and examples
for all of the scripting object commands, the scripting properties, and so on.
See Reference > Commands in the information center navigation for the names and syntax of all the
commands that are available with the product. A subset of these commands are particular to system
administration purposes.
Chapter 1. Overview and new features for administering applications and their environments 5
performs any of the administrative features of the WebSphere Application Server administrative tools. You
can also extend the basic WebSphere Application Server administrative system to include your own
managed resources.
The WebSphere Application Server product includes an implementation of the Java Management
Extension (JMX) specification. All operations on managed resources in the product go through JMX
functions. This setup means a more standard framework underlying your administrative operations as well
as the ability to tap into the systems management infrastructure programmatically.
Servers perform the actual running of the code. Several types of servers exist depending on the
configuration. Each server runs in its own Java virtual machine (JVM). The application server is the
primary run-time component in all WebSphere Application Server configurations. All WebSphere
Application Server configurations can have one or more application servers. In some configurations, each
application server functions as a separate entity. No workload distribution or common administration
among application servers exists. In other configurations, workload can be distributed between servers and
administration can be done from a central point.
A node is a logical group of WebSphere Application Server-managed server processes that share a
common configuration repository. A node is associated with a single WebSphere Application Server profile.
A WebSphere Application Server node does not necessarily have a one-to-one association with a system.
One computer can host arbitrarily many nodes, but a node cannot span multiple computer systems. A
node can contain zero or more application servers.
The configuration repository holds copies of the individual component configuration documents that define
the configuration of a WebSphere Application Server environment. All configuration information is stored in
.xml files.
A cell is a grouping of nodes into a single administrative domain. A cell can consist of multiple nodes, all
administered from a deployment manager server. When a node becomes part of a cell (a federated node),
a node agent server is installed on the node to work with the deployment manager server to manage the
WebSphere Application Server environment on that node.
When a node is a standalone node, not part of a cell, the configuration repository is fully contained on the
node. When a node is part of a cell, the configuration and application files for all nodes in the cell are
centralized into a cell master configuration repository. This centralized repository is managed by the
deployment manager server and synchronized to local copies that are held on each node. The local copy
of the repository that is given to each node contains just the configuration information needed by that
node, not the full configuration that is maintained by the deployment manager.
This section discusses the three server types that interact to perform system administration.
6 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Application Server: A WebSphere Application Server provides the functions that are required to support
and host user applications. An application server runs on only one node, but one node can support many
application servers.
Node agent: When a node is federated, a node agent is created and installed on that node. The node
agent works with the deployment manager to perform administrative activities on the node.
Deployment manager: With the deployment manager, you can administer multiple application servers
from one centralized manager. The deployment manager works with the node agent on each node to
manage all the servers in a distributed topology.
The following diagram depicts the concepts that are discussed in this article.
IBM WebSphere Application Server Network Deployment package
Node
Cell
Deployment
manager
Node
WebSphere Application Server
Application Server
Enterprise Edition Node
lkdsjfkenroierithtrj
a;lkjdfoidicnvcnv
aodsfiidididid
agent
Node a;osidjfpapoidjuff
Node
agent
WebSphere Application Server
Enterprise Edition
Application Server
lkdsjfkenroierithtrj
a;lkjdfoidicnvcnv
aodsfiidididid
a;osidjfpapoidjuff
lkdsjfkenroierithtrj
a;lkjdfoidicnvcnv
aodsfiidididid
a;osidjfpapoidjuff
lkdsjfkenroierithtrj
agent
a;lkjdfoidicnvcnv
aodsfiidididid
a;osidjfpapoidjuff
= Application servers
WebSphere Application Server
Enterprise Edition
Application Server
lkdsjfkenroierithtrj
a;lkjdfoidicnvcnv
aodsfiidididid
a;osidjfpapoidjuff
The concepts that are discussed in this article form the basis of WebSphere Application Server
administration. More detailed descriptions can be found in other sections.
Introduction: Servers
Application servers
Application servers provide the core functionality of the WebSphere Application Server product family. They
extend the ability of a Web server to handle Web application requests, and much more. An application
server enables a server to generate a dynamic, customized response to a client request.
Clusters
Workload management optimizes the distribution of client processing tasks. Incoming work requests are
distributed to the application servers that can most effectively process the requests. Workload
management also provides failover when servers are not available, improving application availability.
Chapter 1. Overview and new features for administering applications and their environments 7
Clusters are sets of application servers that are managed together and participate in workload
management. The servers that are members of a cluster can be on different host machines, as opposed to
the servers that are part of the same node and must be located on the same host machine.
An application server is a Java Virtual Machine (JVM) that is running user applications. The application
server collaborates with the Web server to return a dynamic, customized response to a client request.
Application code, including servlets, JavaServer Pages (JSP) files, enterprise beans and their supporting
classes, runs in an application server. Conforming to the Java 2 platform, Enterprise Edition (J2EE)
component architecture, servlets and JSP files run in a Web container, and enterprise beans run in an
Enterprise JavaBeans (EJB) container.
To begin creating and managing an application server, see “Administering application servers” on page
198.
You can define multiple application servers, each running its own JVM. Enhance the operation of an
application server by using the following options:
v Configure transport chains to provide networking services to such functions as the service integration
bus component of IBM service integration technologies, WebSphere Secure Caching Proxy, and the
high availability manager core group bridge service. See “Configuring transport chains” on page 221 for
more information.
v Plug into an application server to define a hook point that runs when the server starts and shuts down.
See “Custom services” on page 237 for more information.
v Define command-line information that passes to a server when it starts or initializes. See the Using the
administrative clients PDF for more information.
v “Tuning application servers” on page 265
v Enhance the performance of the application server JVM. See “Using the JVM” on page 252 for more
information.
v Use an Object Request Broker (ORB) for RMI/IIOP communication. See the Developing and deploying
applications PDF for more information.
Asynchronous messaging
The product supports asynchronous messaging based on the Java Messaging Service (JMS) of a JMS
provider that conforms to the JMS specification version 1.1.
The JMS functions of the default messaging provider in WebSphere Application Server are served by one
or more messaging engines (in a service integration bus) that runs within application servers.
In a deployment manager cell, there can be WebSphere Application Server version 5 nodes. If a version 5
node is configured to use V5 Default Messaging (the version 5 Embedded Messaging), there can be at
most one JMS server on that node.
Generic Servers
In distributed platforms, the Generic Servers feature allows you create a generic server as an application
server instance within the WebSphere Application Server administration, and associate it with a
non-WebSphere server or process. The generic server can be associated with any server or process
necessary to support the application server environment, including:
v A Java server
v A C or C++ server or process
8 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v A CORBA server
v A Remote Method Invocation (RMI) server
After you define a generic server, you can use the Application Server administrative console to start, stop,
and monitor the associated non-WebSphere server or process when stopping or starting the applications
that rely on them.
The application server and Web server communicate using “Web server plug-ins” on page 132.
“Communicating with Web servers” on page 116 describes how to set up your Web server and Web server
plug-in environment and how to create a Web server definition. The Web server definition associates a
Web server with a previously defined managed or unmanaged node. After you define the Web server to a
node, you can use the administrative console to perform the following functions for that Web server.
If the Web server is an IBM HTTP Server (IHS) and the IHS Administration server is installed and properly
configured, you can also:
v Display the IBM HTTP Server Error log (error.log) and Access log (access.log) files.
v Start and stop the server.
v Display and edit the IBM HTTP Server configuration file (httpd.conf).
If the Web server is an IBM HTTP Server (IHS) and the IHS Administration server is installed and properly
configured, you can also:
v Display the IBM HTTP Server Error log (error.log) and Access log (access.log) files.
v Start and stop the server.
v Display and edit the IBM HTTP Server configuration file (httpd.conf).
v Propagate the plug-in configuration file after it is generated.
You can not propagate an updated plug-in configuration file to a non-IHS Web server that is defined to an
unmanaged node. You must manually install an updated plug-in configuration file to a Web server that is
defined to an unmanaged node. Web servers defined to an unmanaged node are typically remote Web
servers. Remote Web servers are Web servers that are not located on the same machine as the
WebSphere Application Server.
After you set up your Web server and Web server plug-in, whenever you deploy a Web application, you
must specify a Web server as the deployment target that serves as a router for requests to the Web
application. The configuration settings in the plug-in configuration file (plugin-cfg.xml) for each Web server
Chapter 1. Overview and new features for administering applications and their environments 9
are based on the applications that are routed through that Web server. If the Web server plug-in
configuration service is enabled, a Web server plug-in’s configuration file is automatically regenerated
whenever a new application is associated with that Web server.
Note: Before starting the Web server, make sure you are authorized to run any Application Response
Measurement (ARM) agent associated with that Web server.
Refer to your Web server documentation for information on how to administer that Web server. For tips on
tuning your Web server plug-in, see “Web server plug-in tuning tips” on page 137.
Introduction: Clusters
Clusters are groups of servers that are managed together and participate in workload management. A
cluster can contain nodes or individual application servers. A node is usually a physical computer system
with a distinct host IP address that is running one or more application servers. Clusters can be grouped
under the configuration of a cell, which logically associates many servers and clusters with different
configurations and applications with one another depending on the discretion of the administrator and what
makes sense in their organizational environments.
Clusters are responsible for balancing workload among servers. Servers that are a part of a cluster are
called cluster members. When you install an application on a cluster, the application is automatically
installed on each cluster member.
Because each cluster member contains the same applications, you can distribute client tasks in distributed
platforms according to the capacities of the different machines by assigning weights to each server.
In distributed platforms, assigning weights to the servers in a cluster improves performance and failover.
Tasks are assigned to servers that have the capacity to perform the task operations. If one server is
unavailable to perform the task, it is assigned to another cluster member. This reassignment capability has
obvious advantages over running a single application server that can become overloaded if too many
requests are made.
Node groups bound clusters. All cluster members of a given cluster must be members of the same node
group. For more information about clusters and node groups, see “Clusters and node groups” on page
269.
To learn more about clusters, see “Clusters and workload management” on page 268 and “Balancing
workloads with clusters” on page 268 for more information.
Core groups
A group of clusters can be defined as a core group. All of the application servers defined as a member of
one of the clusters included in a core group are automatically members of that core group. Individual
application servers that are not members of a cluster can also be defined as a member of a core group.
The use of core groups enables WebSphere Application Server to provide high availability for applications
that must always be available to end users. You can also configure core groups to communicate with each
other using the core group bridge. The core groups can communicate within the same cell or across cells.
To learn more about core groups, see “Setting up a high availability environment” on page 298.
Introduction: Environment
The environment of the product applies to the configuring of Web server plug-ins, variables, and objects
that you want consistent throughout a cell.
10 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Web servers
In the WebSphere Application Server product, an application server works with a Web server to handle
requests for Web applications. The application Server and Web server communicate using a WebSphere
HTTP plug-in for the Web server.
Cell-wide settings
Cell-wide settings are sets of configuration data that are stored in files in the cell directory. These
configuration files are replicated to every node in the cell. Several different configuration settings apply to
the entire cell. These settings include the definition of virtual hosts, shared libraries, and any variables that
must be consistent throughout the entire cell.
Variables
A variable is a configuration property that can be used to provide a parameter for any value in the system.
A variable has a name and a value to use in place of that name wherever the variable name is located
within the system.
The directory in which a configuration file exists determines its scope, or how broadly or narrowly that data
applies. Files in an individual server directory apply to that specific server only. Files in a node-level
directory apply to every server on that node. Files in the cell directory apply to every server on every node
within the entire cell.
Cell-wide settings are configuration files in the cell directory. The files are replicated to every node in the
cell. Several different configuration settings apply to the entire cell. These settings include the definition of
virtual hosts, shared libraries, and any variables that you want consistent throughout the entire cell.
Chapter 1. Overview and new features for administering applications and their environments 11
12 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Chapter 2. How do I administer applications and their
environments?
v Establish the application serving environment
v Secure the application serving environment - see Security
v Set up Web access for applications
v Set up resources for applications to use
v Configure class loaders - see development and deployment
v Deploy and administer applications
v Use the administrative clients
v Troubleshoot deployment and administration
The following tasks involve establishing application serving capability in your network environment,
whether you use single or clustered application servers. Servers can be grouped into administrative
domains known as nodes and cells.
--------------------------------------------------------------------------
Create WebSphere profiles
Profiles are the files that define a stand-alone Application Server node, a managed node, or a
deployment manager node. A profile also includes all of the files that the node can change.
--------------------------------------------------------------------------
Administer nodes
A node is a grouping of managed servers. Use this task to view information about and manage
nodes.
--------------------------------------------------------------------------
Administer node agents
Node agents are administrative agents that represent a node to your system and manage the
servers on that node. Node agents monitor application servers on a host system and route
administrative requests to servers. A node agent is created automatically when a node is added to
a cell.
--------------------------------------------------------------------------
Administer cells
When you installed the WebSphere Application Server Network Deployment product, a cell was
created. A cell provides a way to group one or more nodes of your Network Deployment product.
You probably will not need to reconfigure the cell. Use this task to view information about and
manage a cell.
--------------------------------------------------------------------------
Administer configurations
Application server configuration files define the available application servers, their configurations,
and their contents. You should periodically save changes to your administrative configuration. You
can change the default locations of configuration files, as needed.
--------------------------------------------------------------------------
Configure remote file services
Configuration data for the WebSphere Application Server product resides in files. Two services
help you reconfigure and otherwise manage these files: the file transfer service and file
synchronization service. By default, the file transfer service is always configured and enabled at a
node agent, so you do not need to take additional steps to configure this service. However, you
might need to configure the file synchronization service.
Documentation Tell me
--------------------------------------------------------------------------
Administer application servers
14 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Create, configure, and operate application server processes. An application server configuration
provides settings that control how an application server provides services for running enterprise
applications and their components.
--------------------------------------------------------------------------
Administer other server types
One step in the process of creating an application server is to specify a template. A server
template is used to define the configuration settings of the new server. You have the option of
specifying the default server template or choosing a template that is based on a server that
already exists. The default template will be used if you do not specify a different template when
you create the server.
You can create other types of servers, to represent Web servers in your topology, or for other
purposes. There are two types of generic servers: (1) Non-Java applications or processes, or (2)
Java applications or processes. A custom service provides the ability to plug into a WebSphere
application server to define a hook point that runs when the server starts and shuts down.
--------------------------------------------------------------------------
Balance workloads by clustering application servers
To monitor application servers and manage the workloads of servers, use server clusters and
cluster members provided by the Network Deployment product.
--------------------------------------------------------------------------
Establishing high availability (HA) for failover
Planning ahead for high availability support is important in order to avoid the risk of a failure
without failover coverage. The application server runtime of the infrastructure managed by a high
availability manager includes such entities as cells and clusters. These components relate closely
to core groups, high availability groups, and the policy that defines the high availability
infrastructure. In a properly configured high availability environment, a high availability manager
can reassess the environment it is managing and accept new components as they are added to
the environment.
--------------------------------------------------------------------------
Administer the UDDI registry
The UDDI Registry is supplied as a J2EE application file, uddi.ear. Change its configuration
properties using the assembly tools. You can use either the WebSphere Application Server
administrative console or the Java Management Extensions (JMX) management interface to
manage UDDI Registries.
--------------------------------------------------------------------------
These tasks involve enabling HTTP requests for applications on the application server.
--------------------------------------------------------------------------
Administer communication with Web servers (plug-ins)
The product provides plug-ins for supported Web servers, to enable the Web servers to pass
requests to the application server, for applications running on the application server. See also the
Web server related tasks in How do I install an application serving environment?.
--------------------------------------------------------------------------
Administer HTTP sessions
Configure the service that the product provides for managing HTTP sessions: Session Manager.
Documentation: Show me
v Console
v Scripting
--------------------------------------------------------------------------
Administer IBM HTTP Server Version 6.x
The product provides a complementary Web server with its own documentation that can be
installed into the information center.
--------------------------------------------------------------------------
16 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Set up resources for applications to use
Make a variety of resources available to your applications that are deployed on the application server.
--------------------------------------------------------------------------
Provide access to naming and directory resources (JNDI)
Configure naming. Naming is used by clients of WebSphere Application Server applications to
obtain references to objects related to those applications, such as Enterprise JavaBeans (EJB)
homes. These objects are bound into a mostly hierarchical structure, referred to as a name space.
The name space structure consists of a set of name bindings, each consisting of a name relative
to a specific context and the object bound with that name.
--------------------------------------------------------------------------
Provide access to relational databases (JDBC resources)
Configure data sources that applications use to access the data from databases.
--------------------------------------------------------------------------
Provide access to messaging resources (default messaging provider)
Use one of various ways to implement a messaging provider for use with WebSphere Application
Server. A messaging provider enables use of the Java Messaging Service (JMS) and other
message resources in the product.
--------------------------------------------------------------------------
Use IBM service integration technologies
--------------------------------------------------------------------------
Establish workload balancing and high availability (HA) of messaging engines
Tell me
--------------------------------------------------------------------------
--------------------------------------------------------------------------
These tasks involve deploying applications onto the application server, then administering the applications.
--------------------------------------------------------------------------
Install applications
Installable modules include enterprise archive (EAR), enterprise bean (EJB), Web archive (WAR),
resource adapter (connector or RAR), and application client files.
--------------------------------------------------------------------------
Start and stop applications
You can start an application that is not running (has a status of Stopped) or stop an application
that is running (has a status of Started).
--------------------------------------------------------------------------
Update applications
Update deployed applications or modules using the administrative console or wsadmin scripting.
Learn which changes are candidates for hot deployment and dynamic reloading, in which you can
make various changes to applications and their modules without having to stop the server and
start it again.
--------------------------------------------------------------------------
Deploy applications rapidly (WebSphere Rapid Deployment)
Take advantage of new rapid deployment capabilities. WebSphere rapid deployment offers the
following advantages: You do not need to assemble your J2EE application files prior to
deployment. You do not need to use other installation tools mentioned in this table to deploy the
files. Refer to the Rapid deployment tools documentation in the information center.
18 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
--------------------------------------------------------------------------
Enhanced EAR files
Tell me Teach me
--------------------------------------------------------------------------
Deploy and administer Web services applications
To deploy Web services that are based on the Web Services for Java 2 platform, Enterprise
Edition (J2EE) specification, you need an enterprise application, also known as an enterprise
archive (EAR) file that has been configured and enabled for Web services. You can use either the
administrative console or the wsadmin scripting interface to deploy an EAR file.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Choose an administrative client
Learn about and decide among the available administrative clients, including a graphical console,
scripting (wsadmin), command line tools, and Java Management Extensions (JMX) programs.
Documentation Tell me
--------------------------------------------------------------------------
Use the administrative console
The administrative console is a Web-based tool that you use to administer the product. The
administrative console supports a full range of product administrative activities.
--------------------------------------------------------------------------
Use scripting (wsadmin)
Scripting is a non-graphical alternative that you can use to configure and manage WebSphere
Application Server. The WebSphere Application Server wsadmin tool provides the ability to run
scripts. The tool supports a full range of product administrative activities.
Documentation Tell me
--------------------------------------------------------------------------
See also:
v Start, stop, monitor processes
v Other administrative commands
v Custom Java administrative clients (JMX)
Troubleshoot problems that occur when you are deploying applications onto the application server, or
when you are administering an established application serving environment.
--------------------------------------------------------------------------
Troubleshoot deployment
Troubleshoot problems that occur either during deployment or shortly afterwards, when you try to
access an application that you just deployed for the first time.
Documentation
--------------------------------------------------------------------------
Troubleshoot administration
Review some possible causes, based on the error you are seeing.
Documentation
--------------------------------------------------------------------------
20 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Chapter 3. Setting up the application serving environment
This topic summarizes the contents of the documentation that helps you set up your application serving
environment. This information is for administrators, particularly those performing installation, customization,
and maintenance of topologies.
“Planning the installation (diagrams)”
In preparation for installation, this topic describes common product topologies that you can install
with WebSphere Application Server, Version 6 products.
“Configuring the product after installation” on page 47
This topic describes what to do after installing the product.
If you are using Network Deployment, you must configure a profile.
You can display the First Steps tool, an easy way to get started with the product.
“Configuring ports” on page 113
This topic provides information about port number settings for Version 6 and previous versions, for
use in coexistence and interoperability situations.
“Communicating with Web servers” on page 116
This topic describes how to install and configure WebSphere plug-ins for Web servers, enabling
communication between Web servers and application servers.
“Setting up the administrative architecture” on page 139
This topic describes how to set up logical administrative domains, including cells and nodes.
“Configuring the environment” on page 174
This topic describes how to configure cell-wide settings for virtual hosts, variables and shared
libraries to assist in handling requests among Web applications, Web containers, and application
servers.
“Working with server configuration files” on page 191
This topic describes how to change the default locations of configuration files, as needed.
Application server configuration files define the available application servers, their configurations,
and their contents.
“Administering application servers” on page 198
This topic describes how to configure individual application servers to provides services for running
enterprise applications and their components.
“Balancing workloads with clusters” on page 268
This topic describes how to configure clusters, which are sets of servers that are managed
together and participate in workload management.
“Setting up a high availability environment” on page 298
This topic describes planning ahead for high availability support, which is important in order to
avoid the risk of a failure without failover coverage. In a properly setup high availability
environment, a high availability manager can reassess the environment it is managing and accept
new components as they are added to the environment.
This topic describes topology diagrams and shows you how to create the topologies by showing what
components to install for each topology.
You can also use the product CD to install an application client environment on a client machine. Running
Java 2 Platform, Enterprise Edition (J2EE) and thin application clients that communicate with WebSphere
Application Server requires that elements of the Application Server are installed on the machine on which
the client runs. However, if the machine does not have the Application Server installed, you can install
Application Server clients to provide a stand-alone client run-time environment for your client applications.
You can use the Application Server Toolkit CD in the primary packet of discs to install a development
environment. Or you can use the Rational Application Developer Trial CD in the supplemental packet of
discs to install a fully integrated development environment that includes an exact replica of the Application
Server for development testing.
Installation features
Feature Description
The Network Deployment product You can use the Profile creation wizard to create deployment manager profiles,
includes Application Server and Application Server profiles, and custom profiles after installing the WebSphere
managed nodes. Application Server Network Deployment product. You do not have to install
another set of binary files to install an Application Server. All profiles on a
machine share the core product files of the Profile creation wizard. (If you install
again to create another set of core product files, there are two Profile creation
wizards. One for each set of core product files.)
The product CD includes all of the You can use the product CD to install the IBM HTTP Server, the Web server
installable components that are plug-ins, and the WebSphere Application Server Clients. You do not have to use
required to create an e-business separate CDs. Separate installation programs exist within component directories
environment. on the product CD.
Each installable component has its You can use the V6 launchpad to install any installable component on the
own installation program. product CD. Or you can install each component directly using the install
command in each component directory.
The launchpad can install any The launchpad can also install the Application Server Toolkit on Windows 2000
installable product in the primary and Linux (Intel) systems. The Application Server Toolkit is on a separate disc,
packet of compact discs. which requires you to change discs to launch the installation.
Review topology diagrams for each of the following installable components to determine which topology
best fits your needs. The diagrams and their accompanying procedures can serve as a roadmap for
installing a similar topology.
This topic describes installation scenarios for the following installable components:
v WebSphere Application Server Network Deployment
v Web server plug-ins
22 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v Application clients
In addition to product installation diagrams for the installable components, this topic also links to a
roadmap for using the Profile creation wizard, which is new for Version 6. The Profile creation wizard lets
you create run-time environments for application server processes.
Each of the following installation scenarios includes topology diagrams and associated installation steps.
Each step links to a specific procedure for installing a component or to a description of a command or tool.
1. Review the installation scenarios for the Network Deployment product, as described in “Planning to
install Network Deployment.”
2. Review the installation scenarios for the WebSphere Application Server plug-ins, as described in
“Planning to install Web server plug-ins” on page 31.
3. Review the installation scenarios for the application clients, as described in “Planning to install
WebSphere Application Server Clients” on page 38.
4. Review the installation scenarios for the Profile creation wizard, as described in “Planning to create
application server environments” on page 39.
5. Optional: Review interoperability and coexistence diagrams to know what is possible with Version 6.
WebSphere Application Server V6 can interoperate with your other e-business systems, including other
versions of WebSphere Application Server. Interoperability provides a communication mechanism for
WebSphere Application Server nodes that are at different versions. Coexistence describes multiple
versions or instances running on the same machine, at the same time.
Interoperability support enhances migration scenarios with more configuration options. It often is
convenient or practical to interoperate during the migration of a configuration from an earlier
WebSphere Application Server version to a later one when some machines are at the earlier version
and some machines are at the later version. The mixed environment of machines and application
components at different software version levels requires interoperability and coexistence.
It is often impractical, or even physically impossible, to migrate all the machines and applications within
an enterprise at the same time. Understanding multiversion interoperability and coexistence is
therefore an essential part of a migration between version levels.
See the following topics for more information:
a. Interoperating
b. Setting up Version 4.0.x and Version 6 coexistence
c. Setting up Version 5 and Version 6 coexistence
d. Setting up Version 6 coexistence
6. Optional: Consider performance when designing your network, as described in “Example: Choosing a
topology for better performance” on page 42 and “Queuing network” on page 43.
You can review installation scenarios to identify the specific steps to follow when installing more than one
component on a single machine or on separate machines.
After determining an appropriate installation scenario, you are ready to install the necessary components
and to configure the products for the system that you selected.
In Version 6.0, installing WebSphere Application Server Network Deployment is a two-step process. The
first step is using the installation wizard to install a shared set of core product files. The second step is
using the Profile creation wizard to create a deployment manager profile, an Application server profile, or a
custom profile.
A running application server process, such as a deployment manager, can create, read, update, or delete
the configuration files, data files, and log files in its profile. The application server process has read-only
access to the system files, which include command files and other shared product binary files. System files
are updated only by installing refresh packs or fix packs, or by products that extend WebSphere
Application Server Network Deployment.
Machine A
The following information describes scenarios for installing the product in various topologies on one or
more machines. Two types of WebSphere Application Server topologies are possible using the Network
Deployment product:
v Topologies for a stand-alone application server
v Topologies for a managed group of application servers
Each stand-alone application server has its own administrative console and runs independently of other
application servers.
A managed group of application servers is called a cell. A cell consists of one deployment manager and
one or more federated application servers, which are called managed nodes.
The deployment manager is the single point of administration for all of the managed nodes in the cell. The
deployment manager maintains the configuration files for nodes that it manages and deploys applications
to those managed nodes.
24 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v Scenario 5: Single-machine installation of a cell of application servers
v Scenario 6: Single-machine installation of a cell of application servers and a Web server
v Scenario 7: Two-machine installation of a cell of application servers and a Web server
v Scenario 8: Three-machine installation of a cell of application servers and a Web server
Each of the following scenarios includes a diagram and a list of detailed installation steps.
Some scenarios are more typical in production environments. For example, Scenario 1 supports a lighter
workload than Scenario 3 or Scenario 4. However, Scenario 1 is a fully functional environment. Scenarios
3 and 4 are typical production environments for a stand-alone application server. Scenario 8 is a typical
production scenario for a cell environment.
v Scenario 1: Install a stand-alone application server on a single machine.
Installing WebSphere Application Server Network Deployment by itself on a single machine lets you
create a stand-alone Application Server profile. Each stand-alone application server profile includes a
server1 application server process. Installing Network Deployment creates the set of system files. The
Profile creation wizard creates the profile for the application server. The profile is a separate data
partition with files that define the stand-alone application server environment.
In this scenario, the application server uses its internal HTTP transport chain for communication, which
is suitable for handling an application with a relatively low request work load. For example, this type of
installation can support a simple test environment or a departmental intranet environment.
Machine A
Web server
Web client Application
(browser) Machine A
Server
Plug-in
Application
data
Internet Intranet
26 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Firewall Firewall
Profile01
Web server
Application
Server 1
Plug-in
application 1
Web client Application
(browser) Machine A data
Profile02
Web server
Application
Application
Server
Server2
Plug-in application 2
Machine A
Internet Intranet
Profile02 Profile01
server1 dmgr
( managed Node ( deployment
node ) agent manager )
dmgr
( deployment
manager )
Node agent
28 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
2. Create a deployment manager profile using the Profile creation wizard.
3. Start the deployment manager using the First steps console or the startManager command.
4. Create an Application Server profile using the Profile creation wizard.
5. Start the application server using the First steps console or the startServer server1 command.
6. Add the application server node to the cell using the administrative console of the deployment
manager. Click System Administration > Nodes to add the node.
7. Install IBM HTTP Server or another supported Web server.
8. Install the Web server plug-ins and configure the Web server using the Plug-ins installation wizard.
9. The Plug-ins installation wizard creates a script named configureWeb_server_name in the
plugins_install_root/bin directory. Run the configureWeb_server_name script to create a Web server
definition in the administrative console. You can then use the administrative console to manage the
Web server.
v Scenario 7: Install a cell of managed application server nodes on one machine and a Web server on a
separate machine.
In a typical production environment, a managed node in a cell communicates with a Web server on a
separate (remote) machine through the Web server plug-in. An optional firewall can provide additional
security for the application server machine.
Firewall
Machine A
dmgr
(deployment
manager )
Internet Intranet
Firewall
Machine A
dmgr
(deployment
manager )
Node Node
agent agent
Machine C
Internet Intranet
You can review common installation scenarios to find a possible match for the topology that you intend to
install. Each product installation diagram provides a high-level procedure for installing the components that
comprise the topology.
After determining a possible topology, follow the steps in the overall procedure. Useful links to the
installation procedures for each installable component are in the list of related topics.
The primary production configuration is an application server on one machine and a Web server on a
separate machine. This configuration is referred to as a remote configuration. Contrast the remote
configuration to the local configuration, where the application server and the Web server are on the same
machine.
Firewall
optional
Machine B Machine A
WebSphere
Web server Application
Server
Plug-in
The script for creating and configuring the Web server is created under the
plug-ins_install_root/ bin directory.
5 B Copy the configureWeb_server_name script to Machine A. If one machine is running
under Linux or UNIX and the other machine is running under Windows, copy the script
from the plug-ins_install_root/ bin/ crossPlatformScripts directory.
6 A Paste the configureWeb_server_name script from Machine B to the was_install_root/
bin directory on Machine A.
7 A Run the script from a command line.
32 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Table 1. Installation and configuration (continued)
Step Machine Task
8 A Verify that the application server is running. Open the administrative console and save
the changed configuration.
9 B
Run the plug-ins_install_root/setupPluginCfg.sh script for a
Domino Web Server before starting a Domino Web server.Otherwise, start the Web
server.
10 B Run the snoop servlet. See ″Troubleshooting installation″ in the information center.
To verify with your own application, regenerate and propagate the plugin-cfg.xml file
after installing the application.
Machine A
WebSphere
Web server Application
Server
Plug-in
The Web server definition is automatically created and configured during the installation
of the plug-ins.
5 A Verify that the application server is running. Open the administrative console and save
the changed configuration.
6 B
Run the plug-ins_install_root/setupPluginCfg.sh script for a
Domino Web Server before starting a Domino Web server.Otherwise, start the Web
server.
7 B Run the Snoop servlet.
To verify with your own application, regenerate and propagate the plugin-cfg.xml file
after installing the application.
Firewall
optional
Machine C Machine A
Deployment
Web server Manager
Federate
Plug-in Machine B
WebSphere
Application
Server node
34 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Table 3. Installation and configuration (continued)
Step Machine Task
2 A Create a deployment manager profile. See “Using the Profile creation wizard” on page
54.
3 A Start the deployment manager with the ./profiles_install_root/ profile_name/ bin/
startManager.sh command or its Windows equivalent.
4 B Install WebSphere Application Server Network Deployment. See ″Installing the product
and additional software″ in the information center.
5 B Create an application server profile. See “Using the Profile creation wizard” on page 54.
6 B Federate the node with the ./profiles_install_root/ profile_name/ bin/
addNode.sh dmgrhost 8879 -includeapps command or its Windows equivalent.
7 C Install IBM HTTP Server or another supported Web server. See ″Installing IBM HTTP
Server″ in the information center.
8 C Install the binary plug-in module using the Plug-ins installation wizard. See ″Configuring
a Web server and an application server on separate machines (remote)″ in the
information center.
The script for creating and configuring the Web server is created under the
plug-ins_install_root/ bin directory.
9 C Copy the configureWeb_server_name script to Machine A.
If one machine is running under Linux or UNIX and the other machine is running under
Windows, copy the script from the plug-ins_install_root/ bin/
crossPlatformScripts directory.
10 A Paste the configureWeb_server_name script from Machine C to the was_install_root/
bin directory on Machine A.
11 A Run the script from a command line after verifying that the deployment manager is
running.
If you have enabled security or changed the default JMX connector type, edit the script
and include the appropriate parameters on the wsadmin command.
12 A/B Use the administrative console of the deployment manager on Machine A to start the
application server on Machine B. Wait for synchronization to occur and save the new
configuration.
13 C
Run the plug-ins_install_root/setupPluginCfg.sh script for a
Domino Web Server before starting a Domino Web server.Otherwise, start the Web
server.
14 C Run the Snoop servlet.
To verify with your own application, regenerate and propagate the plugin-cfg.xml file
after installing the application.
Machine B Machine A
Deployment
Web server Manager
Federate
WebSphere
Plug-in Application
Server node
The script for creating and configuring the Web server is created in the
plug-ins_install_root/ bin directory.
11 B After verifying that the deployment manager is running on Machine A, run the
configureWeb_server_name script from a command line in the plug-ins_install_root/
bin directory on Machine B.
If you have enabled security or changed the default JMX connector type, edit the script
and include the appropriate parameters.
36 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Table 4. Installation and configuration (continued)
Step Machine Task
12 A/B Use the administrative console of the deployment manager on Machine A to start the
application server on Machine B. Wait for synchronization to occur and save the new
configuration.
13 B
Run the plug-ins_install_root/setupPluginCfg.sh script for a
Domino Web Server before starting a Domino Web server.Otherwise, start the Web
server.
14 B Run the Snoop servlet.
Application server
You can set up a remote or local Web server by installing Application Server, the Web server, and then the
Web server plug-ins.
See Web server configuration for more information about the files involved in configuring a Web server.
See ″Editing Web server configuration files″ in the information center for details for information about the
logic behind the processing scenarios for the Plug-ins installation wizard.
See Editing Web server configuration files for information about how the Plug-ins installation wizard
configures supported Web servers.
This topic is one in a series of topics described in “Planning the installation (diagrams)” on page 21.
Consider all of the planning scenarios that are mentioned in the parent article to determine the best
approach to installing your e-business network. This topic describes installing and using the WebSphere
Application Server Clients.
In a traditional client server environment, the client requests a service and the server fulfills the request.
Multiple clients use a single server. Clients can also access several different servers. This model persists
for Java clients except that now these requests use a client run-time environment.
In this model, the client application requires a servlet to communicate with the enterprise bean, and the
servlet must reside on the same machine as the WebSphere Application Server.
The Application Client for WebSphere Application Server, Version 6 now consists of the following models:
v ActiveX application client
v Applet client
v J2EE application client
v Pluggable and thin application clients
The following graphic shows a topology for installing the Application Client and using client applications:
38 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The example shows two types of application clients installed in a topology that uses client applications to
access applications and data on Machine A:
v The ActiveX application client on Machine B is a Windows only client that uses the Java Native
Interface (JNI) architecture to programmatically access the Java virtual machine (JVM) API. The JVM
code exists in the same process space as the ActiveX application (Visual Basic, VBScript, or Active
Server Pages (ASP) files) and remains attached to the process until that process terminates.
v The J2EE application client on Machine C is a Java application program that accesses enterprise
beans, Java Database Connectivity (JDBC) APIs, and Java Message Service message queues. The
application program must configure the execution environment of the J2EE application client and use
the Java Naming and Directory Interface (JNDI) name space to access resources.
Use the following procedure as a roadmap for installing the Application Client.
1. Install the WebSphere Application Server product from your product CD on Machine A to establish the
core product files.
2. Use the Profile creation wizard to create both stand-alone application server profiles.
3. Use the administrative console of each application server to deploy any user applications.
4. Use the administrative console of each application server to create a Web server configuration for the
Web server.
5. Use the administrative console of each application server to regenerate each plugin-cfg.xml file in the
local Web server configuration.
6. Install the IBM HTTP Server from the product CD on Machine A.
7. Use the Plug-ins installation wizard to install the plug-in for IBM HTTP Server on Machine A.
The wizard automatically configures the HTTP Server to communicate with the first application server.
8. Install the Application Client from your product CD on Machine B.
a. Select the Custom install type.
b. Select the ActiveX to EJB Bridge feature.
c. Select to add the Java run time to the system path.
d. Select the Java run time as the default JRE, which adds the Java run time path to the beginning of
the system path.
9. Install the Application Client from your product CD on Machine C.
a. Select the Custom install type.
b. Select the J2EE application client feature.
This topic can help you plan run-time environments for client applications.
See “Application Client for WebSphere Application Server” on page 1038 for information about creating
client applications.
Install the core product files for a WebSphere Application Server product before using the Profile creation
wizard to create additional application server run-time environments.
This topic describes how to use the Profile creation wizard to install deployment managers, managed
nodes, and stand-alone application servers. Each profile for a deployment manager or an application
server is a run-time environment, with data files, configuration files, applications, and an administrative
console. The profile for a managed node is a special case that is dependent on the deployment manager
profile that owns the managed node.
The installation procedure gives you the option of creating a deployment manager during installation.
However, you can use the Profile creation wizard to create a deployment manager when one was not
created during installation. Or, you can create another deployment manager on a machine where a
deployment manager already exists.
2. Create a managed node, as described in “Using the Profile creation wizard to create a custom profile”
on page 70.
The installation procedure gives you the option of creating a managed node during installation.
However, you can use the Profile creation wizard to create a managed node when one was not
created during installation. Or, you can use the wizard to create more managed nodes on a machine
where a managed node already exists.
The first part of the process is to install the Network Deployment product to create the core product
files. Then you can use the Profile creation wizard to create a managed profile.
The next part of the process is to federate the managed profile into the deployment manager cell. This
changes the managed profile into a managed node.
40 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
A managed node has a nodeagent process but does not have Sample applications or an application
server process in contrast to a stand-alone application server, which has a server1 process and
applications, but does not have a nodeagent process.
The installation procedure gives you the option of creating a stand-alone application server during
installation. However, you can use the Profile creation wizard to create a stand-alone application server
when one was not created during installation. Or, you can use the wizard to create more stand-alone
application servers on a machine where an application server already exists.
4. Create a deployment manager and a managed node on the same machine.
The installation procedure gives you the option of creating a deployment manager and managed node
on the same machine during installation. However, you can also use the Profile creation wizard to
create a deployment manager and a managed node at any time after installation of the core product
files. Or, you can use the wizard to create a managed node on a machine where a deployment
manager already exists.
Any time that you create two or more application server processes on one machine, verify that the
machine is capable of hosting both processes. See the hardware prerequisites on the IBM WebSphere
Application Server supported hardware, software, and APIs Web site.
a. Create a deployment manager, as described in “Using the Profile creation wizard to create a
deployment manager” on page 58.
b. Create a managed node, as described in “Using the Profile creation wizard to create a custom
profile” on page 70.
Use the Profile creation wizard after installing the core product files to create:
v A stand-alone application server environment
v A deployment manager environment
v Managed nodes for the deployment manager cell
After installing the core product files and using the Profile creation wizard to create your e-business
environment, you are ready to deploy applications to test the environment.
In this comparison, Topology A contains a Web server and a WebSphere Application Server plug-in in front
of a cluster of WebSphere Application Servers. Each cluster member contains a Web container and an
Enterprise JavaBeans (EJB) container. Topology B includes a Web server, a plug-in, and a Web container
in front of a cluster of EJB containers. In both topologies, Object Request Broker (ORB) pass by reference
is selected and the backend database is on a dedicated machine.
42 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Result: Topology A had 10% to 20% higher throughput than Topology B when running the Java 2 Platform,
Enterprise Edition Benchmark sample for WebSphere (Trade).
Note: You can download the Benchmark sample for WebSphere (Trade) from the following Web site:
http://www-306.ibm.com/software/webservers/appserv/was/performance.html
Topology A has an advantage because the Web container and EJB container are running in a single Java
virtual machine (JVM). In Topology B, the ORB pass by reference option is ignored between the Web
container cluster member and the EJB container member. In Topology A, the EJB container uses the same
thread passed from the Web container. The request does not have to be passed from one thread in one
JVM to another thread in another JVM.
In this test environment, Topology A had the advantage. However, many factors related to the application
and environment can influence your results.
Queuing network
WebSphere Application Server contains interrelated components that must be harmoniously tuned to
support the custom needs of your end-to-end e-business application. These adjustments help the system
achieve maximum throughput while maintaining the overall stability of the system. This group of
interconnected components is known as a queuing network. These queues or components include the
network, Web server, Web container, EJB container, data source, and possibly a connection manager to a
custom back-end system. Each of these resources represents a queue of requests waiting to use that
resource. Various queue settings include:
v IBM HTTP Server: MaxClients for UNIX and ThreadsPerChild for Windows NT and Windows 2000
systems described in “Web server tuning parameters” on page 133.
v Web container: Maximum size described in “Thread pool settings” on page 209,
MaxKeepAliveConnections and MaxKeepAliveRequests described in “HTTP transport custom
properties” on page 227.
v Tuning Object Request Brokers explained in “Tuning application servers” on page 265.
v Data source connection pooling and statement cache size are explained in the Developing and
deploying applications PDF.
Clients
Network
Database
Most of the queues that make up the queuing network are closed queues. A closed queue places a limit
on the maximum number of requests present in the queue, while an open queue has no limit. A closed
queue supports tight management of system resources. For example, the Web container thread pool
setting controls the size of the Web container queue. If the average servlet running in a Web container
creates 10MB of objects during each request, a value of 100 for thread pools limits the memory consumed
by the Web container to 1GB.
All Web servers supported by WebSphere Application Server are closed queues, as are WebSphere
Application Server data sources. You can configure Web containers as open or closed queues. In general,
it is best to make them closed queues. EJB containers are open queues. If there are no threads available
in the pool, a new one is created for the duration of the request.
If enterprise beans are called by servlets, the Web container limits the number of total concurrent requests
into an EJB container, because the Web container also has a limit. The Web container limits the number of
total concurrent requests only if enterprise beans are called from the servlet thread of execution. Nothing
prevents you from creating threads and bombarding the EJB container with requests. Therefore, servlets
should not create their own work threads.
Clients
Network
Servlet
engine
Web Data
server source
Servlet
engine
Database
Two servlet engines are located between a Web server and a data source. It is assumed that the Web
server, servlet engines and data source, but not the database, are all running on a single SMP server.
Given these constraints, the following queue considerations must be made:
v Double the Web server queue settings to ensure ample work is distributed to each Web container.
v Reduce the Web container thread pools to avoid saturating a system resource like CPU or another
resource that the servlets are using.
v Reduce the data source to avoid saturating the database server.
v Reduce Java heap parameters for each instance of the application server. For versions of the Java
virtual machine (JVM) shipped with WebSphere Application Server, it is crucial that the heap from all
JVMs remain in physical memory. For example, if a cluster of four JVMs is running on a system,
enough physical memory must be available for all four heaps.
44 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Queue configuration tips
The following section outlines a methodology for configuring the WebSphere Application Server queues.
Moving the database server onto another machine or providing more powerful resources, for example a
faster set of CPUs with more memory, can dramatically change the dynamics of your system.
Clients
Network Arriving requests Arriving requests
200 75 50
125 25 25
Waiting requests Waiting requests Waiting requests
Database
Queues in the queuing network become progressively smaller as work flows downstream. When 200
client requests arrive at the Web server, 125 requests remain queued in the network because the Web
server is set to handle 75 concurrent clients. As the 75 requests pass from the Web server to the Web
container, 25 requests remain queued in the Web server and the remaining 50 are handled by the Web
container. This process progresses through the data source until 25 user requests arrive at the final
destination, the database server. Because there is work waiting to enter a component at each point
upstream, no component in this system must wait for work to arrive. The bulk of the requests wait in the
network, outside of WebSphere Application Server. This type of configuration adds stability, because no
component is overloaded.
You can then use the Edge Server to direct waiting users to other servers in a WebSphere Application
Server cluster.
v Draw throughput curves to determine when the system capabilities are maximized.
You can use a test case that represents the full spirit of the production application by either exercising
all meaningful code paths or using the production application. Run a set of experiments to determine
when the system capabilities are fully stressed or when it has reached the saturation point. Conduct
these tests after most of the bottlenecks are removed from the application. The goal of these tests is to
drive CPUs to near 100% utilization. For maximum concurrency through the system, start the initial
baseline experiment with large queues. For example, start the first experiment with a queue size of 100
at each of the servers in the queuing network: Web server, Web container and data source. Begin a
series of experiments to plot a throughput curve, increasing the concurrent user load after each
experiment. For example, perform experiments with one user, two users, five, 10, 25, 50, 100, 150 and
200 users. After each run, record the throughput requests per second, and response times in seconds
per request. The curve resulting from the baseline experiments resembles the following typical
throughput curve shown as follows:
50
40
30
20
10
A B C
0
Light load zone Heavy load zone Buckle zone
Concurrent users
The WebSphere Application Server throughput is a function of the number of concurrent requests
present in the total system. Section A, the light load zone, shows that the number of concurrent user
requests increases, the throughput increases almost linearly with the number of requests. At light loads,
concurrent requests face very little congestion within the WebSphere Application Server system queues.
At some point, congestion starts to develop and throughput increases at a much lower rate until it
reaches a saturation point that represents the maximum throughput value, as determined by some
bottleneck in the WebSphere Application Server system. The most manageable type of bottleneck
occurs when the WebSphere Application Server machine CPUs become fully utilized because adding
CPUs or more powerful CPUs fixes the bottleneck.
In the heavy load zone or Section B, as the concurrent client load increases, throughput remains
relatively constant. However, the response time increases proportionally to the user load. That is, if the
user load is doubled in the heavy load zone, the response time doubles. At some point, represented by
Section C, the buckle zone, one of the system components becomes exhausted. At this point,
throughput starts to degrade. For example, the system might enter the buckle zone when the network
connections at the Web server exhaust the limits of the network adapter or if the requests exceed
operating system limits for file handles.
If the saturation point is reached by driving CPU utilization close to 100%, you can move on to the next
step. If the saturation CPU occurs before system utilization reaches 100%, it is likely that another
bottleneck is being aggravated by the application. For example, the application might be creating Java
objects causing excessive garbage collection bottlenecks in the Java code.
There are two ways to manage application bottlenecks: remove the bottleneck or clone the bottleneck.
The best way to manage a bottleneck is to remove it. You can use a Java-based application profiler,
such as Rational Application Developer, Performance Trace Data Visualizer (PTDV), Borland’s
Optimizeit, JProbe or Jinsight to examine overall object utilization.
v Decrease queue sizes while moving downstream from the client.
The number of concurrent users at the throughput saturation point represents the maximum
concurrency of the application. For example, if the application saturates WebSphere Application Server
at 50 users, using 48 users might produce the best combination of throughput and response time. This
value is called the Max Application Concurrency value. Max Application Concurrency becomes the
preferred value for adjusting the WebSphere Application Server system queues. Remember, it is
desirable for most users to wait in the network; therefore, queue sizes should increase when moving
downstream farther from the client. For example, given a Max Application Concurrency value of 48, start
46 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
with system queues at the following values: Web server 75, Web container 50, data source 45. Perform
a set of additional experiments adjusting these values slightly higher and lower to find the best settings.
To help determine the number of concurrent users, view the Servlet Engine Thread Pool and
Concurrently Active Threads metric in the Tivoli Performance Viewer.
v Adjust queue settings to correspond to access patterns.
In many cases, only a fraction of the requests passing through one queue enters the next queue
downstream. In a site with many static pages, a number of requests are fulfilled at the Web server and
are not passed to the Web container. In this circumstance, the Web server queue can be significantly
larger than the Web container queue. In the previous example, the Web server queue was set to 75,
rather than closer to the value of Max Application Concurrency. You can make similar adjustments when
different components have different execution times.
For example, in an application that spends 90% of its time in a complex servlet and only 10% of its time
making a short JDBC query, on average 10% of the servlets are using database connections at any
time, so the database connection queue can be significantly smaller than the Web container queue.
Conversely, if the majority of servlet execution time is spent making a complex query to a database,
consider increasing the queue values at both the Web container and the data source. Always monitor
the CPU and memory utilization for both the WebSphere Application Server and the database servers to
verify that the CPU or memory are not saturating.
Use the First steps console to configure and test the WebSphere Application Server environment after
installation.
This procedure starts the second and final step of Network Deployment installation. This second step
creates and configures server processes by creating profiles.
1. At the end of product installation, select the Launch the Profile creation wizard check box to create
a deployment manager profile.
This step creates the deployment manager and the cell. Later steps in this procedure create an
Application Server profile and optionally, a custom profile.
See “Using the Profile creation wizard to create a deployment manager” on page 58.
2. Start the First steps console by selecting the check box on the last panel of the wizard.
The First steps console for the deployment manager profile can start automatically at the end of profile
creation. Select the check box on the last panel of the Profile creation wizard.
The First steps console is an easy way to start using the product. The console provides one-stop
access to the administrative console, Samples Gallery, Profile creation wizard, installation verification
test, Migration wizard, and other activities.
See the description of the “firststeps command” on page 48 for more information.
3. Click Installation verification on the First steps console.
The installation verification test starts the deployment manager process named dmgr and runs several
tests to verify that the dmgr process can start without error.
See “Using the installation verification test” on page 110 for more information.
4. Click Profile creation wizard on the First steps console to create an Application Server profile.
See “Using the Profile creation wizard to create an application server” on page 84.
5. Start the First steps console by selecting the check box on the last panel of the Profile creation wizard.
This First steps console belongs to the Application Server profile that you just created. Each profile has
its own First steps console.
6. Click Installation verification on the First steps console.
This procedure results in configuring and testing the Application Server environment.
See “Planning to install Network Deployment” on page 23 for diagrams of topologies that you can create
using the First steps console and the Profile creation wizard.
firststeps command
The firststeps command starts the First steps console.
The First steps console is a post-installation ease-of-use tool for directing WebSphere Application Server
elements from one place. Options display dynamically on the First steps console, depending on features
you install. With all of the options present, you can use the First steps console to start or stop the
application server, verify the installation, access the information center, access the administrative console,
launch the Migration wizard, or access the Samples gallery.
The First steps console for the Network Deployment product has several forms. A First steps console
exists for the product itself before the creation of any profiles. This version lets you start the Profile
creation wizard to get started defining a deployment manager and application servers for the cell. You can
also define stand-alone application servers. Each stand-alone application server has its own First steps
console. Each deployment manager has its own First steps console.
A prompt to launch the First steps console displays on the last panel of the Profile creation wizard.
You can also start the First steps console from the command line as described later.
The First steps console for the Network Deployment product has several forms. A console exists for the
product itself before the creation of any profiles. Options that display on the First steps console in the core
product files of the Network Deployment product include the following entries:
48 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Profile creation wizard
This option starts the Profile creation wizard. The wizard lets you create a deployment manager
profile, an application server profile, or a custom profile. A profile consists of files that define the
run-time environment for the deployment manager or the application server. Each environment has
its own administrative interface. A custom profile is an exception. A custom profile is an empty
node that you can federate into a deployment manager cell and customize. No default server
processes or applications are created for a custom profile.
Each deployment manager or application server profile has its own First steps console. The
location of the command to launch the First steps console is within the set of files in the profile. A
prompt to launch the First steps console that is associated with a profile displays on the last panel
of the Profile creation wizard.
Information center for WebSphere Application Server
This option links you to the online information center at the
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp IBM Web address.
Migration wizard
This option starts the Migration wizard. The Migration wizard is a new graphical interface to the
migration tools. The migration tools are described in ″WASPreUpgrade command″ and
″WASPostUpgrade command″ in the information center.
See ″Using the Migration wizard″ in the information center for more information about the
Migration wizard.
Exit This option closes the First steps console.
In addition to the generic First steps console for the Network Deployment product, other First steps
consoles exist for the deployment manager profile and the application server profile that the Network
Deployment product can create. Options that display on the First steps console for a deployment manager
include the following entries:
Installation verification
This option starts the installation verification test. The test consists of starting and monitoring the
deployment manager during its start up.
If this is the first time that you have used the First steps console since creating a deployment
manager profile, click Installation verification to verify that all is well with your installation. The
verification process starts the deployment manager.
If you select the Installation verification option, the Start the deployment manager option is
grayed out while the IVT is running.
The IVT provides the following useful information about the deployment manager:
v The deployment manager server name: dmgr
v The name of the profile
v The profile file path
v The type of profile: dmgr
v The cell name
v The node name
v The current encoding
v The port number for the administrative console
v Various informational messages that include the location of the SystemOut.log file and how
many errors are listed within the file
v A completion message
In addition to the generic First steps console and the First steps console for the deployment manager,
another First steps console exists for stand-alone application servers that you create with the Profile
creation wizard. Options that display on the First steps console for an application server profile include the
following entries:
Installation verification
This option starts the installation verification test. The test consists of starting and monitoring the
application server during its start up.
If this is the first time that you have used the First steps console since creating an application
server profile, click Installation verification to verify that all is well with your installation. The
verification process starts the application server.
50 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
If you select the Installation verification option, the Start the server option is grayed out while
the IVT is running.
The IVT provides the following useful information about the application server:
v The server name: server1
v The name of the profile
v The profile file path
v The type of profile: default
v The cell name
v The node name
v The current encoding
v The port number for the administrative console
v Various informational messages that include the location of the SystemOut.log file and how
many errors are listed within the file
v A completion message
Start the server
This option toggles to Stop the server when the application server is running.
After selecting the Start the server option, an output screen displays with status messages. The
success message informs you that the server is open for e-business. Then the menu item
changes to Stop the server.
If you select the Start the server option, the Installation verification option is grayed out while
the application server is running.
Administrative console
This option is grayed out until the application server is running.
The administrative console is a configuration editor that runs in a Web browser. The administrative
console lets you work with XML configuration files for the deployment manager and all of the
application servers that are in the cell. To launch the administrative console, click Administrative
console. You can also point your browser to http://localhost:9060/ibm/console to start the
administrative console. Substitute your own host name in the address if the localhost variable does
not resolve correctly. As the administrative console opens, it prompts you for a login name. This is
not a security item, but merely a tag to identify configuration changes that you make during the
session. Secure signon is also available.
Profile creation wizard
This option starts the Profile creation wizard. The wizard lets you create a deployment manager
profile, an application server profile, or a custom profile. A profile consists of files that define the
run-time environment for the deployment manager or the application server. Each environment has
its own administrative interface. A custom profile is an exception. A custom profile is an empty
node that you can federate into a deployment manager cell and customize. No default server
processes or applications are created for a custom profile.
Each application server profile has its own First steps console. The location of the command to
launch the First steps console is within the set of files in the profile. A prompt to launch the First
steps console that is associated with a profile displays on the last panel of the Profile creation
wizard.
Samples gallery
This option starts the Samples gallery. The option is grayed out until you start the application
server. The option displays when you have installed the Samples during installation.
From the First steps console, click Samples gallery to explore the application Samples.
Alternatively you can point your browser directly to http://localhost:9080/WSsamples. Substitute
The First steps console for a managed node has the same options as the generic First steps console for
the Network Deployment product.
The location of the firststeps.sh or firststeps.bat script for any profile is:
v install_root/profiles/profile_name/firststeps/firststeps.sh
v install_root\profiles\profile_name\firststeps\firststeps.bat
The location of the firststeps command for the generic First steps console for the Network Deployment
product is:
v install_root/firststeps/firststeps.sh
v install_root\firststeps\firststeps.bat
Parameters
v ./firststeps.sh
v firststeps.bat
Usage tips
The following links exist on one of the First steps consoles for the Network Deployment product. Not all
links display on each First steps console. For example, the First steps console for the deployment
manager does not have the Samples Gallery option or the Start the server option.
Option Link
Installation verification Calls the ivt command.
v install_root/profiles/profile_name/bin/ivt.sh
v install_root\profiles\profile_name\bin\ivt.bat
52 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Option Link
Start the server Calls the startServer command.
server1 install_root/profiles/profile_name/bin/startServer.sh
v install_root\profiles\profile_name\bin\startServer.bat
server1
When you have more than one application server on the same machine, the
command starts the same application server that is associated with the First
steps console.
Stop the server Calls the stopServer command.
server1 install_root/profiles/profile_name/bin/stopServer.sh
v install_root\profiles\profile_name\bin\stopServer.bat
server1
Start the deployment manager Calls the startManager command.
install_root/profiles/profile_name/bin/startManager.sh
v install_root\profiles\profile_name\bin\startManager.bat
When you have more than one deployment manager on the same machine,
the command starts the same deployment manager that is associated with
the First steps console.
Stop the deployment manager Calls the stopManager command.
install_root/profiles/profile_name/bin/stopManager.sh
v install_root\profiles\profile_name\bin\stopManager.bat
Administrative console Opens the default browser to the http://localhost:9060/ibm/console Web
address.
When you have more than one application server on the same machine, the
port varies. The First steps console starts the administrative console that is
associated with the First steps console.
v pctAIX.bin
v pctHPUX.bin
v pctLinux.bin
v pctSolaris.bin
v pctWindows.exe
If you do not install Samples, the option does not appear on the First steps
console. If you do not install the Samples during the initial installation of the
product, the option does not display on the First steps console. You can
perform an incremental installation to add the Samples feature. After adding
the Samples, the options displays on the First steps console.
When you have more than one profile on the same machine, the port
varies. The First steps console starts the Samples gallery that is associated
with the First steps console.
Information center for WebSphere Opens the default browser to the online information center at the
Application Server products http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp Web address.
Migration wizard Calls the migration command.
v install_root/bin/migration.sh
v install_root\bin\migration.bat
The migration tools are also in the /migration folder on the product disc.
Before using the Profile creation wizard, install the core product files.
The Profile creation wizard is the wizard interface to the profile creation tool, wasprofile. See the
description of the “wasprofile command” on page 96 for more information.
54 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
An error can occur when you have not provided enough system temporary space to create a profile. Verify
that you have a minimum of 40 MB of temp space available before creating a profile.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
Important:
You must have 30 MB of available disk space in the directory where you create a deployment
manager profile.
You must have 10 MB of available disk space in the directory where you create a custom
profile.
Manually verify that the required space for creating a profile is available on AIX. A known
problem in the underlying InstallShield for Multiplatforms (ISMP) code prevents proper space checking on
AIX systems at the time that the product disc was created.
Important: Concurrent profile creation is not supported at this time for one set of core product files.
Concurrent attempts to create profiles result in a warning about a profile creation already in
progress.
The installation procedure for the Network Deployment product does not create a run-time environment by
default because three possibilities exist. After installing the core product files for the Network Deployment
product, use the Profile creation wizard to create any combination of the following three profiles to have an
operational run-time environment:
v A deployment manager profile.
See “Using the Profile creation wizard to create a deployment manager” on page 58. Create this
run-time environment first, to create the administrative node for a multinode, multimachine group of
application server nodes that you create later. This logical group of application server processes is
known as a cell.
v An application server profile.
See “Using the Profile creation wizard to create an application server” on page 84.
When you create the application server profile, a default server1 process is created. The process has all
of the Sample applications and its own administrative console. You can federate the server1 node into
the deployment manager cell with the addNode command or from the administrative console of the
deployment manager. The server1 process must be running to begin the federation from the deployment
manager.
If you include all of the applications from the application server, the act of federation installs the
applications on the deployment manager where they can be redeployed.
Optionally, you can create stand-alone application servers by creating an application server profile and
not federating the node. If you remove a federated application server node from a deployment manager,
the application server returns to its original configuration, which is a stand-alone application server.
v A custom profile.
See “Using the Profile creation wizard to create a custom profile” on page 70. A custom profile is an
empty node that you can customize through the deployment manager to include application servers,
clusters, or other Java processes, such as a messaging server. Create a custom profile on a distributed
machine and add the node into the deployment manager cell to get started customizing the node.
Each use of the Profile creation wizard or the wasprofile command line tool creates one profile.
1. Install the product to create the core product files.
2. Start the Profile creation wizard to create a new run-time environment.
v pctAIX.bin
v pctHPUX.bin
v pctLinux.bin
v pctSolaris.bin
v pctWindows.exe
v /usr/IBM/WebSphere/AppServer/firststeps
v /opt/IBM/WebSphere/AppServer/firststeps
v C:\Program Files\IBM\WebSphere\AppServer\firststeps
c. Issue the firststeps command to start the console:
v ./firststeps.sh
v firststeps.bat
d. Select the Profile creation wizard option on the console.
The Profile creation wizard is an InstallShield for Multiplatforms application. The wizard loads the
Java 2 SDK and then displays its Welcome panel.
See the description of the “firststeps command” on page 48 for more information.
3. Create a profile.
You can create profiles in any order. However, to create a functioning cell in the shortest possible time,
create a deployment manager profile first. Then create an application server profile and add it to the
deployment manager cell. You now have a functioning cell with a managed node that you can manage
from the administrative console of the deployment manager.
A custom profile requires a greater amount of customization. When you create a custom profile, you
must use the addNode command to federate it into the deployment manager cell. In contrast to an
application server profile, a custom profile does not have a default application server on its node. The
server1 application server does not exist by default on the custom node. Nor are there any default
applications on the custom node. Use the administrative console of the deployment manager to
customize the empty node for production or other uses. You can create application servers or clusters
on the node, for example.
Create any of the following profiles:
v Create a deployment manager.
56 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
See “Using the Profile creation wizard to create a deployment manager” on page 58.
Create a deployment manager to establish a cell. Although you can create an application server
profile and use it as a stand-alone application server, you must have a deployment manager to use
a custom profile. So there is no point in creating a custom profile until you have created a
deployment manager.
v Create an application server profile, as described in “Using the Profile creation wizard to create an
application server” on page 84.
Federate the application server into the deployment manager cell to create a federated server1
application server. A stand-alone application server has default applications. You can include the
applications as you federate the application server to install the default applications on the
deployment manager.
Two methods exist for federating application servers into a deployment manager cell:
– Start the deployment manager and the application server and use the administrative console of
the deployment manager to federate the node. Click System administration > Nodes > Add
node > Managed node > Next and identify the host name and the SOAP port of the machine
where you created the application server.
– Start the deployment manager. Go to the install_root/profiles/profile_name/bin directory of the
application server and issue the addNode command. See ″addNode command″ in the
information center for more information.
v Create a custom profile, as described in “Using the Profile creation wizard to create a custom
profile” on page 70.
The first part of the process is to install the Network Deployment product to create the core product
files. Then you can use the Profile creation wizard to create a managed profile.
The next part of the process is to federate the managed profile into the deployment manager cell.
This changes the custom profile into a managed node.
After federation, a custom profile has a nodeagent process but does not have an application server
process. Contrast this situation to an application server profile that has a server1 process, but does
not have a nodeagent process until you federate the node.
Start the nodeagent process to allow the administrative console of the deployment manager to
create server processes on the managed node.
Two methods exist for federating a custom node into a deployment manager cell:
– Federate the custom node during custom profile creation, either with the wizard or as the wizard
runs in silent mode.
The deployment manager must be running and accessible at the host address you supply. The
deployment manager must also use the default JMX connector type, which is SOAP. The
deployment manager must not have security enabled. If any of these conditions are not met, do
not federate the custom profile as you create it, but federate it later with the addNode command.
Otherwise, you create a faulty profile that you must move or delete from the profiles repository
directory before creating another profile.
– Use the addNode command to federate the custom node after you create the custom profile.
a. Start the deployment manager.
b. Go to the install_root/profiles/profile_name/bin directory of the custom profile and issue
the addNode command.
c. Within the same directory, issue the startNode command. See ″startNode command″ in the
information center for more information.
After federation, go to the administrative console of the deployment manager to customize the
empty node.
v Create a deployment manager and a managed node on the same machine:
a. Create a deployment manager, as described in “Using the Profile creation wizard to create a
deployment manager” on page 58.
See the description of the “wasprofile command” on page 96 to learn more about the command-line
alternative method of creating a profile, and to see examples of using the command.
See “Planning the installation (diagrams)” on page 21 for examples of configurations that you can create
by creating profiles.
Before using the Profile creation wizard, install the core product files.
The Profile creation wizard is the wizard interface to the profile creation tool, wasprofile. See the
description of the “wasprofile command” on page 96 for more information.
An error can occur when you have not provided enough system temporary space to create a profile. Verify
that you have a minimum of 40 MB of temp space available before creating a profile.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
You must have 30 MB of available disk space in the directory where you create a deployment manager
profile.
You must have 10 MB of available disk space in the directory where you create a custom profile.
Manually verify that the required space for creating a profile is available on AIX. A known
problem in the underlying InstallShield for Multiplatforms (ISMP) code prevents proper space checking on
AIX systems at the time that the product disc was created.
58 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
After installing the core product files, you must create one of the following profiles to have an operational
run-time environment:
v An application server that is described in this topic.
An application server profile has a default server (which is server1), the default application that includes
the snoop servlet and the hitcount servlet, and application Samples. You can federate the application
server or use it as a stand-alone application server.
v A deployment manager.
The deployment manager provides a single administrative interface to a logical group of application
servers on one or more machines.
v A custom profile that you must federate to make operational.
A custom profile is an empty node that you can customize to include application servers, clusters, or
other Java processes, such as a messaging server.
This procedure describes creating a deployment manager profile. The procedure uses the graphical user
interface provided by the Profile creation wizard. You can use the Profile creation wizard in silent mode
with a response file, without the graphical user interface. See “responsefile.pct.NDdmgrProfile.txt” on page
63 for examples of using the Profile creation wizard in silent mode.
You can also use the wasprofile command to create a deployment manager. See the description of the
“wasprofile command” on page 96 for more information.
1. Start the Profile creation wizard to create a new run-time environment.
Several ways exist to start the wizard. The initial way to start the wizard is at the end of installation by
selecting the check box to launch the Profile creation wizard.
One way to start the wizard is to issue the command directly from a command line.
The command is in the install_root/bin/ProfileCreator directory. The name of the command varies
per platform:
v pctAIX.bin
v pctHPUX.bin
v pctLinux.bin
v pctSolaris.bin
v pctWindows.exe
v /usr/IBM/WebSphere/AppServer/firststeps
v /opt/IBM/WebSphere/AppServer/firststeps
v C:\Program Files\IBM\WebSphere\AppServer\firststeps
c. Issue the firststeps command to start the console:
v firststeps.bat
d. Select the Profile creation wizard option on the console.
The Profile creation wizard is an InstallShield for Multiplatforms application. The wizard loads the
Java 2 SDK and then displays its Welcome panel.
See the description of the “firststeps command” on page 48 for more information.
2. Click Next on the Welcome panel.
The wizard displays the Profile type selection panel.
3. Select the type of profile to create and click Next. In this example, select the option for creating a
deployment manager and click Next.
The wizard displays the Profile name panel.
4. Specify a name for the profile, then click Next.
Profile naming guidelines: The profile name can be any unique name with the following restrictions.
Do not use any of the following characters when naming your profile:
v Spaces
v Illegal special characters that are not allowed within the name of a directory on your operating
system, such as *&?
v Slashes (/) or (\)
Double-byte characters are allowed.
The default profile
The first profile that you create on a machine is the default profile. The default profile is the default
target for commands issued from the bin directory in the product installation root. When only one
profile exists on a machine, every command works on the only server process in the configuration.
Addressing a profile in a multi-profile environment
When two or more profiles exist on a machine, certain commands require that you specify the profile
to which the command applies. These commands use the -profileName parameter to identify which
profile to address. You might find it easier to use the commands that in the bin directory of each
profile.
A command in the profiles/profile_name/bin directory has two lines. The first line sets the
WAS_USER_SCRIPT environment variable for the command window. The variable sets up the
command environment to address the profile. The second line calls the actual command in the
install_root/bin directory.
The actual command queries the command shell to determine the calling profile and to autonomically
address the command to the calling profile.
The wizard then displays the Profile directory panel.
5. Accept the default directory, specify a non-default location, or click Browse to select a different
location. Click Next.
If you click Back and change the name of the profile, you must manually change the name on this
panel when it displays again.
The wizard displays the Node, host, and cell name panel.
6. Specify a unique node name, the actual host name of the machine, and a unique cell name. Click
Next.
The deployment manager node has the following characteristics.
60 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Field name Default value Constraints Description
Node name The name of your machine, Use a unique name for the The name is used for
or a unique derivation of the deployment manager. administration within the
machine name. deployment manager cell.
See the following note.
Host name The DNS name of your The host name must be Use the actual DNS name or IP
machine. addressable through your address of your machine to
network. enable communication with your
machine. See additional
See the following note. information about the host name
that follows this table.
Cell name The arbitrary name of the Use a unique name for the All federated nodes become
deployment manager cell. deployment manager cell. If you members of the deployment
The cell is a logical grouping plan to migrate a V5 manager cell, which you name
of managed nodes, under the deployment manager cell to this in this panel.
control of the deployment V6 deployment manager, use
manager. the same cell name as the V5
deployment manager.
Reserved names: Avoid using reserved folder names as field values. The use of reserved folder
names can cause unpredictable results. The following words are reserved:
v cells
v nodes
v servers
v clusters
v applications
v deployments
Node and cell name considerations
8. Choose whether to run the dmgr process as a Windows service on a Windows platform
and click Next.
Version 6 attempts to start Windows services for dmgr processes started by a startManager
command. For example, if you configure a deployment manager as a Windows service and issue the
startManager command, the wasservice command attempts to start the defined service.
If you chose to install a local system service, you do not have to specify your user ID or password. If
you create a specified user type of service, you must specify the user ID and the password for the
user who is to run the service. The user must have Log on as a service authority for the service to
run properly.
To perform this installation task, the user ID must not have spaces in its name. The ID must also
belong to the administrator group and must have the advanced user rights Act as part of the
operating system and Log on as a service. The Installation wizard grants the user ID the advanced
user rights if it does not already have them, if the user ID belongs to the administrator group.
You can also create other Windows services after the installation is complete, to start other server
processes. See “Automatically restarting server processes” on page 244 for more information.
The wizard displays the Profile summary panel.
9. Click Next to create the deployment manager or click Back to change the characteristics of the
deployment manager.
The wizard displays a Status panel during the creation of the profile. When the installation is
complete, the wizard displays the Profile creation is complete panel.
10. Click Finish to exit and then click Profile creation wizard on the First steps console to start the
wizard again, if you intend to create an application server profile.
You can create a deployment manager profile. The node within the profile has a deployment manager
named dmgr.
Refer to the description of the “wasprofile command” on page 96 to learn about creating this type of profile
using a command instead of a wizard.
Create an application server profile and add the node into the cell. Then you are ready to deploy an
application.
62 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Deploy an application to get started!
See Fast paths for WebSphere Application Server to get started deploying applications.
responsefile.pct.NDdmgrProfile.txt:
This topic describes the response file for creating a deployment manager profile.
Create a deployment manager profile with an options response file after logging on as root on a Linux or
UNIX platform, or as a user that belongs to the administrator group on a Windows platform. Some steps of
the installation procedure on a Windows platform require the user to belong to the administrator group and
to have the advanced user rights Act as part of the operating system and Log on as a service.
A common use for an options file is to run the Installation wizard in silent mode, which is referred to as
installing silently. The wizard reads the options file to determine responses and does not display the
graphical user interface. Issue the following command to use a copy of the options file named
myresponsefile.txt for a silent installation:
pctWindows.exe -options "myresponsefile.txt" -silent
Avoiding the use of the -silent option within the options response file
A problem occurs when the -silent option exists in the file. The file works with the option during a direct
call to the profile creation wizard, but fails when called from a silent product installation. See ″Customizing
the options response file for Network Deployment″ in the information center for information about creating
a profile silently during a silent product installation.
Example files:
v responsefile.pct.NDdmgrProfile.txt
v responsefile.pct.NDmanagedProfile.txt
v responsefile.pct.NDstandAloneProfile.txt
Location:
Table 5. Option response file locations
Product disc location Installed location
/WAS directory install_root/bin/ProfileCreator directory
Use the file on the product disc to install the Network Deployment product silently and create a profile.
After installing the Network Deployment product, you can use the installed response file with the -options
parameter on the Profile creation wizard command.
The sample options response file, responsefile.nd.txt, controls the first part of the installation and can also
start the second part of the installation. To create a profile as part of installing the core product files, use
the option in the responsefile.nd.txt file that identifies the response file for creating a profile. The profile
response file lets you use the Profile creation wizard silently.
To edit and use the appropriate response file for creating a profile, perform the following procedure:
1. Copy the appropriate file from the WAS directory on the product disc to a place that you can easily
identify on your machine. The example files are:
When the core product files exist, create a profile at any time using the Profile creation wizard. Start the
wizard from the First steps console or directly using the Profile creation wizard command.
64 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
You can also use one of the following sample options response files for profiles to create a profile silently
using the Profile creation wizard in silent mode. To edit and use the appropriate response file for creating a
profile, perform the following procedure:
1. Copy the appropriate file from the install_root/bin/ProfileCreator directory to a place that you can
easily identify on your machine. The example files are:
Logging
Usage notes
v The file is not a read-only file.
v Edit this file directly with your flat file editor of choice, such as WordPad on a Windows platform.
Naming considerations
Consider the following recommendations when supplying names for the profile and other objects.
Use the following guidelines when supplying a value for the profile name directive:
-W profilenamepanelInstallWizardBean.profileName
Profile naming guidelines: The profile name can be any unique name with the following restrictions. Do
not use any of the following characters when naming your profile:
v Spaces
v Illegal special characters that are not allowed within the name of a directory on your operating system,
such as *&?
v Slashes (/) or (\)
Avoid the following reserved folder names as values for the directives in the
responsefile.pct.NDstandAloneProfile.txt file and in the responsefile.pct.NDmanagedProfile.txt file:
-W nodehostnamepanelInstallWizardBean.nodeName=""
-W nodehostnamepanelInstallWizardBean.hostName=""
-W setnondmgrcellnameinglobalconstantsInstallWizardBean.value=""
Avoid the following reserved folder names as values for the directives in the
responsefile.pct.NDdmgrProfile.txt file:
-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
Reserved names: Avoid using reserved folder names as field values. The use of reserved folder names
can cause unpredictable results. The following words are reserved:
v cells
v nodes
v servers
v clusters
v applications
v deployments
66 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The host name is the network name for the physical machine on which the node is installed. The host
name must resolve to a physical network node on the server. When multiple network cards exist in the
server, the host name or IP address must resolve to one of the network cards. Remote nodes use the host
name to connect to and to communicate with this node. Selecting a host name that other machines can
reach within your network is extremely important. Do not use the generic localhost identifier for this value.
If you define coexisting nodes on the same computer with unique IP addresses, define each IP address in
a domain name server (DNS) look-up table. Configuration files for stand-alone Application Servers do not
provide domain name resolution for multiple IP addresses on a machine with a single network address.
The value that you specify for the host name is used as the value of the hostName property in
configuration documents for the stand-alone Application Server. Specify the host name value in one of the
following formats:
v Fully qualified domain name servers (DNS) host name string, such as xmachine.manhattan.ibm.com
v The default short DNS host name string, such as xmachine
v Numeric IP address, such as 127.1.255.3
The fully qualified DNS host name has the advantage of being totally unambiguous and also flexible. You
have the flexibility of changing the actual IP address for the host system without having to change the
Application Server configuration. This value for host name is particularly useful if you plan to change the IP
address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A
format disadvantage is being dependent on DNS. If DNS is not available, then connectivity is
compromised.
The short host name is also dynamically resolvable. A short name format has the added ability of being
redefined in the local hosts file so that the system can run the Application Server even when disconnected
from the network. Define the short name to 127.0.0.1 (local loopback) in the hosts file to run disconnected.
A format disadvantage is being dependent on DNS for remote access. If DNS is not available, then
connectivity is compromised.
A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node
can connect to the node you name with a numeric IP address without DNS being available. A format
disadvantage is that the numeric IP address is fixed. You must change the setting of the hostName
property in Express configuration documents whenever you change the machine IP address. Therefore, do
not use a numeric IP address if you use DHCP, or if you change IP addresses regularly. Another format
disadvantage is that you cannot use the node if the host is disconnected from the network.
################################################################################
# If you want to set this profile to be your default profile, set to "true".
# Otherwise set to "false". If this is the first profile being created, the profile
# automatically is the default.
#
-W profilenamepanelInstallWizardBean.isDefault="false"
################################################################################
#
# Profile location
#
# Specify a directory to contain the files that define the run-time environment,
# such as commands,configuration files, and log files. If the directory contains
# spaces, enclose it in double-quotes as shown in the Windows example below.
#
# Note that spaces in the install location is only supported on Windows
# operating systems.
#
# Default Install Location:
#
# -P installLocation="<WAS_HOME>\profiles\<PROFILE_NAME>"
#
-P installLocation="C:\Program Files\IBM\WebSphere\AppServer\profiles\profileDmgr"
################################################################################
#
# Node name
#
# Please select the node name for the Application Server. Node name under one cell
# has to be unique.
#
# Replace YOUR_NODE_NAME with the actual node name.
#
-W nodehostandcellnamepanelInstallWizardBean.nodeName="YOUR_NODE_NAME"
################################################################################
#
# Host name
#
# Specify the host name for the Application Server. The host name is the domain
# name system (DNS) name (short or long) or the IP address of this computer.
#
# Replace YOUR_HOST_NAME with the actual host name. Comment the line to use
# the default value.
#
-W nodehostandcellnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"
################################################################################
#
# Cell name
#
# Specify the cell name for the Application Server.
#
# If you plan to migrate a V5 deployment manager cell to this V6 deployment
# manager, specify the same cell name as the V5 cell.
68 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
#
# Replace YOUR_CELL_NAME with the actual cell name.
#
-W nodehostandcellnamepanelInstallWizardBean.cellName="YOUR_CELL_NAME"
################################################################################
#
# Port value assignment
#
# The following entries are used to reset port numbers used in the configuration
#
# They are currently set to the defaults.
# Please check to make sure there are no Port Conflicts.
# Port nubmers for each profile can be found in:
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost="9060"
-W pctdmgrprofileportspanelInstallWizardBean.WC_adminhost_secure="9043"
-W pctdmgrprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="9809"
-W pctdmgrprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8879"
-W pctdmgrprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9404"
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9406"
-W pctdmgrprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9405"
-W pctdmgrprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9101"
-W pctdmgrprofileportspanelInstallWizardBean.CELL_DISCOVERY_ADDRESS="7277"
-W pctdmgrprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9352"
################################################################################
#
# Windows service
#
# The following directives are to install services for WebSphere Application Server
# on Windows.
# Using Services, you can start and stop services,
# and configure startup and recovery actions.
# Set winServiceQuery="false" will turn off the function on windows system.
# You can ignore these or comment them out for other Operating Systems.
#
-W winservicepanelInstallWizardBean.winServiceQuery="true"
################################################################################
# Specify account type of the service. Legal values are:
#
# localsystem - Indicates that you choose to use Local System account.
# specifieduser - Indicates that you choose to use specified user account.
#
-W winservicepanelInstallWizardBean.accountType="localsystem"
################################################################################
# If you chose to install a service above with the accountType="localsystem",
# the userName and password below can be ignored. If the accountType was set to:
# accountType="specifieduser", then you must specify the User Name and Password
# which are required to install the Services. The current user must be admin or must
# have admin authority to install a Service. Also the username
# which is given here must have "Log On as a Service " authority
# for the service to run properly.
#
# Replace YOUR_USER_NAME with your username.
#
-W winservicepanelInstallWizardBean.userName="YOUR_USER_NAME"
################################################################################
# Replace YOUR_PASSWORD with your valid password.
#
-W winservicepanelInstallWizardBean.password="YOUR_PASSWORD"
################################################################################
# Profile type
#
# Must be set to "dmgr" for installing a deployment manager Profile.
# Do not change this!
#
-W profiletypepanelInstallWizardBean.selection="dmgr"
Before using the Profile creation wizard, install the core product files.
The Profile creation wizard is the wizard interface to the profile creation tool, wasprofile. See the
description of the “wasprofile command” on page 96 for more information.
An error can occur when you have not provided enough system temporary space to create a profile. Verify
that you have a minimum of 40 MB of temp space available before creating a profile.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
Manually verify that the required space for creating a profile is available on AIX. A known
problem in the underlying InstallShield for Multiplatforms (ISMP) code prevents proper space checking on
AIX systems at the time that the product disc was created.
After installing the core product files for the Network Deployment product, you must create one of the
following profiles to have an operational run-time environment:
v A custom profile.
This topic describes creating a custom profile. A custom profile is an empty node that you can
customize to include application servers, clusters, or other Java processes, such as a messaging
server.
You must have 10 MB of available disk space in the directory where you create a custom profile.
v A deployment manager.
See “Using the Profile creation wizard to create a deployment manager” on page 58. The deployment
manager provides a single administrative interface to a logical group of application servers on one or
more machines.
You must have 30 MB of available disk space in the directory where you create a deployment manager
profile.
v An application server profile.
See “Using the Profile creation wizard to create an application server” on page 84. An Application
Server profile has a default server (which is server1), the default application that includes the snoop
servlet and the hitcount servlet, and application Samples. You can federate the Application Server or
use it as a stand-alone Application Server.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
70 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
This topic describes creating a custom profile using the Profile creation wizard. You can use the Profile
creation wizard in silent mode with a response file instead of the graphical user interface. See
“responsefile.pct.NDmanagedProfile.txt” on page 75 for examples of using the Profile creation wizard in
silent mode.
You can also use the wasprofile command to create a custom profile. See the description of the
“wasprofile command” on page 96 for more information.
After creating a custom profile, you must have access to a running deployment manager to federate the
node. Federating the custom profile makes the node operational. If the custom profile is on a machine that
does not have a deployment manager, the deployment manager must be accessible over the network to
allow the federation of the node.
You can federate the custom node as you create the custom profile, either with the Profile creation wizard
or when using the wasprofile command. If you choose to federate, but the deployment manager is not
running, the custom node is not usable. You must then either delete the profile directory or move the
directory out of the profiles repository (profiles installation root directory) before creating another profile
with the same name.
1. Install the product to create the core product files.
2. Start the Profile creation wizard to create a new run-time environment.
Several ways exist to start the wizard. The initial way to start the wizard is at the end of installation by
selecting the check box to launch the Profile creation wizard.
One way to start the wizard is to issue the command directly from a command line.
The command is in the install_root/bin/ProfileCreator directory. The name of the command varies
per platform:
v pctAIX.bin
v pctHPUX.bin
v pctLinux.bin
v pctSolaris.bin
v pctWindows.exe
v /usr/IBM/WebSphere/AppServer/firststeps
v /opt/IBM/WebSphere/AppServer/firststeps
v C:\Program Files\IBM\WebSphere\AppServer\firststeps
c. Issue the firststeps command to start the console:
v ./firststeps.sh
72 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v Illegal special characters that are not allowed within the name of a directory on your operating
system, such as *&?
v Slashes (/) or (\)
Double-byte characters are allowed.
The default profile
The first profile that you create on a machine is the default profile. The default profile is the default
target for commands issued from the bin directory in the product installation root. When only one
profile exists on a machine, every command works on the only server process in the configuration.
Addressing a profile in a multi-profile environment
When two or more profiles exist on a machine, certain commands require that you specify the profile
to which the command applies. These commands use the -profileName parameter to identify which
profile to address. You might find it easier to use the commands that in the bin directory of each
profile.
A command in the profiles/profile_name/bin directory has two lines. The first line sets the
WAS_USER_SCRIPT environment variable for the command window. The variable sets up the
command environment to address the profile. The second line calls the actual command in the
install_root/bin directory.
The actual command queries the command shell to determine the calling profile and to autonomically
address the command to the calling profile.
The wizard then displays the Profile directory panel.
7. Specify a location for the profile and click Next.
If you click Back and change the name of the profile, you must manually change the name on this
panel when it displays again.
The wizard displays the Node and host names panel.
8. Specify the node and host characteristics for the custom profile and click Next.
Migration considerations
If you plan to migrate an installation of V5.x Network Deployment to V6, use the same cell name for
the V6 deployment manager as you used for the V5.x cell.
After migrating the cell, the V5 managed nodes are now managed by the V6 deployment manager in
compatibility mode. You can migrate individual V5 managed nodes in the cell to V6. To do so, you
must create a V6 profile with the same node name as the V5 managed node.
Reserved names: Avoid using reserved folder names as field values. The use of reserved folder
names can cause unpredictable results. The following words are reserved:
v cells
v nodes
v servers
v clusters
v applications
v deployments
You can create a custom profile. The node within the profile is empty until you federate the node and use
the deployment manager to customize the node.
Refer to the description of the “wasprofile command” on page 96 to learn about creating this type of profile
using a command instead of a wizard.
Federate the node into the deployment manager cell if you have not already done so as you created the
node. Then use the deployment manager to create an application server on the node. Then you are ready
to deploy an application.
See Fast paths for WebSphere Application Server to get started deploying applications.
responsefile.pct.NDmanagedProfile.txt:
This topic describes the response file for creating a custom profile. Federate the custom node into a
running deployment manager cell to make the node operational.
Create a custom node using the with an options response file after logging on as root on a Linux or UNIX
platform, or as a user that belongs to the administrator group on a Windows platform. Some steps of the
installation procedure on a Windows platform require the user to belong to the administrator group and to
have the advanced user rights Act as part of the operating system and Log on as a service.
A common use for an options file is to run the Installation wizard in silent mode, which is referred to as
installing silently. The wizard reads the options file to determine responses and does not display the
graphical user interface. Issue the following command to use a copy of the options file named
myresponsefile.txt for a silent installation:
pctWindows.exe -options "myresponsefile.txt" -silent
Several directives in the file provide options for how the custom node is federated into the deployment
manager cell:
v -W pctfederationpanelInstallWizardBean.federateLater
Federate the custom node if you can. However, if any of the parameters that you supply are faulty, you not
only do not federate the node, you create a faulty custom profile. Federate the node at the time that you
perform the silent creation of the node if, and only if, the deployment manager is running and is accessible
at the host name that you specify and over the SOAP port that you specify.
If you are unsure whether the deployment manager is running, do not federate now. Federate the node
later.
If security is enabled on the deployment manager node, you must federate later using the addNode
command to enter a user ID and password on the command.
A possibility exists that the deployment manager is reconfigured to use the non-default remote method
invocation (RMI) as the preferred Java Management Extensions (JMX) connector. (Click System
Administration > Deployment manager > Administrative services in the administrative console of the
deployment manager to verify the preferred connector type.)
If RMI is the preferred JMX connector, you must use the addNode command to federate the custom
profile at a later time. Use the addNode command so that you can specify the JMX connector type and
the RMI port.
If the deployment manager uses the default SOAP JMX connector type, specify the host name and SOAP
port and federate the node now to create a functional node that you can customize.
If you federate a custom node when the deployment manager is not running or is not available because of
security being enabled or for other reasons, the installation indicator in the logs is INSTCONFFAIL to
indicate a complete failure. The resulting custom profile is unusable. You must move the custom profile
directory out of the profile repository (the profiles installation root directory) before creating another custom
profile with the same profile name.
Avoiding the use of the -silent option within the options response file
A problem occurs when the -silent option exists in the file. The file works with the option during a direct
call to the profile creation wizard, but fails when called from a silent product installation. See ″Customizing
the options response file for Network Deployment″ in the information center for information about creating
a profile silently during a silent product installation.
76 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Response file locations
Example files:
v responsefile.pct.NDdmgrProfile.txt
v responsefile.pct.NDmanagedProfile.txt
v responsefile.pct.NDstandAloneProfile.txt
Location:
Table 6. Option response file locations
Product disc location Installed location
/WAS directory install_root/bin/ProfileCreator directory
Use the file on the product disc to install the Network Deployment product silently and create a profile.
After installing the Network Deployment product, you can use the installed response file with the -options
parameter on the Profile creation wizard command.
The sample options response file, responsefile.nd.txt, controls the first part of the installation and can also
start the second part of the installation. To create a profile as part of installing the core product files, use
the option in the responsefile.nd.txt file that identifies the response file for creating a profile. The profile
response file lets you use the Profile creation wizard silently.
To edit and use the appropriate response file for creating a profile, perform the following procedure:
1. Copy the appropriate file from the WAS directory on the product disc to a place that you can easily
identify on your machine. The example files are:
When the core product files exist, create a profile at any time using the Profile creation wizard. Start the
wizard from the First steps console or directly using the Profile creation wizard command.
You can also use one of the following sample options response files for profiles to create a profile silently
using the Profile creation wizard in silent mode. To edit and use the appropriate response file for creating a
profile, perform the following procedure:
1. Copy the appropriate file from the install_root/bin/ProfileCreator directory to a place that you can
easily identify on your machine. The example files are:
78 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
5. After using the Profile creation wizard, examine the logs for success.
Logging
Usage notes
v The file is not a read-only file.
v Edit this file directly with your flat file editor of choice, such as WordPad on a Windows platform.
v The file is updated when you specify the -options parameter when using the Profile creation wizard and
the file does not yet exist.
v The file must exist to perform a silent installation. The installation program reads this file to determine
installation option values when you install silently.
v Save the file in a location that you can identify when you specify the fully qualified path as part of the
profile creation command.
Naming considerations
Consider the following recommendations when supplying names for the profile and other objects.
Use the following guidelines when supplying a value for the profile name directive:
-W profilenamepanelInstallWizardBean.profileName
Profile naming guidelines: The profile name can be any unique name with the following restrictions. Do
not use any of the following characters when naming your profile:
v Spaces
v Illegal special characters that are not allowed within the name of a directory on your operating system,
such as *&?
v Slashes (/) or (\)
The first profile that you create on a machine is the default profile. The default profile is the default target
for commands issued from the bin directory in the product installation root. When only one profile exists
on a machine, every command works on the only server process in the configuration.
A command in the profiles/profile_name/bin directory has two lines. The first line sets the
WAS_USER_SCRIPT environment variable for the command window. The variable sets up the command
environment to address the profile. The second line calls the actual command in the install_root/bin
directory.
The actual command queries the command shell to determine the calling profile and to autonomically
address the command to the calling profile.
Avoid the following reserved folder names as values for the directives in the
responsefile.pct.NDstandAloneProfile.txt file and in the responsefile.pct.NDmanagedProfile.txt file:
-W nodehostnamepanelInstallWizardBean.nodeName=""
-W nodehostnamepanelInstallWizardBean.hostName=""
-W setnondmgrcellnameinglobalconstantsInstallWizardBean.value=""
Avoid the following reserved folder names as values for the directives in the
responsefile.pct.NDdmgrProfile.txt file:
-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
Reserved names: Avoid using reserved folder names as field values. The use of reserved folder names
can cause unpredictable results. The following words are reserved:
v cells
v nodes
v servers
v clusters
v applications
v deployments
The host name is the network name for the physical machine on which the node is installed. The host
name must resolve to a physical network node on the server. When multiple network cards exist in the
server, the host name or IP address must resolve to one of the network cards. Remote nodes use the host
name to connect to and to communicate with this node. Selecting a host name that other machines can
reach within your network is extremely important. Do not use the generic localhost identifier for this value.
If you define coexisting nodes on the same computer with unique IP addresses, define each IP address in
a domain name server (DNS) look-up table. Configuration files for stand-alone Application Servers do not
provide domain name resolution for multiple IP addresses on a machine with a single network address.
80 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The value that you specify for the host name is used as the value of the hostName property in
configuration documents for the stand-alone Application Server. Specify the host name value in one of the
following formats:
v Fully qualified domain name servers (DNS) host name string, such as xmachine.manhattan.ibm.com
v The default short DNS host name string, such as xmachine
v Numeric IP address, such as 127.1.255.3
The fully qualified DNS host name has the advantage of being totally unambiguous and also flexible. You
have the flexibility of changing the actual IP address for the host system without having to change the
Application Server configuration. This value for host name is particularly useful if you plan to change the IP
address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A
format disadvantage is being dependent on DNS. If DNS is not available, then connectivity is
compromised.
The short host name is also dynamically resolvable. A short name format has the added ability of being
redefined in the local hosts file so that the system can run the Application Server even when disconnected
from the network. Define the short name to 127.0.0.1 (local loopback) in the hosts file to run disconnected.
A format disadvantage is being dependent on DNS for remote access. If DNS is not available, then
connectivity is compromised.
A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node
can connect to the node you name with a numeric IP address without DNS being available. A format
disadvantage is that the numeric IP address is fixed. You must change the setting of the hostName
property in Express configuration documents whenever you change the machine IP address. Therefore, do
not use a numeric IP address if you use DHCP, or if you change IP addresses regularly. Another format
disadvantage is that you cannot use the node if the host is disconnected from the network.
Tip: A custom profile must be added into a deployment manager cell to become operational. Because of
this strong dependency on being a managed node, the profile is often referred to as a managed
profile or as a managed node.
Of course, until you federate the node into a cell, the node is not managed. Another thing to keep in
mind is that any federated node is a managed node, including federated nodes within Application
Server profiles.
The following response file refers to the term managed instead of the term custom in many directive
names. Even so, all of the directives in this response file help to define a custom profile.
################################################################################
#
# Response file for WebSphere Application Server v6.0 custom profile creation
#
# This options file is located in the CD_ROOT\WAS\ directory and in the
# install_root\bin\ProfileCreator directory.
#
# To use the options file under CD_ROOT\WAS\ directory, follow the instructions
# in CD_ROOT\WAS\responsefile.nd.txt. The WebSphere Application Server
# Network Deployment installer locates this file during silent installation
# and automatically runs the silent profile creation at the end of installation.
#
# To use the options file under install_root\bin\ProfileCreator for silent profile
# creation, you must change various values in the file and use the following command
# line arguments:
#
# -options "responsefile.pct.NDmanagedProfile.txt" -silent
#
################################################################################
################################################################################
# If you want to set this profile to be your default profile, set to "true".
# Otherwise set to "false". If this is the first profile being created, the profile
# automatically is the default.
#
-W profilenamepanelInstallWizardBean.isDefault="false"
################################################################################
#
# Profile location
#
# Specify a directory to contain the files that define the run-time environment,
# such as commands,configuration files, and log files. If the directory contains
# spaces, enclose it in double-quotes as shown in the Windows example below.
#
# Note that spaces in the install location is only supported on Windows
# operating systems.
#
# Default Install Location:
#
# -P installLocation="<WAS_HOME>\profiles\<PROFILE_NAME>"
#
-P installLocation="C:\Program Files\IBM\WebSphere\AppServer\profiles\profileManaged"
################################################################################
#
# Node name
#
# Please select the node name for the Application Server. Node name under one cell
# has to be unique.
#
# If you plan to migrate a V5 deployment manager cell, the V5 managed nodes are also
# migrated to the V6 cell. To incrementally migrate an individual V5 managed node
# to V6, you must use the same node name for the V6 Application Server profile.
#
# Replace YOUR_NODE_NAME with the actual node name.
#
-W nodehostnamepanelInstallWizardBean.nodeName="YOUR_NODE_NAME"
################################################################################
#
# Host name
#
# Specify the host name for the Application Server. The host name is the domain
# name system (DNS) name (short or long) or the IP address of this computer.
#
# Replace YOUR_HOST_NAME with the actual host name. Comment the line to use
# the default value.
#
-W nodehostnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"
82 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
################################################################################
#
# Cell name
#
# You should not Modify this, unless absolutely necessary
#
# The Wizard would set this to short local host name + "Node##Cell" by default.
#
# If you would like to override the resolved cell name value, uncomment the line and
# replace YOUR_CELL_NAME with <YOUR_OWN_VALUE>
#
# -W setnondmgrcellnameinglobalconstantsInstallWizardBean.value="YOUR_CELL_NAME"
################################################################################
#
# Ports value assignment
#
# The following entries are used to reset port numbers used in the configuration
#
# They are currently set to the defaults.
# Please check to make sure there are no port conflicts.
# Port nubmers for each profile can be find in:
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
# If you specify true for the value of
# the -W pctfederationpanelInstallWizardBean.federateLater
# directive, port numbers are assigned automatically when you federate the
# node with the addNode command. The following port numbers do not apply.
#
-W pctmanagedprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809"
-W pctmanagedprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8878"
-W pctmanagedprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9901"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9201"
-W pctmanagedprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9202"
-W pctmanagedprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_DISCOVERY_ADDRESS="7272"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_MULTICAST_DISCOVERY_ADDRESS="5000"
-W pctmanagedprofileportspanelInstallWizardBean.NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS="5001"
-W pctmanagedprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353"
################################################################################
#
# Federation
#
# A custom profile contains an empty node that must be federated to a deployment
# manager to become a functional managed node. Identify a running deployment
# manager that will administer the node or choose to federate the node later
# using the addNode command.
#
# Set to "true" if you want to federate this custom node later using the addNode
# command. You must federate this node later if the deployment manager :
# - is not running.
# - has security enabled.
# - has the SOAP connector disabled
#
# If you want to federate it now, set to "" and fill in the entries for the host
# and port of the deployment manager.
#
-W pctfederationpanelInstallWizardBean.federateLater=""
################################################################################
# Specify the host name of the deployment manager for federation.
#
-W pctfederationpanelInstallWizardBean.hostname="YOUR_DEPLOYMENT_MANAGER_HOST_NAME"
################################################################################
#
# Profile type
#
# Must be set to "managed" for installing a custom profile. Do not change this!
#
-W profiletypepanelInstallWizardBean.selection="managed"
Before using the Profile creation wizard, install the core product files.
The Profile creation wizard is the wizard interface to the profile creation tool, wasprofile. See the
description of the “wasprofile command” on page 96 for more information.
An error can occur when you have not provided enough system temporary space to create a profile. Verify
that you have a minimum of 40 MB of temp space available before creating a profile.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
Important:
You must have 30 MB of available disk space in the directory where you create a deployment
manager profile.
You must have 10 MB of available disk space in the directory where you create a custom
profile.
Manually verify that the required space for creating a profile is available on AIX. A known
problem in the underlying InstallShield for Multiplatforms (ISMP) code prevents proper space checking on
AIX systems at the time that the product disc was created.
Important:
After installing the core product files, you must create one of the following profiles to have an
operational run-time environment:
v An application server that is described in this topic.
An application server profile has a default server (which is server1), the default application
that includes the snoop servlet and the hitcount servlet, and application Samples. You can
federate the application server or use it as a stand-alone application server.
v A deployment manager.
See “Using the Profile creation wizard to create a deployment manager” on page 58. The
deployment manager provides a single administrative interface to a logical group of
application servers on one or more machines.
84 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v A custom profile that you must federate to make operational.
See “Using the Profile creation wizard to create a custom profile” on page 70. A custom
profile is an empty node that you can customize to include application servers, clusters, or
other Java processes, such as a messaging server.
This procedure describes creating an application server profile using the graphical user interface provided
by the Profile creation wizard.
You can use the Profile creation wizard in silent mode with a response file instead of a graphical user
interface. See “responsefile.pct.NDstandAloneProfile.txt” on page 88 for examples of using the Profile
creation wizard in silent mode.
You can also use the wasprofile command to create an application server profile. See the description of
the “wasprofile command” on page 96 for more information.
1. Start the Profile creation wizard to create a new run-time environment.
Several ways exist to start the wizard. The initial way to start the wizard is at the end of installation by
selecting the check box to launch the Profile creation wizard.
One way to start the wizard is to issue the command directly from a command line.
The command is in the install_root/bin/ProfileCreator directory. The name of the command varies
per platform:
v pctAIX.bin
v pctHPUX.bin
v pctLinux.bin
v pctSolaris.bin
v pctWindows.exe
v /usr/IBM/WebSphere/AppServer/firststeps
v /opt/IBM/WebSphere/AppServer/firststeps
v C:\Program Files\IBM\WebSphere\AppServer\firststeps
c. Issue the firststeps command to start the console:
v ./firststeps.sh
v firststeps.bat
d. Select the Profile creation wizard option on the console.
The Profile creation wizard is an InstallShield for Multiplatforms application. The wizard loads the
Java 2 SDK and then displays its Welcome panel.
86 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Field name Default value Constraints Description
Node name Name of your Avoid using the reserved Pick any name you want. To help organize
machine words. your installation, use a unique name if you
plan to create more than one application
server on the machine.
Host name DNS name of your Addressable through your Use the actual DNS name or IP address of
machine network. your machine to enable communication with
your machine. See additional information
about the host name following this table.
Node name considerations: If you plan to migrate an installation of V5.x Network Deployment to V6
and migrate one of the managed nodes in the cell, use the same node name for the V6 application
server as you used for the V5.x managed node.
After specifying port assignments, the wizard displays the Windows service definition
panel, if you are installing on a Windows platform.
You can create an application server profile. The node within the profile has an application server named
server1.
Refer to the description of the “wasprofile command” on page 96 to learn about creating this type of profile
using a command instead of a wizard.
See Fast paths for WebSphere Application Server to get started deploying applications.
responsefile.pct.NDstandAloneProfile.txt:
This topic describes the response file for creating a stand-alone application server profile.
Create a stand-alone application server profile with an options response file after logging on as root on a
Linux or UNIX platform, or a user that belongs to the administrator group on a Windows platform. Some
steps of the installation procedure on a Windows platform require the user to belong to the administrator
group and to have the advanced user rights Act as part of the operating system and Log on as a service.
A common use for an options file is to run the Installation wizard in silent mode, which is referred to as
installing silently. The wizard reads the options file to determine responses and does not display the
graphical user interface. Issue the following command to use a copy of the options file named
myresponsefile.txt for a silent installation:
88 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
pctWindows.exe -options "myresponsefile.txt" -silent
Avoiding the use of the -silent option within the options response file
A problem occurs when the -silent option exists in the file. The file works with the option during a direct
call to the profile creation wizard, but fails when called from a silent product installation. See ″Customizing
the options response file for Network Deployment″ in the information center for information about creating
a profile silently during a silent product installation.
Example files:
v responsefile.pct.NDdmgrProfile.txt
v responsefile.pct.NDmanagedProfile.txt
v responsefile.pct.NDstandAloneProfile.txt
Location:
Table 7. Option response file locations
Product disc location Installed location
/WAS directory install_root/bin/ProfileCreator directory
Use the file on the product disc to install the Network Deployment product silently and create a profile.
After installing the Network Deployment product, you can use the installed response file with the -options
parameter on the Profile creation wizard command.
The sample options response file, responsefile.nd.txt, controls the first part of the installation and can also
start the second part of the installation. To create a profile as part of installing the core product files, use
the option in the responsefile.nd.txt file that identifies the response file for creating a profile. The profile
response file lets you use the Profile creation wizard silently.
To edit and use the appropriate response file for creating a profile, perform the following procedure:
1. Copy the appropriate file from the WAS directory on the product disc to a place that you can easily
identify on your machine. The example files are:
When the core product files exist, create a profile at any time using the Profile creation wizard. Start the
wizard from the First steps console or directly using the Profile creation wizard command.
You can also use one of the following sample options response files for profiles to create a profile silently
using the Profile creation wizard in silent mode. To edit and use the appropriate response file for creating a
profile, perform the following procedure:
1. Copy the appropriate file from the install_root/bin/ProfileCreator directory to a place that you can
easily identify on your machine. The example files are:
90 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v 64-bit platforms: ./pct.bin -options my_options_file.txt -silent
Logging
Usage notes
v The file is not a read-only file.
v Edit this file directly with your flat file editor of choice, such as WordPad on a Windows platform.
v The file is updated when you specify the -options parameter when using the Profile creation wizard and
the file does not yet exist.
v The file must exist to perform a silent installation. The installation program reads this file to determine
installation option values when you install silently.
v Save the file in a location that you can identify when you specify the fully qualified path as part of the
profile creation command.
Naming considerations
Consider the following recommendations when supplying names for the profile and other objects.
Use the following guidelines when supplying a value for the profile name directive:
-W profilenamepanelInstallWizardBean.profileName
Profile naming guidelines: The profile name can be any unique name with the following restrictions. Do
not use any of the following characters when naming your profile:
v Spaces
v Illegal special characters that are not allowed within the name of a directory on your operating system,
such as *&?
v Slashes (/) or (\)
Avoid the following reserved folder names as values for the directives in the
responsefile.pct.NDdmgrProfile.txt file:
-W nodehostandcellnamepanelInstallWizardBean.nodeName=""
-W nodehostandcellnamepanelInstallWizardBean.hostName=""
-W nodehostandcellnamepanelInstallWizardBean.cellName=
Reserved names: Avoid using reserved folder names as field values. The use of reserved folder names
can cause unpredictable results. The following words are reserved:
v cells
v nodes
v servers
v clusters
v applications
v deployments
The host name is the network name for the physical machine on which the node is installed. The host
name must resolve to a physical network node on the server. When multiple network cards exist in the
server, the host name or IP address must resolve to one of the network cards. Remote nodes use the host
name to connect to and to communicate with this node. Selecting a host name that other machines can
reach within your network is extremely important. Do not use the generic localhost identifier for this value.
If you define coexisting nodes on the same computer with unique IP addresses, define each IP address in
a domain name server (DNS) look-up table. Configuration files for stand-alone Application Servers do not
provide domain name resolution for multiple IP addresses on a machine with a single network address.
The value that you specify for the host name is used as the value of the hostName property in
configuration documents for the stand-alone Application Server. Specify the host name value in one of the
following formats:
v Fully qualified domain name servers (DNS) host name string, such as xmachine.manhattan.ibm.com
v The default short DNS host name string, such as xmachine
v Numeric IP address, such as 127.1.255.3
The fully qualified DNS host name has the advantage of being totally unambiguous and also flexible. You
have the flexibility of changing the actual IP address for the host system without having to change the
Application Server configuration. This value for host name is particularly useful if you plan to change the IP
address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A
format disadvantage is being dependent on DNS. If DNS is not available, then connectivity is
compromised.
The short host name is also dynamically resolvable. A short name format has the added ability of being
redefined in the local hosts file so that the system can run the Application Server even when disconnected
92 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
from the network. Define the short name to 127.0.0.1 (local loopback) in the hosts file to run disconnected.
A format disadvantage is being dependent on DNS for remote access. If DNS is not available, then
connectivity is compromised.
A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node
can connect to the node you name with a numeric IP address without DNS being available. A format
disadvantage is that the numeric IP address is fixed. You must change the setting of the hostName
property in Express configuration documents whenever you change the machine IP address. Therefore, do
not use a numeric IP address if you use DHCP, or if you change IP addresses regularly. Another format
disadvantage is that you cannot use the node if the host is disconnected from the network.
################################################################################
#
# Profile name
#
# Set the profile name for installing a stand alone profile. The profile
# name must be unique for this WebSphere Application Server installation.
#
-W profilenamepanelInstallWizardBean.profileName="profileStandAlone"
################################################################################
# If you want to set this profile to be your default profile, set to "true".
# Otherwise set to "false". If this is the first profile being created, the profile
# automatically is the default.
#
-W profilenamepanelInstallWizardBean.isDefault="false"
################################################################################
#
# Profile location
#
# Specify a directory to contain the files that define the run-time environment,
# such as commands,configuration files, and log files. If the directory contains
# spaces, enclose it in double-quotes as shown in the Windows example below.
#
# Note that spaces in the install location is only supported on Windows
# operating systems.
#
# Default Install Location:
#
################################################################################
#
# Node name
#
# Please select the node name for the Application Server. Node name under one cell
# has to be unique.
#
# If you plan to migrate a V5 deployment manager cell, the V5 managed nodes are also
# migrated to the V6 cell. To incrementally migrate an individual V5 managed node
# to V6, you must use the same node name for the V6 Application Server profile.
#
# Replace YOUR_NODE_NAME with the actual node name.
#
-W nodehostnamepanelInstallWizardBean.nodeName="YOUR_NODE_NAME"
################################################################################
#
# Host name
#
# Specify the host name for the Application Server. The host name is the domain
# name system (DNS) name (short or long) or the IP address of this computer.
#
# Replace YOUR_HOST_NAME with the actual host name. Comment the line to use
# the default value.
#
-W nodehostnamepanelInstallWizardBean.hostName="YOUR_HOST_NAME"
################################################################################
#
# Cell name
#
# You should not Modify this, unless absolutely necessary.
#
# The Wizard would set this to short local host name + "Node##Cell" by default.
#
# If you would like to override the resolved cell name value, uncomment the line and
# replace YOUR_CELL_NAME with <YOUR_OWN_VALUE>.
#
# -W setnondmgrcellnameinglobalconstantsInstallWizardBean.value="YOUR_CELL_NAME"
################################################################################
#
# Port value assignment
#
# The following entries are used to reset port numbers used in the configuration
#
# They are currently set to the defaults.
# Please check to make sure there are no Port Conflicts.
# Port numbers for each profile can be find in:
# <profile>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
#
-W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost="9080"
-W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost="9060"
-W pctdefaultprofileportspanelInstallWizardBean.WC_defaulthost_secure="9443"
-W pctdefaultprofileportspanelInstallWizardBean.WC_adminhost_secure="9043"
-W pctdefaultprofileportspanelInstallWizardBean.BOOTSTRAP_ADDRESS="2809"
-W pctdefaultprofileportspanelInstallWizardBean.SOAP_CONNECTOR_ADDRESS="8880"
-W pctdefaultprofileportspanelInstallWizardBean.SAS_SSL_SERVERAUTH_LISTENER_ADDRESS="9401"
-W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS="9403"
-W pctdefaultprofileportspanelInstallWizardBean.CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS="9402"
94 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
-W pctdefaultprofileportspanelInstallWizardBean.ORB_LISTENER_ADDRESS="9100"
-W pctdefaultprofileportspanelInstallWizardBean.DCS_UNICAST_ADDRESS="9353"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_ADDRESS="7276"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_ENDPOINT_SECURE_ADDRESS="7286"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_ADDRESS="5558"
-W pctdefaultprofileportspanelInstallWizardBean.SIB_MQ_ENDPOINT_SECURE_ADDRESS="5578"
################################################################################
#
# Windows service
#
# The following directives are to install services for
# WebSphere Application Server on Windows.
# Using Services, you can start and stop services,
# and configure startup and recovery actions.
# Set winServiceQuery="false" will turn off the function on windows system.
# You can ignore these or comment them out for other Operating Systems.
#
-W winservicepanelInstallWizardBean.winServiceQuery="true"
################################################################################
# Specify account type of the service. Legal values are:
#
# localsystem - Indicates that you choose to use Local System account.
# specifieduser - Indicates that you choose to use specified user account.
#
-W winservicepanelInstallWizardBean.accountType="localsystem"
################################################################################
# If you chose to install a service above with the accountType="localsystem",
# the userName and password below can be ignored. If the accountType was set to:
# accountType="specifieduser", then you must specify the User Name and Password
# which are required to install the Services. The current user must be admin or must
# have admin authority to install a Service. Also the username
# which is given here must have "Log On as a Service " authority
# for the service to run properly.
#
# Replace YOUR_USER_NAME with your username.
#
-W winservicepanelInstallWizardBean.userName="YOUR_USER_NAME"
################################################################################
# Replace YOUR_PASSWORD with your valid password.
#
-W winservicepanelInstallWizardBean.password="YOUR_PASSWORD"
################################################################################
# Set the startup type of the WebSphere Application Server on Windows.
# Valid values are "automatic", "manual", and "disabled".
#
-W winservicepanelInstallWizardBean.startupType="manual"
################################################################################
# Profile type
#
# This must be set to "default" for installing a stand alone profile
# Do not change this!
#
-W profiletypepanelInstallWizardBean.selection="default"
Deleting a profile
This topic describes how to manually delete a profile.
./wasprofile.sh -delete
-profileName profile_name | -profilePath profile_path
wasprofile.bat -delete
-profileName profile_name | -profilePath profile_path
If the command does not work, use this procedure to delete the profile.
This procedure describes how to manually delete a profile when the wasprofile -delete command results
in the following message:
INSTCONFFAILED: Cannot delete profile
1. Delete the profiles_install_root/profile_name directory.
2. If the install_root/properties/profileRegistry.xml file exists, edit the file in a flat-file editor to delete
the entry for the profile, if the entry is present.
The entry resembles the following example:
<profile isDefault="true"
name="BadProfile"
path="E:\IBM\WebSphere\AppServer\profiles\BadProfile"
template="E:\IBM\WebSphere\AppServer\profileTemplates\default"/>
See the description of the “wasprofile command” to learn more about the command-line method of working
with profiles.
See “Using the Profile creation wizard” on page 54 for more information about creating profiles with the
Profile creation wizard.
wasprofile command
The wasprofile command line tool creates all Application Server run-time environments in Version 6. The
command creates a profile, which is the set of files that define the run-time environment for a deployment
manager, a custom profile, or a stand-alone Application Server.
96 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Introduction to terms that describe Version 6 profiles
The wasprofile command creates the run-time environment for a WebSphere Application Server process
in a set of files called a profile. The profile defines the run-time environment and includes all of the files
that the server processes in the run-time environment can change. The profile creation tool and its
graphical user interface, the Profile creation wizard, are the only ways to create run-time environments in
V6.
The Profile creation wizard is an InstallShield for Multiplatforms (ISMP) application. You can use the wizard
to enter most of the parameters that are described in this topic. Some parameters, however, require you to
use the wasprofile command. You must use the wasprofile command to delete a profile, for instance,
because the Profile creation wizard does not provide a deletion function.
However, the Profile creation wizard also performs tasks that the wasprofile command does not. For
instance, the wizard can create a Windows service for each profile that it creates. It can also assign
non-conflicting ports based on previous Version 6 port assignments.
Core product files: The core product files are the shared product binaries. The binary files are shared
by all profiles.
The directory structure for V6 has two major divisions of files in the installation root directory for the
product:
v The core product files are shared product binary files that do not change unless you install a refresh
pack, a fix pack, or an interim fix. Some log information is also updated.
v The profiles directory is the default directory for creating profiles. The configuration for every defined
Application Server process is within the profiles directory unless you specify a new directory when you
create a profile. These files change as often as you create a new profile, reconfigure an existing profile,
or delete a profile.
All of the folders except for the profiles directory and a few others such as the logs directory and the
properties directory do not change unless you install service fixes. The profiles directory, however,
changes each time you add, change, or delete a profile. The profiles directory is the default repository for
profiles. However, you can put a profile anywhere on the machine provided there is enough available disk
space.
If you put a profile in another existing folder in the installation root directory, a risk exists that the profile
might be affected by the installation of a service fix that applies maintenance to the folder. Use a directory
outside of the installation root directory when using a directory other than the profiles directory for
creating profiles.
WebSphere Application Server profile: The wasprofile command line tool defines each Application
Server instance of a Version 6 product.
You must run the wizard or the command line tool each time that you want to create a stand-alone
Application Server. A need for more than one stand-alone Application Server on a machine is common.
Administration is greatly enhanced when using V6 profiles instead of multiple product installs. Not only is
disk space saved, but updating the product is simplified when you only maintain a single set of product
core files. Also, creating new profiles is faster and less prone to error than full product installs, allowing a
developer to create new disposable profiles of the product for development and testing.
You can run the Profile creation wizard or the profile creation tool to create a new Application Server
environment on the same machine as an existing one. Simply define unique characteristics (such as
profile name and node name) for the new profile. Each profile has its own administrative console and
administrative scripting interface. Each Application Server process shares all run-time scripts, libraries, the
Software Development Kit, and other core product files.
Within this directory are the default folder, the dmgr folder, and the managed folder. These are the paths
that you indicate while using the wasprofile command with the -templatePath option.
The wasprofile command in the Network Deployment product can create the following types of profiles:
Deployment manager profile
The basic function of the deployment manager is to deploy applications to a cell of Application
Servers, which it manages. Each Application Server that belongs to the cell is referred to as a
managed node.
Application Server profile
The basic function of the Application Server is to serve applications to the Internet or to an
intranet.
An important product feature for the Network Deployment product is the ability to scale up a
stand-alone Application Server profile by adding the Application Server node into a deployment
manager cell. Multiple Application Server processes in a cell can deploy an application that is in
demand. You can also remove an Application Server node from a cell to return the node to the
status of a stand-alone Application Server.
Each stand-alone Application Server has its own administrative console application, which you use
to manage the Application Server. You can also use the wsadmin scripting facility to perform every
function that is available in the administrative console application.
There is no node agent process for a stand-alone Application Server unless you decide to add the
Application Server node to a deployment manager cell. Adding the Application Server to a cell is
known as federation. Federation changes the stand-alone Application Server into a managed
node. At that point, you use the administrative console of the deployment manager to manage the
node. If you remove the node from the deployment manager cell, use the administrative console
and the scripting interface of the stand-alone Application Server to manage the process.
Custom profile
The basic function of this profile that belongs to a deployment manager cell is to serve
applications to the Internet or to an intranet under the management of the deployment manager.
The deployment manager changes a custom profile to a managed node by adding the node into
the cell. This is also true when you add an Application Server into a cell. When either node is
added to a cell, the node becomes a managed node. The nodeagent process is then instantiated
on the managed node. The node agent acts on behalf of the deployment manager to control
Application Server processes on the managed node. The node agent can start or stop Application
Servers, for example.
A deployment manager can create multiple Application Servers on a managed node so long as the
node agent process is running. Processes on the managed node can include cluster members that
the deployment manager uses to balance the work load for heavily used applications.
Use the administrative console of the deployment manger to control all of the nodes that the
deployment manager manages. You can also use the wsadmin scripting facility of the deployment
manager to control any of the managed nodes. A custom profile does not have its own
administrative console or scripting interface. You cannot manage the node directly with the
wsadmin scripting facility. You must use the administrative interface of the deployment manager to
manage a managed node.
A custom profile does not include default applications or a default server as the Application Server
profile does. A custom profile is an empty node. Add the node to the deployment manager cell.
Then you can use the administrative interface of the deployment manager to customize the
managed node by creating clusters and Application Servers.
98 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Installed file set: You decide where to install the files that define a profile. The default location is in the
profiles directory in the installation root directory. But you can change the location on the Profile creation
wizard or in a parameter when using the command line tool. For example, assume that you create two
profiles on a Linux platform with host name devhost1. The profile directories resemble the following
example if you do not relocate them:
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile02
Suppose that you specify a different directory, such as /opt/profiles, for the profile directory field in the
wizard. The profile directories resemble the following example:
/opt/profiles/devhost1Profile01
/opt/profiles/devhost1Profile02
The following directories exist within a profile. This example assumes that a profile named
devhost1Profile01 exists:
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/bin
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/config
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/etc
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/firststeps
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/installableApps
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/installedApps
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/installedConnectors
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/installedFilters
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/logs
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/properties
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/samples
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/temp
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/tranlog
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01/wstemp
The profile repository: The profile repository is the default location of profile-related metadata. The
repository is the default location for new profiles, which is often referred to as the profiles installation root
directory.
However, you can decide where to install a profile. The default location of the profile repository is the
install_root/profiles directory. In the earlier example, creating two profiles on a Linux platform with host
name devhost1 results in the following example directories in the profile repository:
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile01
/opt/IBM/WebSphere/AppServer/profiles/devhost1Profile02
When you specify a directory, such as /opt/profiles, the profiles are no longer in the default repository,
which is not a problem. For example, the following locations are valid:
/opt/profiles/devhost1Profile01
/opt/profiles/devhost1Profile02
The Profile creation wizard is the graphical user interface to the command line tool. The file name of the
command that calls the Profile creation wizard varies per operating system platform. See “Using the Profile
creation wizard” on page 54 for more information.
The command also creates a log for every profile that it deletes. The logs are in the
install_root/logs/wasprofile directory. The files are named in this pattern:
wasprofile_delete_profile_name.log.
An error can occur when you have not provided enough system temporary space to create a profile. Verify
that you have a minimum of 40 MB of temp space available before creating a profile.
You must have 200 MB of available disk space in the directory where you create an Application Server
profile.
Network Deployment
Tip:
You must have 30 MB of available disk space in the directory where you create a deployment
manager profile.
You must have 10 MB of available disk space in the directory where you create a custom profile.
After installing the core product files, you must create one of the following profiles to have an
operational run-time environment:
v An application server that is described in this topic.
An application server profile has a default server (which is server1), the default application that
includes the snoop servlet and the hitcount servlet, and application Samples. You can federate the
application server or use it as a stand-alone application server.
v A deployment manager.
See ″Using the Profile creation wizard to create a deployment manager″ in the Installation PDF.
The deployment manager provides a single administrative interface to a logical group of
application servers on one or more machines.
v A custom profile that you must federate to make operational.
See ″Using the Profile creation wizard to create a custom profile″ in the Installation PDF. A custom
profile is an empty node that you can customize to include application servers, clusters, or other
Java processes, such as a messaging server.
100 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
For example, on a Solaris system, the following command requires input on multiple lines:
./wasprofile.sh \
-create -profileName bladetcb6profile \
-profilePath /usr/IBM/WebSphere/AppServer/profiles/bladetcb6profile \
-templatePath /usr/WebSphere/AppServer/profileTemplates/default \
-nodeName bladetcb6node \
-cellName bladetcb6Cell \
-hostName bladetcb6.rtp.raleigh.ibm.com
Omit the line continuation character from the last line to signal the end of the command to the operating
system.
Delete profiles:
# ./wasprofile.sh -delete
-profileName profile_name | -profilePath profile_path
[-debug]
Check the integrity of the profile registry, removing profiles that are not found:
# ./wasprofile.sh -validateAndUpdateRegistry
[-backup file_name]
[-debug]
Delete profiles:
wasprofile.bat -delete
-profileName profile_name | -profilePath profile_path
[-debug]
When the -startingPort parameter is not used, the profile creation tool uses the default port settings
specified in the serverindex.xml file.
Parameters
Supported arguments include:
-augment
Refreshes or augments the given profile using the template in the templatePath parameter.
-backup file_name
Backs up the profile registry file to a file with the file name specified.
102 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
-cellname file_name
Specifies the cell name of the profile.
-create
Creates the profile.
-debug
Turns on the debug function of the Ant utility, which the wasprofile command uses.
-delete
Deletes the profile.
-dmgrHost host_name
Identifies the machine where the deployment manager is running. Specify this parameter and the
dmgrPort parameter to federate a custom profile as it is created.
The host name can be the long or short DNS name or the IP address of the deployment manager
machine.
Specifying this optional parameter directs the wasprofile command to attempt to federate the custom
node into the deployment manager cell as it creates the custom profile. This parameter is ignored
when creating a deployment manager profile or an Application Server profile.
Federating when the deployment manager is not available
If you federate a custom node when the deployment manager is not running or is not available
because of security being enabled or for other reasons, the installation indicator in the logs is
INSTCONFFAIL to indicate a complete failure. The resulting custom profile is unusable. You must
move the custom profile directory out of the profile repository (the profiles installation root directory)
before creating another custom profile with the same profile name.
-dmgrPort port_number
Identifies the SOAP port of the deployment manager. Specify this parameter and the dmgrHost
parameter to federate a custom profile as it is created. The deployment manager must be running and
accessible.
If you have enabled security or changed the default JMX connector type, you cannot federate with the
wasprofile command. Use the addNode command instead.
-getName
Gets the name for a profile registered at a given file system path. Requires the –profilePath parameter.
-getPath
Gets the file system location for a profile of a given name. Requires the –profileName parameter.
-hostName host_name
Specifies the host name where you are creating the profile. This should match the host name that you
specified during installation of the initial product.
-listProfiles
Llists all defined profiles.
-nodeName node_name
Specifies the node name for the node that is created with the new profile. Use a unique value within
the cellor on the machine. Each profile that shares the same set of product binaries must have a
unique node name.
-portsFile file_path
An optional parameter that specifies the path to a file that defines port settings for the new profile.
When omitted, the wasprofile tool looks for the install_root /profileTemplates/profile_type
/actions/portsUpdate/bin/portdef.props file.
Do not use this parameter when using the startingPort parameter.
Specify the full path to avoid an ANT scripting limitation that can cause a failure when
federating the profile into a cell. For example:
-profilePath C:\IBM\WebSphere\AppServer\profiles\profile01
If the fully qualified path contains spaces, enclose the value in quotation marks.
-winserviceAccountType type_of_owner_account
The type of the owner account of the Windows service created for the profile can be either
specifieduser or localsystem. The Windows service can run under the local account of the user who is
creating the profile.
winserviceCheck value
The value can be either true or false. Specify true to create a Windows service for the server process
that is created within the profile. Specify false to not create the Windows service.
-winservicePassword yourpassword
Specify the password for the specified user or the local account that is to own the Windows service.
-winserviceStartupType startup_type
Possible startup_type values are:
v manual
v automatic
v disabled
See ″WASService command″ in the Installation PDF for more information about Windows services.
-winserviceUserName user_ID
Specify your user ID so that Windows can verify you as an ID that is capable of creating a Windows
service. Your user ID must belong to the administrator group and have the following advanced user
rights, Act as part of the operating system and Log on as a service
104 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Use case scenarios
Use cases are a description of common tasks for which the tool is used.
On an Express product or a base product installation, the command does not create anything because the
deployment manager template is not present.
On a Network Deployment product installation, the command creates a deployment manager profile
named shasti in a cell named shaix1 in location ~/shasti/WebSphere with a node name of dmgr1.
On an Express installation or on a base WebSphere Application Server product installation, the command
does not create a deployment manager profile because the dmgr template does not exist in either product.
On a Network Deployment product installation, the command creates a deployment manager profile
named shasti in a cell named shwindows1 in location G:\shasti\WebSphere with a node name of dmgr1.
Scenario: Deleting a profile: The following command is on more than one line for clarity. Enter the
command on one line to delete the profile named shasti:
wasprofile.sh -delete
-profileName shasti
Scenario: Using predefined port numbers: When you use the wasprofile tool without the -startingPort
parameter, the tool uses the /profileTemplates/profile_type /actions/portsUpdate/bin/portdef.props
file to set the initial ports.
Copy the file, edit the port settings, and use your copy by using the -portsFile parameter as shown in the
following example:
wasprofile.bat
-create
-profileName Wow_Profile
-profilePath
C:\ExpressV6\IBM\WebSphere\AppServer\profiles\Wow_Profile
-templatePath
C:\ExpressV6\IBM\WebSphere\AppServer\profileTemplates\default
-nodeName Wow_node
-cellName Wow_cell
-hostName loyAllen
-portsFile C:\temp\ports\portdef.props
As you run the command, messages similar to the following appear in the output stream:
replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile:
[echo] File C:\ExpressV6\IBM\WebSphere\AppServer\profiles\
Wow_Profile/config/templates/default/serverentry-template.xml:
setting CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS to 39403
...
replaceRegExpAllInstancesOfGivenTokenWithGivenValueForTheGivenFile:
[echo] File C:\ExpressV6\IBM\WebSphere\AppServer\profiles\
Wow_Profile/config/templates/default/serverentry-template.xml:
setting CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS to 39402
...
106 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
<?xml version="1.0" encoding="UTF-8"?>
<serverindex:ServerIndex xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
...
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="BOOTSTRAP_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="32809"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SOAP_CONNECTOR_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="38880"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SAS_SSL_SERVERAUTH_LISTENER_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="39401"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="39403"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="39402"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="WC_adminhost">
<endPoint xmi:id="EndPoint_..." host="*" port="39060"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="WC_defaulthost">
<endPoint xmi:id="EndPoint_..." host="*" port="39080"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="DCS_UNICAST_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="39353"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="WC_adminhost_secure">
<endPoint xmi:id="EndPoint_..." host="*" port="39043"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="WC_defaulthost_secure">
<endPoint xmi:id="EndPoint_..." host="*" port="39443"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SIB_ENDPOINT_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="*" port="37276"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SIB_ENDPOINT_SECURE_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="*" port="37286"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SIB_MQ_ENDPOINT_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="*" port="35558"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="SIB_MQ_ENDPOINT_SECURE_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="*" port="35578"/>
</specialEndpoints>
<specialEndpoints xmi:id="NamedEndPoint_..."
endPointName="ORB_LISTENER_ADDRESS">
<endPoint xmi:id="EndPoint_..." host="IBMmachine" port="39100"/>
</specialEndpoints>
</serverEntries>
</serverindex:ServerIndex>
Do not use the portsFile parameter when using the startingPort parameter. The two parameters are
mutually exclusive.
Scenario: Incrementing default port numbers from a starting point: The wasprofile command can
assign port numbers based on a starting port value that you give on the command line, using the
-startingPort parameter. The tool assigns port numbers sequentially from the starting port number value.
For example, ports created with -startingPort 20002 would appear similar to the following example:
108 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The following example of using the wasprofile command creates ports from an initial value of 20002, with
the content shown in the previous example:
wasprofile.bat -create
-profileName shasti
-profilePath G:\shasti\WebSphere
-templatePath template_path
-nodeName W2K03
-cellName W2K03_Cell01
-hostName planetnt
-startingPort 20002
Scenario: Setting up and using the profile environment: Most tasks that you perform in a profile are
done using the -profileName attribute on the command line tools that you use. Such a scenario might be:
1. Create the server process using the install_root/bin/wasprofile.sh (or wasprofile.bat) script from the
original installation. Assume that you create the Profile02 profile.
2. In that command window or in another, change directories to the /bin directory of the new server
process.
3. Establish a temporary override for the normal WebSphere Application Server environment by using the
-profileName attribute on a command you issue. In the same window, start server1 by changing
directories to the install_root/bin directory of the original installation and issuing the command.
There is no such command in the /bin directory of the server process:
startServer.sh server1 -profileName Profile02
4. Notice the changes in the environment. Display all of the ports for the machine to see the ports that
you set for the server process. For example, in a Linux bash shell or in the command window on a
Windows platform, type:
netstat -a
5. Open a browser window and point it at the port defined for the HTTP_TRANSPORT_ADMIN port of
the new process. For example, suppose the setting is HTTP_TRANSPORT_ADMIN=20003. Open the
administrative console for server1 by pointing your browser at:
http://hostname_orIP_address:20003/ibm/console/
Scenario: Profile creation for a non-root user: Two methods exist for a non-root user to create a
profile:
v The root user creates the profile and assigns ownership to the non-root user.
v A non-root user creates a profile after getting write permission to the appropriate directories.
Remember: An ease-of-use limitation exists for non-root users who create profiles. Mechanisms within
the Profile creation wizard that suggest unique names and port values are disabled for
non-root users. The non-root user must change the default field values in the Profile creation
wizard for the profile name, node name, cell name, and port assignments. Consider
assigning non-root users a range of values for each of the fields. You can assign
responsibility to the non-root profilers for adhering to their proper value ranges and for
maintaining the integrity of their own definitions.
Root creates the profile and assigns ownership to a non-root user: The root user can create a profile and
assigns ownership of the profile directory to a non-root user.
1. The root user creates the profile with the following command:
./wasprofile.sh -create -profileName profile01 -profilePath install_root/profiles/profile01
2. The root user changes ownership of the directory for the profile to the non-root user with the following
command:
chown -R user1 install_root/profiles/profile01
A non-root user creates the profile (advanced option): The root user can grant write permission to the
appropriate files and directories to a non-root user. The non-root user can then create the profile. You can
After installing the Network Deployment product and creating a deployment manager or application server
profile, you are ready to use the installation verification test (IVT).
The IVT program scans product log files for errors and verifies core functionality of the product installation.
The Profile creation wizard creates profiles. After creating a profile, the Profile creation wizard displays a
prompt for starting the First steps console. The First steps console is unique for each profile. See
“firststeps command” on page 48 for more information.
The IVT program for an application server profile starts and monitors the application server process, which
is the server1 process. The installation verification for a deployment manager profile starts and monitors
the deployment manager process, which is the dmgr process. The IVT works differently for the deployment
manager profile than for a stand-alone application server. On a stand-alone application server, the IVT
queries servlets from the ivtApp application. However, the deployment manager does not have the ivtApp
application, so the IVT looks at log files only.
110 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
1. Start the First steps console and select Installation verification after creating a deployment manager
profile or an application server profile.
No installation verification is possible for a custom profile. After federating the node and using the
deployment manager to create a server, you can start the server process to verify its functionality.
Select the check box to launch the First steps console at the end of profile creation. You can also start
the First steps console from the command line, as described in “firststeps command” on page 48.
You can also start the “ivt command” on page 112 directly from the bin directory of the profile:
v install_root/profiles/profile_name/bin/ivt.sh
v install_root\profiles\profile_name\bin\ivt.bat
If you create profiles in another location, the ivt script location is within the profile_home/bin directory.
2. Observe the results in the First steps status window.
The default log file for installation verification is the install_root/profiles/profile
name/logs/ivtClient.log. If you create profiles in another location, the file path is
profile_home/logs/ivtClient.log.
The IVT provides the following useful information about the application server:
v The application server name
v The name of the profile
v The profile file path
v The type of profile
v The node name
v The current encoding
v The port number for the administrative console
v Various informational messages that include the location of the SystemOut.log file and how many
errors are listed within the file
v A completion message
As the IVT starts the application server on a Windows platform, the IVT attempts to start the Windows
service for the application server, if a Windows service exists. This is true even though the Windows
service might have a manual startup type.
If you federate a stand-alone application server, you can still run the IVT on the server.
The IVT provides the following useful information about the deployment manager:
v The deployment manager server name: dmgr
v The name of the profile
v The profile file path
v The type of profile: dmgr
v The cell name
v The node name
v The current encoding
v The port number for the administrative console
v Various informational messages that include the location of the SystemOut.log file and how many
errors are listed within the file
v A completion message
As the IVT starts the deployment manager on a Windows platform, the IVT attempts to start the
Windows service for the deployment manager if a Windows service exists. This is true even though the
Windows service might have a manual startup type.
See “Automatically restarting server processes” on page 244 for more information.
The IVT program starts the server process automatically if the server is not running. Once the server
initializes, the IVT runs a series of verification tests. The tool displays pass or fail status in a console
window. The tool also logs results to the profile_home/logs/ivtClient.log file. As the IVT verifies your
system, the tool reports any detectable errors in the SystemOut.log file.
Return to the ″Task overview: Installing″ topic in the information center to continue.
ivt command
The ivt command starts the installation verification test (IVT) program. The IVT verifies that the installation
of the application server or deployment manager profile was successful. A profile consists of files that
define the run-time environment for a deployment manager or an application server. Each profile has its
own IVT command.
The IVT program starts the application server or deployment manager automatically if the server process
is not already running. After the server process initializes, the IVT runs a series of verification tests and
displays pass or fail status in a console window.
The IVT program scans the SystemOut.log file for errors and verifies core functionality of the profile.
You can start the IVT program from the command line or from the First steps console.
The location of the ivt.sh or ivt.bat script for any profile is:
v install_root/profiles/profile_name/bin/ivt.sh
v install_root\profiles\profile_name\bin\ivt.bat
Parameters
v install_root/profiles/profile_name/bin/ivt.sh
v install_root\profiles\profile_name\bin\ivt.bat
Logging
The following examples test the server1 process in the profile01 profile on the myhost machine using the
default_host on port 9081.
Configuring ports
This topic discusses configuring ports, particularly in coexistence scenarios.
1. Review “Port number settings in WebSphere Application Server versions.”
This topic provides reference information about identifying port numbers in versions of WebSphere
Application Server, as a means of determining port conflicts that might occur when you intend for an
earlier version to coexist with Version 6.
2. You can change port settings on the port assignment panel while using the Profile creation wizard.
See “Using the Profile creation wizard” on page 54 for more information.
3. After installation, edit the
profiles_install_root/profile_name/config/cells/cell_name/nodes/node_name/serverindex.xml file to
change the port settings, or use scripting to change the values.
See the Administering applications and their environment PDF for more information.
and IHSinstall_ro
IBM HTTPS Server Admin Port IHSinstall_root/conf/
8008 Not applicable
admin.conf
CELL_DISCOVERY_ADDRESS Not applicable 7277
CELL_MULTICAST_DISCOVERY_ADDRESS Not applicable 7272 serverindex.xml
NODE_MULTICAST_IPV6_DISCOVERY_ADDRESS
5001 5001
When you federate an Application Server node into a deployment manager cell, the deployment manager
instantiates the nodeagent server process on the Application Server node. The nodeagent server uses
these port assignments by default:
Table 9. Port definitions for the V6 nodeagent server process
Port name Value File
BOOTSTRAP_ADDRESS 2809
ORB_LISTENER_ADDRESS 9100
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 9901
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 9202
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 9201
NODE_DISCOVERY_ADDRESS 7272 serverindex.xml
NODE_MULTICAST_DISCOVERY_ADDRESS 5000
NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS 5001
DCS_UNICAST_ADDRESS 9353
DRS_CLIENT_ADDRESS 7888
SOAP_CONNECTOR_ADDRESS 8878
114 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Version 5.x port numbers
Table 10. Port definitions for WebSphere Application Server Version 5.x
WebSphere
Network Deployment
Port name Application Server File
Value
HTTP_TRANSPORT 9080 Not applicable
HTTPS Transport Port
9443 Not applicable
(HTTPS_TRANSPORT)
server.xml and
HTTP Admin Console Port virtualhosts.xml
9090 9090
(HTTP_TRANSPORT_ADMIN)
HTTPS Admin Console Secure Port
9043 9043
(HTTPS_TRANSPORT_ADMIN)
Internal JMS Server
5557 Not applicable server.xml
(JMSSERVER_SECURITY_PORT)
JMSSERVER_QUEUED_ADDRESS 5558 Not applicable
serverindex.xml
JMSSERVER_DIRECT_ADDRESS 5559 Not applicable
BOOTSTRAP_ADDRESS 2809 9809 serverindex.xml
SOAP_CONNECTOR-ADDRESS 8880 8879 serverindex.xml
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 0 9401 serverindex.xml
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 0 9403
serverindex.xml
CSIV2_SSL_MULTIAUTH_LISTENER_ADDRESS 0 9402
IBM HTTP Server Port virtualhosts.xml,
plugin-cfg.xml, and
80 Not applicable
IHSinstall_root/conf/
httpd.conf
IBM HTTPS Server Admin Port IHSinstall_root/conf/
8008 Not applicable
admin.conf
CELL_DISCOVERY_ADDRESS Not applicable 7277
ORB_LISTENER_ADDRESS 9100 9100 serverindex.xml
CELL_MULTICAST_DISCOVERY_ADDRESS Not applicable 7272
When you federate an Application Server node into a deployment manager cell, the deployment manager
instantiates the nodeagent server process on the Application Server node. The nodeagent server uses
these port assignments by default:
Table 11. Port definitions for the V5.x nodeagent server process
Port name Value File
BOOTSTRAP_ADDRESS 2809
ORB_LISTENER_ADDRESS 9900
SAS_SSL_SERVERAUTH_LISTENER_ADDRESS 9901
CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS 9101
CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS 9201 serverindex.xml
NODE_DISCOVERY_ADDRESS 7272
NODE_MULTICAST_DISCOVERY_ADDRESS 5000
DRS_CLIENT_ADDRESS 7888
SOAP_CONNECTOR_ADDRESS 8878
For WebSphere Application Server Advanced Single Server Edition, Version 4.0.x: Inspect the
server-cfg.xml file to find the Web container HTTP transports port values for the configuration.
For WebSphere Application Server Advanced Edition, Version 4.0.x: When the administrative server is
running, use this command to extract the configuration from the database:
xmlConfig -export config.xml -nodeName theNodeName
The Web server plug-ins for distributed platform Web servers are provided on a separate CD from the
WebSphere Application Server products. A Web Server Plug-in Installation Wizard is also provided on that
CD. Installing Web server plug-ins describes how to install a Web server plug-in and create a Web server
definition.
1. Install your Web server if it is not already installed. If you want to use an IBM HTTP Server, see
Installing IBM HTTP Server. Otherwise, see the installation information provided with your Web server.
2. Ensure that your Web server is configured to perform operations required by Web applications, such
as GET and POST. Typically, this involves setting a directive in the Web server configuration file (such
as the httpd.conf file for an IBM HTTP Server). Refer to the Web server documentation for instructions.
If an operation is not enabled when a servlet or JSP file requiring the operation is accessed, an error
message displays, such as this one from the IBM HTTP Server:
HTTP method POST is not supported by this URL.
3. Use the Plug-in Installation wizard to install the appropriate plug-in file to your Web server and run the
script configureWeb_server_name created by the wizard to create and configure the Web server
116 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
definition in the WebSphere configuration repository. The following substeps are performed during the
plug-in installation process. See the Plug-in Installation Roadmap for additional information.
a. A node is created. An unmanaged node is created when the Web server is on a different computer
from the Application Server. An unmanaged node is a node that does not have a WebSphere node
agent running on it. Using unmanaged nodes, WebSphere Application Server can represent
servers that are not application servers within its configuration topology. This representation
enables connection information between those servers and application servers to be maintained.
“Managing nodes” on page 149 describes how to create a node.
b. A Web server definitions is created. You can also use either use the administrative console or use
the ConfigureWebServerDefintion.jacl script to create a Web server definition.
If you use the administrative console:
1) Select the node that was created in the preceding step, and in the Server name field, enter the
local name of the Web server for which you are creating a Web server definition.
2) Use the wizard to complete the Web server definition.
c. An application or modules are mapped to a Web server. If an application that you want to use with
this Web server is already installed, the application is automatically mapped to the Web server. If
the application is not installed, select this Web server during the Map modules to servers step of
the application installation process.
d. Master repository is updated and saved.
4. Optional: Configure the plug-in. Use either the administrative console, or issue the “GenPluginCfg
command” on page 872 to create your plugin-cfg.xml file.
When setting up your Web server plug-in, you must decide whether or not to have the configuration
automatically generated in response to a configuration change. When the Web server plug-in
configuration service is enabled and any of the following conditions occur, the plug-in configuration file
is automatically generated:
v When the Web server is created or saved.
v When an application is installed.
v When an application is uninstalled.
v When the virtual host definition is updated
Generating or regenerating the configuration file might take a while to complete. After it finishes, all
objects in the administrative cell use their newest settings, which the Web server can access. If the
Application Server is on the same physical machine as the Web server, the regeneration usually takes
about 30 to 60 seconds to complete. The regeneration takes longer if they are not both on the same
machine.
Important: When the plug-in configuration file is first generated, it does not include admin_host on the
list of virtual hosts. ″Allowing Web servers to access the administrative console″ in the
information center describes how to add it to the list.
To use the administrative console:
a. Select Servers > Web Servers > webserver > plug-in properties.
b. Select Automatically generate plug-in configuration file or click on one or more of the following
topics to manually configure the plugin-cfg.xml file:
v Caching
v Request and response
v Request routing
v Service
Web server plug-in configuration properties maps each property to one of these topics.
c. Click OK.
d. You might need to stop the application server and then start the application server again to enable
the Web server to locate the plugin-cfg.xml file.
The configuration is complete. To activate the configuration, stop and restart the Web server. If you
encounter problems restarting your Web server, check the http_plugin.log file for information on what
portion of the plugin-cfg.xml file contains an error. The log file states the line number on which the error
occurred along with other details that might help you diagnose why the Web server did not start. You can
then use the administrative console to update the plugin-cfg.xml file.
If applications are infrequently installed or uninstalled, which is usually the situation in a production
environment, or if you can tolerate the performance impact of generating and distributing the plug-in
configuration file each time any of the previously listed actions occur, you should consider enabling this
service.
If you are making a series of simultaneous changes, like installing numerous applications, you might want
the configuration service disabled until after you make the last change. The Web server plug-in
configuration service is enabled by default. To disable this service, in the administrative console click elect
Servers > Application Servers > server_name > Administration Services >Web server plug-in
configuration service and then unselect the Enable automated Web server configuration processing
option.
Tip: If your installation uses a firewall, make sure you configure the Web server plug-in to use a port that
has been opened. (See your security administrator for information on how to obtain an open port.
118 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
To view this administrative console page, click Servers > Web Servers >Web_server_name Plug-in
Properties.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when this Web server has accessed applications running on application
servers and there is an http_plugin.log file.
If the file does not exist then it will be created. If the file already exists, it will be opened in append mode
and the previous plug-in log messages will remain.
This field corresponds to the RequestMetrics loggingEnabled element in the plugin-cfg.xml file.
If you select a Web server plug-in during installation, the installer program configures the Web server to
identify the location of the plugin-cfg.xml file, if possible. The Web server is considered installed on a
local machine if it is on the same machine as the application server. It is considered installed on a remote
machine if the Web server and the application server are on different machines.
v If the Web server is installed on a remote machine, the plug-in configuration file, by default, will be
installed in the plugin_install_root/config/web_server_name directory.
v If the Web server is installed on a local standalone machine, the plug-in configuration file, by default will
be installed in the profile_install_root/config/cells/cell_name/nodes/web_server_name
_node/servers/web_server_name directory.
v If the Web server is installed on a local distributed machine, the plug-in configuration file, by default will
be installed in the
profile_install_root/config/cells/cell_name/nodes/node_name/servers/web_server_name directory.
The installer program adds a directive to the Web server configuration that specifies the location of the
plugin-cfg.xml file.
For remote Web servers, you must copy the file from the local directory where the Application Server is
installed to the remote machine. This is known as propagating the plug-in configuration file. If you are
using an IBM HTTP Server (IHS) V6 for your Web server, WebSphere Application Server can automatically
propagate the plug-in configuration file for you to remote machines provided there is a working HTTP
transport mechanism to propagate the file.
If you select a plug-in during installation, the installer program configures the Web server to identify the
location and name of the plugin-cfg.xml file, if possible.
You can change the name of the plug-in configuration file. However, if you do change the file name, you
must also change the Web server configuration to point to the new plug-in configuration file.
When the plug-in configuration service is enabled, a plug-in configuration file is automatically generated for
a Web server whenever:
v The WebSphere Application Server administrator defines new Web server.
v An application is deployed to an Application Server.
v An application is uninstalled.
v A virtual host definition is updated and saved.
Clear the check box if you want to manually generate a plug-in configuration file for this Web server.
Important: When the plug-in configuration file is generated, it does not include admin_host on the list of
virtual hosts. ″Allowing Web servers to access the administrative console″ in the information
center describes how to add it to the list.
Note: The plug-in configuration file can only be automatically propagated to a remote Web server if that
Web server is an IHS V6.0 Web server and its administration server is running.
When set to true, the plug-in ignores DNS failures within a configuration and starts successfully if at least
one server in each ServerCluster is able to resolve the host name. Any server for which the host name
can not be resolved is marked unavailable for the life of the configuration. No attempts to resolve the host
name are made later on during the routing of requests. If a DNS failure occurs, a log message is written to
the plug-in log file and the plug-in initialization continues rather than causing the Web server not to start.
120 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
When false is specified, DNS failures cause the Web server not to start.
In a development environment in which changes are frequent, a lower setting than the default setting of 60
seconds is preferable. In production, a higher value than the default is preferable because updates to the
configuration will not occur so often. If the plug-in reload fails for some reason, a message is written to the
plug-in log file and the previous configuration is used until the plug-in configuration file successfully
reloads. If you are not seeing the changes you made to your plug-in configuration, check the plug-in log
file for indications of the problem.
Plug-in logging
Specifies the location and name of the http_plugin.log file. Also specifies the scope of messages in the
log.
This field corresponds to the RequestMetrics traceLevel element in the plugin-cfg.xml file.
The log describes the location and level of log messages that are written by the plug-in. If a log is not
specified within the configuration file, then, in some cases, log messages are written to the Web server
error log.
On a distributed platform, if the log file does not exist then it will be created. If the log file already exists, it
will be opened in append mode and the previous plug-in log messages will remain.
Log file name - The fully qualified path to the log file to which the plug-in will write error messages.
Log level- The level of detail of the log messages that the plug-in should write to the log. You can specify
one of the following values for this attribute:
v Trace. All of the steps in the request process are logged in detail.
v Stats. The server selected for each request and other load balancing information relating to request
handling is logged.
v Warn. All warning and error messages resulting from abnormal request processing are logged.
v Error. Only error messages resulting from abnormal request processing are logged.
Be careful when setting the level to Trace. A lot of messages are logged at this level which can cause the
disk space/file system to fill up very quickly. A Trace setting should never be used in a normally functioning
environment as it adversely affects performance.
To view this administrative console page, click Servers > Web Servers >web_server_name Plug-in
Properties > Request and Response.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when this Web server has accessed applications running on application
servers and there is an http_plugin.log file.
Specifies the maximum chunk size the plug-in can use when reading the response body.
The plug-in reads the response body in 64K chunks until all of the response data is read. This approach
causes a performance problem for requests whose response body contains large amounts of data.
If the content length of the response body is unknown, the values specified for this property is used as the
size of the buffer that is allocated. The response body is then read in this size chunks, until the entire body
is read. If the content length is known, then a buffer size of either the content length or the specified size
(whichever is less) is used to read the response body.
When checked, the Nagle algorithm is enabled for connections between the plug-in and the Application
Server.
The Nagle algorithm is named after engineer John Nagle, who invented this standard part of the
transmission control protocol/internet protocol (TCP/IP). The algorithm reduces network overhead by
adding a transmission delay (usually 20 milliseconds) to a small packet, which lets other small packets
arrive and be included in the transmission. Because communications has an associated cost that is not as
dependent on packet size as it is on frequency of transmission, this algorithm potentially reduces overhead
with a more efficient number of transmissions.
When checked, the Nagle algorithm is used for connections from the Microsoft Internet Informations
Services (IIS) Web Server to the Application Server.
122 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
This field corresponds to the IHSDisableNagle element in the plugin-cfg.xml file. It only appears if you are
using the Microsoft Internet Informations Services (IIS) Web server. Clear the check box to disable the
Nagle algorithm for this connection.
When checked, responses to the client are broken into chunks if a Transfer-Encoding : Chunked
response header is present in the response.
This field corresponds to the ChunkedResponse element in the plugin-cfg.xml file. It only appears if you
are using a Microsoft Internet Informations Services (IIS) Web Server, a Java System Web server, or a
Domino Web server. The IHS Web server automatically handles breaking the response into chunks to
send to the client.
Clear the check box to if you do not want responses broken into chunks.
Accept content for all requests: This field corresponds to the AcceptAllContent element in the
plugin-cfg.xml file.
When selected, users can include content in POST, PUT, GET, and HEAD requests when a
Content-Length or Transfer-encoding header is contained in the request header.
When selected, virtual host mapping is performed by physically using the port number for which the
request was received.
If this field is not selected, matching is done logically using the port number contained in the host header.
Use the radio buttons to make your physical or logical port selection.
Specifies which port number the Application Server should use to build URI’s for a sendRedirect.
Specify:
v webserverPort if the port number from the host header of the HTTP request coming in is to be used.
v hostHeader if the port number on which the Web server received the request is to be used.
Priority used by the IIS Web server when loading the plug-in configuration file:
Specifies the priority in which the Microsoft Internet Informations Services (IIS) Web server loads the
WebSphere Web server plug-in.
This field corresponds to the IISPluginPriority element in the plugin-cfg.xml file. It only appears if you are
using the IIS Web server. Because the IIS Web server uses this value during startup, the Web server must
be restarted before a change to this field takes effect.
The default value of High ensures that all requests are handled by the Web server plug-in before they are
handled by any other filter/extensions. If problems occur while using a priority of Medium or Low, you will
have to rearrange the order or change the priority of the interfering filter/extension.
To view this administrative console page, click Servers > Web Servers >Web_server_name Plug-in
Properties > Caching Properties.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when this Web server has accessed applications running on application
servers and there is an http_plugin.log file.
Specifies whether to enable Edge Side Include processing to cache the responses.
When selected, Edge Side Include (ESI) processing is used to cache responses. If ESI processing is
disabled for the plug-in, the other ESI plug-in properties are ignored. Clear the checkbox to disable Edge
Side Include processing.
When checked, the ESI processor receives invalidations from the Application Server.
This field corresponds to the ESIInvalidationMonitor element in the plugin-cfg.xml file. It is ignored if Edge
Side Include (ESI) processing is not enabled for the plug-in.
Specifies, in 1K byte units, the maximum size of the cache. The default maximum size of the cache is
1024K bytes (1 megabyte). If the cache is full, the first entry to be evicted from the cache is the entry that
is closest its expiration time.
To view this administrative console page, click Servers > Web Servers >Web_server_name Plug-in
Properties > Plug-in server_cluster_name Properties.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
124 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The Runtime tab is available only when this Web server has accessed applications running on application
servers and there is an http_plugin.log file.
Specifies the load balancing option that the plug-in uses in sending requests to the various application
servers associated with that Web server.
The Round Robin implementation has a random starting point. The first application server is picked
randomly. Round Robin is then used to pick application servers from that point forward. This
implementation ensures that in multiple process based Web servers, all of the processes don’t start up by
sending the first request to the same Application Server.
Retry interval:
Specifies the length of time, in seconds, that should elapse from the time an application server is marked
down to the time that the plug-in retries a connection.
Select whether there is a limit on the size of request content. If limited, this field also specifies the
maximum number of bytes of request content allowed in order for the plug-in to attempt to send the
request to an application server.
When a limit is set, the plug-in fails any request that is received that is greater than the specified limit.
The plug-in adds special headers to the request before it is forwarded to the application server. These
headers store information about the request that will need to be used by the application. Not removing the
headers from incoming requests introduces a potential security exposure.
When checked, the plug-in expects the plus character (+) as the clone separator.
Some pervasive devices cannot handle the colon character (:) used to separate clone IDs in conjunction
with session affinity. If this field is checked, you must also change the configurations of the associated
application servers such that the application servers separates clone IDs with the plus character as well.
Clear the checkbox to use the colon character to separate clone IDs.
Following is a list of Web server plug-in custom properties that are provided with the Application Server.
These properties are not shown on the properties settings pages for the plug-in.
StashfileLocation
Use this element to set a value for the stashfile initialization parameter.
KeyringLocation
Use this element to set a value for the keyring initialization parameter.
126 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Web server plug-in configuration service properties settings
Use this page to view or change the configuration settings for the Web server plug-in configuration service.
To view this administrative console page, click Application Servers >server_name > Administration
Services > Web server plug-in configuration service.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
To view this administrative console page, click Application Servers >server_name > Web Server Plug-in.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when this Web server has accessed applications running on application
servers and there is an http_plugin.log file.
Server role
Specifies the role this application server is assigned.
Select Primary to add this application server to the list of primary application servers. The plug-in initially
attempts to route requests to the application servers on this list.
Select Backup to add this application server to the list of backup application servers. The plug-in does not
load balance across the backup application servers. A backup server is only used if a primary server is not
available. When the plug-in determines that a backup application server is required, it goes through the list
of backup servers, in order, until no servers are left in the list or until a request is successfully sent and a
response received from one of the servers on this list.
Connect timeout
Specifies whether or not there is a limited amount of time the Application Server will maintain a connection
with the Web server.
You can select either No timeout or Set timeout. If you select Set timeout you, must specify, in seconds,
the length of time a connection with the Web server is to be maintained.
This property enables the plug-in to perform non-blocking connections with the application server.
Non-blocking connections are beneficial when the plug-in is unable to contact the destination to determine
whether or not the port is available. If no value is specified for this property, the plug-in performs a
blocking connect in which the plug-in sits until an operating system times out (which could be as long as 2
minutes depending on the platform) and allows the plug-in to mark the server unavailable.
You can select either No limit or Set limit. If you select Set limit you, must specify the maximum number
of connections that can exist between the Web server and the Application Server at any given point in
time.
In this example, the application server could potentially get up to 500 connections. (You take the number
of nodes, 5, multiply it by the number of processes, 2, and then multiply that number by the number
specified for this property, 50, for a total of 500 connections.)
If this attribute is set to either zero or -1, there is no limit to the number of pending connections to the
Application Servers.
Select this property if a proxy firewall is between the plug-in and the application server.
The plug-in marks a server as down when the connect() fails. However, when a proxy firewall is in
between the plug-in and the application server, the connect() will succeed, even though the back end
application server is down. This causes the plug-in to not failover correctly to other application servers.
If the plug-in performs some handshaking with the application server to ensure that it is started before it
sends a request it can failover to another application server if it detects that the application server with
which it is attempting to perform a handshake is down.
Send the header ″100 Continue″ before sending the request content
This field corresponds to the WaitForContinue element in the plugin-cfg.xml file.
When selected, the Web server plug-in will send the header ″100 Continue″ to the Application Server
before it sends the request content.
128 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Web server plug-in configuration properties
The following table indicates which panel in the administrative console you need to use to manually
configure a Web server plug-in property.
Table 13. Web server plug-in configuration properties
Administrative console panel Field name Configuration property name
In the administrative console, click Refresh configuration interval RefreshInterval
Servers > Web Servers
>Web_server_name > Plug-in
properties
In the administrative console, click Plug-in log file name Log->name
Servers > Web Servers >
Web_server_name > Plug-in
properties
In the administrative console, click Plug-in logging Log->LogLevel
Servers > Web Servers >
Web_server_name > Plug-in
properties
In the administrative console, click Ignore DNS failures during Web IgnoreDNSFailures
Servers > Web Servers > server startup
Web_server_name > Plug-in
properties
In the administrative console, click KeyringLocation Keyring
Servers > Web Servers >
Web_server_name > Plug-in
properties > Custom properties >
New
In the administrative console, click StashfileLocation Stashfile
Servers > Web Servers >
Web_server_name > Plug-in
properties > Custom properties >
New
In the administrative console, click Load balancing option LoadBalance
Servers > Web Servers >
Web_server_name > Plug-in
properties > Request routing
In the administrative console, click Clone separator change CloneSeparatorChange
Servers > Web Servers >
Web_server_name > Plug-in
properties > Request Routing
In the administrative console, click Retry interval RetryInterval
Servers > Web Servers >
Web_server_name > Plug-in
properties > Request Routing
In the administrative console, click Maximum size of request content PostSizeLimit
Servers >Web server_name >
Plug-in properties > Request
routing
In the administrative console, click Remove special headers RemoveSpecialHeaders
Servers > Web Servers >
Web_server_name > Plug-in
properties > Request routing
130 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Table 13. Web server plug-in configuration properties (continued)
In the administrative console, click Priority used by the IIS Web server IISPluginPriority
Servers > Web Servers > when loading the plug-in configuration
Web_server_name > Plug-in file
properties > Request and
Response
In the administrative console, click Enable Edge Side Include (ESI) ESIEnable
Servers > Web Servers > processing to cache the responses
Web_server_name > Plug-in
properties > Caching
In the administrative console, click Maximum cache size ESIMaxCacheSize
Servers > Web Servers >
Web_server_name > Plug-in
properties > Caching
In the administrative console, click Enable invalidation monitor to receive ESIInvalidationMonitor
Servers > Web Servers > notifications
Web_server_name > Plug-in
properties > Caching
When the plug-in is ready to send a request to the application server, it first checks its connection pool for
existing connections. If an existing connection is available the plug-in checks its connection status. If the
status is still good, the plug-in uses that connection to send the request. If a connection does not exist, the
plug-in creates one. If a connection exists but has been closed by the application server, the plug-in closes
that connection and opens a new one.
After a connection is established between a plug-in and an application server, it will not be closed unless
the application server closes it for one of the following reasons:
v If the Use Keep-Alive property is selected and the time limit specified on the Read timeout or Write
timeout property for the HTTP inbound channel has expired.
v The maximum number of persistent requests which can be processed on an HTTP inbound channel has
been exceeded. (This number is set using the HTTP inbound channel’s Maximum persistent requests
property.)
v The Application Server is shutting down.
Even if the application server closes a connection, the plug-in will not know that it has been closed until it
tries to use it again. The connection will be closed if one of the following events occur:
v The plug-in receives a new HTTP request and tries to reuse the existing connection.
v The number of httpd processes drop because the Web server is not receiving any new HTTP requests.
(For the IHS Web server, the number of httpd processes that are kept alive depends on the value
specified on the Web server’s MinSpareServers directive.)
v The Web server is stopped and all httpd processes are terminated, and their corresponding sockets are
closed.
Note: Sometimes, if a heavy request load is stopped or decreased abruptly on a particular application
server, a lot of the plug-in’s connections to that application server will be in CLOSE_WAIT state.
Because these connections will be closed the first time the plug-in tries to reuse them, having a
large number of connections in CLOSE-WAIT state should not affect performance
If the private header is not being set in the Sun One, IIS, or Domino Web server plug-in, make sure the
request record includes information about the user requesting the data.
Note: If an application’s call to getRemoteUser() returns a null value, or if the correct remote user
information is not being added to the Web server plug-in’s data structure, make sure the remote
user parameter within the WebAgent is still set to YES. (Sometimes this parameter gets set to NO
when service is applied.)
A Web server plug-in is used to forward HTTP requests from a supported Web server to an application
server. Using a Web server plug-in to provide communication between a Web server and an application
server has the following advantages:
v XML-based configuration file
v Standard protocol recognized by firewall products
v Security using HTTPS, replacing proprietary Open Servlet Engine (OSE) over Secure Sockets Layer
(SSL)
Each of the supported distributed platform Web server plug-ins run on a number of operating systems.
See Supported Hardware and Software at
http://www.ibm.com/software/webservers/appserv/doc/latest/prereq.htmlfor the product for the most
current information about supported Web servers.
132 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
2. Find the subdirectory that contains apache.exe (on a Windows platforms) or apachectl (on a
UNIX-based platforms, such as z/OS, Solaris, Linux, and HP-UX)
3. On a Windows platform, issue:
apache.exe -V
4. On a UNIX-based platforms issue:
./apachectl -V 4
The version is shown in the ″Server version:″ field and will looks something like the following:
Server version: IBM_HTTP_Server/2.0.47 Apache/2.0.47
Server built: July 2 2004 20:38:36
Server’s Module Magic Number: 20020903:4.
134 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
e. (Optional) If the browser supports refresh, go to http://your_host/server-
status?refresh=5 to refresh every five seconds. You will see five requests currently
processing 45 idle servers.
- Default value: 250 for IBM HTTP Server V6.0.
- Recommended value: Set this value to prevent bottlenecks, allowing just enough traffic through
to the application server.
– Web server configuration reload interval
- Description: Tracks a variety of configuration information about WebSphere Application Server
resources. The Web server needs to understand some of this information, such as Uniform
Resource Identifiers (URIs) pointing to WebSphere Application Server resources. This
configuration data is pushed to the Web server through the WebSphere Application Server plug-in
at intervals specified by this parameter. Periodic updates add new servlet definitions without
having to restart any of the WebSphere Application Server servers. However, the dynamic
regeneration of this configuration information is costly in terms of performance. Adjust this
parameter in a stable production environment.
- How to view or set:Use the Refresh configuration interval Web server plug-in property to change
the current setting for this parameter. In the administrative console, click Servers > Web Servers
>Web_server_name > Plug-in properties.
- Default value: The default reload interval is 60 seconds.
- Recommended value: Increase the reload interval to a value that represents an acceptable wait
time between the servlet update and the Web server update.
For more information about the plugin-cfg.xml file see the topic “Web server plug-ins” on page 132.
v Sun Java System Web server, Enterprise Edition (formerly Sun ONE) - Solaris operating
environment
The default configuration of the Sun ONE Web server, Enterprise Edition provides a single-process,
multi-threaded server.
– Active threads
- Description: Specifies the current number of threads active in the server. After the server reaches
the limit set with this parameter, the server stops servicing new connections until it finishes old
connections. If this setting is too low, the server can become throttled, resulting in degraded
response times. To tell if the Web server is being throttled, consult its perfdump statistics. Look at
the following data:
v WaitingThreads count: If WaitingThreads count is getting close to zero, or is zero, the server
is not accepting new connections.
v BusyThreads count: If the WaitingThreads count is close to zero, or is zero, BusyThreads is
probably very close to its limit.
v ActiveThreads count: If ActiveThreads count is close to its limit, the server is probably limiting
itself.
- How to view or set: Use the Maximum number of simultaneous requests parameter in the
Enterprise Server Manager interface to control the number of active threads within Sun ONE Web
server, Enterprise Edition. This setting corresponds to the RqThrottle parameter in the
magnus.conf file.
- Default value: 512
- Recommended value: Increase the thread count until the active threads parameters show
optimum behavior.
v Microsoft Internet Information Server (IIS) - Windows NT and Windows 2000
– IIS permission properties
- Description: The Web server has several properties that dramatically affect the performance of
the application server. The default settings are usually acceptable. However, because other
products can change the default settings without user knowledge, make sure to check the IIS
settings for the Home Directory permissions of the Web server. The permissions should be set to
Script and not to Execute. If the permissions are set to Execute, no error messages are returned,
but the performance of WebSphere Application Server is decreased.
- How to view or set: To check or change these permissions, perform the following procedure in
the Microsoft management console:
You can improve the performance of IBM HTTP Server V6.0 (with the WebSphere Web server plug-in) by
modifying the plug-in’s RetryInterval configuration. The RetryInterval is the length of time to wait before
trying to connect to a server that has been marked temporarily unavailable. Making this change can help
the IBM HTTP Server V6.0 to scale higher than 400 users.
The plug-in marks a server temporarily unavailable if the connection to the server fails. Although a default
value is 60 seconds, it is recommended that you lower this value in order to increase throughput under
heavy load conditions. Lowering the RetryInterval is important for IBM HTTP Server V6.0 on UNIX
operating systems that have a single thread per process, or for IBM HTTP Server 2.0 if it is configured to
have fewer than 10 threads per process.
How can lowering the RetryInterval affect throughput? If the plug-in attempts to connect to a particular
application server while the application server threads are busy handling other connections, which
happens under heavy load conditions, the connection times out and the plug-in marks the server
temporarily unavailable. If the same plug-in process has other connections open to the same server and a
response is received on one of these connections, the server is marked again. However, when you use
the IBM HTTP Server V6.0 on a UNIX operating system, there is no other connection since there is only
one thread and one concurrent request per plug-in process. Therefore, the plug-in waits for the
RetryInterval before attempting to connect to the server again.
136 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Since the application server is not really down, but is busy, requests are typically completed in a small
amount of time. The application server threads become available to accept more connections. A large
RetryInterval causes application servers that are marked temporarily unavailable, resulting in more
consistent application server CPU utilization and a higher sustained throughput.
Note: Although lowering the RetryInterval can improve performance, if all the application servers are
running, a low value can have an adverse affect when one of the application servers is down. In
this case, each IBM HTTP Server V6.0 process attempts to connect and fail more frequently,
resulting in increased latency and decreased overall throughput.
These links are provided for convenience. Often, the information is not specific to the IBM WebSphere
Application Server product, but is useful all or in part for understanding the product. When possible, links
are provided to technical papers and Redbooks that supplement the broad coverage of the release
documentation with in-depth examinations of particular product areas.
During normal operation, the backlog of connections pending to an application server is bound to grow.
Therefore, balancing workloads among application servers in a network fronted by a Web server plug-in
helps improve request response time.
In a distributed environment, you can limit the number of connections that can be handled by an
applications server. To do this:
1. Go to the Servers > Application Servers >server_name.
2. Under Additional Properties, click > Web Server Plug-in properties .
3. Select Set limit for the Minimum number of connections that can be handled by the Application Server
field.
4. Specify in the Connections field the maximum number of connections you want to allow.
5. Then click Apply and Save.
The capacity of the application servers in the network determines the value you specify for the maximum
number of connections. The ideal scenario is for all of the application servers in the network to be
optimally utilized. For example, if you have the following environment:
v There are 10 application servers in a cluster.
v All of these application servers host the same applications (that is, Application_1 and Application_2).
v This cluster of application servers is fronted by five IBM HTTP Servers.
v The IBM HTTP Servers get requests through a load balancer.
v Application_1 takes approximately 60 seconds to respond to a request
v Application_2 takes approximately 1 second to respond to a request.
Depending on the request arrival pattern, all requests to Application_1 might be forwarded to two of the
application servers, say Appsvr_1 and Appsvr_2. If the arrival rate is faster than the processing rate, the
number of pending requests to Appsvr_1 and Appsvr_2 can grow.
Eventually, Appsvr_1 and Appsvr_2 are busy and are not able to respond to future requests. It usually
takes a long time to recover from this overloaded situation.
If you want to maintain 2500 connections, and optimally utilize the Application Servers in this example, set
the number of maximum connections allowed to 50. (This value is arrived at by dividing the number of
connections by the result of multiplying the number of Application Servers by the number of Web servers;
in this example, 2500/(10x5)=50.)
Limiting the number of connections that can be established with an application server works best for Web
servers that follow the threading model instead of the process model, and only one process is started.
The IBM HTTP Server V6.0.x follows the threading model. To prevent the IBM HTTP Server from starting
more than one process, change the following properties in the Web server configuration file (httpd.conf)
to the indicated values:
ServerLimit 1
ThreadLimit 4000
StartServers 1
MaxClients 1024
MinSpareThreads 1
MaxSpareThreads 1024
ThreadsPerChild 1024
MaxRequestsPerChild 0
If you use the default settings for a Microsoft Windows operating system, you might encounter Web server
plug-in performance problems if you are running in a high stress environment. To avoid these problems,
consider tuning the the TCP/IP setting for this operating system. Two of the keys setting to tune are
TcpTimedWaitDelay and MaxUserPort.
To tune the TcpTimedWaitDelay setting, change the value of the tcp_time_wait_interval parameter from the
default value of 240 seconds, to 30 seconds:
1. Locate in the Windows Registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay
138 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
If this entry does not exist in your Windows Registry, create it by editing this entry as a new DWORD
item.
2. Specify, in seconds, a value between 30 and 300 inclusive for this entry. (It is recommended that you
specify a value of 30. )
If this entry does not exist in your Windows Registry, create it by editing this entry as a new DWORD
item.
2. Set the maximum number of ports to a value between 5000 and 65534 ports, inclusive. (It is
recommended that you specify a value of 65534,)
See the Microsoft Web site for more information about these settings.
Cells
Cells are logical groupings of one or more nodes in a WebSphere Application Server distributed network.
A cell is a configuration concept, a way for administrators to logically associate nodes with one another.
Administrators define the nodes that make up a cell, according to the specific criteria that make sense in
their organizational environments.
Administrative configuration data is stored in XML files. A cell retains master configuration files for each
server in every node in the cell. Each node and server also have their own local configuration files.
Changes to a local node or to a server configuration file are temporary, if the server belongs to the cell.
While in effect, local changes override cell configurations. Changes to the master server and master node
configuration files made at the cell level replace any temporary changes made at the node when the cell
configuration documents are synchronized to the nodes. Synchronization occurs at designated events,
such as when a server starts.
Note: Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now
supported by WebSphere Application Server, but there are restrictions that apply to using both
IPv4 and IPv6 in the same cell. Note that when you add a node to a cell, the format in which
you specify the host name is based on the version of IP the node will be using. For details, see
“IP version considerations for cells.”
In response, WebSphere Application Server Version 6 now includes support for IPv6, in addition to
continued support for IPv4. This means that nodes running WepSphere Application Server Version 6 can
use IPv6. (However, note that nodes running WebSphere Application Server Version 5.x cannot use IPv6.)
WebSphere Application Server Version 6 supports a dual mode environment in which you can have older
legacy applications running on IPv4 and IPv6-enabled applications running on IPv6. Note, however, that
there are restrictions on using IPv4 and IPv6 in the same cell. This article documents those restrictions as
well as outlines the ways in which you can set up your cells, depending on the version of IP that you will
be using.
In a dual mode cell, mixed IPv4 and IPv6 communications are supported. By default, a cell is set to dual
mode when it is created. Note, however, that only nodes running WebSphere Application Server Version 6
are valid in a dual mode cell.
IPv4 and IPv6 nodes cannot communicate with each other, so the purpose of the dual mode cell is to
enable this communication, thereby allowing you to use your existing applications, running over IPv4, with
newer applications that have been enabled for IPv6.
140 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Dual mode cell
Node D Node E
WebSphere WebSphere
IPv4 Application IPv4 Application
Server v6.0 Server v6.0
IPv4-only cell
IPv4-only cell
Cell (IPv4)
Node D Node E
WebSphere WebSphere
IPv4 Application IPv4 Application
Server V5.x Server V5.x
Note: If you want to run a combination of WebSphere Application Server Version 5.x and WebSphere
Application Server Version 6.0 nodes over IPv4, see the section on setting up a mixed node cell,
below.
A mixed node cell consists of some nodes running WebSphere Application Server Version 5.x and other
nodes running WebSphere Application Server Version 6. In a mixed node cell, all nodes must use IPv4.
When defining a node that will be used in a mixed node cell, you must specify the host name as a string
or as a 32-bit numerical address, regardless of whether the node is running WebSphere Application Server
Version 5.x or WebSphere Application Server Version 6. 128-bit numerical addresses may not be
specified.
Cell (IPv4)
Node D Node E
WebSphere WebSphere
IPv4 Application IPv4 Application
Server V6.0 Server V6.0
In a mixed node cell, even though the WebSphere Application Server Version 6 nodes will be configured to
use IPv4, the operating system running on them can still support both IPv4 and IPv6. This is true as long
as the WebSphere Application Server Version 6 nodes are configured with string-based host names or
32-bit numerical addresses.
Note also, that you can only add Version 5.x nodes into a mixed node cell through migration. You first
need to migrate from a Version 5.x Deployment Manager to a Version 6.0 Deployment Manager, and then
either keep the Version 5.x nodes or migrate them to Version 6.0 nodes.
IPv6-only cell
Cell (IPv6)
Node D Node E
WebSphere WebSphere
IPv6 Application IPv6 Application
Server V6.0 Server V6.0
During the installation of WebSphere Application Server, you are asked to provide the host name or IP
address of the machine on which the installation is being carried out in the Host Name or IP address field.
The host name or IP address that you specify is used to advertise this installation to all other WebSphere
Application Server installations in the cell configurations. All nodes in the cell will use the host names or IP
addresses that are defined in this way to reach each other. In general, it is best to always use a host
name to identify a WebSphere Application Server installation. By using a host name, you will not have to
be concerned about which IP address is being used (32-bit versus 128-bit), whether it runs on IPv4 or
IPv6, and so on. As long as the DNS service is properly configured, the nodes should all be able to work
together.
However, if you prefer, you can control which IP stack or address is used. To do this, enter the specific IP
address (32-bit for IPv4 or 128-bit for IPv6) into the Host Name or IP Address field. This installation will
then be identified with this IP address and other WebSphere Application Server nodes will use this IP
address to communicate with this node.
When specifying IPv6 addresses, it is good practice to always surround them with protective square
brackets. For example, [fe80::202:57ff:fec4:2334]. The reason for this is that in system internal
processing, IP addresses are often combined with port numbers in the form of <IP address>:<port
number> , and the colons in IPv6 addresses could be confusing in such circumstances. Note that you
cannot use IPv6 addresses, including IPv6 addresses surrounded by square brackets, within the
administrative console or the install wizard.
Note that in scripting, the square brackets might have special meaning, depending on the language
binding used (for example, Jacl). You can work around this problem by using a special escape character in
front of the opening and closing brackets. Using the Jacl binding, for example, the same IPv6 address
cited earlier can be entered as \[fe80::202:57ff:fec4:2334\]
Multicast configuration
WebSphere Application Server uses multicast broadcasting at the node level to allow a node agent to
discover the managed processes in the node. IPv4 and IPv6 addresses are not compatible. Therefore, to
allow a WebSphere Application Server node installation to run out-of-the-box, both IPv4 and IPv6 multicast
addresses are initially defined in the node agent configuration, and when a node agent starts, both
addresses will be tried in sequence. It is a good idea to delete either
NODE_MULTICAST_DISCOVERY_ADDRESS or NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS
after installation. By that time, you should know whether the node is running IPv4 or IPv6, so by limiting
multicast discovery to the known protocol, the node agent runs more efficiently.
To delete one of the multicast ports using the Administrative Console, do the following:
1. Click System Administration --> Node Agents.
2. Select the node agent.
3. On the next panel, under Additional Properties, select Ports. The next panel shows a list of existing
ports.
4. Select either NODE_MULTICAST_DISCOVERY_ADDRESS (to delete IPv4) or
NODE_IPV6_MULTICAST_DISCOVERY_ADDRESS (to delete IPv6).
5. Click Delete.
JVM settings
Cell settings
Use this page to set the discovery protocol and address end point for an existing cell. A cell is a
configuration concept, a way for an administrator to logically associate nodes according to whatever
criteria make sense in the administrator’s organizational environment.
To view this administrative console page, click System Administration > Cell.
Name:
Short Name:
Specifies the short name of the cell. The name is 1-8 characters, alphanumeric or national language. It
cannot start with a numeric.
The short name property is read only. It was defined during installation and customization.
144 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Specifies the protocol that the cell follows to retrieve information from a network.
Default TCP
Deployment managers
Deployment managers are administrative agents that provide a centralized management view for all nodes
in a cell, as well as management of clusters and workload balancing of application servers across one or
several nodes in some editions.
A deployment manager hosts the administrative console. A deployment manager provides a single, central
point of administrative control for all elements of the entire WebSphere Application Server distributed cell.
Each cell contains one deployment manager.
If global security is enabled, the user registry must not be Local OS. Using the Local OS user registry
requires the dmgr process to run as root. If you are attempting to run a deployment manager as root in
WebSphere Application Server Version 6 when you previously used a non-root user ID on Linux and UNIX
platforms in Version 5.x, see ″Migrating a previously non-root configuration to root″ in the information
center.
By default, the Network Deployment product on Linux platforms uses the root user to run the deployment
manager, which is the dmgr process. You can use a non-root user to run the deployment manager. You
might want to change to a non-root user ID for security or administrative reasons.
Perform this task to change the permissions for the deployment manager. Restart the deployment
manager for the changes to take effect.
./startManager.sh
4. Start the administrative console.
5. Define the dmgr process to run as a wasadmin process.
Click System Administration > Deployment manager > Server Infrastructure > Java and
Process Management > Process Definition > Additional Properties > Process Execution and
change all of these values:
Property Value
Run As User wasadmin
Run As Group wasgroup
UMASK 022
where the value 022 means the files the process creates
are writable by the group and by others as defined on the
Linux or UNIX platforms
./startManager.sh
146 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Deployment manager settings
Use this page to stop the deployment manager from running, and to link to other pages which you can use
to define additional properties for the deployment manager. A deployment manager provides a single,
central point of administrative control for all elements of the entire WebSphere Application Server
distributed cell.
To view this administrative console page, click System Administration > Deployment Manager.
Name:
Specifies a logical name for the deployment manager. The name must be unique within the cell.
Short name:
The server short name must be unique within a cell. The short name identifies the server to the native
facilities of the operating system, such as Workload Manager (WLM), Automatic Restart Manager, SAF (for
example, RACF), started task control, and others.
The name is 1-8 characters, alpha numeric or national language. It cannot start with a numeric.
Unique Id:
The unique ID property is read only. The system automatically generates the value.
Process ID:
Cell Name:
Specifies the name of the cell for the deployment manager. The default is the name of the host computer
on which the deployment manager is installed with Cell## appended, where ## is a two-digit number.
Node Name:
State:
Indicates the state of the deployment manager. The state is Started when the deployment manager is
running and Stopped when it is not running.
Node
A node is a logical grouping of managed servers.
A node usually corresponds to a logical or physical computer system with a distinct IP host address.
Nodes cannot span multiple computers. Node names usually are identical to the host name for the
computer.
Nodes in the network deployment topology can be managed or unmanaged. Two types of managed nodes
exist while one type of unmanaged node exists.
One type of managed node has a node agent which manages all servers on a node, whether the servers
are WebSphere Application Servers, Java Message Service (JMS) servers (on Version 5 nodes only), Web
servers, or generic servers. The node agent represents the node in the management cell. A deployment
manager manages this type of managed node. The other type of managed node has no node agent. This
type of managed node is defined on a standalone Application Server. The deployment manager cannot
manage this standalone Application Server. An standalone Application Server can be federated. When it is
federated, a node agent is automatically created. The node becomes a managed node in the cell. The
deployment manager manages this node.
An unmanaged node does not have a node agent to manage its servers. Unmanaged nodes can have
server definitions such as Web servers in the WebSphere Application Server topology. Unmanaged nodes
can never be federated. That is, a node agent can never be added to an unmanaged node.
A supported Web server can be on a managed node or an unmanaged node. You can define only one
Web server to a standalone WebSphere Application Server node. This Web server is defined on an
unmanaged node. You can define Web servers to the deployment manager. These Web servers can be
defined on managed or unmanaged nodes.
WebSphere Application Server supports basic administrative functions for all supported Web servers. For
example, generation of a plug-in configuration can be performed for all Web servers. However,
propagation of a plug-in configuration to remote Web servers is supported only for IBM HTTP Servers that
are defined on an unmanaged node. If the Web server is defined on a managed node, propagation of the
plug-in configuration is done for all the Web servers by using node synchronization. The Web server
plug-in configuration file is created according to the Web server definition and is created based on the list
of applications that are deployed on the Web server. You can also map all supported Web servers as
potential targets for the modules during application deployment.
148 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
WebSphere Application Server supports some additional administrative console tasks for IBM HTTP
Servers on managed and unmanaged nodes. For instance, you can start IBM HTTP Servers, stop them,
terminate them, display their log files, and edit their configuration files.
You can add managed and unmanaged nodes to a network deployment cell in one of the following ways:
v Administrative console
v Command line (managed nodes only)
v Administrative script
v Java program
Each of these methods for adding a managed node to a network deployment cell includes the option of
specifying a target node group for the managed node to join. If you do not specify a node group, or you do
not have the option of specifying a node group, the default node group of DefaultNodeGroup is the target
node group.
Whether you specify an explicit node group or accept the default, the node group membership rules must
be satisfied. If the node you are adding does not satisfy the node group membership rules for the target
node group, the add node operation fails with an error message.
Managing nodes
This article describes how to add a node, select the discovery protocol for a node, define a custom
property for a node, stop servers on a node, and remove a node.
A node is a grouping of managed or unmanaged servers. You can add both managed and unmanaged
nodes to the WebSphere Application Server topology. If you add a new node for an existing WebSphere
Application Server to the network deployment cell, you add a managed node. If you create a new node in
the topology for managing Web servers or servers other than WebSphere Application Servers, you add an
unmanaged node.
To view information about nodes and manage nodes, use the Nodes page. To access the Nodes page,
click System Administration > Nodes in the console navigation tree.
You can manage nodes on an application server through the wsadmin scripting tool, through the Java
application programming interfaces (APIs), or through the administrative console. Perform the following
tasks to manage nodes on an application server through the administrative console.
v Add a node.
1. Go to the Nodes page and click Add Node. Choose whether you want to add a managed or
unmanaged node, and click Next.
2. For a managed node, verify that an application server is running on the remote host for the node
that you are adding. On the Add Node page, specify a host name, connector type, and port for the
application server at the node you are adding.
3. For a managed node, do one of the following sets of actions in the table:
If the deployment manager is on And the node that you add to the Complete the appropriate set of
cell is on actions:
The distributed platform The distributed platform Optionally specify a node group and a
core group. Click OK.
For the node group option to display, a group other than the default node group must first be
created. Likewise, for the core group option to display, a group other than the default core group
must first be created.
4. For managed nodes, another administrative console panel is displayed if the node to federate is on
a Windows operating system. Specify on the panel whether you want to register the node agent to
run as a Windows service. If security is enabled, you can optionally enter the local operating system
user name and password under which you will run the service. If you do not specify a user name
and password, the service runs under the local system identity. When you run remove the node, the
node agent is de-registered as a Window service.
5. For an unmanaged node, on the Nodes > New page, specify a node name, a host name, and a
platform for the new node. Click OK.
The node is added to the WebSphere Application Server environment and the name of the node is
displayed in the collection on the Nodes page.
Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now supported by
WebSphere Application Server, but restrictions do apply when using both IPv4 and IPv6 in the same
cell. When you add a node to a cell, the format in which you specify the name is based on the version
of IP that the node is using. For details, see IP version considerations for cells.
v Select the discovery protocol.
If the discovery protocol that a node uses is not appropriate for the node, select the appropriate
protocol. On the Nodes page, click the node to access the Settings for the node. Select a value for
Discovery Protocol. By default, a node uses Transmission Control Protocol (TCP). You probably not
need to change a node protocol configuration from TCP. However, if you do need to change the
discovery protocol value, some guidelines are provided:
– For a managed process, use multicast. A managed process supports multicast because by using
multicasting, all application servers in one node can listen to one port instead of to one port for each
server. A benefit of using multicast is that you do not have to configure the discovery port for each
application server or prevent port conflicts. A drawback of using multicast is that you must ensure
that your machine is connected to the network when application servers (not including the node
agent) launch because a multicast address is shared by the network and not by the local machine. If
your machine is not connected to the network when application servers launch, the multicast address
is not shared with the application servers.
– For a node agent or a deployment manager, use TCP or UDP. Do not use multicast.
v Define a custom property for a node.
1. On the Nodes page, click the node for which you want to define a custom property.
2. On the Settings for the node, click Custom Properties.
3. On the Property collection page, click New.
4. On the Settings page for a property instance, specify a name-value pair and a description for the
property, and click OK.
v Synchronize the node configuration.
150 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
If you added a managed node or changed a managed node’s configuration, synchronize the node’s
configuration. On the Node Agents page, ensure that the node agent for the node is running. Then, on
the Nodes page, put a check mark in the check box beside the node whose configuration files you want
to synchronize and click Synchronize or Full Resynchronize.
Clicking either button sends a request to the node agent for that node to perform a configuration
synchronization immediately, instead of waiting for the periodic synchronization to occur. This is
important if automatic configuration synchronization is disabled, or if the synchronization interval is set
to a long time, and a configuration change has been made to the cell repository that needs to be
replicated to that node. Settings for automatic synchronization are on the File Synchronization Service
page.
Synchronize requests that a node synchronization operation be performed using the normal
synchronization optimization algorithm. This operation is fast but might not fix problems from manual file
edits that occur on the node. So it is still possible for the node and cell configuration to be out of
synchronization after this operation is performed.
Full Resynchronize clears all synchronization optimization settings and performs configuration
synchronization anew, so there will be no mismatch between node and cell configuration after this
operation is performed. This operation can take longer than the Synchronize operation.
Unmanaged nodes cannot be synchronized.
v Stop servers on a node.
On the Nodes page, put a check mark in the check box beside the managed node whose servers you
want to stop running and click Stop.
v Remove a node.
On the Nodes page, put a check mark in the check box beside the node you want to delete and click
Remove Node. If you cannot remove the node by clicking Remove Node, remove the node from the
configuration by clicking Force Delete.
v View node capabilities.
Review the node capabilities, such as the product version through the administrative console. You can
also query them through the Application Server application programming interface (API) or the wsadmin
tool .
Node collection
Use this page to manage nodes in the WebSphere Application Server environment. Nodes group managed
servers.
To view this administrative console page, click System Administration > Nodes.
Name:
A node corresponds to a physical computer system with a distinct IP host address. The node name is
usually the same as the host name for the computer.
Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now supported by
WebSphere Application Server, but there are restrictions that apply to using both IPv4 and IPv6 in the
same cell. Note that when you add a node to a cell, the format in which you specify the name is based on
the version of IP the node will be using.
Version:
The product version is the version of a WebSphere Application Server for managed nodes. For
unmanaged nodes, on which you can define Web servers, the version displays as unknown.
Specifies the protocol that servers use to discover the presence of other servers on this node.
Status:
The state can beStarted, Stopped, Unavailable, Unknown, Partial Start, Partial Stop, Not applicable,
Synchronized, or Not synchronized.
Node settings:
Use this page to view or change the configuration or topology settings for either a managed node instance
or an unmanaged node instance.
A managed node is a node with an Application Server and a node agent that belongs to a cell. An
unmanaged node is a node defined in the cell topology that does not have a node agent running to
manage the process. Unmanaged nodes are typically used to manage Web servers.
To view this administrative console page, click System Administration > Nodes >node_name.
Name:
Specifies a logical name for the node. The name must be unique within the cell.
A node name usually is identical to the host name for the computer. However, you choose the node name.
You can make the node name some name other than the host name.
Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now supported by
WebSphere Application Server, but there are restrictions that apply to using both IPv4 and IPv6 in the
same cell. Note that when you add a node to a cell, the format in which you specify the name is based on
the version of IP the node will be using.
Short Name:
Specifies the name of a node. The name is 1-8 characters, alphanumeric or national language. It cannot
start with a numeric.
The short name property is read only. It is defined during installation and customization.
Discovery Protocol:
Specifies the protocol that the node follows to retrieve information from a network. The Discovery protocol
setting is only valid for managed nodes.
152 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
TCP Transmission Control Protocol (TCP)
multicast
IP multicast protocol
UDP is faster than TCP, but TCP is more reliable than UDP because UDP does not guarantee delivery of
datagrams to the destination. Between these two protocols, the default of TCP is recommended.
To view this administrative console page, click System Administration > Nodes > Add node > managed
node > Add managed node .
User name:
Specifies the ID for running the service process for the node agent. The user name and password fields
are only available if security is enabled. If you do not specify the user name, the node agent runs under
the authority of the local system. User name requirements are the requirements that the Windows
operating system imposes for a user ID.
Password:
Specifies the password for the user name that you supply. Password requirements are the requirements
that the Windows operating system imposes for a password.
Confirm password:
Specifies the same password that you typed for Password so that you can verify the correct password.
To view this administrative console page, click System Administration > Nodes > Add node > Next .
Options: Select from the following settings to further specify characteristics when adding a managed
node to a cell.
v Include Applications
Copies the applications installed on the remote instance into a cell. If the applications to copy have the
same name as the applications that currently exist in the cell, the Application Server does not copy the
applications.
v Include buses
Specifies whether to move the bus configuration at the node to the deployment manager.
v Starting port
Specifies the port numbers for the node agent process.
Use default Specifies whether to use the default node agent port
numbers.
Specify Allows you to specify the starting port number in the Port
number field. WebSphere Application Server
administration assigns the port numbers in order from the
starting port number. For example, if you specify 9950, the
administration program configures the node agent ports as
9950, 9951, 9952, and so on.
v Core Group
Specifies the group to which you can add a cluster or node agent. By default, clusters or node agents
are added to the DefaultCoreGroup group.
Select from one of the core groups if a list is displayed. The list displays if a core group in addition to
the default core group exists.
v Node group
Specifies the group to which you can add the node. By default, nodes are added to the
DefaultNodeGroup group.
Select from one of the node groups if a list is displayed. The list displays if a node group in addition to
the default node group exists.
154 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
To view this administrative console page, click System Administration > Nodes > node name > Node
installation properties.
Information about a node, such as operating system platform and product features, is maintained in the
configuration repository in the form of properties. As product features are installed on a node, new property
settings are added.
WebSphere Application Server system management uses the managed object metadata properties as
follows:
v To display the node version in the administrative console
v To ensure that new configuration types or attributes are not created or set on older release nodes
v To ensure that new resource types are not created on old release notes
v To ensure that new applications are not installed on old release nodes because the old run time cannot
support the new applications
For detailed information about the following properties, see the Application Server application programming
interface (API).
com.ibm.websphere.baseProductVersion:
com.ibm.websphere.nodeOperatingSystem:
com.ibm.websphere.nodeSysplexName:
com.ibm.websphere.deployed.features:
A list of features that extends a profile. An example of a feature is an administrative console plug-in.
Node group
A node group is a collection of managed nodes. Managed nodes are WebSphere Application Server
nodes. A node group defines a boundary for server cluster formation.
Nodes that you organize into a node group should be enough alike in terms of installed software, available
resources, and configuration to enable servers on those nodes to host the same applications as part of a
server cluster. The deployment manager does no validation to guarantee that nodes in a given node group
have anything in common.
Node groups are optional and are established at the discretion of the WebSphere Application Server
administrator. However, a node must be a member of a node group. Initially, all Application Server nodes
are members of the default node group named DefaultNodeGroup.
On the z/OS platform, an Application Server node must be a member of a sysplex node group. Nodes in
the same sysplex must be in the same sysplex node group. A node can be in one sysplex node group
only.
A node on a distributed platform and a node on a z/OS platform cannot be members of the same node
group.
By organizing nodes that satisfy your application requirements into a node group, you establish an
administrative policy that governs which nodes can be used together to form a cluster. The people who
define the cell configuration and the people who create server clusters can operate with greater
independence from one another, if they are different people.
Example 1
Applications that exploit WebSphere Business Integration Server Foundation functions can run
successfully only on nodes 6, 7, and 8. Therefore, clusters that host these applications can be formed only
on nodes 6, 7, and 8. To define a clustering policy that guides users of your WebSphere cell into building
clusters that can only span predetermined nodes, create an additional node group called WBINodeGroup,
for example. Add to the node group nodes 6, 7, and 8. If you create a cluster on a node from the
WBINodeGroup node group, the system allows only nodes from the WBINodeGroup node group to be
members of the cluster.
Example 2
156 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v You created empty node group PLEX1NodeGroup to group the z/OS operating system nodes on the
PLEX1 sysplex.
v You joined the nodes on the z/OS operating system to the PLEX1NodeGroup node group when you
added them to the cell. You did this because nodes on the z/OS operating system cannot be in the
same node group as the distributed platform nodes.
Applications that exploit z/OS functions in the PLEX1 sysplex can run successfully only on nodes 5 and 6.
Therefore, clusters that host these applications can be formed only on nodes 5 and 6. The required
separation of distributed platform nodes from z/OS system nodes establishes a natural clustering policy
that guides users of your Application Server cell into building clusters that can only span predetermined
nodes. If you create a cluster on a node from the PLEX1NodeGroup node group, the system allows only
nodes from the PLEX1NodeGroup node group to be members of the cluster.
Your WebSphere Application Server environment has a default node group. However, if you need
additional node groups to manage your Application Server environment, you can create and configure
additional node groups.
v View and configure node groups.
1. Click System Administration > Node groups in the console navigation tree.
2. To view additional information about a particular node group or to further configure a node group,
click on the node group name under Name.
v Create a node group.
1. Click System Administration > Node groups in the console navigation tree.
2. Click New.
3. Specify the node group name and description.
The node group is added to the WebSphere Application Server environment . The name of the node
group appears in the name column of the Node group page.
Nodes that are organized into a node group should be enough alike in terms of installed software,
available resources, and configuration to enable servers on those nodes to host the same applications as
part of a server cluster. The deployment manager does no validation to guarantee that nodes in a given
node group have anything in common.
Node groups are optional and are established at the discretion of the WebSphere administrator. However,
a node must be a member of a node group. Initially, all Application Server nodes are members of the
default node group. The default node group is DefaultNodeGroup.
On the z/OS platform, an Application Server node must be a member of a sysplex node group. Nodes in
the same sysplex must be in the same sysplex node group. A node can only be in one sysplex node
group. Sysplex node groups are special node groups that the system manages.
To delete a node group, the node group must be empty. The default node group cannot be deleted.
To view this administrative console page, click System Administration > Node groups.
Name:
Specifies a name for a node group that is unique within the cell.
Members:
Description:
Use this page to view or change the configuration or topology settings for a node group instance.
To view this administrative console page, click System Administration > Node groups >node group
name.
Name:
Specifies a logical name for the node group. The name must be unique within the cell.
The name must contain alphanumeric or national language characters and cannot start with a number.
Short name:
Specifies the name of a node. The name must contain 1-8 characters, which are either alphanumeric or
national language. It cannot start with a number.
Sysplex:
Specifies the name of a node. The name is eight characters, alphanumeric or national language. It cannot
start with a numeric. It is used only by sysplex node groups on the z/OS platform. It is defined during
installation and customization on z/OS platforms only.
Members:
158 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Specifies the number of nodes within the node group.
Description:
Specifies the description that you define for the node group. The description has no specific maximum
length.
Group nodes that meet your application requirements into a node group.
v View node groups members.
1. Click System Administration > Node groups > node group name > Nodes > Node group
members in the console navigation tree.
2. To view additional information about a particular node group member for this node group, click on
the node group member name under Name.
v Add a node to a node group.
1. Click System Administration > Node groups > node group name > Nodes > Node group
members in the console navigation tree.
2. Click Add.
3. Select the node from a list. The node group member name is the node name.
The node group member is added to the node group specified on the bread crumb trail. The name of
the node group member appears in the name column of the Node group member page. You can add
additional nodes of similar characteristics to the node group by repeating the steps for adding a node to
a node group.
If the node you add does not satisfy the node group membership rules for the target node group, the
add node operation fails with an error message.
v Remove a node from a node group.
1. Click System Administration > Node groups > node group name > Nodes > Node group
members in the console navigation tree.
2. Select the box next to each node group member that you want to remove from the node group.
3. Click Remove.
Each node group member that you selected is removed from the node group specified on the bread
crumb trail.
Click Add to add node members to the node group. Click Remove to remove node members from the
node group.
To view this administrative console page, click System Administration > Node groups > node group
name > nodes > Node group members.
Name:
Specifies a description that you previously defined for the node group member when you created the node
group member.
Use this page to view or change the configuration or topology settings for a node group member.
To view this administrative console page, click System Administration > Node groups > node group
name > nodes > Node group members > node group member name.
Name:
Specifies a logical name for the node group member. A node group member is a node. The name must be
unique within the cell.
A node group member name usually is identical to the host name for the computer.
The name must contain alphanumeric or national language characters and cannot start with a number.
To view this administrative console page, click Servers > Application Servers >server_name >
Administration > Administration Services
Standalone
Specifies whether the server process is a participant in a Network Deployment cell or not. If the box is
checked (true), the server does not participate in distributed administration. If the box is unchecked (false),
the server participates in the Network Deployment system.
The default value for base WebSphere Application Server installations is true. When addNode runs to
incorporate the server into a Network Deployment cell, the value switches to false.
Preferred Connector
Specifies the preferred JMX Connector type. Available options, such as SOAPConnector or RMIConnector,
are defined using the JMX Connectors page.
You can configure JMX extension MBean providers to be used to extend the existing WebSphere
managed resources in the core administrative system. Each MBean provider is a library containing an
implementation of a JMX MBean and its MBean XML Descriptor file.
160 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
To view this administrative console page, click Servers > Application Servers >server_name >
Administration > Administration Services > Extension MBean Providers
Name The name used to identify the Extension MBean provider library.
Description
An arbitrary descriptive text for the Extension MBean Provider configuration.
Classpath
The path to the Java archive (JAR) file that contains the Extension MBean provider library. This
class path is automatically added to the Application Server class path.
Use this page to view and change the configuration for a JMX extension MBean provider.
You can configure a library containing an implementation of a JMX MBean, and its MBean XML Descriptor
file, to be used to extend the existing WebSphere managed resources in the core administrative system
To view this administrative console page, click Servers > Application Servers >server_name >
Administration > Administration Services > Extension MBean Providers >provider_library_name
Classpath: The path to the Java archive (JAR) file that contains the Extension MBean provider library.
This class path is automatically added to the Application Server class path. The class loader needs this
information to load and parse the Extension MBean XML Descriptor file.
Description: An arbitrary descriptive text for the Extension MBean Provider configuration. Use this field for
any text that helps identify or differentiate the provider configuration.
Name: The name used to identify the Extension MBean provider library.
To view this administrative console page, click Servers > Application Servers >server name >
Administration > Administration Services > Extension MBean Providers > provider library name>
Extension MBean
DescriptorURI
Specifies the location, relative to the provider class path, where the MBean XML descriptor file is
located.
Type Specifies the type to use for registering this MBean. The type must match the type that is declared
in the MBean descriptor file.
Use this page to view and configure Java Management Extension (JMX) MBeans.
To view this administrative console page, click Servers > Application Servers >server name>
Administration > Administration Services > Extension MBean Providers > provider library name>
Extension MBean >Extension MBean name
descriptorURI: Specifies the location, relative to the provider class path, where the MBean XML
descriptor file is located.
type: Specifies the type to use for registering this MBean. The type must match the type that is declared
in the MBean descriptor file.
Depending on the property, you can specify or set a property in the administrative console, the wsadmin
tool, Application Server commands, scripts run from a command line interface, or a custom Java
administrative client program that you write. You can also set SOAP connector properties in the
soap.client.props file.
For specific information on how to code the JMX connector properties for the wsadmin tool, the Application
Server commands, or scripts, see the particular tool or command. For specific information on how to code
the JMX connector properties for a custom Java administrative client program, see the ″Java API
documentation for Application Server″ topic in the Information Center.
For the administrative console, this article specifies the coding of the particular setting or property. Coding
of properties in the soap.client.props file that are specific to JMX connectors is specified. These
properties begin with com.ibm.SOAP. Other properties in the soap.client.props file that contain
information that can be set elsewhere in the Application Server are not documented here. The coding for
the com.ibm.ssl.contextProvider property, which can be set only in the soap.client.props file, is specified.
To view the JMX connector custom properties administrative console panel that goes with this article, click
one of the following paths:
v Servers -> Application servers ->server name -> Server Infrastructure -> Administration ->
Administration Services -> Additional properties -> JMX Connectors->connector type -> Additional
Properties -> Custom properties
v System administration -> Deployment manager ->Additional Properties -> Administration
Services -> Additional Properties -> JMX Connectors->connector type-> Additional Properties ->
Custom properties
v System administration -> Node agents ->node agent name -> Additional Properties ->
Administration Services -> Additional Properties -> JMX Connectors->connector type-> Additional
Properties -> Custom properties
This section discusses JMX connector properties that pertain to SOAP connectors.
Specifies the SOAP client request timeout. The value that you choose depends on a number of factors
such as the size and the number of the applications that are installed on the server, the speed of your
machine, and the level of usage of your machine.
The program default value for the request timeout is 600 seconds. However, other components that
connect to the SOAP client can override the default. Components that use the soap.client.props file have
a default value of 180 seconds.
You can set the property by using one of the following options:
v Scripts run from a command line interface.
162 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v The soap.client.props file.
Property com.ibm.SOAP.requestTimeout
Data type Integer
Range in seconds 0 to n
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property requestTimeout
Data type Integer
Range in seconds 0 to n
Configuration URL
Specifies the Universal Resource Locator (URL) of the soap.client.props file. Specify the configuration
URL property if you want a program to read SOAP properties from this file. You can set the property by
using one of the following options:
v Scripts run from a command line interface. Scripts can pass the Configuration URL property to the
Application Server on the com.ibm.SOAP.ConfigURL system property.
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property ConfigURL
Data type String
Valid Value http://Path/soap.client.props
Default None
Specifies the Secure Sockets Layer (SSL) implementation to use between the Application Server and the
SOAP client. You can specify either IBM Java Secure Sockets Extension (IBMJSSE) or IBM Java Secure
Sockets Extension that has undergone Federal Information Processing Standards certification
(IBMJSSEFIPS).
Property com.ibm.ssl.contextProvider
Data type String
Valid Values IBMJSSE
IBMJSSEFIPS
IBMJSSE2
Default IBMJSSE2
Property com.ibm.SOAP.securityEnabled
Data type Boolean
Default False
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property securityEnabled
Data type Boolean
Default False
This section discusses JMX connector properties that pertain to both SOAP connectors and RMI
connectors.
Connector type
Specify a connector type of SOAP or RMI, depending on whether Application Server connects to a SOAP
server or an RMI server. You can set the property by using one of the following options:
v The wsadmin tool.
v Scripts run from a command line interface.
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property Type
Data type String
Valid values SOAPConnector
RMIConnector
Default SOAP
Host
Use the host property to specify the host name or the IP address of the server to which Application Server
connects. The server can be a SOAP server or an RMI server. You can set the property by using one of
the following options:
v The wsadmin tool.
v Scripts run from a command line interface.
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property host
Data type String
Valid values Host name or IP address
Default None
164 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v A Java administrative client. The property is AdminClient.CONNECTOR_HOST.
Port
Use the port property to specify the port number of the server to which Application Server connects. The
server can be a SOAP server or an RMI server. You can set the property by using one of the following
options:
v The wsadmin tool.
v Scripts run from a command line interface.
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property port
Data type Integer
Valid value Port number
Default None
User name
Specifies the user name that Application Server uses to access the SOAP server or the RMI server. You
can set the property by using one of the following options:
v The wsadmin tool.
v Scripts run from a command line interface.
v The soap.client.props file.
Property com.ibm.SOAP.loginUserid
Data type String
Valid value The value must match the global SSL settings for SOAP
or RMI.
Default None
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property username
Data type String
Valid value The value must match the global SSL settings for SOAP
or RMI.
Default None
Password
Specifies the password that Application Server uses to access the SOAP server or the RMI server. You
can set the property by using one of the following options:
v The wsadmin tool.
v Scripts run from a command line interface.
v The soap.client.props file.
Property com.ibm.SOAP.loginPassword
v The administrative console. Specify the property and the value as a name-value pair on the JMX
connector custom properties panel of the administrative console.
Property password
Data type String
Valid values The value must match the global SSL settings for SOAP
or RMI.
Default None
To view this administrative console page, click one of the following paths:
v Servers > Application Servers >server_name > Administration > Administration Services > JMX
Connectors
v Servers > JMS Servers >server_name > Administration > Administration Services > JMX
Connectors
Java Management Extensions (JMX) connectors communicate with WebSphere Application Server when
you invoke a scripting process. There is no default for the type and parameters of a connector. The
wsadmin.properties file specifies the Simple Object Access Protocol (SOAP) connector and an appropriate
port number. You can also use the Remote Method Invocation (RMI) connector.
Use one of the following methods to select the connector type and attributes:
v Specify properties in a properties file.
v Indicate options on the command line.
Type:
Use this page to view the configuration for a Java Management Extensions (JMX) connector.
To view this administrative console page, click one of the following paths:
v Servers > Application Servers >server_name > Administration > Administration Services > JMX
Connectors >connector_type
v Servers > JMS Servers >server_name > Administration > Administration Services > JMX
Connectors >connector_type
166 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Type:
To view this administrative console page, click Servers > Application Servers >server_name >
Administration Services > Repository Service.
Audit Enabled:
Specifies whether to audit repository updates in the log file. The default is to audit repository updates.
Node agents
Node agents are administrative agents that route administrative requests to servers.
A node agent is a server that runs on every host computer system that participates in the WebSphere
Application Server Network Deployment product. It is purely an administrative agent and is not involved in
application serving functions. A node agent also hosts other important administrative functions such as file
transfer services, configuration synchronization, and performance monitoring.
Note: Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now
supported by WebSphere Application Server, but there are restrictions that apply to using both
IPv4 and IPv6 in the same cell. Note that when a node is added to a cell, the format in which
the name is specified is based on the version of IP the node will be using. For details, see “IP
version considerations for cells” on page 140.
2. Stop and then restart the processing of a node agent. On the Node Agents page, place a check mark
in the check box beside the node agent you want to restart, then click Restart. It is important to keep
a node agent running because a node agent must be running in order for application servers on the
node managed by the node agent to run.
To view this administrative console page, click System Administration > Node Agents .
Name:
Node:
Specifies a name for the node. The node name is unique within the cell.
A node name usually is identical to the host name for the computer. That is, a node usually corresponds to
a physical computer system with a distinct IP host address.
However, the node name is a purely logical name for a group of servers. You can name the node anything
you please. The node name does not have to be the host name.
Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now supported by
WebSphere Application Server, but there are restrictions that apply to using both IPv4 and IPv6 in the
same cell. Note that when a node is added to a cell, the format in which the name is specified is based on
the version of IP the node will be using.
Version:
The product version is the version of a WebSphere Application Server node agent and Application Servers
that run on the node.
Status:
Note that if the status of servers such application servers is Unavailable, the node agent is not running in
the servers’ node and you must restart the node agent before you can start the servers.
Use this page to view information about and configure a node agent. A node agent coordinates
administrative requests and event notifications among servers on a machine. A node agent is the running
server that represents a node in a Network Deployment environment.
To view this administrative console page, click System Administraton > Node Agents
>node_agent_name.
168 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
A node agent must be started on each node in order for the deployment manager node to be able to
collect and control servers configured on that node. If you use configuration synchronization support, a
node agent coordinates with the deployment manager server to synchronize the node’s configuration data
with the master copy managed by the deployment manager.
You must initially start a node agent outside the administrative console. For information on how to initially
start a node agent, see the WebSphere Application Server Information Center.
Name:
Short name:
The name is 1-8 characters, alpha-numeric or national language. It cannot start with a numeric.
Unique Id:
The unique ID property is read only. The system automatically generates the value.
Process ID:
Cell Name:
Specifies the name of the cell for the node agent server.
Node Name:
Specifies the name of the node for the node agent server.
Both Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) are now supported by
WebSphere Application Server, but there are restrictions that apply to using both IPv4 and IPv6 in the
same cell. Note that when a node is added to a cell, the format in which the name is specified is based on
the version of IP the node will be using.
By default, the file transfer service is always configured and enabled at a node agent, so you do not need
to take additional steps to configure this service. However, you might need to configure the file
synchronization service.
1. Go to the File Synchronization Service page. Click System Administration > Node Agents in the
console navigation tree. Then, click the node agent for which you want to configure a synchronization
server and click File Synchronization Service.
2. On the File Synchronization Service page, customize the service that helps make configuration data
consistent across a cell by moving updated configuration files from the deployment manager to the
node. Change the values for properties on the File Synchronization Service page. The file
synchronization service is always started, but you can control how it runs by changing the values.
170 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
File transfer service settings
Use this page to configure the service that transfers files from the deployment manager to individual
remote nodes.
To view this administrative console page, click System Administration > Node Agents
>node_agent_name > File Transfer Service.
Specifies whether the server attempts to start the specified service. Some services are always enabled
and disregard this property if set. This setting is enabled by default.
Retries count:
Specifies the number of times you want the file transfer service to retry sending or receiving a file after a
communication failure occurs.
Specifies the number of seconds that the file transfer service waits before it retries a failed file transfer.
If the retry wait time setting is blank, the code sets the
default to 10. If the retry wait time setting is 0, the file
transfer service does not wait between retries. The default
is the recommended value.
To view this administrative console page, click System Administration > Node Agents
>node_agent_name > File Synchronization Service.
Specifies whether the server attempts to start the file synchronization service. This setting does not cause
a file synchronization operation to start. This setting is enabled by default.
Specifies the number of minutes that elapse between synchronizations. The default is 1 minute. Increase
the time interval to synchronize files less often.
Automatic Synchronization:
Specifies whether to synchronize files automatically after a designated interval. When this setting is
enabled, the node agent automatically contacts the deployment manager every synchronization interval to
attempt to synchronize the node’s configuration repository with the master repository owned by the
deployment manager.
If the Automatic synchronization setting is enabled, the node agent attempts file synchronization when it
establishes contact with the deployment manager. The node agent waits the synchronization interval
before it attempts the next synchronization.
Remove the check mark from the check box if you want to control when files are sent to the node.
Startup Synchronization:
Specifies whether the node agent attempts to synchronize the node configuration with the latest
configurations in the master repository prior to starting an application server.
The default is to not synchronize files prior to starting an application server. Enabling the setting ensures
that the node agent has the latest configuration but increases the amount of time it takes to start the
application server.
Note that this setting has no effect on the startServer command. The startServer command launches a
server directly and does not use the node agent.
Exclusions:
Specifies files or patterns that should not be part of the synchronization of configuration data. Files in this
list are not copied from the master configuration repository to the node, and are not deleted from the
repository at the node.
172 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
iSeries users: The default is */plugin-cfg.xml, which excludes the Web Server plug-in configuration file
from synchronization.
To specify a file, use a complete name or a name with a leading or trailing asterisk (*) for a wildcard. For
example:
Press Enter at the end of each entry. Each file name appears on a separate line.
Since these strings represent logical document locations and not actual file paths, only forward slashes are
needed no matter the platform.
Changes to the exclusion list are picked up when the node agent is restarted.
These links are provided for convenience. Often, the information is not specific to the IBM WebSphere
Application Server product, but is useful all or in part for understanding the product. When possible, links
are provided to technical papers and Redbooks that supplement the broad coverage of the release
documentation with in-depth examinations of particular product areas.
Administration
v IBM WebSphere Application Server Redbooks at http://publib-
b.boulder.ibm.com/Redbooks.nsf/portals/WebSphere.
This site contains a listing of all WebSphere Application Server Redbooks.
v IBM developerWorks WebSphere at http://www.software.ibm.com/wsdd/.
This site is the home of technical information for developers working with WebSphere products. You can
download WebSphere software, take a fast path to developerWorks zones, such as VisualAge Java or
WebSphere Application Server, learn about WebSphere products through a newcomers page, tutorials,
technology previews, training, and Redbooks, get answers to questions about WebSphere products, and
join the WebSphere community, where you can keep up with the latest developments and technical
papers.
v WebSphere Application Server Support page at
http://www.ibm.com/software/webservers/appserv/support.html.
Take advantage of the Web-based Support and Service resources from IBM to quickly find answers to
your technical questions. You can easily access this extensive Web-based support through the IBM
Software Support portal and search by product category, or by product name. For example, if you are
experiencing problems specific to WebSphere Application Server, click WebSphere Application Server
in the product list. The WebSphere Application Server Support page appears.
Virtual hosts
A virtual host is a configuration that enables a single host machine to resemble multiple host machines.
Resources associated with one virtual host cannot share data with resources associated with another
virtual host, even if the virtual hosts share the same physical machine.
Each virtual host has a logical name and a list of one or more DNS aliases by which it is known. A DNS
alias is the TCP/IP hostname and port number that is used to request the servlet, for example
yourHostName:80. When no port number is specified, 80 is assumed.
When a servlet request is made, the server name and port number entered into the browser are compared
to a list of all known aliases in an effort to locate the correct virtual host and serve the servlet. If no match
is found, an error is returned to the browser.
An application server provides a default virtual host with some common aliases, such as the machine’s IP
address, short host name, and fully qualified host name. The alias comprises the first part of the path for
accessing a resource such as a servlet. For example, it is localhost:80 in the request
http://localhost:80/myServlet.
A virtual host is not associated with a particular node (machine). It is a configuration, rather than a ″live
object,″ explaining why you can create it, but cannot start or stop it. For many users, creating virtual hosts
is unnecessary because the default_host is provided.
Adding a localhost to the virtual hosts adds the host name and IP address of the localhost machine to the
alias table. This allows a remote user to access the administrative console.
Virtual hosts allow the administrator to isolate and independently manage multiple sets of resources on the
same physical machine.
Suppose an Internet service provider (ISP) has two customers with Internet sites hosted on the same
machine. The ISP keeps the two sites isolated from one another, despite their sharing a machine, by using
virtual hosts. The ISP associates the resources of the first company with VirtualHost1 and the resources of
the second company with VirtualHost2. Both virtual hosts map to the same application server.
Further suppose that both company sites offer the same servlet. Each site has its own instance of the
servlet, and is unaware of the same servlet on the other site. If the company whose site is organized on
VirtualHost2 is past due in paying its account with the ISP, the ISP can refuse all servlet requests that are
routed to VirtualHost2. Even though the same servlet is available on VirtualHost1, the requests directed at
VirtualHost2 do not go to the other virtual host.
174 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The servlets on one virtual host do not share their context with the servlets on the other virtual host.
Requests for the servlet on VirtualHost1 can continue as usual. This is true even though VirtualHost2 is
refusing to fill requests for the servlet with the same name.
You associate a servlet or other application with a virtual host instead of the actual DNS address.
The virtual host configuration uses wildcard entries with the ports for its virtual host entries.
v The default alias is *:80, using an internal port that is not secure.
v Aliases of the form *:9080 use the secure internal port.
v Aliases of the form *:9443 use the external port that is not secure.
v Aliases of the form *:443 use the secure external port.
Unless you specifically want to isolate resources from one another on the same node (physical machine),
you probably do not need any virtual hosts in addition to the default host.
When you request a resource, WebSphere Application Server tries to map the request to an alias of a
defined virtual host.
Mappings are both case sensitive and insensitive. For example, the portion ″http://host:port/″ is case
insensitive, but the URL that follows is case sensitive. The match must be alphanumerically exact. Also,
different port numbers are treated as different aliases.
You can use wildcard entries for aliases by port and specify that all valid host name and address
combinations on a particular port map to a particular virtual host.
If you request a resource using an alias that cannot be mapped to an alias of a defined virtual host, you
receive a 404 error in the browser that was used to issue the request. A message states that the virtual
host could not be found.
Two sets of associations occur for virtual hosts. Application deployment associates an application with a
virtual host. Virtual host definitions associate the network address of the machine and the HTTP transport
or Web server port assignment of the application server with the virtual host. Looking at the flow from the
Web client request for the snoop servlet, for example, the following actions occur:
1. The Web client asks for the snoop servlet: at Web address
http://www.some_host.some_company.com:9080/snoop
2. The some_host machine has the 9080 port assigned to the stand-alone WebSphere Application
Server, server1.
3. The server1 Application Server looks at the virtual host assignments to determine the virtual host that
is assigned to the alias some_host.some_company.com:9080.
You can have any number of aliases for a virtual host. You can even have overlapping aliases, such as:
The Application Server looks for a match using the explicit address specified on the Web client address.
However, it might resolve the match to any other alias that matches the pattern before matching the
explicit address. Simply defining an alias first in the list of aliases does not guarantee the search order
when WebSphere Application Server is looking for a matching alias.
A problem can occur if you use the same alias for two different virtual hosts. For example, assume that
you installed the default application and the snoop servlet on the default_host. You also have another
virtual host called the admin_host. However, you have not installed the default application or the snoop
servlet on the admin_host.
Assume that you define overlapping aliases for both virtual hosts because you accidentally defined port
9080 for the admin_host instead of port 9060:
If the application server matches the request against *:9080, the application is served from the
default_host. If the application server matches the request to my.machine.com:9080, the application cannot
be found. A 404 error occurs in the browser that issues the request. A message states that the virtual host
could not be found.
This problem is the result of not finding the requested application in the first virtual host that has a
matching alias. The correct way to code aliases is for the alias name on an incoming request to match
only one virtual host in all of your virtual host definitions. If the URL can match more than one virtual host,
you can see the problem just described.
176 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Configuring virtual hosts
Virtual hosts enable you to isolate and independently manage multiple sets of resources on the same
physical machine.
1. Create a virtual host using the “Virtual host collection” of the administrative console. Click
Environment > Virtual Hosts from the navigation tree of the console. Click New. On the “Virtual host
settings” on page 178 page that displays, specify an administrative name for the virtual host. When
you create a virtual host, a default set of 90 MIME entries is created for the virtual host.
2. There must be a virtual host alias corresponding to each port used by an HTTP transport. There is one
HTTP transport in each Web container, usually assigned to the virtual host named default_host. You
can change the default assignment to any valid virtual host.
You must create a virtual host for each HTTP port in the following cases:
v You are using the internal HTTP transport with a port other than the default of 9080. You must
define the port that you are using.
v You are using the default port 9080, but the port is no longer defined. You must define port 9080.
v You have created multiple Application Servers (either stand-alone servers or cluster members) that
use the same virtual host. Because each server must be listening on a different HTTP transport
port, you must define a virtual host alias for the transport port of each server.
If you define new virtual host aliases, identify the port values that the aliases use on the “HTTP
transport collection” on page 225 page.
3. If necessary, create a virtual host alias for each HTTP transport port.
From the “Virtual host collection” page, click your virtual host. On the “Virtual host settings” on page
178 page for the virtual host, click Host aliases. To define a virtual host alias on the “Host alias
collection” on page 178 page, click New. On the “Host alias settings” on page 179 page for the virtual
host alias, specify a host name and a port. Configure the virtual host to contain an alias for the port
number. For example, specify an alias of *:9082 if 9082 is the port number in use by the transport.
4. When you enter the URL for the application into a Web browser, include the port number in the URL.
For example, if 9082 is the port number, specify a URL such as
http://localhost:9082/wlm/SimpleServlet
5. If MIME entries are not specified at the Web module level, define MIME object types and their file
name extensions. For each needed MIME entry on the “MIME type collection” on page 180 page, click
New. On the “MIME type settings” on page 180 page, specify a MIME type and extension.
6. After you configure a virtual host alias or change a configuration, you must regenerate the Web server
plug-in configuration and restart WebSphere Application Server.
To view this administrative console page, click Environment > Virtual Hosts.
Each virtual host has a logical name (which you define on this panel) and is known by its list of one or
more domain name system (DNS) aliases. A DNS alias is the TCP/IP host name and port number used to
request the servlet, for example yourHostName:80. (Port 80 is the default.)
You define one or more alias associations by clicking an existing virtual host or by adding a new virtual
host.
When a servlet request is made, the server name and port number entered into the browser are compared
to a list of all known aliases in an effort to locate the correct virtual host to serve the servlet. No match
returns an error to the browser.
A virtual host is not associated with a particular profile or node (machine), but is associated with a
particular server instead. It is a configuration, rather than a ″live object.″ You can create a virtual host, but
you cannot start or stop it.
For many users, creating virtual hosts is unnecessary because the default_host that is provided is
sufficient.
Adding the host name and IP address of the localhost machine to the alias table lets a remote user
access the administrative console.
Resources associated with one virtual host cannot share data with resources associated with another
virtual host, even if the virtual hosts share the same physical machine.
Name:
Specifies a logical name for configuring Web applications to a particular host name. The default virtual
host is suitable for most simple configurations.
Virtual hosts enable you to isolate, and independently manage, multiple sets of resources on the same
physical machine. Determine whether you need a virtual host alias for each port associated with an HTTP
transport channel or an HTTP transport. There must be a virtual host alias corresponding to each port
used by an HTTP transport channel or an HTTP transport. There is one HTTP transport channel or HTTP
transport associated with each Web container, and there is one Web container in each application server.
When you create a virtual host, a default set of 90 MIME entries is created for the virtual host.
You must create a virtual host for each HTTP port in the following cases:
v You use the internal HTTP transport with a port other than the default value of 9080, or for some reason
the virtual host does not contain the usual entry for port 9080.
v You create multiple application servers (stand-alone servers, managed servers, or cluster members) that
are using the same virtual host. Because each server must be listening on a different HTTP port, you
need a virtual host alias for the HTTP port of each server.
To view this administrative console page, click Environment > Virtual Hosts >virtual_host_name.
Name:
Specifies a logical name for configuring Web applications to a particular host name. The default virtual
host is suitable for most simple configurations.
178 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Use this page to manage host name aliases defined for a virtual host. An alias is the DNS host name and
port number that a client uses to form the URL request for a Web application resource.
To view this administrative console page, click Environment > Virtual Hosts >virtual_host_name > Host
Aliases.
Host Name:
Specifies the IP address, DNS host name with domain name suffix, or just the DNS host name, used by a
client to request a Web application resource (such as a servlet, JavaServer Pages (JSP) file, or HTML
page). For example, the host alias name is myhost in a DNS name of myhost:8080.
The product provides a default virtual host (named default_host). The virtual host configuration uses the
wildcard character * (asterisk) along with the port number for its virtual host entries. Unless you specifically
want to isolate resources from one another on the same node (physical machine), you probably do not
need any virtual hosts in addition to the default host.
Port:
Specifies the port for which the Web server has been configured to accept client requests. For example,
the port assignment is 8080 in a DNS name of myhost:8080. A URL refers to this DNS as:
http://myhost:8080/servlet/snoop.
To view this administrative console page, click Environment > Virtual Hosts >virtual_host_name > Host
Aliases >host_alias_name.
Host name:
Specifies the IP address, domain name system (DNS) host name with domain name suffix, or the DNS
host name that clients use to request a Web application resource, such as a servlet, JSP file, or HTML
page.
For example, when the DNS name is myhost, the host alias is myhost:8080, where 8080 is the port. A URL
request can refer to the snoop servlet on the host alias as: http://myhost:8080/servlet/snoop.
When there is no port number specified for a host alias, the default port is 80. For existing virtual hosts,
the default host name and port reflect the values specified at product installation or configuration. For new
virtual hosts, the default can be * to allow any value or no specification.
You can also use the IP address or the long or short DNS
name.
Port:
Specifies the port where the Web server accepts client requests. Specify a port value in conjunction with
the host name.
The default reflects the value specified at product setup. The default might be 80, 81, 9060 or a similar
value.
Use this page to view and configure multi-purpose internet mail extensions (MIME) object types and their
file name extensions.
The list shows a collection of MIME type extension mappings defined for the virtual host. Virtual host
MIME entries apply when you do not specify MIME entries at the Web module level.
To view a list of current virtual host Mime types in the administrative console, click Environment > Virtual
Hosts >virtual_host_name > MIME Types.
MIME Type:
Specifies a MIME type, which can be application, audio, image, text, video, www, or x-world. An example
value for MIME type is text/html.
Extensions:
Specifies file extensions of files that map the MIME type. Do not specify the period before the extension.
Example extensions for a text/html MIME type are htm and html.
Use this page to configure a multi-purpose internet mail extensions (MIME) object type.
To view this administrative console page, click Environment > Virtual Hosts >virtual_host_name > MIME
Types >MIME_type.
MIME Type:
Specifies a MIME type, which can be application, audio, image, text, video, www, or x-world. An example
value for MIME type is text/html.
An example value for MIME type is text/html. A default value appears only if you are viewing the
configuration for an existing instance.
Extensions:
Specifies file extensions of files that map the MIME type. Do not specify the period before the extension.
Example extensions for a text/html MIME type are htm and html.
File extensions for a text/html MIME type are .htm and .html. A default value appears only if you are
viewing the configuration for an existing MIME type.
Variables
A variable is a configuration property that can be used to provide a parameter for some values in the
system. A variable has a name and a value.
180 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
WebSphere variables are used for:
v Configuring WebSphere Application Server path names, such as JAVA_HOME, and
APP_INSTALL_ROOT.
v Configuring certain cell-widecustomization values.
Each variable has a scope. A scope is the range of locations in the WebSphere Application Server network
where the variable is applicable.
v A variable with a cell-wide scope is available across the entire WebSphere Application Server cell.
v A variable with a node-level scope is available only on the node and the servers on that node. If a
node-level variable has the same name as a cell-wide variable, the node-level variable value takes
precedence.
v A server variable is available only on the one server process. A server variable takes precedence over a
variable with the same name that is defined at a higher level.
You can use variables in configuration values such as file system path settings. Use the following syntax
to refer to a variable:
${variable_name}
The value of a variable can contain a reference to another variable. The value of the variable is computed
by substituting the value of the referenced variable recursively.
Variables are useful when concatenating two path variables when the specification does not accept the
AND operator. For example, suppose that the following variables exist:
You can define a WebSphere Application Server variable to provide a parameter for some values in the
system. After you define the name and value for a variable, the value is used in place of the variable
name. Variables most often specify file paths. However, some system components also support the use of
variables.
The scope of a variable can be cell-wide, node-wide, or applicable to only one server process.
Define the scope to apply a variable cell-wide, cluster-wide, node-wide or to only one server process. A
variable resolves to its new value when used in a component that supports the use of variables.
1. Click Environment > WebSphere Variables in the administrative console to define a new variable.
To view this administrative console page, click Environment > WebSphere Variables.
For information on a variable, click the variable and read the value in the Description field.
Name:
Specifies the symbolic name for a WebSphere Application Server variable. For example, a variable name
might represent a physical path or URL root used by WebSphere Application Server.
Value:
Specifies the value that the symbolic name represents. For example, the value might be an absolute path
value for a file or URL root.
Scope:
Specifies the level at which a WebSphere Application Server variable is visible on the administrative
console panel.
A resource can be visible in the administrative console collection table at the cell, cluster, node, or server
scope.
Variable settings:
Use this page to define the name and value of a WebSphere Application Server substitution variable.
To view this administrative console page, click Environment > WebSphere Variables
>WebSphere_variable_name.
Name:
Specifies the symbolic name for a WebSphere Application Server variable. For example, a variable name
might represent a physical path or URL root that is used by WebSphere Application Server.
182 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
WebSphere variables are used for:
v Configuring WebSphere Application Server path names, such as JAVA_HOME, and
APP_INSTALL_ROOT.
v Configuring certain cell-widecustomization values.
WebSphere Application Server substitutes the symbolic name wherever its value displays in the system.
For example, ″JAVA_HOME″ is the symbolic name representing the file system path to the installation
directory for the Java Virtual Machine (JVM). For example, the value is
/opt/IBM/WebSphere/AppServer/java for the WebSphere Application Server product on a Linux machine.
You can create new variables for use in WebSphere Application Server components that support the use
of variables.
Value:
Specifies the value that the symbolic name represents. For example, the value might be an absolute path
value for a file or URL root.
For example, /opt/IBM/WebSphere/AppServer/java is the value on a Linux machine for a variable named
JAVA_HOME.
Description:
IBM Toolbox for Java is a library of Java classes that are optimized for accessing iSeries and AS/400 data
and resources. You can use the IBM Toolbox for Java JDBC driver to access local or remote DB2 UDB
for iSeries 400 databases from server-side and client Java applications that run on any platform that
supports Java.
The JDBC driver for both versions supports JDBC 2.0. For more information about IBM Toolbox for Java
and JTOpen, see the product Web site at http://www-
1.ibm.com/servers/eserver/iseries/toolbox/index.html.
Note: If you are using WebSphere Application Server on platforms other than iSeries, use the JTOpen
version of the Toolbox JDBC driver.
You can define a shared library at the cell, node, or server level. Defining a library at one of the three
levels does not cause the library to be placed into the application server’s class loader. You must
associate the library to an application or server in order for the classes represented by the shared library
to be loaded in either a server-wide or application-specific class loader.
A separate class loader is used for shared libraries that are associated with an application server. This
class loader is the parent of the application class loader, and the WebSphere Application Server
extensions class loader is its parent. Shared libraries that are associated with an application are loaded by
the application class loader.
If your deployed applications use shared library files, define shared libraries for the library files and
associate the libraries with specific applications or with an application server. Associating a shared library
file with a server associates the file with all applications on the server. Use the Shared Libraries page to
define new shared library files to the system and remove them.
184 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
v Use the administrative console to define a shared library.
1. Create a shared library for each library file that your applications need.
2. Associate each shared library with an application or a server.
– Associate a shared library with an application that uses the shared library file.
– Associate a shared library with an application server so every application on the server can use
the shared library file.
v Use an installed optional package to declare a shared library for an application.
v Remove a shared library.
1. Click Environment > Shared Libraries in the console navigation tree to access the Shared
Libraries page.
2. Select the library to be removed.
3. Click Delete.
The list of shared libraries is refreshed. The library file no longer displays in the list.
The first step for making a library file available to multiple applications deployed on a server is to create a
shared library for each library file that your applications need. When you create the shared libraries, set
variables for the library files.
Use the Shared Libraries page to create and configure shared libraries.
1. Go to the Shared Libraries page. Click Environment > Shared Libraries in the console navigation
tree.
2. Change the scope of the collection table to see what shared libraries are in a cell, node, or server.
a. Select the cell, a node, or a server.
b. Click Apply.
3. Click New.
4. Configure the shared library.
a. On the settings page for a shared library, specify the name, class path, and any other variables for
the library file that are needed.
b. Click Apply.
5. Repeat steps 1 through 4 until you define a shared library instance for each library file that your
applications need.
Using the administrative console, associate your shared libraries with specific applications or with the class
loader of an application server. Associating a shared library file with a server class loader associates the
file with all applications on the server.
Alternatively, you can use an installed optional package to associate your shared libraries with an
application.
To view this administrative console page, click Environment > Shared Libraries.
By default, a shared library is accessible to applications deployed (or installed) on the same node as the
shared library file. Use the Scope field to change the scope to a different node or to a specific server.
Name:
Description:
To view this administrative console page, click Environment > Shared Libraries >shared_library_name.
Name:
Description:
Classpath:
Specifies the class path used to locate the JAR files for the shared library support.
Specifies the class path for locating platform-specific library files for shared library support; for example,
.dll, .so, or *SRVPGM objects.
This article assumes that you have defined a shared library at the cell, node, or server level. The shared
library represents a library file used by multiple deployed applications.
This article also assumes that you want to use the administrative console, and not an installed optional
package, to associate a shared library with an application.
To associate a shared library with an application, create and configure a library reference using the
administrative console. A library reference specifies the name of the shared library file.
If you associate a shared library with an application, do not associate the same shared library with a
server class loader.
186 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
1. Click Applications > Enterprise Applications >application_name > Libraries in the console
navigation tree to access the Library Ref page.
2. Click Add.
3. On the settings page for a library reference, specify variables for the library reference as needed. The
variables identify the shared library file that your application uses.
4. Click Apply.
The name of the library reference is shown in the list on the Library Ref page.
Repeat steps 2 through 4 until you define a library reference instance for each shared library that your
application requires.
This article assumes that you have defined a shared library at the cell, node, or server level. The shared
library represents a library file used by multiple deployed applications.
To associate a shared library with the class loader of a server, create and configure a library reference
using the administrative console. A library reference specifies the name of the shared library file.
If you associate a shared library with a server class loader, do not associate the same shared library with
an application.
1. Configure class loaders for applications deployed on the server.
a. Click Servers > Application Servers > server_name to access the settings page for the
application server.
b. Set values for the application Class loader policy and Class loading mode of the server. For
information on these settings, see “Application server settings” on page 204 and class loaders.
2. Create a library reference for each shared library file that your application needs.
a. Go to the settings page for a class loader.
b. Click Libraries to access the Library Ref page.
c. Click Add.
d. On the settings page for a library reference, specify variables for the library reference as needed.
The variables identify the shared library file that your application uses.
e. Click Apply. The name of the library reference is shown in the list on the Library Ref page.
Repeat the previous steps until you define a library reference for each shared library that your
application needs.
When a Java 2 Platform, Enterprise Edition (J2EE) application is installed on a server or cluster,
dependency information is specified in its manifest file. WebSphere Application Server reads the
dependency information of the application (.ear file) to automatically associate the application with an
Installed optional packages used by WebSphere Application Server are described in section 8.2 of the
J2EE specification, Version 1.4 at http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf.
WebSphere Application Server supports using the manifest file (manifest.mf) in shared library .jar files
and application .ear files. WebSphere Application Server does not support the Java 2 Platform Standard
Edition (J2SE) Installed Optional Package semantics used in the J2SE specification
(http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html), which primarily serve the applet
environment. WebSphere Application Server ignores applet-specific tags within manifest files.
A sample manifest file follows for an application app1.ear that refers to a single shared library file
util.jar:
app1.ear:
META-INF/application.xml
ejb1.jar:
META-INF/MANIFEST.MF:
Extension-List: util
util-Extension-Name: com/example/util
util-Specification-Version: 1.4
META-INF/ejb-jar.xml
util.jar:
META-INF/MANIFEST.MF:
Extension-Name: com/example/util
Specification-Title: example.com’s util package
Specification-Version: 1.4
Specification-Vendor: example.com
Implementation-Version: build96
The syntax of a manifest entry depends on whether the entry applies to a member with a defining role (the
shared library) or a member with a referencing role (a J2EE application or a module within a J2EE
application).
188 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Implementation-Version
An optional tag that identifies the implementation version and links the defining and referencing
members.
Read about installed optional packages in “Installed optional packages” on page 187 and in section 8.2 of
the Java 2 Platform, Enterprise Edition (J2EE) specification, Version 1.4 at
http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf.
WebSphere Application Server does not support the Java 2 Platform Standard Edition (J2SE) Installed
Optional Package semantics used in the J2SE specification
(http://java.sun.com/j2se/1.3/docs/guide/extensions/spec.html), which primarily serve the applet
environment. WebSphere Application Server ignores applet-specific tags within manifest files.
Installed optional packages expand the existing shared library capabilities of an application server. Prior to
Version 6, an administrator was required to associate a shared library to an application or server. Installed
optional packages enable an administrator to declare a dependency in an application’s manifest file to a
shared library, with installed optional package elements listed in the manifest file, and automatically
associate the application to the shared library. During application installation, the shared library .jar file is
added to the class path of the application class loader.
If you use an installed optional package to associate a shared library with an application, do not associate
the same shared library with an application class loader or a server class loader using the administrative
console.
1. Assemble the library file, including the manifest information that identifies it as an extension. Two
sample manifest files follow. The first sample manifest file has application app1.ear refer to a single
shared library file util.jar:
app1.ear:
META-INF/application.xml
ejb1.jar:
META-INF/MANIFEST.MF:
Extension-List: util
util-Extension-Name: com/example/util
util-Specification-Version: 1.4
META-INF/ejb-jar.xml
util.jar:
META-INF/MANIFEST.MF:
Extension-Name: com/example/util
Specification-Title: example.com’s util package
Specification-Version: 1.4
Specification-Vendor: example.com
Implementation-Version: build96
The second sample manifest file has application app1.ear refer to multiple shared library .jar files:
app1.ear:
META-INF/application.xml
ejb1.jar:
META-INF/MANIFEST.MF:
Extension-List: util1 util2 util3
Util1-Extension-Name: com/example/util1
Util1-Specification-Version: 1.4
util1.jar:
META-INF/MANIFEST.MF:
Extension-Name: com/example/util1
Specification-Title: example.com’s util package
Specification-Version: 1.4
Specification-Vendor: example.com
Implementation-Version: build96
util2.jar:
META-INF/MANIFEST.MF:
Extension-Name: com/example/util2
Specification-Title: example.com’s util package
Specification-Version: 1.4
Specification-Vendor: example.com
Implementation-Version: build96
util3.jar:
META-INF/MANIFEST.MF:
Extension-Name: com/example/util3
Specification-Title: example.com’s util package
Specification-Version: 1.4
Specification-Vendor: example.com
Implementation-Version: build96
2. Create a shared library that represents the library file assembled in step 1. This installs the library file
as a WebSphere Application Server shared library.
3. Copy the shared library .jar file to the cluster members.
4. Assemble the application, declaring in the application manifest file dependencies to the library files
named the manifest created for step 1.
5. Install the application on the server or cluster.
During application installation, the shared library .jar files are added to the class path of the application
class loader.
To view this administrative console page, click Applications > Enterprise Applications
>application_name > Libraries.
If no shared libraries are defined, after you click Add a message is displayed stating that you must define
a shared library before you can create a library reference. A shared library is a container-wide library file
that can be used by deployed applications. To define a shared library, click Environment > Shared
Libraries and specify the scope of the container. Then, click New and specify a name and one or more
paths for the shared library. After you define a shared library, return to this page, click Add, and create a
library reference.
Library name:
Use this page to define library references, which specify how to use global libraries.
190 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
To view this administrative console page, click Applications > Enterprise Applications
>application_name > Libraries >library_reference_name. A shared library must be defined to view this
page.
A shared library is a container-wide library file that can be used by deployed applications. To define a
shared library, click Environment > Shared Libraries and specify the scope of the container. Then, click
New and specify a name and one or more paths for the shared library.
Library name:
Specifies the name of the shared library to use for the library reference.
These links are provided for convenience. Often, the information is not specific to the IBM WebSphere
Application Server product, but is useful all or in part for understanding the product. When possible, links
are provided to technical papers and Redbooks that supplement the broad coverage of the release
documentation with in-depth examinations of particular product areas.
Administration
v Listing of all IBM WebSphere Application Server Redbooks at http://publib-
b.boulder.ibm.com/Redbooks.nsf/Portals/WebSphere.
You should periodically save changes to your administrative configuration. You can change the default
locations of configuration files, as needed.
1. Edit configuration files. The master repository is comprised of .xml configuration files. You can edit
configuration files using the administrative console, scripting, wsadmin commands, programming, or by
editing a configuration file directly.
2. Save changes made to configuration files. Using the console, you can save changes as follows:
a. Click Save on the taskbar of the administrative console.
b. Put a check mark in the Synchronize changes with Nodes check box.
c. On the Save page, click Save.
3. Handle temporary configuration files resulting from a session timing out.
4. Change the location of temporary configuration files.
5. Change the location of backed-up configuration files.
6. Change the location of temporary workspace files.
7. Back up and restore configurations.
The cascading hierarchy of directories and the documents’ structure support multinode replication to
synchronize the activities of all servers in a cell. In a Network Deployment environment, changes made to
configuration documents in the cell repository, are automatically replicated to the same configuration
documents that are stored on nodes throughout the cell.
At the top of the hierarchy is the cells directory. It holds a subdirectory for each cell. The names of the cell
subdirectories match the names of the cells. For example, a cell named cell1 has its configuration
documents in the subdirectory cell1.
On the Network Deployment node, the subdirectories under the cell contain the entire set of documents for
every node and server throughout the cell. On other nodes, the set of documents is limited to what applies
to that specific node. If a configuration document only applies to node1, then that document exists in the
configuration on node1 and in the Network Deployment configuration, but not on any other node in the
cell.
192 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
cells
cell1
cell.xml resources.xml virtualhosts.xml variables.xml security.xml
nodes
nodeX
node.xml variables.xml resources.xml serverindex.xml
serverA
server.xml variables.xml
nodeAgent
server.xml variables.xml
nodeY
node.xml variables.xml resources.xml serverindex.xml
applications
sampleApp1
deployment.xml
META-INF
application.xml ibm-application-ext.xml ibm-application-bnd.xml
sampleApp2
deployment.xml
META-INF
application.xml ibm-application-ext.xml ibm-application-bnd.xml
You can use one of the administrative tools (console, wsadmin, Java APIs) to modify configuration
documents or edit them directly. It is preferable to use the administrative console because it validates
changes made to configurations. ″“Configuration document descriptions”″ states whether you can edit a
document using the administrative tools or must edit it directly.
If possible, edit a configuration document using the administrative console because it validates any
changes that you make to configurations. You can also use one of the other administrative tools (wsadmin
or Java APIs) to modify configuration documents. Using the administrative console or wsadmin scripting to
update configurations is less error prone and likely quicker and easier than other methods.
However, you cannot edit some files using the administrative tools. Configuration files that you must edit
manually have an X in the Manual editing required column in the table below.
Document descriptions
194 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
serverindex.xml config/cells/ Specify communication
cell_name/ ports used on a specific
nodes/ node.
node_name/
spi.policy config/cells/ Define security permissions X
cell_name/ for service provider libraries
nodes/ such as resource providers.
node_name/
variables.xml config/cells/ Configure variables used to
cell_name/ parameterize any part of
config/cells/ the configuration settings.
cell_name/
nodes/
node_name/
config/cells/
cell_name/
nodes/node_name/
servers/
server_name/
Object names
When you create a new object using the administrative console or a wsadmin command, you often must
specify a string for a name attribute. Most characters are allowed in the name string. However, the name
string cannot contain the following characters. The name string also cannot contain leading and trailing
spaces.
/ forward slash
\ backslash
* asterisk
, comma
: colon
; semi-colon
= equal sign
+ plus sign
? question mark
| vertical bar
< left angle bracket
> right angle bracket
& ampersand (and sign)
% percent sign
’ single quote mark
″ double quote mark
]]> No specific name exists for this character combination.
. period (not valid if first character; valid if a later character)
Configuration repositories
A configuration repository stores configuration data. By default, configuration repositories reside in the
config subdirectory of the product installation root directory.
A cell-level repository stores configuration data for the entire cell and is managed by a file repository
service that runs in the deployment manager. The deployment manager and each node have their own
When you change a WebSphere Application Server configuration by creating an application server,
installing an application, changing a variable definition or the like, and then save the changes, the cell-level
repository is updated. The file synchronization service distributes the changes to the appropriate nodes.
When a session times out, the configuration file in use is saved under the userid/timeout directory under
the ServletContext’s temp area. This is the value of the javax.servlet.context.tempdir attribute of the
ServletContext. By default, it is: install_root/temp/hostname/Administration/admin/admin.war
You can change the temp area by specifying it as a value for the tempDir init-param of the action servlet in
the deployment descriptor (web.xml) of the administrative application.
The next time you log on to the console, you are prompted to load the saved configuration file. If you
decide to load the saved file:
1. If a file with the same name exists in the install_root/config directory, that file is moved to the
userid/backup directory in the temp area.
2. The saved file is moved to the install_root/config directory.
3. The file is then loaded.
If you decide not to load the saved file, it is deleted from the userid/timeout directory in the temp area.
The configuration file is also saved automatically when the same user ID logs into the non-secured
console again, effectively starting a different session. This process is equivalent to forcing the existing user
ID out of session, similar to a session timing out.
The default location for the configuration temporary directory is CONFIG_ROOT/temp. Change the location
by doing either of the following:
v Set the system variable was.repository.temp to the location you want for the repository temporary
directory. Set the system variable when launching a Java process using the -D option. For example, to
set the default location of the repository temporary directory, use the following option:
-Dwas.repository.temp=%CONFIG_ROOT%/temp
v Use the administrative console to change the location of the temporary repository file location for each
server configuration. For example, on the Network Deployment product, to change the setting for a
deployment manager, do the following:
1. Click System Administration > Deployment Manager in the navigation tree of the administrative
console. Then, click Administration Services, Repository Service, and Custom Properties.
2. On the Properties page, click New.
3. On the settings page for a property, define a property for the temporary file location. The key for this
property is was.repository.temp. The value can include WebSphere Application Server variables
such as ${WAS_TEMP_DIR}/config. Then, click OK.
196 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
The system property set using the first option takes precedence over the configuration property set using
the second option.
The system property set using the first option takes precedence over the configuration property set using
the second option.
The default workspace root is calculated based on the user installation root: %user.install.root%/wstemp.
You can change the default location of temporary workspace files by doing the following:
v Distributed platforms: Change the setting for the system variable workspace.user.root or workspace.root
so its value is no longer set to the default location. Set the system variable when launching a Java
process using the -D option. For example, to set the default location the full path of the root of all users’
directories, use the following option:
-Dworkspace.user.root=full_path_for_root_of_all_user_directories
With this conversion, the deployment manager can process the configuration files uniformly. However,
nodes on an old release cannot readily use configuration files that are in the format of the new release.
WebSphere Application Server addresses the problem when it synchronizes the configuration files from the
master repository to a node on an old release. The configuration files are first transformed into the old
release format before they ship to the node. WebSphere Application Server performs the following
transformations on configuration documents:
v Changes the XML name space from the format of the new release to the format of the old release
v Strips out attributes of cell-level documents that are applicable to the new release only
v Strips out new resource definitions that are not understood by old release nodes
These links are provided for convenience. Often, the information is not specific to the IBM WebSphere
Application Server product, but is useful all or in part for understanding the product. When possible, links
are provided to technical papers and Redbooks that supplement the broad coverage of the release
documentation with in-depth examinations of particular product areas.
Administration
v IBM WebSphere Application Server Redbooks at http://publib-
b.boulder.ibm.com/Redbooks.nsf/Portals/WebSphere.
This site contains a listing of all WebSphere Application Server Redbooks.
v IBM developerWorks WebSphere at http://www.software.ibm.com/wsdd.
This site is the home of technical information for developers working with WebSphere products. You can
download WebSphere software, take a fast path to developerWorks zones, such as VisualAge Java or
WebSphere Application Server, learn about WebSphere products through a newcomers page, tutorials,
technology previews, training, and Redbooks, get answers to questions about WebSphere products, and
join the WebSphere community, where you can keep up with the latest developments and technical
papers.
v WebSphere Application Server Support page at
http://www.ibm.com/software/webservers/appserv/support.html.
Take advantage of the Web-based Support and Service resources from IBM to quickly find answers to
your technical questions. You can easily access this extensive Web-based support through the IBM
Software Support portal at URL http://www-3.ibm.com/software/support/ and search by product
category, or by product name. For example, if you are experiencing problems specific to WebSphere
Application Server, click WebSphere Application Server in the product list. The WebSphere Application
Server Support page appears.
198 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
This section describes how to create and configure application servers in an existing application server
environment.
A WebSphere Application Server administrator can configure one or more application servers and perform
tasks such as the following:
1. Create application servers.
2. Manage application servers.
3. Configure transport chains.
4. Develop custom services.
5. Define processes for the application server. As part of defining processes, you can define:
6. Use the Java virtual machine.
After preparing a server, deploy an application or component on the server. See “Preparing to host
applications” on page 259 for a sample procedure that you might follow in configuring the application
server runtime and resources.
Application servers
Application servers extend a Web server’s capabilities to handle Web application requests, typically using
Java technology. An application server makes it possible for a server to generate a dynamic, customized
response to a client request.
The WebSphere Application Server product provides multiple application servers that can be either
separately configured processes or nearly identical clones.
For information about creating server templates, see “Creating server templates” on page 201. For
information about listing server templates, see “Listing server templates” on page 201. For information
about deleting server templates, see “Deleting server templates” on page 201.
With WebSphere Application Server Version 6.0, you can now upgrade a portion of the nodes in a cell,
while leaving others at the older release level. This means that, for a period of time, you may be managing
servers that are at the current release and servers that are running the newer release in the same cell. In
this mixed environment, there are restrictions on what you can do with servers at the older release level.
They are:
v You can only create new server definitions on nodes that are running WebSphere Application Server
Version 6.0.
v When you create a new server definition, you must use a server configuration template, and that
template must be created from a WebSphere Application Server Version 6.0 server instance. You
cannot create (or use) a template from a WebSphere Application Server Version 5.x server instance.
There are no restrictions on what you can do with the servers running on the newer release level.
The steps below describe how to use the Create New Application Server page.
1. Go to the Application Servers page and click New. This brings you to the Create New Application
Server page. You can also create the new application server using the wsadmin
createApplicationServer command. For information, see “Commands for the AdminTask object” on
page 672.
2. Follow the instructions on the Create New Application Server page and define your application server.
a. Select a node for the application server.
b. Type in a name for the application server. The name must be unique within the node.
c. Select a template to be used in creating the new server. You can use a default application server
template for your new server or use an existing application server as a template. The new
application server will inherit all properties of the template server.
d. Select whether the new server will have unique ports for each HTTP transport. By default, this
option is enabled. If you select this option, you might need to update the alias list for the virtual
host that you plan to use with this server to contain these new port values. If you deselect this
option, ensure that the default port values do not conflict with other servers on the same physical
machine.
e. If you create the new server using an existing application server as a model, select whether to map
applications from the existing server to the new server. By default, this option is disabled.
3. To use multiple language encoding support in the administrative console, configure an application
server with UTF-8 encoding enabled.
The new application server appears in the list of servers on the Application Servers page.
Note that the application server created has many default values specified for it. An application server has
many properties that can be set and creating an application server on the Create New Application Server
page specifies values for only a few of the important properties. To view all of the properties of your
application server and to customize your application server further, click on the name of your application
server on the Application Servers page and change the settings for your application server as needed.
200 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Configuring application servers for UTF-8 encoding
To use multiple language encoding support in the administrative console, you must configure an
application server with UTF-8 encoding enabled.
1. Create an application server or use an existing application server.
2. On the Application Server page, click on the name of the server you want enabled for UTF-8.
3. On the settings page for the selected application server, under Server Infrastructure, click Java and
Process Management > Process Definition.
4. On the Process Definition page, click Java Virtual Machine.
5. On the Java Virtual Machine page, specify -Dclient.encoding.override=UTF-8 for Generic JVM
Arguments and click OK.
6. Click Save on the console task bar.
7. Restart the application server.
Note that the autoRequestEncoding option does not work with UTF-8 encoding enabled. The default
behavior for WebSphere Application Server is, first, to check if charset is set on content type header. If it
is, then the product uses content type header for character encoding; if it is not, then the product uses
character encoding set on server using the system property default.client.encoding. If charset is not
present and the system property is not set, then the product uses ISO-8859-1. Enabling
autoRequestEncoding on a Web module changes the default behavior: if charset it not present on an
incoming request header, the product checks the Accept-Language header of the incoming request and
does encoding using the first language found in that header. If there is no charset on content type header
and no Accept language header, then the product uses character encoding set on server using the system
property default.client.encoding. As with the default behavior, if charset is not present and the system
property is not set, then the product uses ISO-8859-1.
In the administrative console, go to Servers --> Application Servers --> and then click Templates. This
brings you to the Server templates page, which lists all of the existing templates.
Note that you can also list server templates using the listServerTemplates wsadmin command. For more
information, see the Administering applications and their environment PDF.
You can use the Application Servers panel of the administrative console, the “Getting started with
scripting” on page 365, or command line tools such as startServer and stopServer to manage your
application servers.
Note: With WebSphere Application Server Version 6.0, you can now upgrade a portion of the nodes in a
cell, while leaving others at the older release level. This means that, for a period of time, you may
be managing servers that are at the current release and servers that are running the newer release
in the same cell. Note that in this mixed environment, there are some restrictions on what you can
do with servers that are running the older release level. There are no restrictions on what you can
do with the servers that are running on the newer release level. For details, see “Creating
application servers” on page 200 and “Creating clusters” on page 271.
1. Access the Application Servers page. Click Servers > Application Servers in the console navigation
tree.
2. View information about application servers.
The Application Servers page lists application servers in the cell and the nodes holding the application
servers. The Network Deployment product also shows the status of the application servers. The status
indicates whether a server is started, stopped, or unavailable.
To view additional information about a particular application server or to further configure an application
server, click on the application server name under Name. This accesses the settings page for an
application server.
To view product information for an application server:
a. Verify that the application server is running.
b. Display the Runtime tab on the settings page for an application server.
c. Click Product Information.
The Product Information page displayed lists the WebSphere Application Server products installed for
the application server, the version and build levels for the products, the build dates, and any interim
fixes applied to the application server.
Note: You can also get this information by using the versionInfo command. For more information, see
″versionInfo command″ in the information center.
3. Create an application server.
a. Click Servers > Application Servers in the console navigation tree to access the Application
Servers page.
b. Click New, and follow the instructions on the Create New Application Server page.
4. Start your application server.
5. Monitor the running of application servers.
6. Stop your application server.
7. Delete an application server.
202 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
a. Click Servers > Application Servers in the console navigation tree to access the Application
Servers page.
b. Place a checkmark in the check box beside an application server to delete it.
c. Click Delete.
d. Click OK to confirm the deletion.
Server collection
Use this page to view information about and manage application servers, generic servers, Java Message
Service (JMS) servers, and Web servers.
Application Servers
The Application Servers page lists the application servers in the cell. You can use this page to create new
application servers, create application server templates, or delete existing application servers. You can
also use this page to start and stop these application servers.
The Network Deployment product also shows the status of the application servers. The status indicates
whether a server is running, stopped, or encountering problems.
Generic Servers
The Generic Servers page lists the generic servers in the cell. You can use this page to create new
generic servers, create generic server templates, or delete existing generic servers. You can also use this
page to start and stop these generic servers.
The Network Deployment product also shows the status of the generic servers. The status indicates
whether a server is running, stopped, or encountering problems.
The JMS Servers page lists the JMS servers in the cell. You can use this page to start and stop these
JMS servers.
Each JMS server provides the functions of the JMS provider for a node in your administrative domain.
There can be at most one JMS server on each node in the administration domain, and any application
server within the domain can access JMS resources served by any JMS server on any node in the
domain.
Note: JMS servers apply only to WebSphere Application Server Version 5.x nodes. You cannot create a
JMS server on a node that is running WebSphere Application Server 6.0, but the existing Version
5.x JMS servers will continue to be displayed, and you can modify their properties. You can also
delete Version 5.x JMS servers.
Web Servers
Name:
Specifies a logical name for the server. For WebSphere Application Server, server names must be unique
within a node.
Node:
Version:
Specifies the version of the WebSphere Application Server product on which the server runs.
Status:
Note that if the status is Unavailable, the node agent is not running in that node and you must restart the
node agent before you can start the server.
An application server is a server which provides services required to run enterprise applications. Use this
page to view or change the settings of an application server instance.
To view this administrative console page, click Servers > Application Servers >server_name.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when the server is running.
Name:
Specifies a logical name for the server. Server names must be unique within a node. However, for multiple
nodes within a cluster, you may have different servers with the same server name as long as the server
and node pair are unique.
For example, a server named server1 in a node named node1 in the same cluster with a server named
server1 in a node named node2 is allowed. Configuring two servers named server1 in the same node is
not allowed. WebSphere Application Server uses the server name for administrative actions, such as
referencing the server in scripting.
204 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Enabling this option may reduce the startup time of an application server. This may include JVM settings
such as disabling bytecode verification and reducing JIT compilation costs. Do not enable this setting on
production servers. This setting is only available on application servers running WebSphere Application
Server Version 6.0 and later.
Specifies that you want to use the JVM settings -Xverify and -Xquickstart on startup. After selecting this
option, save the configuration and restart the server to activate development mode.
The default setting for this option is false, which indicates that the server will not be started in
development mode. Setting this option to true specifies that the server will be started in development
mode (with settings that will speed server startup time).
Parallel start:
Select this field to start the server on multiple threads. This might shorten the startup time.
Specifies that you want the server components, services, and applications to start in parallel rather than
sequentially.
The default setting for this option is true, which indicates that the server be started using multiple threads.
Setting this option to false specifies that the server will not be started in using multiple threads (which
may lengthen startup time).
Note that the order in which the applications start depends on the weights you assigned to each them.
Applications that have the same weight are started in parallel. You set an application’s weight with the
Starting weight option on the Applications > Enterprise Applications > application_name page of the
Administrative Console. For more information about the Starting weight option, see the Installing your
application serving environment PDF.
Select whether there is a single class loader to load all applications or a different class loader for each
application.
Specifies whether the class loader should search in the parent class loader or in the application class
loader first to load a class. The standard for Developer Kit class loaders and WebSphere Application
Server class loaders is Parent first.
If you select Parent last, your application can override classes contained in the parent class loader, but
this action can potentially result in ClassCastException or linkage errors if you have mixed use of
overridden classes and non-overridden classes.
Process Id:
The process ID property is read only. The system automatically generates the value.
Node name:
State:
Ports collection:
Use this page to view and manage communication ports used by run-time components running within a
process. Communication ports provide host and port specifications for a server.
To view this administrative console page, click Servers > Application Servers >server_name
Communications > Ports.
Note that this page displays only when you are working with ports for application servers.
Port Name:
Specifies the name of a port. Each name must be unique within the server.
Host:
Specifies the IP address, domain name server (DNS) host name with domain name suffix, or just the DNS
host name, used by a client to request a resource (such as the naming service, or administrative service).
Port:
Specifies the port for which the service is configured to accept client requests. The port value is used in
conjunction with the host name.
Transport Details:
Provides a link to the transport chains associated with this port. If no transport chains are associated with
this port, the string ″No associated transports″ appears in this column.
Ports settings:
Use this to view and change the configuration for a communication port used by run-time components
running within a process. A communication port provides host and port specifications for a server.
For WebSphere Application Server for Network Deployment, you can view this administrative console page
by clicking one of the following paths:
v Servers > Application Servers >server_name > Ports >port_name
v Servers > JMS Servers >server_name > Security Port Endpoint
v Servers > JMS Servers >server_name > Ports >port_name
206 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Port Name:
Specifies the name of the port. The name must be unique within the server.
Note that this field displays only when you are defining a port for an application server. You can select a
radio button to:
Well-known Port
select a previously defined port from the drop down list
User-defined Port
create a port with a new name by entering the name in the text box
Host:
Specifies the IP address, domain name server (DNS) host name with domain name suffix, or just the DNS
host name, used by a client to request a resource (such as the naming service, administrative service, or
JMS broker).
For example, if the host name is myhost, the fully qualified DNS name can be myhost.myco.com and the IP
address can be 155.123.88.201.
Host names on the ports can be resolvable names or IP addresses. The server will bind to the specific
host name or IP address that is supplied. That port will only be accessible through the IP address that is
resolved from the given host name or IP address. The IP address may be of the IPv4 (Internet Protocol
Version 4) format for all platforms, and IPv6 (Internet Protocol Version 6) format on specific operating
systems where the server supports IPv6.
Port:
Specifies the port for which the service is configured to accept client requests. The port value is used in
conjunction with the host name.
Port numbers in the server can be reused among multiple ports as long as they have host names that
resolve to unique IP addresses and there is not a port with the same port number and a wildcard ( * ) host
name. A port number is valid in the range of 0 and 65535. 0 specifies that the server should bind to any
ephemeral port available.
Use this page to view and manage arbitrary name-value pairs of data, where the name is a property key
and the value is a string value that can be used to set internal system configuration properties.
The administrative console contains several Custom Properties pages that work similarly. To view one of
these administrative pages, click a Custom Properties link.
Name:
Do not start your property names with was. because this prefix is reserved for properties that are
predefined in WebSphere Application Server.
Value:
Description:
Use this page to configure arbitrary name-value pairs of data, where the name is a property key and the
value is a string value that can be used to set internal system configuration properties. Defining a new
property enables you to configure a setting beyond that which is available in the administrative console.
For Network Deployment and the z/OS platform, you can view this administrative console page by clicking
one of the following paths:
v Servers > Application Servers >server_name. Then, under Server Infrastructure, click Administration
> Custom Properties
v Servers >JMS Servers > server_name. Then, under Server Infrastructure, click Administration >
Custom Properties
Name:
Do not start your property names with was. because this prefix is reserved for properties that are
predefined in WebSphere Application Server.
Value:
Description:
Use this page to view information about and manage server component types such as application servers,
messaging servers, or name servers.
To view this administrative console page, click Servers > Application Servers >server_name. Then,
under Server Infrastructure, click Administration > Server Components.
208 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
Type:
To view this administrative console, click Servers > Application Servers >server_name. Then, under
Server Infrastructure, click Administration > Server Components >server_component_name.
Name:
Initial State:
Specifies the desired state of the component when the server process starts. The options are: Started and
Stopped. The default is Started.
Use this page to select or create a group of threads that an application server uses. Requests are sent to
the server through any of the HTTP transports. A thread pool enables components of the server to reuse
threads to eliminate the need to create new threads at run time. Creating new threads expends time and
resources.
To view this administrative console page, click Servers > Application Servers >server_name > Thread
Pools. (You can reach this page through more than one navigational route.)
Use this page to configure a group of threads that an application server uses. Requests are sent to the
server through any of the HTTP transport channels or HTTP transports. A thread pool enables components
of the server to reuse threads to eliminate the need to create new threads at run time. Creating new
threads expends time and resources.
To view this administrative console page, click Servers > Application Servers >server_name > Thread
Pools, then select the thread pool. (You can reach this page through more than one navigational route.)
Minimum size:
Maximum size:
Specifies the number of milliseconds of inactivity that should elapse before a thread is reclaimed. A value
of 0 indicates not to wait and a negative value (less than 0) means to wait forever.
Note: The administrative console does not allow you to set the inactivity timeout to a negative number. To
do this you must modify the value directly in the server.xml file.
Specifies whether the number of threads can increase beyond the maximum size configured for the thread
pool.
A generic server is a server that is managed in the WebSphere Application Server administrative domain,
although it is not a server that is supplied by the WebSphere Application Server product. The generic
server can be any server or process that is necessary to support the Application Server environment,
including a Java server, a C or C++ server or process, or a Remote Method Invocation (RMI) server.
To view this administrative console page, click Servers > Generic Servers >server_name.
On the Configuration tab, you can edit fields. On the Runtime tab, you can look at read-only information.
The Runtime tab is available only when the server is running.
Name:
Generic server names must be unique within a node. For multiple nodes within a cluster, you can have
different generic servers with the same server name as long as the server and node pair are unique. For
example, a server named server1 in a node named node1 in the same cluster with a server named
server1 in a node named node2 is allowed. Configuring two servers named server1 in the same node is
not allowed. WebSphere Application Server uses the server name for administrative actions, such as
referencing the server in scripting.
210 IBM WebSphere Application Server Network Deployment, Version 6: Administering applications and their environment
It is highly recommended that you use a naming scheme that makes it easy to distinguish your generic
application servers from regular WebSphere Application Servers. This will enable you to quickly determine
whether to use the Terminate or Stop button in the administrative console to stop a specific application
server.
You must use the Terminate button to stop a generic application server.
Starting servers
Starting a server starts a new server process based on the process definition settings of the current server
configuration. The node agent for the node on which the Application Server resides must be running
before you can start the Application Server.
If you need to restart a server, follow the directions in this article for starting servers. The procedure that
applies to starting servers also applies to restarting servers.
Note: If you created a new server definition using a base WebSphere Application Server, you cannot start,
stop, or manage the new server using the original base Application Server.
Note: After you start an Application Server, other processes might not discover the running Application
Server immediately. Application Servers are discovered by the node agent. Node agents are
discovered by the deployment manager. Node agents usually can discover local Application Servers
quickly but it can take a deployment manager from 2 to 60 seconds to discover a node agent.
Note: If you are using clusters, note that the Initial State property of the Application Server
subcomponent (Servers > Application Server > server_name > Administration > Server
Components > Application Server) is not intended to be used to control the state of individual
servers in the cluster at the time the cluster is started. It is intended only as a way to control the
state of the Application Server subcomponent of a server. It is best to start and stop the individual
servers of a cluster using the Server options of the Administrative Console or command line
commands (startServer and stopServer).
v If you are using Windows, you can use the Start menu to start the Application Server. If you
are using the Network Deployment version of the product, click Start > Programs > IBM WebSphere >
Network Deployment v6.0 > Start the Manager You can check that the server has successfully
started by checking the startServer.log file. If the server has successfully started, the last two lines of
the startServer.log file reads:
Server launched. Waiting for initialization status.
Server server1 open for e-business; process id is 1932.
The startServer.log file is located in the <drive>:\Program
Files\IBM\WebSphe