Gettingstarted With WPS&ESB Part3
Gettingstarted With WPS&ESB Part3
Carla Sadtler
Srinivasa R Borusu
Sergiy Fastovets
Thalia Hooker
Ernese Norelus
Fabio Paone
Dong Yu
ibm.com/redbooks
Draft Document for Review June 3, 2008 1:55 pm 7643edno.fm
June 2008
SG24-7643-00
7643edno.fm Draft Document for Review June 3, 2008 1:55 pm
Note: Before using this information and the product it supports, read the information in
“Notices” on page vii.
This edition applies to WebSphere Process Server V6.1 and WebSphere Enterprise Service Bus
V6.1.
Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
The team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
iv Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643TOC.fm
Contents v
7643TOC.fm Draft Document for Review June 3, 2008 1:55 pm
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
vi Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643spec.fm
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that
does not infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document.
The furnishing of this document does not give you any license to these patents. You can send license
inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer
of express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may
make improvements and/or changes in the product(s) and/or the program(s) described in this publication at
any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm
the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on
the capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the
sample programs are written. These examples have not been thoroughly tested under all conditions. IBM,
therefore, cannot guarantee or imply reliability, serviceability, or function of these programs.
Trademarks
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
Oracle, JD Edwards, PeopleSoft, Siebel, and TopLink are registered trademarks of Oracle Corporation
and/or its affiliates.
EJB, Java, JDBC, JMX, JVM, J2EE, and all Java-based trademarks are trademarks of Sun Microsystems,
Inc. in the United States, other countries, or both.
Microsoft, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States,
other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
viii Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643pref.fm
Preface
This book provides new users with information on installing and configuring a
WebSphere® Process Server and WebSphere Enterprise Service Bus runtime
environment. It includes installation examples on distributed, i5/OS®, and z/OS®
platforms. It also provides basic configuration information for deploying
applications.
x Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643pref.fm
Rich Conway
International Technical Support Organization, Raleigh Center
Margaret Ticknor
International Technical Support Organization, Raleigh Center
Stephen Cocks
IBM UK
Andrew Mead
IBM UK
Sharuff Morsa
IBM UK
Dean Barker
IBM UK
Your efforts will help increase product acceptance and customer satisfaction. As
a bonus, you will develop a network of contacts in IBM development labs, and
increase your productivity and marketability.
Find out more about the residency program, browse the residency index, and
apply online at:
ibm.com/redbooks/residencies.html
Preface xi
7643pref.fm Draft Document for Review June 3, 2008 1:55 pm
Comments welcome
Your comments are important to us!
xii Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
This chapter will also provide concepts for WebSphere ESB within the context of
a WebSphere Process Server installation.
2 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
1.1.1 Profiles
Runtime environments are built by creating profiles. Each profile contains files
specific to that runtime such as logs and configuration files. Profiles can be
created during installation and after. After a profile is created, further
configuration to the runtime environment is done using WebSphere
administrative tools that include scripting, commands, and the administrative
console.
Each profile is stored in a unique directory path selected at profile creation time.
The default is for the profiles to be stored in a subdirectory of the installation
directory, but they can be located anywhere. All profiles share the product
binaries.
Profiles for WebSphere Process Server and WebSphere Enterprise Bus are
actually profiles built for WebSphere Application Server Network Deployment and
augmented with the process server or ESB function.
Profile types
There are three profile types used to define server environments:
Stand-alone server: This type of profile creates an application server that is
managed from its own administrative console. It functions independently from
all other servers and deployment managers.
When the tool your are using to create profiles offers the choice of creating a
profile for multiple environments, the stand-alone server option is associated
with a WebSphere Application Server Network Deployment profile. The
profiles augmented for additional function are referred to as:
– Stand-alone process server profile: A stand-alone server profile that
has been augmented for WebSphere Process Server.
– Stand-alone enterprise service bus profile: A stand-alone service bus
profile that has been augmented for WebSphere ESB.
Deployment manager: This type of profile creates a deployment manager
that is used to administer nodes that are federated into its cell.
Custom: A custom profile contains an empty node. No application server or
deployment manager is defined by this profile. The typical use for a custom
profile is to federate its node to a deployment manager. After federating the
Augmenting profiles
WebSphere Application Server profiles (both base and Network Deployment)
can be augmented to have WebSphere ESB or WebSphere Process Server
function. Likewise, WebSphere ESB profiles can be augmented to have
WebSphere Process Server function. However, the profile to be augmented must
exist on a system with a WebSphere Process Server installation.
Custom profiles that have been federated to a cell must be augmented manually.
A federated profile must be removed from the deployment manager first, then
augmented. Removing the node from the deployment manager will restore the
node to the configuration saved prior to using addNode command. Data might be
lost. The deployment manager profile must also be federated. Then the custom
profile can be federated back to the cell. The deployment manager must also be
augmented before federating the node back to the cell. For more information,
see:
Augmenting existing profiles (distributed and i5/OS platforms)
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/tins_aug_profiles.html
4 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
Standalone servers are most often used for test environment and for
non-production applications.
Profiles
A stand-alone server for WebSphere Process Server is created by defining an
stand-alone process server profile. A stand-alone server for WebSphere ESB is
created by defining an stand-alone enterprise service bus profile.
Each node has one or more application servers. The nodes can reside on the
same machine as the deployment manager or on multiple separate machines.
Each node has a node agent that works with the deployment manager to manage
administration processes.
Figure 1-1 on page 6 shows a runtime environment that consists of a single cell,
a deployment manager that manages that cell, and two nodes each with two
application servers.
Server A Cell
Deployment
Manager
Server B Server C
Profiles
A distributed server environment consists of one deployment manager profile
and one or more custom node profiles.
6 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
CR CR A CR
CR CR
AppServer AppServer
CR SR CR SR
Figure 1-2 One cell, deployment manager, node on same LPAR, node separated
Address space
An address space is the area of successive virtual addresses that z/OS assigns
to a user (or separately running program) for executing instructions and storing
data. It is equivalent to a process on distributed platforms.
Control region
The control region (CR) is basically the only public interface to this collection of
JVMs that, all together, represent a single application server. All requests go
through the CR and the CR forwards them to one of the potentially many servant
controllers for processing. In short, a CR is like a router or even an address
space that binds the TCP ports used by the server. A CR does have an
embedded JVM™, which is the only JVM allowed to receive connections from
the outside world. Each server has only one CR that is started through a JCL
start procedure.
The requests arrive in the CR process, which then works with the z/OS workload
manager (WLM) to dispatch the work to the servant regions (Figure 1-3).
8 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
JCL start
procedure
Servant region #n
JVM
Application
Servant region
The servant region (SR) is where the requests are actually processed and is
equivalent to the application server on a distributed environment platform. All the
SRs are identical and have the same J2EE level. The SR depends on the CR for
many services such as communication, security and transaction control.
When multiple SRs are created, a copy of each application is found in each SR
and the CR will forward the requests to the appropriate SR.
zWLM
The z/OS workload manager manages resources to ensure that performance
goals are met. It is a part of z/OS. To differentiate this from the workload
management of WebSphere, we refer to this as zWLM. As the CR receives
incoming requests, it works with zWLM to ensure that these requests are
classified according to organization-defined rules and dispatched appropriately
to servant regions that can handle the load. zWLM can alter factors to ensure
that performance goals are met, for example, by updating importance levels of
services classes and starting additional servant regions.
Daemon
A daemon server provides the location name service for external clients. There is
one daemon per cell per MVS™ image. If your cell consists of multiple MVS
images, a daemon will be created for each MVS image where your cell exists. If
there are two cells on the same MVS image, two daemons will be created. Each
daemon server consists of a single CR.
Daemon servers are started automatically when the first server for the cell on
that MVS image is started. If you kill a daemon, all the servers for that cell on that
MVS image come down.
This section will describe common topologies, starting with a simple stand-alone
server topology, and progressing to more complex topologies that have been
identified as common deployment patterns.
10 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
This topology is most often seen for non-critical applications and in test
environments.
Node1
Application
Modules
Mediation m odules
Support
Messaging
environment options in the profile creation tool and the administrative console
were not recommended.
12 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
This pattern is recommended for the scenarios where most invocations are
synchronous. Messaging use should be minimal and applications role should
dominate the use cases.
The cluster can consist of multiple nodes and multiple servers on each node. A
cluster consisting of WebSphere Process Server nodes and servers can host
both business integration and mediation applications. Applications are installed
to the cluster.
Node1 Node2
Node1 Node2
Cluster1
Cluster2
WebSphere WebSphere
Process Process Messaging
Server Server
14 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
Node1 Node2
Cluster1
WebSphere WebSphere
Process Process Application
Server Server Modules
Mediation modules
WebSphere Cluster2
WebSphere
Process Process Messaging
Server Server
Cluster3
WebSphere WebSphere
Process Process
Support
Server Server
A plug-in configuration file generated on the application server and placed on the
Web server is used for routing information. In order to manage the generation
and propagation of these plug-in configuration files, Web servers are defined to
the WebSphere configuration repository. In some cases, Web server
configuration and management features are also available from the WebSphere
administrative tools.
Node1 Node2
Cluster1
WebSphere WebSphere
Web Process Process Application
Server Server Server Modules
Mediation modules
WebSphere Cluster2
WebSphere
Process Process Messaging
Server Server
Cluster3
WebSphere WebSphere
Process Process
Support
Server Server
Some additional administrative console tasks are supported for IBM HTTP
Servers on managed and unmanaged nodes. For example, you can start IBM
HTTP Servers, stop them, terminate them, display their log files, and edit their
configuration files.
Unmanaged nodes
An unmanaged node does not have a node agent to manage its servers. In a
stand-alone server environment, you can define one Web server and it, by
necessity, resides on an unmanaged node. In a distributed server environment,
Web servers defined to an unmanaged node are typically remote Web servers.
16 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
If the Web server is defined to an unmanaged node, you can do the following:
1. Check the status of the Web server.
2. Generate a plug-in configuration file for that Web server.
If the Web server is an IBM HTTP Server and the IHS Administration server is
installed and properly configured, you can also:
a. Display the IBM HTTP Server Error log (error.log) and Access log
(access.log) files.
b. Start and stop the server.
c. Display and edit the IBM HTTP Server configuration file (httpd.conf).
d. Propagate the plug-in configuration file after it is generated.
Managed nodes
In a distributed server environment, you can define multiple Web servers. These
Web servers can be defined on managed or unmanaged nodes. A managed node
has a node agent. If the Web server is defined to a managed node, you can do
the following:
1. Check the status of the Web server.
2. Generate a plug-in configuration file for that Web server.
3. Propagate the plug-in configuration file after it is generated.
If the Web server is an IBM HTTP Server (IHS) and the IHS Administration
server is installed and properly configured, you can also:
a. Display the IBM HTTP Server Error log (error.log) and Access log
(access.log) files.
b. Start and stop the server.
c. Display and edit the IBM HTTP Server configuration file (httpd.conf).
application server can have only one Web server definition. A distributed server
environment, on the other hand, can have multiple Web server definitions. The
script creates a new Web server definition unless the Web server name is the
same.
For remote installations, you must copy the script from the Web server machine
to the WPS_install_root/bin directory on the application server machine for
execution. The script runs against the default profile. If one machine is running
under Linux® or UNIX® and the other machine is running under Windows®, use
the script created in the <plug-in_home>/bin/crossPlatformScripts directory.
If you are federating a stand-alone application server into a cell, any Web server
definitions created for a stand-alone application server will be lost when they are
federated. If you are creating a distributed server environment this way, wait until
after federating your application servers to create Web server definitions.
For more information about the installation of Web server plug-ins and how the
Web server definitions scripts are generated and executed, see WebSphere
Application Server V6.1: Planning and Design, SG24-7305.
Please refer to the WebSphere Process Server V6.1.0 information center for
more in-depth planning and installation topics:
Planning for WebSphere Process Server (distributed and i5/OS)
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/cpln_plancons.html
18 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
1.3.1 Prerequisites
Before starting the installation process, check the following Web site to make
sure you have met the prerequisites:
WebSphere Process Server detailed system requirements
http://www-1.ibm.com/support/docview.wss?uid=swg27006205
To install on an i5/OS system, you must use a valid i5/OS user profile for that
system. The user profile must have *ALLOBJ and *SECADM authorities. Without
these authorities, the installation will fail.
Distributed systems
Installation on distributed systems can be done interactively or silently. Interactive
installation is initiated by executing the launchpad interface and selecting the
option to install WebSphere Process Server. An example of this can be found in
Chapter 2, “Installation on distributed and i5/OS systems” on page 37.
To perform a silent install, you build a response file and execute the install
command.
Both installation methods install the binary files and (optionally) allow you to
create one profile. Additional profiles can be created after installation using the
PMT or manageprofiles command.
i5/OS
Installation on i5/OS can be done using one of the following methods:
Interactively from a Windows workstation
Silently from a Windows workstation
Silently on the i5/OS system
The installation installs the binary files and optionally, allows you to create one
profile. Additional profiles can be created after installation using the PMT on a
Windows workstation or the manageprofiles command on i5/OS.
20 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
z/OS
Installation on z/OS is done in phases.
1. Use SMPE to install and configure WebSphere Application Server for z/OS.
2. Use SMP/E to install the WebSphere Process Server product binaries into an
HFS or zFS file system.
3. Create the WebSphere Application Server profiles required for the topology
you select using the customization dialog or zPMT.
4. Run the zSMPInstall.sh script to install WebSphere Process Server to each
WebSphere Application Server profile directory.
5. Create the appropriate databases and storage groups required by
WebSphere Process Server.
6. Run the zWPSConfig.sh to configure the server as a process server, enabling
the server to handle business processes and mediations.
Note: When you order WebSphere Process Server for z/OS you get the
WebSphere ESB runtime that allows you to run mediations in a
WebSphere Process Server configured server. You can't build an ESB-only
server. There is a zWESBConfig.sh script shipped with WebSphere
Process Server, but it doesn't work.
In order to build an ESB-only server you have to order, SMP/E install and
configure the WebSphere ESB for z/OS product separately.
For information on these steps, see the information center, starting with this
article:
Installing and configuring WebSphere Process Server (z/OS)
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.z.610.doc/doc/iins_zos_welcome.html
22 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/co
m.ibm.websphere.wps.610.doc/doc/gmig_deprecationlist.html
WebSphere Process Server samples
The Samples Gallery contains sample that demonstrate WebSphere
technology. They are appropriate for demonstration and development
environments, but are not recommended for production environments.
For more information on educational material, see:
– Samples and tutorials
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/co
m.ibm.websphere.wps.610.doc/doc/covw_sample_tutorial.html
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.ibm.
websphere.wps.610.doc/doc/rins_installation_paths.html
Creating the first profile during installation is simply a shortcut to get you started.
http://www-1.ibm.com/support/docview.wss?rs=2307&context=SSQH9M&q1=P
K59140&uid=swg27011675&loc=en_US&cs=utf-8&lang=en
Profiles on distributed and i5/OS systems can be created in one of the following
ways:
Using the Profile Management Tool (a wizard-driven tool)
During installation
Using the manageprofiles command
24 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
WebSphere Process Server components and the enterprise service bus use
a common database. The default name for this database is WPRCSDB.
A Common Event Infrastructure database, referred to as the CEI database.
The default name for this database is EVENT.
A Business Process Choreographer database, referred to as the Business
Process Execution database. The default name for this database is BPEDB.
A Business Process Execution Observer database, referred to as the
observer database. The default name for this database is OBSRVDB.
A database for the messaging engines. The default name for this database is
MEDB.
i5/OS: On series®, there is a single global database in which you define all
schemas for all functional components. You must make sure that all schema
names are unique within the logical partition (LPAR).
There are also unique considerations for selecting the driver needed to
connect remotely to an i5/OS database server. For more information, see:
Database specifications
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/co
m.ibm.websphere.wps.610.doc/doc/cins_db_specs.html
For production systems, it is recommended that you create the databases and
update the appropriate data sources manually. This gives you maximum control
over the location and grouping of database tables. To do this, you choose the
option to delay the creation of the databases when you create the profiles. This
will cause scripts to be generated to help you create the common and event
databases, and will create the data sources based on information you provide
during profile creation. Create the databases using the scripts or your own
commands and update the appropriate data sources.
During the profile creation with the Profile Management Tool, a new set of scripts
is generated into profile_root/dbscripts. These scripts create the common
database with the attributes you specified during profile creation.
Scripts to create the Business Process Choreographer tables and schema are
generated when you configure BPC. This can be during or after profile creation
or as part of the deployment environment configuration. These are also stored in
profile_root/dbscripts. You will need to create the BPEDB database and then run
these scripts.
For the messaging engines you can use the sibDDLGenerator script to generate
the database scripts. Information about the messaging engine databases can be
found at:
Messaging engine database specifications
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/cins_messaging_engine_db_specs.html
Messaging engine database specifications (z/OS)
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.z.610.doc/doc/cins_messaging_engine_db_specs.html
Depending on the database provider you select, you have the option to have the
database created automatically during profile creation. The option to create a
new database is disabled for the following database types:
DB2 for z/OS and OS/390 v7
DB2 for z/OS v8
26 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
If you elect to defer the database creation, scripts will be created for your use in
defining the database. The information you enter for the existing database
(whether it actually exists yet or not) must be correct since it will be used to
create the data source and the scripts. The scripts are located in
profile_root/dbscripts/CommonDB/dbType/dbName.
Table 1-1 shows the database provider options for the Common database.
Database
product
In a production system, you can use the common database for all three
databases, but you may see better performance by using separate databases for
the functions you plan to use.
For each deployment target where the Business Process Choreographer is used,
create a BPEDB database that is separate from the common database. If you will
28 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
use the Business Process Choreographer Observer, this can use the same
BPEDB or, for better performance, can be a separate database.
The Business Process Choreographer messaging engines can either share the
database used by the SCA messaging engines, or have their own BPEMEDB
database.
For more information on creating and configuring an event database, see the
following:
Common Event Infrastructure database specifications for distributed and
i5/OS systems
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/cins_cei_db_specs.html
Common Event Infrastructure database specifications for z/OS systems
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.z.610.doc/doc/cins_cei_db_specs.html
1.4.2 Security
Security for WebSphere Process Server is provided by the WebSphere
Application Server infrastructure. Security is a topic that can’t be adequately
addressed in a single section of this chapter. However, it is important that you
understand the concepts of administrative security and application security in
order to adequately install and set up your installation.
Administrative security
Administrative security requires a user ID and password to be provided to log in
to the administrative console and to enter WebSphere administrative commands
from a command line.
If you intend to create a profile during installation and want to secure your
administrative environment at the same time, you need to identify one user ID to
be used for administration. The user ID and password specified during profile
creation will be created in the repository and assigned the Administrator role.
This ID can be used to access the administration tools and to add additional user
IDs for administration.
When you enable security during profile creation, LTPA is used as the
authentication mechanism.
Application security
Application security enables security for the applications in the cell. This type of
security is disabled by default in WebSphere Application Server profiles, but is
enabled by default in WebSphere Process Server profiles. Before deploying
applications that implement security, you must review and configure the
application security settings for your environment.
30 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
1.4.3 Ports
Each WebSphere process uses a set of TCP/IP ports. These must be unique to
the system. Ports used for WebSphere Process Server and WebSphere ESB
servers are the same as those used for WebSphere Application Server.
The default ports for i5/OS and distributed platforms are listed in the following
Information Center article:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.web
sphere.nd.multiplatform.doc/info/ae/ae/rmig_portnumber.html
The default ports for z/OS are listed in the following article:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.web
sphere.zseries.doc/info/zseries/ae/rrun_ports.html
If you anticipate a port conflict with another process running on your system, be
sure to take the Advanced profile creation configuration path. You will be given
the opportunity to review or change the ports selected.
32 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
Note: You cannot use the Profile Management Tool to create or augment
profiles on 64-bit platforms (with the exception of i5/OS) or the Linux on
System z™ platform.
Selecting one of the first four options will create a Network Deployment profile. To
create a profile for WebSphere Process Server or WebSphere ESB, select the
appropriate option from the last two options.
When you select WebSphere Process Server as the environment, you get a
profile that includes all the functions of WebSphere Process Server,
WebSphere ESB and WebSphere Application Server.
When you select WebSphere Enterprise Service Bus, you get a profile that
include the functions of WebSphere ESB and WebSphere Application Server.
Select this environment if you only have a licensed WebSphere Enterprise
Server Bus installation or if you intentionally want to narrow the scope of the
server capabilities.
The next panel of the wizard will give you the opportunity to select the type of
augmented profile you want to create. The options are a deployment manager
profile, a stand-alone application server profile of the type you selected in the
environment selection panel, or a custom node profile.
If you selected WebSphere Process Server, your options will be those shown
in Figure 1-10 on page 34.
If you selected WebSphere Enterprise Service Bus, your options will be those
shown in Figure 1-10 on page 34.
Figure 1-11 Profile Type Selection for WebSphere Enterprise Service Bus
Depending on your selection, you will have two or three options for the
configuration path as shown in Figure 1-12.
34 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPlan.fm
The Typical profile creation option uses defaults to create the profile. The
input requires is kept to a minimum, but you have few options.
The Advanced profile creation option gives you more control over settings
used for profile creation. Default values will be provided, as with the Typical
option, but you will have the option to change them.
The Deployment environment profile creation option (not applicable to
stand-alone profiles) will give you the option of creating a new deployment
environment and deployment manager, or to add a custom node to an
existing deployment environment.
If you choose the deployment environment path and are creating a deployment
manager, you will be able to select from the list of patterns shown in Figure 1-13.
36 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
Note: In the installation examples in this book, we do not create profiles during
installation. We preferred to separate the tasks so that installation concepts
will not be confused with profile concepts. However, if you want to create your
first profile during installation, the same concepts for creating profiles exists.
See Chapter 3, “Creating profiles on distributed and i5/OS systems” on
page 51.
38 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
found you will have the choice of adding features to it, installing a new copy, or
creating a new profile. To proceed with the install, click Next.
7. For a new installation, you will be given the three options shown in Figure 2-2
for the installation type.
40 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
If you select a profile type to install, the next series of panels will lead you
through the options for the profile type.
In this example, we select None. We will create the profiles after installation.
11.The next screen shows a summary of your installation options. Click Next to
start the install.
12.At the completion of the installation, make sure the install was successful and
click Finish.
42 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
Figure 2-4 Launchpad for WebSphere Process Server for i5/OS platforms
Note: Make sure the user ID on the i5/OS system has the *ALLOBJ and
*SECADM special authorities.
44 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
8. Profiles can be created as part of the installation process. Profile types are
discussed in “Profile types” on page 3. Select one of the following options:
– Stand-alone server
– Deployment manager
– Custom
– None
In this example, we select None. The profiles will be built after installation.
9. The next screen shows a summary of your installation options. Click Next to
start the install.
10.At the completion of the installation, make sure the install was successful and
click Finish.
46 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
48 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstDistributed.fm
Installing fix packs and refresh packs with the Update Installer
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/tins_apply_service.html
50 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
On z/OS systems, profiles are created by generating a series of jobs using the
zPMT or ISPF customization dialog and running each job. An example of
creating profiles in z/OS can be found in Chapter 4, “Creating and managing
profiles on z/OS” on page 93.
Note: Restriction: You cannot use the Profile Management Tool to create or
augment profiles on 64-bit platforms (except for i5/OS) or on the Linux on
System z platform. To create profiles on these platforms, you must use the
manageprofiles command.
To start the Profile Management Tool, use one of the following methods:
From the First steps console. This console starts at the end of an installation if
you select the check box to start the Profile Management Tool.
(Windows) From the Start menu, select Start → All Programs → IBM
WebSphere → Process Server 6.1 → Profile Management Tool.
(UNIX, Linux) Run WPS_install_root/bin/ProfileManagement/pmt.sh.
(Windows) Run WPS_install_root/bin/ProfileManagement/pmt.bat.
(i5/OS) Start the Profile Management Tool client on a Windows system
52 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
– From the Start menu, select Start → All Programs → IBM WebSphere →
Profile Management Tool Client for i5/OS.
– Run PMT_client_install\PMT\pmt.bat.
2. Enter the host name, user ID, and password required to login to the i5/OS
system.
3. Select the WebSphere Process Server installation location that you want to
work with and click Launch Profile Management Tool.
The default port number is 1099. If that port number is busy, you receive an
error message, in which case, you can select a different port number to
continue.
For information about using the manageprofiles command and its parameters,
see:
manageprofiles command
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/doc/rins_manageprofiles.html
The type of profile created depends on the template you select in the
-templatePath parameter:
54 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
-cellName WBIRTPCell
-ceiDbProduct CEI_DB_ISERIES_NATIVE
-dbDelayConfig false -ceiCollection ${ceidb}
-bpcmqPassword ${password} -bpcmqUser ${username}
-configureBPC true
-fileStoreForME true
56 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
6. The next screen allows you to select one of two paths through the rest of the
profile creation process: Typical or Advanced.
Take the Advanced path click Next.
7. Check the selections to deploy the administrative console and the default
application and click Next.
8. Enter a unique name for the profile or accept the default. It is helpful to use
the same name for the profile and the directory location. From here on, this
directory is referred to as profile_root. There are two checkbox options:
– Create the server using the development template: If you want to use
this server in a development environment, select this to optimize the
configuration settings. But don’t choose this option for production
environment.
– Make this profile the default: Select this option to make this profile the
new default profile. Commands (startServer, stopServer, etc.) that run
without referring to a specific profile are run against the default profile.
– Create the server using the development template: If this is a test
environment, consider using this option. Not only does it reduce startup
time, it also populate the user repository with the same sample
organization users and groups that are automatically defined in the
integrated test environment.
58 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Click Next.
9. Enter a node name, a cell name, and the system host name. The node name
and cell name will default based on the host name of your system.
The names you select for the node and cell should be meaningful and unique
within the installation.
Click Next.
11.The wizard will present a list of TCP/IP ports for use by the application server,
If you already have existing profiles on the system (within this installation), this
will be taken into account when the wizard selects the port assignments, but
you should verify that these ports will be unique on the system.
Click Next.
12.Windows only: On Windows systems, you have the option of running the
application server as a service. This provides you a simple way of
automatically starting the application server when the system starts. If you
are installing on a Windows system, the next screen will give you the option of
running the server process as a Windows service. If you elect to do this, enter
the values for the logon and startup type.
In this example, we specify that the server will run as a Windows service and
will start automatically.
Click Next.
13.The wizard will allow you to create an optional Web server definition. Web
server definitions define an external Web server to the cell configuration. This
allows you to manage Web server plug-in configuration files for the Web
server and in some cases to manage the Web server. If you have not installed
a Web server or wish to do this later, you can easily do this from the
administrative console.
In this example, we do not define an external Web server.
Click Next.
14.Select a database product and a name for the Common Event Infrastructure
database. The database you choose here will be created for you.
Alternatively, you can elect to generate the database scripts and execute
them manually later.
In this example, we are creating a test server on a Windows system and elect
to use Derby.
Click Next.
60 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
15.Depending on your selection, the next screen may ask for information
required to access the database, such as the user ID with authority to operate
database. Enter the required information and click Next.
16.The next step gives you the option to create a sample Business Process
Choreographer. Because this is not a production server, we select this option.
Click Next.
17.The next step allows you to have the business rules manager configured. Our
application uses rules, so we select this option.
Click Next.
62 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Messaging engines can use a data store or file store for persistent messages.
By default, data stores are used, however, using the file store may improve
performance. This option is only valid in a stand-alone server configuration.
19.Review the options you selected. Click Create to create the new standalone
server.
20.The last panel shows the status of the profile creation. Ensure the profile was
created successfully. Select the Launch the First Steps console option and
click Finish.
21.The First Steps console will give you options you can use to verify the
installation, start and stop the server, and access the administrative console
for the server.
64 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
The overall topology that we will build has the following characteristics:
A Web server performs load balancing among the clusters that host the
applications.
Each deployment environment will have one cluster that hosts the
applications. Depending on the pattern chosen, additional clusters will exist to
host the messaging and support functions.
A single common DB2 database, WPRCSDB, is used to host all the required
tables for the WebSphere Process Server and WebSphere ESB functions.
The cluster that hosts the business integration modules will consist of
WebSphere Process Server capable nodes and servers.
The cluster that hosts the mediation modules will consist of WebSphere
Process Server capable nodes and WebSphere ESB capable servers.
Figure 3-14 shows the topology that uses the single cluster pattern to build both
the WebSphere Process Server and WebSphere ESB clusters.
Application
Messaging
Node1 Node2 Support
Web
WPRCSDB
Server host1Node01 host2Node01
WebSphere WebSphere
Dmgr ESB ESB
Mediations
Figure 3-14 Single cluster for processes and single cluster for mediations
66 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Figure 3-14 shows the topology that uses the remote messaging pattern to build
the WebSphere Process Server clusters and the single cluster pattern to build
the WebSphere ESB cluster.
Node1 Node2
Cluster1
WebSphere WebSphere
Process Process Application
Server Server Support
WebSphere Cluster2
Web WebSphere
Server Process Process
Server Messaging
Server
Figure 3-16 shows the topology that uses the remote messaging and remote
support pattern to build the WebSphere Process Server clusters and the single
cluster pattern to build the WebSphere ESB cluster.
System 2
Node1 Node2
Cluster1
WebSphere WebSphere
Process Process Application
Server Server
WebSphere Cluster2
WebSphere
Process Process
Server Messaging
Server
IBM HTTP
Server
Cluster3
WebSphere WebSphere
Process Process Support
Server Server
System 1
Note: The following steps will create a deployment environment with one
database. For a prodution environment it is recommended that you use
multiple databases. See “Planning for databases” on page 24.
1. Install a database server product on one server and database clients on any
additional servers you will use.
2. Install and configure the IBM HTTP Server.
3. Install WebSphere Process Server on System 1. Use the Deployment
Environment installation option to create the deployment manager during the
install process. This will also create the common database.
4. Install the Update Installer and recommended maintenance on System1.
68 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
7. Select the HTTP ports for the Web server and for the administration server.
The defaults are:
– HTTP Port: 80
– HTTP Administration port: 8008
Click Next.
8. On Windows systems you have the option to run the server as a Windows
server. Select the appropriate options for your system and click Next.
9. The next screen allows you to create the user ID and password for HTTP
administration authentication. The user ID and password you enter will be
encrypted in the HTTP_install_root/conf/admin.passwd file.
Click Next.
10.The next screen gives you the option to install the Web server plug-in for the
IBM HTTP Server.
Select the option to install the plug-in and provide a name for the Web server
definition. The default is webserver1.
You will also need to provide the host name or IP address of the application
server you will route requests to. If you have more than one application
server, select only one.
Click Next.
11.Review the summary of the installation options you selected and click Next to
start the install.
12.When the installation completes, click Finish.
13.Start the IBM HTTP Server and the HTTP Administration server. On
Windows, if you elected to run these processes as Windows services, start
the services. On other systems, issue the apachectl start command:
HTTPServer_root/bin/apachectl start
14.Verify that the HTTP Server is running by opening a Web browser and going
to the URL for the server. Note that port 80 is the default port for HTTP. If you
used a port other than 80, you will need to specify that on the URL.
http://localhost
70 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Preparation: You will need to select a database server during this process to
host the common database. In our environment, we installed DB2 UDB V9.1
on the deployment manager system before starting the WebSphere Process
Server installation.
On the system where the deployment manager will be hosted, do the following
actions:
1. Execute launchpad.exe.
2. Select WebSphere Process Server installation in the left panel, and select
Launch the installation wizard for WebSphere Process Server for
Multiplatforms on the right.
3. Click Next at the Welcome screen.
4. Read and accept the license agreement. Click Next.
5. The wizard will perform a prerequisite check. If the check is successful, click
Next.
6. Select Deployment Environment Installation as the installation type and
click Next.
Click Next.
10.Enter a user ID and password to have administrative authority. Click Next.
11.Select the deployment environment pattern. The response to this step will
vary depending on the pattern you select.
Click Next.
12.Select a database product and database name for the common database
(WPRCSDB). The database will be created automatically in this case.
72 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Click Next.
13.Depending on your selection for database product, your next screen may ask
for additional information to define the location of the database server.
Click Next.
14.Review the installation selections you made and click Next to begin the
installation and profile creation.
15.When the installation completes, check the Launch the First steps console
box and click Finish.
16.In the First steps console, select Installation verification. This will start the
deployment manager and verify that it was installed correctly.
17.Stop the deployment manager from the First Steps window.
18.Install the Update Installer from the Launchpad.
19.Download the recommended maintenance install it.
20.Start the deployment manager.
74 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
21.Login to the administrative console and determine the SOAP port used by the
deployment manager. You will need this information when you create the
remaining nodes.
In the console, select System administration → Deployment manager. The
SOAP port is the value listed in the Ports section for
SOAP_CONNECTOR_ADDRESS.
3.3.4 Building Node1 and the first process server of the cluster
Preparation: The profile creation process will need to access the common
database created during the deployment manager creation. In this example,
we installed the DB2 UDB client on this node and defined the DB2 server on
the deployment manager system to it. Then we defined the WPRCSDB
database to the client and tested the connection.
On the system where the first node of your cluster will be hosted, do the following
actions:
1. Execute launchpad.exe.
2. Select WebSphere Process Server installation in the left panel, and select
Launch the installation wizard for WebSphere Process Server for
Multiplatforms on the right.
3. Click Next at the Welcome screen.
4. Read and accept the license agreement. Click Next.
5. The wizard will perform a prerequisite check. If the check is successful, click
Next.
6. Select Deployment Environment Installation as the installation type.
7. Leave the feature selections unselected, and click Next.
8. Select an installation location. For example:
C:\WebSphere\ProcServer
Click Next.
9. Select Create a custom profile and choose the cluster members within
the deployment environment.
Figure 3-22 Select the custom profile option for the deployment environment
Click Next.
10.The custom node you are creating will be federated to the deployment
manager. This requires that the deployment manager is running and that you
have network connectivity between the two nodes.
– Enter the host name and SOAP port for the deployment manager.
– Enter the user ID and password you specified as having administrative
authority when you created the deployment manager.
Click Next.
11.Select the clusters defined by the deployment environment pattern to assign
this node to. This step will vary depending on the pattern you selected.
– Single cluster pattern: You will only have one choice, Application
Deployment Target. Select this option.
– Remote messaging pattern: You can select Application deployment target,
messaging infrastructure, or both.
– Remote messaging and remote support pattern: You can select
Application deployment target, Messaging infrastructure, Support
infrastructure, or any combination of these.
To complete the deployment environment, you need at least one node with a
server in each cluster. In our examples, we have two nodes, each with a
server in each cluster. In Figure 3-23 on page 77 you see the selection for the
remote messaging and remote support pattern, matching our configuration in
Figure 3-16 on page 68. We select all three cluster types, meaning, this node
will have three servers, each server in one of the selected clusters. Later, we
will add a second node and make the same selection.
76 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
Click Next.
12.Select the database product used for the common database and provide the
location of the JDBC driver classpath on the system that will host the new
node.
Click Next.
13.Review the installation selections you made and click Next to begin the
installation and profile creation.
14.When the installation completes, uncheck the Launch the First steps
console box and click Finish.
78 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
3.3.5 Building Node2 and the second process server of the cluster
The code has been installed on the system for Node2, so we will use the PMT to
create the profile.
1. Start the Profile Management Tool from the First Steps console.
2. Click Create.
3. Click Next on the Welcome screen.
4. Select WebSphere Process Server as the environment type. Click Next.
5. Select Custom profile as the profile type. Click Next.
6. Select Deployment environment profile creation as the profile creation
option. Click Next.
7. Provide a name for the profile and a directory name to use to create the
profile in. Click Next.
8. Provide a node name and the host name for the node. Click Next.
9. The custom node you are creating will be federated to the deployment
manager. This requires that the deployment manager is running and that you
have network connectivity between the two nodes.
– Enter the host name and SOAP port for the deployment manager.
– Enter the user ID and password you specified as having administrative
authority when you created the deployment manager.
Click Next.
10.Review the port selection and update them if necessary. Click Next.
11.Select the clusters defined by the deployment environment pattern to assign
this node to. This step will vary depending on the pattern you selected.
– Single cluster pattern: You will only have one choice, Application
Deployment Target. Select this option.
– Remote messaging pattern: You can select Application deployment target,
messaging infrastructure, or both.
– Remote messaging and remote support pattern: You can select
Application deployment target, Messaging infrastructure, Support
infrastructure, or any combination of these.
To complete the deployment environment, you need at least one node with a
server in each cluster. In our examples, we have two nodes, each with a
server in each cluster. In this example, we select all three cluster types,
meaning, this node will have three servers, each server in one of the selected
clusters.
Click Next.
12.Select the database product used on the deployment manager and provide
the location of the JDBC driver classpath on the system that will host the new
node. Click Next.
13.Review the installation selections you made and click Create to begin the
installation and profile creation.
14.When the installation completes, uncheck the Launch the First steps
console box and click Finish.
15.Login to the administrative console to see the new servers.
Select Servers → Application servers. You can see the new servers and
their clusters. Each cluster now has two servers, one on each node.
80 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
This process will show how to create a deployment environment from the
administrative console. The nodes to be included in the new environment must
already exist.
1. Determine the number of nodes you will need. If the nodes you will include
don’t exist, create a custom profile for each node using the Profile
4. Select the deployment environment type. Note that when you create a
deployment environment using the administrative console, you have an
additional option that allows you to build a custom deployment environment.
82 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
5. Select the nodes to include in the new deployment environment. Note that the
nodes that exist are WebSphere Process Server (WPS) capable. WPS
capable nodes have the highest capability and can host application servers
with WebSphere ESB or WebSphere Application Server capability.
Click Next.
6. Map the nodes to the target cluster type. In a single cluster environment, the
only option is the application deployment target.
84 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
7. The next step allows you to manage the database table configuration required
for the new environment.
In order to support several CEI server configurations, you need to configure a
different event database instance for each additional CEI server.
a. Using the database product, create a new database for the event
database. In this example, we created a database called WESBEVT.
b. Edit the WBI_CEI_EVENT configuration by selecting the checkbox to the
left of it and clicking Edit. Change the database name and update the user
ID and password required to access the new database.
Alternatively, you can set up different event database users for each CEI
server configuration for databases that map user IDs to schemas.
c. Click Next.
8. Enter the user ID and password to be used to create the authentication alias
for the event database.
Figure 3-33 Enter the user name and password that can access the event database
86 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
6. Click OK. The node is added and the name is displayed in the collection on
the Nodes page.
Click Next.
4. Select the template for Web server specification. Initially, this template will be
one supplied with WebSphere specific to the Web server type. Once you have
defined a Web server, you can make it a template for use the next time. See
Figure 3-36 on page 88.
Click Next.
5. Enter the properties for the Web server. See Figure 3-37 on page 89.
88 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
When defining a Web server hosted on a Windows operating system, use the
real service name instead of the display name. The service name does not
contain spaces. If you do not use the service name, you might have problems
starting and stopping the service.
6. Review the options and click Finish.
7. Save your changes.
8. View the status of the new server by selecting Servers → Web servers. If a
Web server is started or stopped using a native command, you might need to
refresh the view by clicking on the icon to see the new status. See
Figure 3-38.
90 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunPattern.fm
4. Select whether to take the typical or advanced path through the augmentation
process. The following table shows the options and results you will see
depending on which path you take.
Typical Advanced
Does not Configure sample Business Allow to choose whether to configure sample
Process Choreographer Business Process Choreographer
Does not Configure Business Rule Manager Allow to choose whether to configure
Business Rule Manager
92 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
In this chapter we take you through the steps of creating a single cluster
WebSphere Process Server configuration on z/OS. This chapter assumes that
WebSphere Process Server has been installed using the instructions in the
WebSphere Information Center:
Installing and configuring WebSphere Process Server
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.z.610.doc/doc/iins_zos_welcome.html
In the examples in this chapter, we are going to use the zPMT to create profiles.
Using zPMT requires that you have the Application Server Toolkit for V6.1
installed. For more information about how to download and install the Application
Server Toolkit, see the following URL:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/
com.ibm.websphere.zseries.doc/info/zseries/ae/tins_astinstall.html
94 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
All these options are also available through the ISPF Dialogs except the z/OS cell
(deploy manager and application server) that is unique to zPMT.
4.2 Topology
This chapter will build the topology shown in Figure 4-1.
CELL
csnodea csnodeb
Dmgr
SC61
The topology consists of a single cluster spread over two nodes for WebSphere
Process Server. You can configure the cluster for both business integration
modules and mediations.
96 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
response file from a customization definition of the same type as you are
about to define. However, a response file from a similar customization type
can be used to pre-load most of the default values.
The CNTL data set is a partitioned data set with a fixed block 80-byte records
that keeps the customization jobs. The DATA data set is a partitioned data set
as well, but with variable length data to contain the other customization data.
Note: Once the customization profile is created, the data set names cannot be
changed, since all jobs are based on these data set names.
You will find five main sections that you need to fill out on this window:
– WebSphere Application Server Configuration Group Information: Used to
specify the group name for the WebSphere Application Server
administrator user ID and all server user IDs.
– WebSphere Application Server file system owner Information: Specify the
user ID that owns the file system.
98 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
– WebSphere product data set high level qualifier: This name prepends your
system libraries, A multi-level high level qualifier can be specified as the
WebSphere product data set high level qualifier.
100 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
9. The next window asks for the product data set location information. In this
window, you specify the product file system directory and the data sets.
In Version 6.1, most LPA-resident modules are merged into a single member in
SBBOLOAD, which is loaded into common storage for each node if SBBOLOAD
is not in LPA. The remaining module in SBBOLPA is BBORTS61, the CTRACE
support module for WebSphere Application Server Version 6.1, which should
always be loaded into LPA.
– The SBBOLD2 data set is the WebSphere Application Server for z/OS
load module library that you installed through SMP/E. It has members that
should go into the link list, or into STEPLIB. Do not place them in LPA.
– The SBBOEXEC data set contains the WebSphere Application Server for
z/OS CLIST library.
– The SBBOMSG data set contains the WebSphere Application Server for
z/OS message skeletons for language translation.
– The WebSphere Application Server product file system directory is the
name of the directory where WebSphere Application Server for z/OS
product files reside after installation.
– The “run WebSphere Application Server from STEPLIB” check box
specifies whether to load WebSphere Application Server for z/OS load
modules from STEPLIB or from the link pack area and link list. The load
modules must be loaded from STEPLIB if you have another instance of
WebSphere Application Server for z/OS (Version 4 or later) in the system
link pack area or link list.
After completing the required fields, click Next.
10.The next window allows you to specify the long and short names to use for the
components of the profile.
– Cell short name: Identifies the cell to z/OS facilities, such as SAF.
– Cell long name: Specifies the primary external identification of this
WebSphere Application Server for this z/OS cell. This name identifies the
cell as displayed through the administrative console.
– Node short name: Specifies a name that identifies the node to z/OS
facilities, such as SAF.
102 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
– Mount point: The read/write HFS directory where application data and
environment files are written. The customization process creates this
mount point if it does not already exist.
– Name: The file system data set you will create and mount at the specified
mount point above.
– Volume, or '*' for SMS: Specify either the DASD volume serial number to
contain the above data set or "*" to let SMS select a volume. Using "*"
requires that SMS automatic class selection (ACS) routines be in place to
select the volume. If you do not have SMS set up to handle data set
allocation automatically, list the volume explicitly.
– Primary allocation in cylinders: The initial size allocation for the
configuration file system data set. In the application server, the total space
needed for this data set increases with the size and number of the
installed applications.The minimum suggested size is 250 cylinders
(3390).
– Secondary allocation in cylinders: The size of each secondary extent. The
minimum suggested size is 100 cylinders.
– File System type: Select to allocate and mount your configuration file
system data set using HFS or zFS.
After completing the required fields for the deploy manager configuration file
system, click Next.
12.The next window contains the following fields. Complete the required
information to set up the log stream.
– Error log stream name: The name of the WebSphere error log stream you
will create.
– Trace Parmlib member suffix: The value that is appended to CTIBBO to
form the member name for the CTRACE parmlib member.
After completing the required fields, click Next.
13.The next window allows you to enter the required information for the
deployment manager home directory.
– Configuration file system mount point: Specifies the read/write file system
directory where the application data and environment files are written. This
field is not writable here, but was specified earlier on the configuration file
system information window (see Figure 4-9 on page 103).
– Deployment path name relative to mount point: Specifies the relative path
name of the directory within the configuration file system in which the
deployment manager configuration resides.
104 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Note: Choose the IP name and port number carefully since it is difficult
to change, even in the middle of customization.
– Register daemon with WLM DNS check box: If you use the WLM DNS
(connection optimization), you must register your location service daemon.
Otherwise, do not register your location service daemon. Only one
location service daemon per LPAR can register its domain name with
WLM DNS; if you have multiple cells in the same LPAR and register more
than one location service, it will fail to start.
After completing the required fields, click Next.
18.The next window allows you to enter SSL configuration values.
106 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Note: Select the z/OS security product option if you are planning to use
the SAF security database as your WebSphere Application Server
registry or if you plan to set up an LDAP or custom user registry whose
identities will be mapped to SAF user IDs for authorization checking.
For this security option, you must decide whether to set a security
domain name, and choose an administrator user ID and an
unauthenticated (guest) user ID.
Note: Choose this option if you plan to use an LDAP or custom user
registry without mapping to SAF user IDs. (The file-based user registry
is not recommend for production use.)
– No security
Although it is not recommended, you may disable administrative security. If
you choose this security option, there are no other choices to make. Your
WebSphere Application Server environment will not be secured until you
configure and enable security manually. You can enable security manually
later via the administrative console or using Jython scripts.
Select an option and click Next.
20.The options in the next window depend on the security option you choose. In
this example, we chose the z/OS product option.
– Security domain identifier: (Optional) Used to distinguish between APPL
or EJBROLE profiles based on security domain name; provides an
alphanumeric security domain name of one to eight characters. Internally,
this sets SecurityDomainType to the string cellQualified.
All servers in the cell will prepend the security domain name you specify to
the application-specific J2EE role name to create the SAF EJBROLE
profile for checking. The security domain name is not used, however, if role
checking is performed using WebSphere Application Server for z/OS
bindings. The security domain name is also used as the APPL profile
name and inserted into the profile name used for CBIND checks. The
RACF jobs that the Customization Dialog generates create and authorize
the appropriate RACF profiles for the created nodes and servers. If you do
not want to use a security domain identifier, leave this field blank.
– WebSphere Application Server administrator user ID: The initial
WebSphere Application Server administrator. It must have the WebSphere
108 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
23.Now, on the main window, select the profile you have just create and then
click the Upload... button.
In the upload customization definition window enter the target z/OS system.
This must be fully qualified or the upload will fail.
Use the Allocate target z/OS data sets check box to specify whether to
allocate the data sets if they do not exist (box check). If the data sets exist and
are to be reused, clear the box.
24.You will see a progress information window while the upload is occurring.
Once the customization profile is uploaded, follow the instructions in the
BBOSSINS member of the CNTL data set. You can view this data set on the
host, or select the configuration and use the View... button.These instructions
will help you determine what jobs to run, the order to run them in, and the
expected results. It will also tell you how to start the environment once you are
done. From this point, the process is identical to that you would use with the
ISPF Customization Dialog process.
Many of the choices you make here are similar to those made for the deployment
manager. This example will take you through the process and will describe
settings unique to a custom node configuration.
110 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
5. Define a name for the customization definition and the location to store the
files.
If using a response file to populate values in the wizard, enter the name of the
response file. Response files created from previous configurations are stored
in customization_root/customization_definition_name.responseFile.
7. Specify a high level qualifier for the target z/OS data sets that will contain the
generated jobs and instructions and click Next.
8. The next window (Figure 4-15 on page 114) contains the fields to configure
common groups and users.
112 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
You will find five main sections that you need to fill out on this window:
– WebSphere Application Server Configuration Group Information: Used to
specify the group name for the WebSphere Application Server
administrator user ID and all server user IDs.
– WebSphere Application Server file system owner Information: Specify the
user ID that owns the file system.
– WebSphere Application Server Servant Group Information: Used to
connect all servant user IDs to this group. You can use it to assign
subsystem permissions, such as DB2 authorizations, to all servants in the
security domain.
– WebSphere Application Server Local User Group Information: Specify the
local client group and unauthorized user IDs.This group provides minimal
access to the cell.
– WebSphere Application Server user ID home directory: Specify a new or
existing z/OS file system directory in which home directories for
WebSphere Application Server for z/OS user IDs will be created by the
customization process. Note that this directory does not need to be shared
among z/OS systems in a WebSphere Application Server cell.
After completing the required fields, click Next.
Figure 4-15 Creating a profile: Configure common groups and users window
9. The next window asks for information about the z/OS system.
114 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Figure 4-16 Creating a profile: System Locations: Names and data set qualifier window
You can use the console command D SYMBOLS on the target z/OS
system to display the system and sysplex name.
After completing the required fields, click Next.
10.The next window asks for the product data set location information (see
Figure 4-17). In this window, you specify the product file system directory and
the data sets. The considerations here are the same as for the deployment
manager profile
116 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
– Cell short name: Identifies the cell to z/OS facilities, such as SAF.
– Cell long name: Specifies the primary external identification of this
WebSphere Application Server for this z/OS cell. This name identifies the
cell as displayed through the administrative console.
– Node short name: Specifies a name that identifies the node to z/OS
facilities, such as SAF.
– Node long name: Specifies the primary external identification of this
WebSphere Application Server for the z/OS node. This name identifies the
node as displayed through the administrative console.
After completing the required fields, click Next.
12.The next window (Figure 4-19 on page 118) contains the file system
information for the node configuration files. The file system can be either HFS
or zFS. It is used to hold WebSphere Application Server configuration
information.
After completing the required fields for the custom node file system, click
Next.
13.The next window contains the following fields. Complete the required
information to set up the log stream.
– Error log stream name: Specifies the name of the WebSphere error log
stream you will create.
– Trace Parmlib member suffix: Specifies the value that is appended to
CTIBBO to form the member name for the CTRACE parmlib member.
After completing the required fields, click Next.
14.The next window (Figure 4-20 on page 119) allows you to enter information
about the node.
118 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
– Node host name: It define the host name where custom node locates
– Admin asynch operations procedure name: Specifies the JCL procedure
name of a started task that is launched by way of the START command by
application servers or node agents to perform certain asynchronous
administrative operations.
– Asynchronous Administration Task User ID: This user ID is used to run the
asynchronous administration operations procedure. It must be a member
of the WebSphere Application Server configuration group.
After completing the required fields, click Next.
15.The next window allows you to define the job names, procedure names, and
user IDs to use for each process.
– Controller process: The job name is specified in the MVS START
command JOBNAME parameter, associated with the control region. This
is the same as the server short name and it cannot be changed during
customization. The procedure name is the member name in your
procedure library to start the control region. The User ID is the user ID
associated with the control region.
– Controller adjunct process: Specify the name of member in your
procedure library that starts the control region adjunct. The User ID is the
user ID associated with the control region adjunct.
– Servant process: Specify the job name used by WLM to start the servant
regions. This is set to the server short name, followed by the letter "S", and
it cannot be changed during customization. The procedure name is the
member name in your procedure library to start the servant regions. The
User ID is the user ID associated with the servant regions.
After completing the required fields, click Next.
16.The next window allows you to specify the location daemon settings. The
location daemon service is the initial point of client contact in WebSphere
Application Server for z/OS. The server contains the CORBA-based location
service agent which places sessions in a cell. All RMI/IIOP IORs (for example,
enterprise beans) establish connections to the location service daemon first,
then forward them to the target application server.
– Daemon home directory: Specifies the directory in which the location
service daemon resides. This is set to the configuration file system mount
point/Daemon and cannot be changed.
– Daemon job name: Specifies the jobname of the location service daemon,
specified in the JOBNAME parameter of the MVS start command used to
start the location service daemon. When configuring a new cell, be sure to
choose a new daemon jobname value. A server automatically starts the
location service daemon if it is not already running.
– Procedure name: Specifies the member name in your procedure library to
start the location service daemon.
– User ID: Specify the user ID associated with the location service daemon.
– UID: Specifies the user identifier associated with this user ID. UIDs must
be unique numbers within the system.
After completing the required fields, click Next.
17.The next window allows you to enter SSL configuration values.
– Certificate authority keylabel: Specifies the name that identifies the
certificate authority (CA) to be used in generating server certificates.
– Generate certificate authority (CA) certificate check box: Selected to
generate a new CA certificate. Do not select this option to have an existing
CA certificate generate server certificates.
– Expiration date for certificates: Used for any X509 Certificate Authority
certificates created during customization, as well as the expiration date for
120 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Note: Select the z/OS security product option if you are planning to use
the SAF security database as your WebSphere Application Server
registry or if you plan to set up an LDAP or custom user registry whose
identities will be mapped to SAF user IDs for authorization checking.
For this security option, you must decide whether to set a security
domain name, and choose an administrator user ID and an
unauthenticated (guest) user ID.
Note: Choose this option if you plan to use an LDAP or custom user
registry without mapping to SAF user IDs. (The file-based user registry
is not recommend for production use.)
– No security
Although it is not recommended, you may disable administrative security. If
you choose this security option, there are no other choices to make. Your
WebSphere Application Server environment will not be secured until you
configure and enable security manually. You can enable security manually
later via the administrative console or using Jython scripts.
Select an option and click Next.
Click Next.
19.The next window allows you to input the related information about the
deployment manager which the custom node will be federated into:
– Configuration file system mount point: Specifies the read/write file system
directory where the application data and environment files are written. This
field is not writable here, but was specified earlier on the “System
Environment: Configuration file system information” window.
– Directory path name relative to mount point: Specifies the relative path
name of the directory within the configuration file system in which the
deployment manager configuration resides.
– Deployment manager host name: define the host name or IP address of
the deployment manager
– JMX SOAP port: The adding node request use it to connect deployment
manager
– Deployment manager security is enabled: Used to indicate whether
security enable in the deployment manager.If enabled, the user and
password need for federating.
– Node group name: The node group into which the node will be placed.
– ORB Listener IP Address: IP Address which the server’s ORB listen for
incoming IIOP request.
– ORB port: port for IIPO request that acts as the bootstrap port for this
server and also the port through which the ORB accepts IIPO request
– ORB SSL port: Port for secure IIOP requests.
Node agent definitions
– Server short name
– Server long name
– SOAP JMX connector port
– Node Discovery port
– Node Multicast Discovery port
– Node IPV6 Multicast Discovery port
– High availability manager communication port
122 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
20.The next window allows you to tailor the JCL for the customization jobs. Enter
a valid job statement for your installation on this window. The profile creation
process will update the job name for you in all the generated jobs, so you
need not be concerned with that portion of the job statement. If continuation
lines are needed, replace the comment lines with continuation lines.
After you are done with this window, click Next.
21.The last window shows a short summary of the customization, including
profile type and where the generated jobs will be stored. To change the
characteristics of this profile, click the Back button; otherwise, click Create to
generate your z/OS Customization jobs and a status window is shown after
clicking Create.
When zPMT is done, it will display a summary window that indicates whether
the jobs were created successfully or not. If the jobs were not created, a log
file containing failure information will be identified. If successful, the next step
in the z/OS customization process is to upload these jobs and the associated
instructions to a pair of z/OS partitioned data sets. To do this, click Finish to
return to the zWebSphere preference window and select Upload.
22.Now, on the main window, select the profile you have just create and then
click the Upload... button.
In the upload customization definition window (Figure 4-21 on page 124),
enter the target z/OS system. This must be fully qualified or the upload will
fail.
Use the Allocate target z/OS data sets check box to specify whether to
allocate the data sets if they do not exist (box check). If the data sets exist and
are to be reused, clear the box.
You will see a progress information window while the upload is occurring.
Import Note: Don’t run job BBOWMNAN which is used to federate the custom
node into deployment manager. We will federate the custom node after
augmenting it for WebSphere Process Server.
124 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
hostName=wtsc61.itso.ibm.com
nodeName=csnodea
profileName=default
profilePath=C:\download\AST\workspace\.metadata\.plugins\com.ibm.ws390.
pmt.config\profiles\csnodea61.1
templatePath=C:\download\AST\workspace\.metadata\.plugins\com.ibm.ws390
.pmt.config\profileTemplates\zos-managed
zAdjunctProcName=CSCRAA
zAdjunctUid=*
zAdjunctUserid=CSASRU
zAdminAsynchProcName=CSADMSH
zAdminAsynchTaskUid=*
zAdminAsynchTaskUserid=CSADMIN
zAdminSecurityType=websphereForZos
zBBOMSGName=BBCS6161.SBBOMSG
zBbgloadName=BBCS6161.SBBGLOAD
zBboexecName=BBCS6161.SBBOEXEC
zBboloadName=BBCS6161.SBBOLOAD
zBbolod2Name=BBCS6161.SBBOLD2
zBbolpaName=BBCS6161.SBBOLPA
zCaAuthorityExpirationDate=2010/12/31
zCaKeylabel=WebSphereCA
zCellShortName=CSEMPTYA
zConfigHfsName=OMVS.WAS61.CSCELL.CSNODEA.HFS
zConfigHfsPrimaryCylinders=450
zConfigHfsSecondaryCylinders=100
zConfigHfsVolume=TSTO34
zConfigMountPoint=/wascsconfig/cscell/csnodea
zConfigurationGroup=CSCFG
zConfigurationGroupGID=*
zControlProcName=CSACRA
zControlUid=*
zControlUserid=CSACRU
zCtraceParmlibSuffix=60
zDaemonHomePath=/wascsconfig/cscell/csnodea/Daemon
zDaemonJobName=CSDEMNA
zDaemonProcName=CSDEMNA
zDaemonUid=*
zDaemonUserid=CSACRU
zDefaultSAFKeyringName=WASKeyring.CSCELL
zErrorLogstreamName=CSCELL.ERROR.LOG
zFederateDmaNodeHostName=wtsc61.itso.ibm.com
zFederateDmaPort=9510
zFederateDmaPortType=SOAP
zFederateDmaSecurity=true
zFederateDmaSecurityPassword=csadmin
zFederateDmaSecurityUserID=CSADMIN
zFederateHamCommPort=9525
zFederateJmxSoapConnectorPort=9520
zFederateNodeAgentAfterFederation=true
zFederateNodeDiscoveryPort=9523
zFederateNodeIPv6MulticastDiscoveryPort=9526
zFederateNodeMulticastDiscoveryPort=9524
zFederateOrbListenerHostName=*
zFederateOrbPortName=9521
zFederateOrbSslPortName=9522
zFederateServerName=nodeagent
zFederateServerShortName=CSAGNTA
zFilesystemType=ZFS
zHFSOwnerUID=*
zHFSOwnerUserID=CSOWNER
zJobStatement1=(999,POK),'SC61',CLASS=A,REGION=0M,NOTIFY=&SYSUID
zJobStatement2=/*JOBPARM S=SC61
zJobStatement3=//*
zJobStatement4=//*
zLocalUserGroup=CSGUESTG
zLocalUserGroupGID=*
zNodeGroupName=DefaultNodeGroup
zNodeShortName=CSNODEA
zProclibName=SYS1.PROCLIB
zProductHlq=BBCS6161
zRunWasFromSteplib=true
zServantGroup=CSSRVG
zServantGroupGID=*
zServantProcName=CSASRA
zServantUid=*
zServantUserid=CSASRU
zSmpePath=/usr/lpp/zWebSphereCS/V6R1
zSysplexName=WTSCPLX1
zSystemName=SC61
zTargetHLQ=BBCS6161.EMPTY
zUserIDHomeDirectory=/var/WebSphere/home
zWasServerDir=AppServer
126 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
To use zSMPInstall:
1. Stop the deployment manager.
2. Run the shell script wps_smpe_root/zos.config/bin/zSMPInstall.sh, where
wps_smpe_root is the path to WebSphere Process Server product SMP/E
install root. For example:
/usr/lpp/zWPSCS/V6R1/zos.config/bin/zSMPInstall.sh -smproot
/usr/lpp/zWPSCS/V6R1 -runtime /WebSphere/V6R1/DeploymentManager
-installs
Example 4-2 on page 128 shows the output you can expect.
128 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
CONFIGSERVER=dmgr
DBPRODUCT=DB2UDBOS390_V8_1
DBLOCATION=DB8Q
DBPROPERTIES=/u/db8qu/properties
DBJDBCCLASSPATH=/usr/lpp/db2/d8qg/jcc/classes
DBUSER=csadmin
DBPASS=csadmin
DBHOSTNAME=wtsc61.itso.ibm.com
DBSERVERPORT=38310
SQLID=CSCELL
SQLDB=CSCELLDB
SQLSTO=CSDBSTO
augment
profileName=default
profilePath=/wascsconfig/cscell/dmgr/DeploymentManager/profiles/default
templatePath=/wascsconfig/cscell/dmgr/DeploymentManager/profileTemplate
s/dmgr.wbiserver
cellName=cscell
nodeName=csdm
enableAdminSecurity=true
adminUserName=$JMSUSER
adminPassword=$JMSPASS
serverName=$CONFIGSERVER
dbCreateNew=false
dbDelayConfig=true
configureScaSecurity=true
scaSecurityUserId=$JMSUSER
scaSecurityPassword=$JMSPASS
configureAppScheduler=false
appSchedulerServer=$CONFIGSERVER
dbName=$SQLDB
dbStorageGroup=$SQLSTO
dbType=$DBPRODUCT
dbConnectionLocation=$DBLOCATION
dbJDBCProperties=$DBPROPERTIES
dbJDBCClasspath=$DBJDBCCLASSPATH
dbUserId=$DBUSER
dbPassword=$DBPASS
dbHostName=$DBHOSTNAME
dbServerPort=$DBSERVERPORT
dbSchemaName=$SQLID
The following notes refer to the DmgrDb2.rsp response file in Example 4-3:
The CONFIGSERVER global variable must be set to the long name of the
Network Deployment server you are configuring (see Figure 4-8 on
page 102).
The DBLOCATION global variable is the location name (not the subsystem
name) of your DB2 system.
Do not change the profile name from default. Only default is supported in
WebSphere Application Server for z/OS.
The profilePath is the path to the /profiles/default directory under dmgr_home.
This property should be coded on one line but has been split across two lines
in order to fit on the page.
The cellName, nodeName, and serverName tell the zWPSConfig.sh which
node to configure.You should make sure the cellName and nodeName are
long names you specified when you created the profiles.
You must indicate the version of DB2 you are using with DBPRODUCT. Note
that if you are using DB2 V8.1, but it is running in compatibility mode with DB2
7.1,then you need to specify DB2UDBOS390_V7_1.
SQLID is the schema name of database. SQLDB is the name of database
and SQLSTO is the storage group name of database.
Set dbCreateNew=false because you will manually create the storage group
and databases.
Set dbDelayConfig=true to create the database tables later.
When the script has finished running, review the messages that are written to the
console. If the script runs successfully, no error messages are displayed and the
informational messages state "augmenting profile(s) complete" (see
Example 4-4).
130 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
SCRIPTHOME=`pwd`
export SCRIPTHOME
SKIP=0
INVALIDoption=0;
DBCREATE=true
DBUSESQLID=true
DBWPSCreate=true
DBBPCCreate=true
DBCEICreate=true
DBSIBCreate=true
DBGenerate=true
DBPREFIX=CS
DBSCOPE=S61
DBJDBCClasspath=/usr/lpp/db2/d8qg/jcc/classes
DBUSER=csadmin
DBPASSWORD=csadmin
DBJDBCProperties=/u/ericyu/wpswork
DBConnectionLocation=DB8Q
DBDelayConfig=false
DBHostName=wtsc61.itso.ibm.com
DBServerPort=38310
DBVOLUMES=TOTDB9
DBVCAT=DB8QU
CEIBP4K=BP0
CEIBP8K=BP8K0
CEIBP16K=BP16K0
CEISIZE=10
DBSTO=${DBPREFIX}DBSTO
DBSCHEMA=${DBPREFIX}CELL
DBNAME=${DBPREFIX}CELLDB
Note: For a list of parameters that you must customize and syntax, see
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.z.610.doc/doc/rins_zos_createdbscript.html
132 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
-install: The keyword to install the various symbolic links associated with
WebSphere Process Server into the WebSphere Application Server profile
directory.
Run zSMPInstall.sh against the custom node and check the output carefully
before proceeding.
134 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
DBJDBCCLASSPATH=/usr/lpp/db2/d8qg/jcc/classes
DBUSER=csadmin
DBPASS=csadmin
DBHOSTNAME=wtsc61.itso.ibm.com
DBSERVERPORT=38310
SQLDB=CSCELLDB
SQLSTO=CSDBSTO
####################################################################
# Common Properties
####################################################################
augment
####################################################################
# Profile name
####################################################################
profileName=default
####################################################################
# Profile path
####################################################################
profilePath=/wascsconfig/cscell/csnodeb/AppServer/profiles/default
####################################################################
# Template path
templatePath=/wascsconfig/cscell/csnodeb/AppServer/profileTemplates/
managed.wbiserver
####################################################################
# Cell name
cellName=csemptyb
####################################################################
# Node name
nodeName=csnodeb
####################################################################
# Create new or use existing database
dbCreateNew=false
####################################################################
# Delay Configuration of the database table and data source def
dbDelayConfig=true
####################################################################
# WBI Core Properties
####################################################################
configureScaSecurity=true
scaSecurityUserId=$JMSUSER
scaSecurityPassword=$JMSPASS
configureAppScheduler=false
dbName=$SQLDB
dbStorageGroup=$SQLSTO
dbType=$DBPRODUCT
dbConnectionLocation=$DBLOCATION
dbJDBCProperties=$DBPROPERTIES
dbJDBCClasspath=$DBJDBCCLASSPATH
dbPassword=$DBPASS
dbHostName=$DBHOSTNAME
dbServerPort=$DBSERVERPORT
– The DBLOCATION global variable is the location name (not the subsystem
name) of your DB2 system.
– Do not change the profile name from default. Only default is supported in
WebSphere Application Server for z/OS.
– The profilePath is the path to the /profiles/default directory under
app_server_root.
Notice that the cell name in the path is csemptyb rather than cscell
because the node has not yet been federated into the cell.
– These properties tell the zWPSConfig.sh which node to configure. The
cellName is not <xx>cell because you are augmenting the custom node,
which is not yet part of the cell. For our CS cell, the cell name of the
custom node is csnodeb. Similarly, there must not be a serverName
property in this response file because this is a custom node.
– You must indicate the version of DB2 you are using with DBPRODUCT.
Note that if you are using DB2 V8.1, but it is running in compatibility mode
with DB2 7.1,then you need to specify DB2UDBOS390_V7_1.
– Set dbCreateNew=false because you have already manually created the
storage group and databases.
136 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Check the output from the zWPSConfig.sh. The zWPSConfig.sh takes anywhere
between 30 and 75 minutes to complete depending on your system’s
performance. The output should look like that in Example 4-10.
Example 4-10 Sample output from the zWPSConfig.sh script. for the custom node
CWPIZ0253I: parsing command arguments...
CWPIZ0254I: parsing arguments complete
CWPIZ0255I: setting up configuration...
CWPIZ0256I: set up configuration complete
CWPIZ0265I: augmenting profile(s)...
INSTCONFSUCCESS: Profile augmentation succeeded.
CWPIZ0267I: augmenting profile(s) complete
Before you begin to federate, you must make sure the deployment manager is
running.
/wascsconfig/cscell/csnodeb/AppServer/profiles/default/config/cells/cse
mptyb/nodes/csnodeb/servers
ADMU2010I: Stopping all server processes for node csnodeb
ADMU0024I: Deleting the old backup directory.
ADMU0015I: Backing up the original cell repository.
ADMU0012I: Creating Node Agent configuration for node: csnodeb
ADMU0014I: Adding node csnodeb configuration to cell: cscell
ADMU0016I: Synchronizing configuration between node and cell.
ADMU0018I: Launching Node Agent process for node: csnodeb
ADMU0020I: Reading configuration for Node Agent process: nodeagent
ADMU0022I: Node Agent launched. Waiting for initialization status.
138 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Clusters are created from the administrative console. Servers are added to the
cluster when you define it. The names and ports that you use when creating the
server should conform to your naming convention. If you are following the
guidance in WebSphere z/OS V6 -- WSC Sample ND Configuration and using
the spreadsheet provided with that document to plan your naming convention,
the worksheet for the stand-alone server will contain the names and ports you
should use when creating the server.
If you do not have STEPLIB set correctly you will get the error shown in
Example 4-13, i issued in the adjunct caused by the service integration bus
failing during initialization. You can see similar messages in the servant region if
the servant cannot load the DB2 programs in SDSNLOD2.
Locate the JCL for your WebSphere cell in your system PROCLIB and change
the members with the Z suffix for the servant and the adjunct. For our CS cell, for
example, we added the STEPLIBs for the DB2 libraries to CSASRBZ (servant)
and CSCRABZ (adjunct) for nodeb and CSDSRZ (servant) for DM.
Follow the instructions in this task to create a cluster with two cluster member
(server) in it.
1. Log in to the administration console and navigate to Servers → Clusters.
Click New.
140 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
2. Enter a cluster name. It is a very good idea to choose a cluster name that is in
lower case and prefixed by your two-character cell prefix.
Note: The cluster short name is important because RACF profiles in class
CBIND and SERVER control access to the members of a cluster.
You should have defined some RACF CBIND and SERVER profiles for
your cell when you defined your deployment manager.
Click Next.
3. Enter a name for the new server that will be created in the cluster.
The name that you specify here is the long name for the server. If you follow
the naming convention in WP100653 this will be the same as the short name
for the server but in lower case.
Click the button for Default application server template and expand the
drop-down list box to select Default process server, as shown in
Figure 4-23.
Use the drop-down list box in the Select node field to choose the node in
which you wish to define the server, as shown in Figure 4-23.
Click Next
Figure 4-23 Setting server name and choosing the process server template
4. You will be given another blank form in which you can add another server to
the cluster. Enter the second server name in the Member name field and
select the node that will host the server.
142 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
Click Add member. You should see the new server listed at the bottom of the
screen.
Click Next.
144 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
6. Save the configuration changes. You should now see the cluster listed as
shown in Figure 4-25.
146 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
• Remote: Select this radio button to host SCA applications on the local
cluster or server while using a remote cluster or server to host the JMS
queue destinations and messaging engines.
Note: If you use the Browse Deployment Target page to add a new target to
the list and navigate away from the Service Component Architecture page
before completing your SCA configuration, that target is removed from the list.
• User name and password to be used to connect to the system bus data
source.
• Server: Specify the name of the database server used by the system
bus.
• Provider: Specify the database provider type used to create the
messaging resources for the system bus.
e. Use the Test Connection button to verify that the data source can contact
and authenticate with the database. If a component manages the data
source, this test also verifies whether the data can be reached from the
configured scope and, if applicable, whether the schema is configured
correctly.
f. Use the Edit button in the System Application Bus Member section to
specify the database information for SCA. The configuration properties are
similar to those for the system bus, but in addition, you have the following
option.
• Select Enable the WebSphere Business Integration Adapter
components if you plan to deploy SCA applications that use
WebSphere Business Integration Adapters.
3. After you input value, click “OK“ to finish configuring Service component
architecture.
Note: For more details, see the WebSphere Process Server V6.1 Information
Center:
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/topic/com.ibm.web
sphere.wesb610.zseries.doc/doc/clusters/tadm_configscasupport.html
148 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
This problem indicates that either the TEMP database is not defined or that
its page size is not suitable for your use. Define a suitable TEMP database
for the DB2 Universal JDBC driver so that it will work correctly with DB2 for
z/OS.Work with the database administrator to ensure the following has
been done:
150 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
server. Alternatively, you can to set up different event database users for
each CEI server configuration for databases that map user IDs to
schemas.
– Create Tables: Do not select this option.
4. After you input value, click “OK“ to finish configuring Common event
infrastructure.
Note: For more details, see the following article in the WebSphere Process
Server Information Center:
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.ibm.web
sphere.cei.z.610.doc/doc/tcei_configceiconsole.html
Note: For more information, see the following article in the WebSphere
Process Server Information Center.
Business Process Choreographer configuration
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/co
m.ibm.websphere.bpc.z.610.doc/doc/bpc/help_bpcconfiguration/bpc_c
onfig.html
152 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
– User Name: A user ID that has the authority to connect to the database
and to modify the data.
– Password: The password for the data source user ID.
– Server: The address of the database server.Specify either the host name
or the IP address, and the port number.
– Provider: The JDBC provider for Business Process Choreographer.
Enable audit logging and Common Event Infrastructure (CEI) logging for the
Business Flow Manager and Human Task Manager.
Set the context root for the Web services API of the SCA bindings.
154 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunInstzSeries.fm
The data source for the Business Process Choreographer messaging engine.
If Use the default configuration is selected, the current configuration
settings of the SCA messaging engine will be used. To use different settings,
clear the check box to enable the other fields in this section.
156 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
On i5/OS, you can use the IBM Web Administration for i5/OS to manage
processes.
158 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wesb610.zseries.doc/doc/cins_zos_filesys.html
In this book, we will use the following variables to denote the installation and
profile directory locations.
WPS_install_root: Location of the WebSphere Process Server installation
profile_root: Location of a WebSphere Process Server profile.
160 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
162 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
You can gain access to the console without entering a user name. If you do enter
a name, it is not validated and is used exclusively for logging purposes and to
enable the system to recover the session if it is lost while performing
administrative tasks.
You must enter an authorized user ID and password to log in.The actions that you
can perform within the console are determined by your role assignment.
You can find the port numbers for an application server or deployment manager
in profile_root/logs/AboutThisProfile.txt. If the server is in the WebSphere
Integrated Test environment, you can find this in
WID_ROOT\pf\profile_name\logs\AboutThisProfile.txt. The file contains useful
information similar to that shown in Figure 5-2.
User IDs
The user ID specified during login is used to track configuration changes made
by the user. This allows you to recover from unsaved session changes made
under the same user ID, for example, when a session times out or the user
closes the Web browser without saving. The user ID for login depends on
whether WebSphere administrative security is enabled.
WebSphere administrative security is not enabled.
You can enter any user ID, valid or not, to log in to the administrative console.
The user ID is used to track changes to the configuration, but is not
authenticated. You can also simply leave the User ID field blank and click the
Log In button.
Note: Be aware that there are some limitations to managing your application
server environment using IBM Web Administration for i5/OS that include
managing profiles with administrative security enabled, managing deployment
managers, or managing federated nodes.
For detailed information about IBM Web Administration for i5/OS, visit the
following Web site, which is in the i5/OS V5R4 Information Center:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/
rzaie/rzaieconadmin.htm
You can start IBM Web Administration for i5/OS by using one of the following two
methods. One method uses the i5/OS command line, where you can type the
following command:
STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
164 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
The other method is to use iSeries Navigator as explained in the following steps:
1. Start iSeries Navigator.
2. In the iSeries Navigator left panel, expand My Connections → <your i5
host> → Network → Servers, and click TCP/IP.
3. From the list of servers that is displayed in the right panel, right-click HTTP
Administration, and select Start, as we show in Figure 5-3.
The next step is to open the IBM Web Administration for i5/OS GUI:
1. Navigate to the following Web address:
http://hostname:2001/
In the Web address, hostname is the host name or IP address of the i5/OS
server where the HTTP server was started. Port 2001 is the default port for
accessing IBM Web Administration for i5/OS. To view what port is assigned to
this interface on your system, use the WRKSRVTBLE command and find the
as-admin-http entry in the table.
2. When the login window opens, type a valid i5/OS user profile name and
password, and click OK.
166 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
Important: We recommend that you install the latest HTTP Server for i5/OS
PTFs on your system, prior to using IBM Web Administration for i5/OS. See
the following Web site for more information:
http://www-03.ibm.com/servers/eserver/iseries/software/http/services
/service.html#PTF
The IBM Web Administration for i5/OS start page displays, as shown in
Figure 5-6 on page 168.
Note: After you use IBM Web Administration for i5/OS for the first time, the
state is retained so you are not necessarily returned to the same window when
you next use IBM Web Administration for i5/OS.
You can run the wsadmin tool in interactive and unattended mode. Use the
wsadmin tool to perform the same tasks that you can perform using the
administrative console.
168 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
Starting a server
The startServer command is used to start an application server.
On a Windows platform:
cd profile_root
startServer server1 -user username - password password
For example:
cd WebSphere\ProcServer\profiles\SAServer\bin
startServer server1 -user username - password password
If you elected to register the server as a Windows service, you can start the
server by starting the service.
On a Unix platform:
cd profile_root
startServer.sh server1 -user username - password password
For example, on an AIX system:
cd /usr/IBM/WebSphere/ProcServer/profiles/SAServer/bin
startServer server1 -user username - password password
On an i5/OS system:
STRQSH
cd profile_root/bin
startServer server1 -user username - password password
For example:
STRQSH
cd /QIBM/UserData/WebSphere/ProcServer/profiles/SAServer/bin
startServer server1 -user username - password password
You can also manage servers using the IBM Web Administration for i5/OS
tool.
On a z/OS system:
Application servers on an i5/OS system can be managed from a UNIX
System Services (USS) environment.
Select uss (to switch to the USS environment)
cd profile_root/bin
startServer.sh server1 -user username - password password
For example:
cd /wascsconfig/cscell/csnodea/AppServer/profiles/default/bin
startServer.sh CSSR01A -user username - password password
The home directory path for the profile is specified in the zPMT configuration
(see Figure 4-10 on page 104 and Figure 4-20 on page 119).
A server can also be started by starting the JCL procedure:
S procname, JOBNAME=server_shortname,ENV=
cell_shortname.node_shortname.server_shortname
Stopping a server
The stopServer command can be used to stop an application server on
distributed and i5/OS platforms:
stopServer(.sh) server1 -user username - password password
or
170 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
On Windows platforms, you can also use the Start menu. You also have the
option when you create the profile to register the server as a Windows service. If
you choose this option, you can start the server by starting the service, or by
having the service start automatically.
C:\WebSphere\ProcServer\profiles\Dmgr01\logs\dmgr\startServer.log
C:\WebSphere\ProcServer\profiles\Dmgr01\logs\dmgr\startServer.log
ADMU0128I: Starting tool with the Dmgr01 profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server dmgr open for e-business; process id is 3528
C:\WebSphere\ProcServer\profiles\Dmgr01\logs\dmgr\stopServer.log
ADMU7702I: Because dmgr is registered to run as a Windows Service, the
request to stop this server will be completed by stopping the
associated Windows Service.
ADMU0116I: Tool information is being logged in file
C:\WebSphere\ProcServer\profiles\Dmgr01\logs\dmgr\stopServer.log
ADMU0128I: Starting tool with the Dmgr01 profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server dmgr stop completed.
For example:
START CSDCR,JOBNAME=CSDMGR,ENV=CSCELL.CSDM.CSDMGR
Where:
CSDCR is the JCL start procedure.
CSDMGR is the Job name.
172 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
ENV is the concatenation of the cell short name, node short name, and server
short name.
For example:
STOP CSDMGR
Stopping the daemon server will stop all servers for that cell, and all the servers
on that daemon instance’s MVS image will be stopped in an order fashion. For
example:
STOP CSDEMN
C:\WebSphere\ProcServer\profiles\xpxv812Node01\logs\nodeagent\startSe
rver.log
ADMU0128I: Starting tool with the xpxv812Node01 profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server nodeagent open for e-business; process id is 6128
For example:
S CSACRA,JOBNAME=CSAGNTA,ENV=CSCELL.CSNODEA.CSAGNTA
C:\WebSphere\ProcServer\profiles\xpxv812Node01\logs\nodeagent\stopSer
ver.log
ADMU0128I: Starting tool with the xpxv812Node01 profile
ADMU3100I: Reading configuration for server: nodeagent
ADMU3201I: Server stop request issued. Waiting for stop status.
ADMU4000I: Server nodeagent stop completed.
174 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
Note: Once you stop the node agent, the deployment manager has no way to
communicate with the servers on that node. The servers might be up and
running, but the administrative console is not able to determine their status.
For example:
STOP CSAGNTA
You can also manage all the servers in a cluster simultaneously. Select
Servers → Clusters.
And finally, you can manage all the clusters in a deployment environment
simultaneously. Select Servers → Deployment Environments.
176 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
The plug-in file can be regenerated manually using the administration tools. You
can also set up the plug-in properties of the Web server to enable automatic
generation of the file whenever a relevant configuration change is made.
To regenerate the plug-in configuration manually, you can either use the
administrative console, or you can issue the GetPluginCfg command.
To use the new plugin-cfg.xml, file you must propagate it to the Web server
system.
178 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
You can manually propagate the file by copying it from the application server
machine to the Web server machine, or you can do it from the administrative
console.
Tip: If you encounter problems restarting your Web server, check the
http_plugin.log file in <plug-ins_home>/config/<web_server> for information
about 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 also view and configure these logs through the administrative console.
To find the JVM logs, select Troubleshooting → Logs and Trace. Select the
process whose logs you want to configure, and then click JVM Logs. This view
has two tabs: Configuration and Runtime.
The Configuration tab allows you to change the location of the logs, the format,
file size, etc.
The Runtime tab allows you to view the logs. Click the View button to the right of
the log.
180 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643ManagingProfiles.fm
When applications are running in a cluster, you may not know which server in the
cluster is actually executing the application. In this case, you will need to browse
the log for each server in the cluster until you find what you are looking for.
182 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
The result of this exercise should help you build a deployment plan (i.e. in the
form of a UML deployment diagram) that defines where your application
components will be deployed.
Table 6-1 shows the results of this analysis for the Order Management System
scenario.
Repository System Will host the application database. Apache Derby installed;
ORDERDB database created
Warehouse Availability Systems Three systems that each provide Minimum of WebSphere ESB capability on
warehouse availability information the servers since the Web services have
through a Web service. been implemented as mediation modules
E-mail Server System Provides an SMTP service for An SMTP Server installed
mailing.
DB Access System Provides access to the application WebSphere ESB capable server;
repository. Hosts the Connectivity with the Repository System
DBMSServiceMediation.
184 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Warehouse Split System Provides the warehouse order split WebSphere ESB capable server;
service. Hosts the Connectivity with the Warehouse
WarehouseAvailabilityMediation Availability Systems
Order Management System Hosts the core business process WebSphere Process Server capable
application, OrderManagement and server;
the e-mail module, EmailOutbound. Connectivity with the
DB Access System
Warehouse Split System
Email Server System
Special Order Handling System Filters special order requests to be Windows platform (specific to the Flat File
sent to the file system (hosts configuration);
OrderPreProcessingMediation) WebSphere ESB capable server;
Forward regular order requests to the Connectivity with Order Management
OrderManagement System
Figure 6-1 shows a Deployment Diagram with the minimum collapsing systems
possible for deployment, based on Table 6-1. We will look at these requirements
and constraints in more detail in the next sections.
<<device>>
:Enterprise Service Bus Special Order
{OS=Windows} Handling System
OrderPreProcessingMediation
Order Management
System
<<device>>
DB Access :Process Server
System
Email Server
System
OrderManagementProcess
<<device>>
:Email server
<<device>> <<device>>
:Enterprise Service Bus To: …
:Enterprise Service Bus From: …
DBMSMediation
WarehouseAvailabilityMediation
Warehouse Split
<<device>>
<<device>> System
<<device>> <<device>>
:Apache Derby :Enterprise :Enterprise
:Enterprise BusService
Service
Service Bus Bus
WarehouseAvailabilitySystem
WarehouseAvailabilitySystem
WarehouseAvailabilitySystem
Warehouses
ORDERDB <<web service>>
<<web<<web
service>>service>> Availability Systems
The next step is to lay out the topology we will use for the deployment of these
systems. The target deployment topology you will choose is typically based on
several factors such as:
Hardware requirements for any specific system
Hardware availability and characteristics
Performance, scalability and failover requirements of your application.
186 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Node1 Node2
Web
Server WPRCSDB
WebSphere WebSphere
ESB ESB
Dmgr
The Web server handles all requests between the two clusters as well as the
initial request from the client. It uses the Web server plug-in to balance requests
among servers in each cluster.
1. When a request for the application comes into the system from a client, the
Web Server plug-in is used to forward the request to one of the servers in the
WebSphere ESB cluster for processing by the OrderPreProcessingMediation
application.
2. When a mediation running in the WebSphere ESB cluster needs to access a
WebSphere Process Server module (i.e. the OrderPreProcessingMediation
needs to access the OrderManagement), the request is routed to one of the
servers in the WebSphere Process Server cluster by the Web server plug-in.
3. When a module executing in the WebSphere Process Server cluster needs to
access a mediation module (i.e. the OrderManagement needs to access the
DBMS Mediation), the request is routed to one of the servers in the
WebSphere ESB cluster by the Web server plug-in.
Figure 6-3 shows the final deployment diagram for the Order Management
System using a single cluster topology. The topology is spread over two systems,
host1 and host2.
<<cluster>>
:Process Server
OrderManagementProcess
<<cluster>>
:Enterprise Service Bus
OrderPreProcessingMediation
DBMSMediation WarehouseAvailabilityMediation
WarehouseAvailabilitySystem
WarehouseAvailabilitySystem
WarehouseAvailabilitySystem
<<web service>>
<<web service>>
<<web service>>
Figure 6-3 Scenario example over single cluster pattern deployment diagram
The WebSphere Process Server cluster will host the OrderManagement, while
the WebSphere ESB cluster will host the mediation modules. Each cluster will
span over host1 and host2.
The E-mail system will be on the host1 machine, accessible from the WebSphere
Process Server cluster.
Note: If the e-mail system connectivity properties were set in the application
during development, remember to update the properties using WebSphere
Integration Developer to reflect the production e-mail server address and
repackage the module for deployment.
The properties can be found in the Binding tab in the Properties view for the
import component that calls the e-mail server.
188 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
The Repository system will be on host1 and will be accessed by the WebSphere
ESB cluster through a data source that will be configured in 6.3, “Defining
application resources” on page 191. Because we are deploying to a cluster, the
Derby Embedded provider used in the test environment is no longer feasible for
our deployment. So we must move the repository to a Derby Network Server.
Derby Network Server is available with a WebSphere Process Server and/or
WebSphere ESB installation. It mediates the access to the database through a
server that can be accessed from multiple clients, which is what we need in a
cluster environment. Not that Derby is not intended for production. In a
production system, you would need to plan to use the database product that
provides the function and performance that you require.
In this phase, you must ensure these external systems are started, accessible,
working and configured as stated in the planning phase. You must also ensure
the topology required for hosting the modules and mediation modules is in place.
For the Order Management System the outcome of this phase is that host1,
host2, and the external systems are ready for use.
To prepare this system, you must create the file system defined by the flat file
adapter implementation.
Because the decision was made to put the flat files to a local Windows file
system, it is assumed The Special Order Handling System will run on a Windows
platform. The Flat File Adapter is configured to put files to a local folder
C:\ITSOSpecialOrders. Since we know the entire OrderPreProcessingMediation
will be later deployed over a WebSphere ESB cluster, we must ensure this single
folder will be accessible from every cluster member. A possible solution to such a
requirement would be a shared file system or a shared folder with the same
name on every cluster machine. This requirement can be changed by
reconfiguring the Flat File adapter.
The database provider is something that you will want to decide early in the
process. Databases created on one type of provider may not be easily migrated
to another. The database must be created on the selected provider system
before configuring the JDBC adapter.
Changing the database provider type after development is complete will involve
the following steps:
The database must be migrated from one type of provider to another.
The JDBC adapter configuration must be changed in order to use the new
provider.
The runtime resources (JDBC provider and data source) must be configured.
For the Order Management System, using Derby, the repository will be prepared
for the production environment on host1 as follows:
1. Create the database.
The ORDERDB database is created and populated with data in the following
location:
C:\itso\sampleDB\ORDERDB
2. Start the Network Server server:
190 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
derby\bin\networkServer\startNetworkServer.bat
The E-mail Server location and port is configured within the E-mail Adapter
configuration, which in our case, is in the OrderManagement module.
When you define a resource you will select the most appropriate scope. For
example, JDBC providers provide the location of the driver classes. If the location
of these files vary between systems, you would define a JDBC provider for each
node that requires access to a database and then define a data source for the
database to each JDBC provider at the node level.
Resources that are defined at more specific scopes override duplicate resources
that are defined at more general scopes. For example, if a JDBC provider is
defined at both the cell and node scope, a server in that node would use the
JDBC provider defined at the node scope. A server that is not in that node would
use the JDBC provider defined at the cell scope.
192 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
When the alias is stored, the name you specify will be appended to the node
name for the deployment manager. For example, in this case, the node name for
the deployment manager is kpmgyw0CellManager01. The name the alias will be
stored under is kpmgyw0CellManager01/OrderManagementAuthAlias.
A J2C authentication alias that contains the credentials needed to access the
database.
Attention: That’s right, a DB2 JDBC provider is needed for Derby Network
Server. While a Derby JDBC provider is used for accessing a Derby
Embedded database. The DB2 JDBC provider is compatible with Derby
Network Server.
194 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
3. Select the database type and the provider options. Click Next.
4. Enter the information required for the provider to find the driver classes. This
panel will contain default properties based on the selections made in the
previous screen.
Variables are used in the default specifications. Depending on the provider
you selected, you may have the option to set the values for them on this
panel. If there are variables used that you can’t set on this panel, or you aren’t
sure how setting the values here might affect other applications, you can
configure these variables after you have created the JDBC provider. Variables
can be viewed and edited in the console by selecting Environment →
WebSphere variables.
Click Next.
196 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
5. Review your settings and click Finish. The new provider will be displayed in
the list of JDBC providers. Save your configuration.
Figure 6-8 JDBC Provider at cell level for the example application
198 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Figure 6-9 Enter the basic properties for the data source
200 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
You can use the Security Configuration wizard to assist you in defining your
configuration. Or you can use the options in the User account repository area to
configure and select an active repository.
Once the repository is in place, define the users and groups expected by the
human task.
Groups
Start by creating groups that will hold users with identical authorities. In the
administrative console, select Users and Groups → Manage groups. This
panel allows you to create new groups, search for existing groups. Figure 6-13 on
page 203 shows the groups used in the Order Management System solution.
202 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
To add users to the repository, select Users and Groups → Manage users.
Figure 6-15 on page 205 shows the users defined for the Order Management
System solution.
204 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Click on a user name to display or change the properties for the user.
Click on the Groups tab to display the groups the user belongs to and to add or
remove the user from groups.
206 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
MQ bindings
When you create an MQ binding, you specify the information required to connect
to the WebSphere MQ queue manager and the queue. These resources must be
defined in the WebSphere MQ installation.
JMS bindings
When you create a JMS binding, you specify the JNDI name of the send and
receive queues and topics. Two types of resources must be defined:
1. The queues or topics must be defined to the messaging provider.
If you are using the WebSphere default messaging provider, queues and
topics are defined as destinations on the service integration bus. You can use
the default SCA application bus that is created with the deployment
environment, or you can create a new bus. Buses and destinations are
created from the administrative console:
– Select Service → Integration Buses to view or create new buses.
– Select Service → Integration Buses → bus_name → Destination to
view or create new destinations.
2. JMS queues or topics must be defined as resources to WebSphere Process
Server. The JMS resource points to the queue or topic and specifies the JNDI
name used to access it. This JNDI name must match the one specified in the
binding.
– Select Resources → JMS → JMS providers to view or create JMS
providers.
– Select Resources → JMS → resource_type to view or create JMS
queues and topics.
MQ JMS bindings
The underlying JMS provider must have the queues, topics, and JNDI entries
required by the binding defined.
208 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
5. Click Next.
6. Select a Target directory using Browse...
7. Click Finish.
210 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
3. The next page allows you to select various installation options. We take the
defaults and click Next.
4. Select the modules in the application. Map all the modules to the target
deployment cluster. For example, in this case, we are mapping a mediation
module to the WebSphere ESB cluster. Map all the Web modules to both Web
server node as well (it doesn’t hurt to map all the modules).
The simplest way to do this is to use the CTRL key to select both the cluster
and the Web server. Check the boxes to the left of all the modules. Click
Apply.
5. Click Next.
6. Review the summary of your options and click Finish.
7. Save the configuration.
8. Perform any necessary post-installation tasks required to update import
binding attributes to reflect the production environment.
9. Regenerate the plug-in configuration file and propagate it to the Web server.
10.Start the application. Select Applications → Enterprise Applications.
Check the box to the left of the application and click Start.
212 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
2. Click the Select default HTTP URL prefix check box and select the prefix
from the drop-down. Your options will include URLs with the ports defined for
the server and for the virtual host.
3. Check the box to the left of the module and click Apply.
4. Click OK and save the configuration.
Now you can publish the WSDL file for the service for distribution to clients and
for testing.
1. Select Applications → Enterprise Applications → application → Web
service properties → Publish WSDL files.
2. Extract the WSDL file from the zip file generated. Note the service port URL in
the WSDL.
3. Test the URL in a Web browser. This will ensure connectivity to the service
directly through the application server.
4. Regenerate the Web server plug-in and propagate it to the Web server (this is
discussed later in “Generate the Web server plug-in configuration” on
page 220).
5. Test the URL again, this time substituting the address of the Web server for
the URL prefix. This will ensure connectivity to the service through the Web
server.
Note: If you are not able to connect to the Web service, check the virtual host
configuration.
1. Determine the virtual host the Web service application was deployed to.
Select Applications → Enterprise applications. Click on the application
name to open the configuration. Click on Virtual hosts to see the virtual
host name.
2. Check for this virtual host configuration to make sure it includes the port
used to access the Web service.
Select Environment → Virtual Hosts. Click on the virtual host name to
open the configuration. Click on Host Aliases to see a list of ports for this
virtual host.
3. If necessary, update the virtual host configuration to include the port. Save
the configuration and restart the environment (servers, nodes, deployment
manager), then retry.
214 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
And, the following applications were deployed to the WebSphere Process Server
cluster.
EmailOutboundApp
OrderManagementApp
DBMSServiceMediation deployment
The DBMSServiceMediation is deployed to the WebSphere ESB cluster.
216 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
http://xpxv812.itso.ral.ibm.com:9082/WarehouseAvailabilityServiceAWe
b/sca/WarehouseAvailabilityServiceIFExport1
Repeat the deployment, URL/port discovery, and testing from the WebSphere
ESB client machines for every Web service that will be accessed from the
mediation module. In our case they are the three Warehouse Availability Systems
Web services, so this procedure has been repeated three times.
WarehouseAvailabilityMediation deployment
The WarehouseAvailabilityMediation deployment will require additional steps
after deployment to ensure it can access the WarehouseAvailabilitySystems. To
deploy:
1. Deploy WarehouseAvailabilityMediation to the WebSphere ESB cluster. .
2. WarehouseAvailabilityMediation uses the WarehouseAvailabilitySystems
Web services. When those Web services were deployed, you discovered and
tested URLs used to access them. You must make sure these URLs are used
in the import properties for WarehouseAvailabilityMediation.
For example, assume the URL for WarehouseAvailabilitySystemA Web
service URL is:
http://xpxv812.itso.ral.ibm.com:9082/WarehouseAvailabilityServiceAWe
b/sca/WarehouseAvailabilityServiceIFExport1.
Find the URL actually used by WarehouseAvailabilityMediation for the
service:
Select Applications → SCA Modules → WarehouseAvailabilityMediation,
Module components → Imports → GetWarehouseA_Availability →
Binding → Web service.
3. Compare the URL for the Web service application with the URL you find here
in the endpoint field. If they are not the same, update the endpoint URL.
Note: The Web server address here shows the URL of the Web container of a
specific server in a cluster. Remember that this URL is for a Web service
which we emulated with a mediation. So even though we deployed the
WarehouseAvailabilitySystems to a cluster, these are purely to emulate a real
back-end service and we aren’t concerned that no load balancing will occur
here.
4. Finally you must generate and propagate the plug-in for the Web server and
test that the WarehouseAvailabilityMediation module is accessible through
the Web server.
OrderManagement deployment
Deploying the OrderManagement is similar to the process you used to deploy the
mediation modules.
1. Deploy the OrderManagement, mapping the modules to the WebSphere
Process Server cluster. In addition, map the Web module to the Web server.
218 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
4. Generate and propagate the Web server plug-in and then test the service
availability using a browser.
OrderPreProcessingMediation deployment
The last module to deploy is the OrderPreProcessingMediation application.
1. Deploy the module mapping all of the modules to the WebSphere ESB cluster
and the Web module to the Web server.
2. Update the import for the OrderManagement module. The Flat File Adapter
import is not a Web service binding and needs no update.
3. Generate and propagate the plug-in.
4. Test access to the service.
How you propagate the new configuration file depends on the Web server type
and your environment. This can be done manually, or in some cases, by selecting
the Propagate plug in button.
A logical way to test is to use a “bottom up” method, performing incremental tests
starting with the last service in the chain and working your way to the first
service. In our scenario, looking at the deployment diagram in Figure 6-3 on
page 188, a possible test order is:
1. DBMSServiceMediation
2. WarehouseAvailabilityMediation
3. OrderManagement
4. OrderPreProcessingMediation
220 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
The way you test a module depends on several factors such as:
How the module is accessed (the export binding)
You must use a client that matches the module access protocols. This may be
JMS, HTTP, Web service (SOAP/HTTP or SOAP/JMS)...
The tool you use for developing or emulating the client of the module
You can use any appropriate development tool to create the client of the
application. Rational® Application Developer or WebSphere Integration
Developer can be appropriate in most cases.
The module type (business integration vs. mediation)
Business integration modules can be easily tested using the Business
Process Choreographer Explorer. This tool can’t be used to test mediation
modules.
The network accessibility and security restrictions
You must ensure your client has network connectivity with the modules and
complies with security constraints (such as message encryption or
credentials to be provided).
We will provide some ideas for testing, based on our testing plan for the Order
Management system.
Figure 6-29 A Mediation Module as test client must contain the to be tested components
interfaces and web service ports
Note: The import for OrderManagement is missing here because we will test
that using the Business Process Choreographer Explorer.
222 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Be sure to use Web server address and port 80 for the Web service endpoint
property in order to have load balancing performed for the cluster. Test the
Web service using a browser to make sure the Web service can be accessed
via the Web server.
Figure 6-31 Binding Address property must target the web server address
Note: In our test environment we found that the first invocation often failed.
Retrying the invocation was successful.
224 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
The value you want for this setting may differ between test and production.
During testing, we changed the setting so that processes had to be manually
deleted using the Business Process Choreographer Explorer. When we deployed
to a production environment, we changed the setting so processes were deleted
if they were completed successfully.
Testing OrderManagementBP
To test the OrderManagementBP process, we opened a Business Process
Choreographer Explorer session, logged in as Administrator and found the
OrderManagementBP templates.
Check the box to the left of the process and click Start Instance.
The following test cases can be used ensure the module was working properly:
automatic approval
automatic refusal
human tasks involvement for final decision
The last test case, human tasks, is also the most comprehensive. That is the one
we will show here. The input data for this test is shown in Figure 6-36 on
page 227.
226 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Figure 6-36 Testing the OrderManagement in the human task activation case
Once submitted, the instance remained in the running status in the Process
Instances → Started By me list. This is because the process is suspended
waiting for the human tasks to be completed.
Figure 6-37 Process instance keep running until you don’t complete human task
Figure 6-38 Approving warehouse human task after having copied the input in the form
228 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Testing OrderPreProcessingMediation
Last comes the OrderPreProcessingMediation test. This has been again
performed through the OrderTestClient module, selecting the appropriate
component, interface and method from the Integrated test client interface. We
tested the special order management case as first.
The verification in this case is to make sure the new file has been created in the
C:\ITSOSpecialOrders folder.
230 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643RunConf.fm
Figure 6-41 Special Order file sent to the file system by the mediation
232 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643bibl.fm
Related publications
The publications listed in this section are considered particularly suitable for a
more detailed discussion of the topics covered in this book.
IBM Redbooks
For information about ordering these publications, see “How to get Redbooks” on
page 234. Note that some of the documents referenced here may be available in
softcopy only.
Getting Started with WebSphere Process Server and WebSphere Enterprise
Service Bus: Part 1: Development, SG24-7608
Getting Started with WebSphere Process Server and WebSphere Enterprise
Service Bus: Part 3: Runtime, SG24-7643
Business Process Management: Modeling through Monitoring Using
WebSphere V6.0.2 Products, SG24-7148
WebSphere Application Server for i5/OS Handbook: Version 6.1, SG24-7221
WebSphere Application Server V6: Diagnostic Data, REDP-4085
Online resources
These Web sites are also relevant as further information sources:
WebSphere Application Server V6.1 information center.
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp
WebSphere Process Server V6.1 information center.
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wps.610.doc/welcome_top_wps.htm
WebSphere Enterprise Service Bus V6.1 information center
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.websphere.wesb.61x.root.doc/info/welcome.html
WebSphere Integration Developer V6.1 information center
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/topic/com.i
bm.wbit.610.help.nav.doc/topics/welcome.html
WebSphere Integration Developer V6.1 information center: Configuring and
Using Adapters
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r1mx/index.jsp?t
opic=/com.ibm.wbit.610.help.adapter.emd.ui.doc/topics/tcreatecmps.ht
ml
234 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643IX.fm
Index
control region 105, 119
A control region (CR) 8
AboutThisProfile.txt 163
control region adjunct 9
addNode 137
controller process 105, 119
address space 8
controller region 173
adjunct process 120
CTRACE parmlib member 104, 118
administrative console 158
custom node 4, 6, 34–35, 38, 47, 69, 76, 79, 110,
starting 161
118–119, 122, 124, 133–134, 136–137, 139
administrative domain 2
custom profile 3, 7, 21, 55, 75, 110
administrative security 162–164
custom user registry 108, 121
apachectl start 70
application deployment target 12
application server 2 D
application server profile 94, 163 daemon 106, 120, 173
Application Server Toolkit 94, 96, 111 daemon server 10
augment 3–4, 24, 28, 33–34, 52, 54, 90–91, 93, default profile 18
110, 124, 129–130, 135–137, 139 deployment environment pattern 6–7, 11, 22, 51,
72, 76, 80
Deployment manager 46
B deployment manager 2–8, 21–22, 24, 27–30,
BBOCCINS 172
34–35, 38, 47, 68–69, 71–72, 74–76, 79–80, 94–96,
BBOWMNAN 124
103–105, 110, 122, 124, 127–128, 130, 132–134,
BPEDB 25, 28–29
137–139, 141, 159, 162, 171–173, 175, 193, 210,
BPEODB 25, 28
214
Business Flow Manager 28, 152, 154
starting 158, 171
business integration module 2, 221
starting on z/OS 172
Business Process Choreographer 12, 25, 28–29,
stopping 158, 172
61–62, 131, 152–155, 221
stopping on z/OS 173
Business Process Choreographer Explorer 222,
deployment manager name 102, 117
225–226, 228, 230
deployment manager profile 55, 95
Business Process Manager 139
Derby Embedded 27
Business Rules Manager 12
Derby Network 27
distributed server 5
C distributed server configuration 6
CEI database 25 distributed server environment 17
cell 2, 161 DMGR 127
cell name 102, 117
cell profile 94
certificate 107–108, 121
E
EVENT database 25
certificate authority 107, 120
EventSequencing (LockManager) 26
cluster 175, 230
command line tools 158–159
Common Event Infrastructure 131 F
Common Event Interface (CEI) bus 12 failover 5
federate 3–4, 7, 18, 30, 76, 79, 94–95, 110, 122, starting 173
124, 133, 136–137, 139 stopping 174
application server 95 stopping on z/OS 175
federated repositories 201
file-based user registry 108, 121
P
plug-in configuration file
G automated propagation 180
GetPluginCfg 177 automatic regeneration 178
propagating 178
regenerating 177
H port 163
HFS 103–104, 117
ports 105
HLQ field 98
print() 180
human task 153, 200–202, 226–229
println() 180
Human Task Manager 28, 139, 152, 154
printStackTrace() 180
Process Instance status 230
I PROCLIB 99
IBM HTTP Server 68, 70 profile 3
IBM Web Administration 166 profile directory 159
IBM Web Administration for i5/OS 158, 164, 168 Profile Management Tool 4, 22–24, 31, 33, 52–54,
ISPF Customization Dialog 94, 110, 124 56, 79, 81, 90, 94, 96
Profile Management Tool Client 52–53
profile_root 160
J
JMS binding 207
Jython 108, 122 Q
QHTTPSVR 166
QShell 161
L
LDAP 108, 121
log R
HTTP 17 RACF 107–108, 121
long name 102, 117 Redbooks Web site 234
Contact us xii
Relationship service 26
M
managed node 17, 95 remote messaging and remote support pattern 11,
ManagedDB2.rsp 133 14–16, 67, 76, 78, 80
manageprofiles 4, 20, 22–24, 52, 54–55, 94 remote messaging pattern 11, 13–14, 67, 76, 80
manageprofiles script 94 response file 96
mediation module 2, 221 responsefile.wbis.txt 47
Message Logger primitive 26
MQ binding 207 S
MQ JMS binding 208 SAF 107, 121
SAF EJBROLE 107–108, 121
SAF keyring name 107
N
node 2 SBBOEXEC 101
stopping 175 SBBOLD2 101
node agent 2, 5, 119, 122, 138, 173–175 SBBOLOAD 101
restarting 175 SBBOLPA 101
236 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
Draft Document for Review June 3, 2008 1:55 pm 7643IX.fm
U
unmanaged node 16, 86
Update Installer 23, 48, 68, 74, 78
W
WAS_USER_SCRIPT 18
Web server
adding 87
Web Server plug-in 187
Web server plug-in 15, 60, 69–70, 178–180, 187,
208, 215–216, 219–220
regenerating 177
Web server plug-in configuration service 178
Web service URL 212, 216
WebSphere Application Server - Express 4
WebSphere Application Server for z/OS Profile
Index 237
7643IX.fm Draft Document for Review June 3, 2008 1:55 pm
238 Getting Started with WebSphere Process Server and WebSphere ESB Part 3: Runtime
To determine the spine width of a book, you divide the paper PPI into the number of pages in the book. An example is a 250 page book using Plainfield opaque 50#
smooth which has a PPI of 526. Divided 250 by 526 which equals a spine width of .4752". In this case, you would use the .5” spine. Now select the Spine width for
the book and hide the others: Special>Conditional Text>Show/Hide>SpineSize(-->Hide:)>Set . Move the changed Conditional text settings to all files in your
book by opening the book file with the spine.fm still open and File>Import>Formats the Conditional Text Settings (ONLY!) to the book files.
Draft Document for Review June 3, 2008 1:55 pm 7643spine.fm 239
Getting Started with
WebSphere Process Server
and WebSphere ESB Part 3:
(1.5” spine)
1.5”<-> 1.998”
789 <->1051 pages
Getting Started with WebSphere
Process Server and WebSphere
(1.0” spine)
0.875”<->1.498”
460 <-> 788 pages
Getting Started with WebSphere Process Server and
(0.5” spine)
0.475”<->0.875”
250 <-> 459 pages
Getting Started with WebSphere Process Server and WebSphere ESB
(0.2”spine)
0.17”<->0.473”
90<->249 pages
(0.1”spine)
0.1”<->0.169”
53<->89 pages
To determine the spine width of a book, you divide the paper PPI into the number of pages in the book. An example is a 250 page book using Plainfield opaque 50#
smooth which has a PPI of 526. Divided 250 by 526 which equals a spine width of .4752". In this case, you would use the .5” spine. Now select the Spine width for
the book and hide the others: Special>Conditional Text>Show/Hide>SpineSize(-->Hide:)>Set . Move the changed Conditional text settings to all files in your
book by opening the book file with the spine.fm still open and File>Import>Formats the Conditional Text Settings (ONLY!) to the book files.
Draft Document for Review June 3, 2008 1:55 pm 7643spine.fm 240
Getting Started with
WebSphere Process
Server and WebSphere
(2.5” spine)
2.5”<->nnn.n”
1315<-> nnnn pages
Getting Started with
WebSphere Process
Server and WebSphere
(2.0” spine)
2.0” <-> 2.498”
1052 <-> 1314 pages
Back cover ®
Draft Document for Review June 3, 2008 1:55 pm
Install WebSphere This book provides new users with information on installing
Process Server and configuring a WebSphere® Process Server and INTERNATIONAL
WebSphere Enterprise Service Bus runtime environment. It TECHNICAL
Build topologies includes installation examples on distributed, i5/OS®, and SUPPORT
based on patterns z/OS® platforms. It also provides basic configuration ORGANIZATION
information for deploying applications.
Prepare for Some knowledge of WebSphere Application Server Network
deployment Deployment is assumed. BUILDING TECHNICAL
This is the third book of a three-part series: INFORMATION BASED ON
PRACTICAL EXPERIENCE
Getting Started with WebSphere Process Server and
WebSphere Enterprise Service Bus:
IBM Redbooks are developed by
Part 1: Development, SG24-7608 the IBM International Technical
Part 2: Scenario, SG24-7642 Support Organization. Experts
from IBM, Customers and
Part 3: Runtime, SG24-7643 Partners from around the world
create timely technical
information based on realistic
scenarios. Specific
recommendations are provided
to help you implement IT
solutions more effectively in
your environment.
SG24-7643-00 ISBN