9 6 Deployer Users Guide PDF
9 6 Deployer Users Guide PDF
Version 9.6
April 2014
This document applies to webMethods Product Suite Version 9.6 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright © 2004-2014 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or
its affiliates and/or their licensors.
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or
Software AG USA Inc. and/or its subsidiaries and/or its affiliates and/or their licensors. Other company and product names mentioned
herein may be trademarks of their respective owners.
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at
hp://documentation.softwareag.com/legal/.
Use of this software is subject to adherence to Software AG's licensing conditions and terms. These terms are part of the product
documentation, located at hp://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices and license terms, please refer to "License
Texts, Copyright Notices and Disclaimers of Third Party Products”. This document is part of the product documentation, located at
hp://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
Table of Contents
Concepts......................................................................................................................................... 15
About webMethods Deployer................................................................................................... 16
Runtime-Based Deployment.....................................................................................................16
Overview of Runtime-Based Deployment......................................................................... 16
Repository-Based Deployment................................................................................................. 17
Composites........................................................................................................................ 18
Build Script........................................................................................................................ 18
Overview of Repository-Based Deployment......................................................................18
Creating Projects...................................................................................................................... 19
Deployment Sets............................................................................................................... 19
Unresolved Dependencies.................................................................................................20
Target Servers................................................................................................................... 20
Deletion Sets..................................................................................................................... 21
Mapping Projects...................................................................................................................... 21
Deploying Projects....................................................................................................................21
Checkpoint and Roll Back.................................................................................................22
Transactional Deployment................................................................................................. 22
Concurrent and Sequential Deployment........................................................................... 22
Deployer Interfaces...................................................................................................................23
Automating Project Creation.....................................................................................................24
Logging..................................................................................................................................... 25
Getting Started............................................................................................................................... 27
Getting Started with Runtime-Based Deployment....................................................................28
Getting Started with Repository-Based Deployment................................................................ 29
Mapping a Project........................................................................................................................139
About Mapping a Project........................................................................................................140
Mapping a Project to Target Servers and Target Groups.......................................................140
Exporting and Importing a Map..............................................................................................143
Substituting Configuration Values...........................................................................................144
Substituting Configuration Values by Asset.................................................................... 145
Substituting Configuration Values by Target Server (Runtime-Based)............................ 145
Substituting Configuration Values by Target Server (Repository-Based)........................ 146
Exporting and Importing Substitute Configuration Values...................................................... 146
About................................................................................................................................166
Deleting a Project............................................................................................................166
Displaying Project Properties.......................................................................................... 166
Exporting Deletion Sets from a Project...........................................................................166
Importing Deletion Set Definitions into a Project............................................................ 167
Exporting Project Properties............................................................................................168
Importing Project Properties............................................................................................168
Help..................................................................................................................................169
Listing Builds, Maps, or Deployment Candidates for a Project....................................... 169
Locking Projects.............................................................................................................. 170
Unlocking Projects...........................................................................................................170
Build Commands.................................................................................................................... 170
Creating a Project Build.................................................................................................. 170
Listing Builds for a Project.............................................................................................. 171
Displaying Contents of a Build........................................................................................171
Displaying Substitute Configuration Values for Integration Server Assets in a Build....... 171
Displaying Contents of a Build File.................................................................................172
Displaying Substitute Configuration Values for Integration Server Assets in a Build
File................................................................................................................................... 172
Exporting a Build from a Project..................................................................................... 173
Importing a Build File into a Project................................................................................173
Listing Build Reports....................................................................................................... 174
Displaying a Build Report................................................................................................174
Commands for Repository-Based Deployment...................................................................... 175
Rebuilding the Index with the Build Script...................................................................... 175
Map Commands..................................................................................................................... 176
Listing All Deployment Maps...........................................................................................176
Exporting a Deployment Map from a Project.................................................................. 176
Editing a Deployment Map, Project Properties, or Substitute Configuration Values........176
Importing a Deployment Map Into a Project................................................................... 177
Exporting Substitute Configuration Values for Integration Server Assets from a
Deployment Map............................................................................................................. 178
Importing Substitute Configuration Variables for Integration Server Assets into a
Deployment Map............................................................................................................. 178
Deleting a Deployment Map from a Project....................................................................179
Deployment Commands......................................................................................................... 180
Creating a Deployment Candidate.................................................................................. 180
Displaying Information About a Deployment Candidate..................................................180
Deleting a Deployment Candidate.................................................................................. 181
Generating a Checkpoint.................................................................................................181
Simulating a Deployment................................................................................................ 182
Deploying......................................................................................................................... 182
Rolling Back Target Servers............................................................................................183
Listing Simulation, Rollback, and Deployment Reports.................................................. 183
Displaying a Simulation, Rollback, or Deployment Report..............................................184
Two or More Deployment Sets for the Same Analytic Engine Using One Deployment
Map...........................................................................................................................233
Executing DDL Statements for Two or More Analytic Engines......................... 234
This guide explains how to use webMethods Deployer to deploy assets from source
webMethods servers or development environments to target webMethods servers.
Document Conventions
Convention Description
Italic Identifies variables for which you must supply values specific to
your own situation or environment. Identifies new terms the first
time they occur in the text.
{} Indicates a set of choices from which you must choose one. Type
only the information inside the curly braces. Do not type the { }
symbols.
... Indicates that you can type multiple options of the same type.
Type only the information. Do not type the ellipsis (...).
Documentation Installation
You can download the product documentation using the Software AG Installer. The
documentation is downloaded to a central directory named _documentation in the main
installation directory (SoftwareAG by default).
Online Information
You can find additional information about Software AG products at the locations listed
below.
1 Concepts
■ About webMethods Deployer ....................................................................................................... 16
■ Runtime-Based Deployment ........................................................................................................ 16
■ Repository-Based Deployment ..................................................................................................... 17
■ Creating Projects .......................................................................................................................... 19
■ Mapping Projects ......................................................................................................................... 21
■ Deploying Projects ....................................................................................................................... 21
■ Deployer Interfaces ...................................................................................................................... 23
■ Automating Project Creation ........................................................................................................ 24
■ Logging ......................................................................................................................................... 25
Important: You can deploy user-created assets using Deployer. You cannot deploy
webMethods components that have been installed by the Software AG Installer as part
of a product. For example, you can deploy Integration Server packages that have been
created by users, but you cannot deploy Integration Server packages that were installed,
such as WmPRT. If you want such components to reside on target runtimes, you must
install them using the Software AG Installer.
Runtime-Based Deployment
In runtime-based deployment, you deploy assets directly from webMethods source
runtimes to target runtimes.
You can deploy assets from and to these webMethods runtimes:
webMethods Brokers.
BPM (ProcessModel) runtimes. A ProcessModel runtime is an Integration Server that
hosts the webMethods Process Engine and executes business processes.
Integration Servers, including hosts for Trading Networks Servers.
My webMethods Server.
Optimize runtimes. An Optimize runtime is an Optimize Analytic Engine.
Stage 4 Deploy the assets in the project build to the target runtimes.
For more information, see "Deploying Projects" on page 21.
For a more specific list of tasks involved in the runtime-based deployment process, see
"Geing Started with Runtime-Based Deployment" on page 28.
Repository-Based Deployment
In repository-based deployment, you build the assets from your development
environment or version control system (VCS) and store them on a repository. The
repository is a specific directory structure to which you map Deployer. Deployer
deploys the assets contained in the repository to target servers, target groups, or both.
You can use repository-based deployment to deploy assets from the following kinds of
webMethods runtimes to target servers:
BPM Process Development
Broker
Business Rules
EDA
Event Server
Integration Server
My webMethods Server
Optimize
Trading Networks
Universal Messaging
Composites
Composites are compressed files that contain the definitions of the assets and their
dependencies you build in a development environment. Each composite defines assets
from one webMethods runtime type. You build the assets into the composite file during
the build process and store them in a repository for deployment.
Deployer can use the assets from several different composites (and webMethods runtime
types) to construct a deployment set. The assets in each composite file retain the same
relationships they share in the development environment.
The build process that creates the composites for your assets also creates an Asset
Composite Definition Language (ACDL) descriptor (descriptor) for each composite.
The descriptor is an XML schema that serves as a manifest for each composite and
describes all of the assets included in the composite file. Deployer reads the descriptor to
determine which assets are present in each composite.
Build Script
In repository-based deployment, you use a build script (build.xml) to build composites
and their associated descriptors from the development environment. The build
properties file (build.properties) contains the seings the build script uses to build the
assets.
For more information about seing build seings and running the build script, see
"Building Composites for Repository-Based Deployment" on page 31.
For a more specific list of tasks you perform in the repository-based deployment process,
see "Geing Started with Repository-Based Deployment" on page 29.
Creating Projects
A deployment project identifies the user-created assets on source servers (for runtime-
based deployment) or a repository (for repository-based deployment) that you want to
deploy to target servers. To create a project, you assign the project a name and set its
properties, and then you authorize users to perform the project tasks.
When you create a project, Deployer automatically creates an HTML home page for the
project. You can modify this page to contain instructions or notes about the project that
you want users to view. For example, you might want to list the target servers for the
users who will perform the mapping task, or you might want to provide instructions for
users who will test the deployed solution.
Deployment Sets
You identify the assets to include in the project using deployment sets. Each deployment
set identifies the user-created assets you want to deploy from one type of source server
or repository to a target server.
A single project can include deployment sets with assets from different types of
webMethods applications. For example, a single project can include Integration Server
deployment sets and ProcessModel deployment sets.
Note: A project can contain deployment sets whose assets were selected from only one of
the following:
Source webMethods runtime types (for runtime-based deployment)
A composite in a repository (for repository-based deployment)
A project cannot contain both types of deployment sets.
Unresolved Dependencies
If assets in your deployment set depend on assets that are not part of the deployment
set, Deployer identifies these missing assets as unresolved dependencies. For example, if
you add a trigger to an Integration Server deployment set, but do not add the service
that is invoked by the trigger, Deployer identifies the missing service as an unresolved
dependency. Deployer enables you to resolve unresolved dependencies.
Target Servers
To control to which targets assets are deployed, you define target servers. You define
target servers according to the kind of assets you want to deploy. For example, if you
wanted to deploy Integration Server assets to one set of target Integration Servers, you
could define a single deployment set that identifies those assets.
To deploy some Integration Server assets to one set of target Integration Servers and
other Integration Server assets to a second set of target Integration Servers, you must
define two different deployment sets.
Deletion Sets
Deployment projects that contain deployment sets whose assets were selected from
source webMethods servers or repositories can also contain a deletion set for each target
server. A deletion set lets you specify user-created assets to delete from the target
server before you deploy the assets in the project's deployment sets. You can also export
deletion set definitions from one project and import them into another.
Mapping Projects
In a deployment map, you identify target servers and target groups for each deployment
set in a project. You can create multiple deployment maps for each project build (for
example, if you are deploying to multiple environments).
Deploying Projects
To deploy a project, you first create a deployment candidate, which is a combination of a
deployment set and a deployment map. For runtime-based deployment projects, the
deployment candidate also includes the project build. Deployer does the following when
you deploy the project:
For projects that include deletion sets, Deployer deletes the identified assets from the
target servers.
Copies the contents of each deployment set in the deployment candidate's project to
the target servers identified in the deployment candidate's deployment map.
Creates a deployment report that lists all actions that occurred during deployment.
For an IS & TN deployment set for which you specified substitute configuration
values, Deployer substitutes those values during deployment.
Transactional Deployment
For repository-based deployment, you can deploy assets and composites using
transactional deployment. When transactional deployment is enabled, Deployer
automatically creates the checkpoint for the target server when you deploy the
deployment set. If deployment fails, Deployer automatically rolls back all of the target
servers to the state they were in when Deployer created the checkpoint. For more
information about seing transactional deployment, see " Creating a Project" on page
83.
and maximum thread pools, see webMethods Integration Server Administrator’s Guide.
Deployer writes records to the Audit Log to indicate that the main deployment thread
has created new deployment threads for the specific target server. This allows you to
track which thread belongs to each deployment request.
In a sequential deployment, Deployer deploys the assets to all target servers one by one
in the order that the targets were added to the deployment map. If the project is not set
to use concurrent deployment, Deployer deploys assets sequentially.
You can set concurrent deployment for all projects in the system when you set the
default seings for Deployer as described in " Seing General Deployment Defaults"
on page 77. If the default seing is set to sequential deployment and you want to
use concurrent deployment for a specific project (or vice versa), you can override the
default seing for that project during creation. For more information about overriding
the default seings for a project, see " Creating a Project" on page 83.
Deployer Interfaces
Deployer offers a graphical user interface (GUI), a command line interface, and a
Project Automator tool. Using the command line interface you can enter commands at
a command prompt or you can create scripts that execute commands automatically.
The Project Automator allows you to specify project information in an XML file for
automated project creation.
The table below shows which tasks you can perform from each type of Deployer
interface.
Create projects. X X
file. For more information about the Project Automator tool, see "Automating Project
Creation" on page 185.
Logging
Deployer writes audit log entries to these logs:
The Deployer GUI audit log. This log contains information about actions that users
perform through the Deployer GUI, such as creating builds and deploying.
The Deployer command line audit log. This log contains error messages wrien by
Deployer commands executed by users.
The Deployer Project Automator audit log. This log contains information and error
messages wrien by the Project Automator during execution of an XML file.
Deployer writes journal entries to the Integration Server server log. The server log
contains information about operations and errors that occur on Integration Server, such
as the starting of Integration Server subsystems and the loading of Integration Server
packages such as Deployer. For complete information about the Integration Server
server log, see webMethods Integration Server Administrator’s Guide.
2 Getting Started
■ Getting Started with Runtime-Based Deployment ....................................................................... 28
■ Getting Started with Repository-Based Deployment .................................................................... 29
Task See...
Task See...
Task See...
Task See...
■ Overview ....................................................................................................................................... 32
■ Before Building Composites ......................................................................................................... 32
■ Setting the Properties for the Build ............................................................................................. 34
■ Running the Build Script and Rebuilding the Index ..................................................................... 42
■ Preparing BPM Assets for Repository-Based Deployment .......................................................... 47
■ Next Steps .................................................................................................................................... 51
Overview
The build process for repository-based deployment involves the following basic stages:
Stage 1 Create the assets and export or copy them from the source development
platform to the source directory.
Developers create the assets on the development environment and
export or copy them to a file system or version control system (VCS)
from which the build process can obtain them. This guide assumes
that the assets have already been created. For more information about
creating and exporting assets, see the documentation for the applicable
webMethods runtime. For more information about adding assets to the
source directory, see "Adding Assets to the Source Directory" on page
33.
Stage 2 Install the webMethods Asset Build Environment on the build machine.
The Asset Build Environment supplies the scripts and libraries
necessary to build assets into composites that Deployer then deploys to
target servers and groups. For more information about the Asset Build
Environment, see "Installing the Asset Build Environment" on page
33. For information about installing the Asset Build Environment,
see Installing webMethods and Intelligent Business Operations Products.
Important: If you are building a single BPM process project folder, follow
the procedure described in "Preparing the BPM Process Development
Asset Deployment Environment" on page 48.
Create the assets you want to deploy and add them to a file system or VCS that is
accessible to build scripts.
Install the webMethods Asset Build Environment version 8.2 SP1 or greater.
For information about installing the Asset Build Environment, see Installing webMethods
and Intelligent Business Operations Products.
Important: When you overinstall later releases of the Asset Build Environment, your
changes to these files are retained. You do not need to move the files unless you
uninstall and reinstall the Asset Build Environment.
The Software AG Installer installs all three files in the following location as part of the
Asset Build Environment:
Software AG_directory\common\AssetBuildEnvironment\master_build
Property Definition
build.output.dir Root directory where the build script will place the
output (composites and descriptors) of the build.
Use a forward slash "/" as path separator.
The build script creates a subdirectory with the
current build number in this directory, as well as a
subdirectory for the composites and descriptors for
each runtime type included in the build as follows:
Broker Broker
EDA EDA
Integration Server IS
Optimize Optimize
Trading Networks TN
Property Definition
Property Definition
enable.build.MWS My webMethods
Server
enable.build.Optimize Optimize
enable.build.Broker Broker
enable.build.EDA EDA
Property Definition
Specify... To record...
3. If you are building BPM Process Development assets, set the following BPM-specific
properties:
Property Definition
4. If you are building Optimize assets, set the following Optimize-specific property:
Property Definition
Property Definition
5. If you are building business rules assets, set the following business rules-specific property:
Property Definition
6. If you are building Integration Server assets, set the following Integration Server- specific
property:
Property Definition
Property Definition
svn.url URL of the SVN from where the build script checks out
the assets.
build.checkout.dir The root directory from which the build script will
check out the asset sources. This property can point
to only one directory; therefore, it should be the root
directory containing all projects that will be built.
For example, if your solution contains an Integration
Server project, your full project directory might be /root/
project/builds/webM/IS. In this case, you would not
include /IS in the path. Instead, you would enter /root/
project/src/webM/.
Important: Do not rename or remove the file from the master_build directory.
JAVA_MAX_PERM_SIZE
For example:
The composite for a Broker project containing Broker assets would be named
Broker_file_name .adl, where file_name is the name of the file you exported
from Broker using My webMethods Server.
The composite for a Broker project containing JNDI assets would be named
Provider_file_name .xml, where file_name is the name of the file you exported
from Broker using My webMethods Server.
The composite for a project containing Integration Server administrative
assets would be named isconfiguration.zip.
Deployer uses the composite and descriptor files to deploy the assets to a target
server. For more information about deploying assets, see "Adding Assets for
Repository-Based Deployment" on page 115.
Important: Do not customize this file. When you overinstall later releases of the Asset
Build Environment, your changes will be lost.
Windows build.bat
UNIX build.sh
The build script builds the composite files and places them in the location specified
by the build.output.dir property you specified in "Seing the Properties for the
Build" on page 34.
you cannot then redeploy that process using that target environment as a source for a
runtime-based deployment project. In runtime-based deployment Deployer requires the
generation receipt to determine dependencies. If you want to redeploy the process, you
must first rebuild the process in the target environment.
A BPM build.xml file must be included in each process project (see "About build.xml
Files" on page 48). The file contains the default properties that are used when the
build script is run in the process project directory (that is, no properties are being passed
into the project build from a script running in the master_build directory).
Note: A BPM build.xml file is included by default if the Designer process project is
created in Designer 8.2 or later. If the process project is imported from previous versions
of Designer, you must add it manually to the process project folder.
When the script is run in the process project directory, the build script assumes that the
source directory and the output directory are the same as the current directory.
Note: The property seings described below are used only when the build script
is running in the process project directory. If the build script is running in the
master_build directory, the build.xml properties described below are overridden by the
properties in the build.properties file.
Property Definition
Property Definition
testProcessModel;testProcessProject2/
testProcessModel2. If the process does
not exist in the source directory or a
child directory of it, the build script
ignores the value. If left empty, all
process model IDs are included. This
property can be used with or without the
default.bpm.acdl.model.version property.
Note: Be sure you have modified your system variables to contain the path name of
the build script. Otherwise, you must type the full path name.
The build script processes the specified process model files and creates
corresponding composite and descriptor files in the current directory. After
the composite and descriptor files are built, you can move or copy the files to a
deployment repository and index them for use with Deployer.
5. If you want to use the composite and descriptor files for use with Deployer, perform the
following additional steps:
a. Move or copy the files to the BPM subdirectory of the repository.
b. Run the following command from the Software AG_directory\common
\AssetBuildEnvironment\bin directory:
The createIndex script indexes the files you moved or copied to the repository.
Next Steps
Once you have built your composites, you can connect to the repository and target
servers, create a project, and create a deployment set that includes the composites for
deployment.
To... See...
Starting Deployer
Deployer starts automatically when you start its host Integration Server.
Open the Deployer interface by entering this URL in an Internet browser, where
Integration Server_port is the host name and port of the Integration Server that hosts
Deployer:
hp://Integration Server_host :Integration Server_port /WmDeployer
Deployer and Integration Server use the same log on user name and password. If
you just installed Deployer with a new Integration Server, the defaults are user name
Administrator and password manage.
7.1 7.1
8.2 8.2
9.0 9.0
9.5 9.5
Additionally, you can import builds from projects created with Deployer version 8.2
or earlier to Deployer 9.0 or later for deployment. For example, you could import a
build from a version 8.0 project into Deployer 9.0.
For repository-based deployment projects, each project includes sources and targets
of only one version. You cannot include source repositories or target servers of
different versions.
For repository-based deployment projects, Deployer deploys only target servers and
target groups of version 8.2 SP1 and later. Because repository-based deployment
does not use source servers, Deployer limits the version of the targets in your project
according to the first target server or target group you select for mapping. For
example, if you select a target server of version 8.2, Deployer displays only target
servers and target groups of version 8.2 for mapping.
You can connect to the following source and target webMethods servers:
To connect to source and target Integration Servers and Trading Networks servers
1. In Deployer, go to the Servers > IS & TN page.
2. Click Add Remote Server Alias.
Deployer opens the Integration Server Administrator to the Settings > Remote Servers
> Create Alias page of the Integration Server that hosts Deployer.
3. In Integration Server Administrator, define the remote servers by completing the fields in
the Remote Server Alias Properties area as described in webMethods Integration Server
Administrator’s Guide. You should define the following as remote servers:
All source Integration Servers and Trading Networks servers.
All target Integration Servers and Trading Networks servers.
The Integration Server that hosts Deployer, if you will be using it as a source or
target server (that is, define the Integration Server as a remote server to itself).
4. In Deployer, go to the Servers > IS & TN and click Refresh this Page.
Deployer displays the new server alias to the Remote Servers List area of the Servers >
IS & TN page.
5. Select the version of the Integration Server hosting the source or target from the Version box.
For example, if the host Integration Server is running version 8.2 SP1, you
would select 8.2. For information about selecting the version, see "Connecting to
webMethods Servers" on page 54.
6. Install the WmDeployerResource package on each Integration Server.
The WmDeployerResource package is the implementation of the operation
endpoints for Integration Server and Trading Networks. Install the package as
follows:
a. In Deployer, go to the Servers > IS & TN page.
The page lists all Integration Servers you defined as remote servers.
b. In the Install column, select the check box next to each Integration Server on
which you want to install the WmDeployerResource package.
c. Click Install.
7. Click Save.
Field Entry
Field Entry
Use SSL Whether Deployer should use SSL to connect to the server.
Field Entry
Field Entry
Cache Timeout Length of time queries should remain in the cache unless
the cache capacity is exceeded.
Field Entry
Note: Deployer supports deployment of assets to Event Servers of version 9.5 or earlier
only.
Note: You can set up connections to target Event Servers only when using repository-
based deployment.
Field Entry
Field Entry
Use SSL Whether Deployer should use SSL to connect to the Event
Server.
Note: You can only use SSL if the Event Server is configured
to use SSL. Configure the server's HTTPS port to not request
client certificates. For instructions on defining the HTTPS
port, see webMethods Integration Server Administrator’s Guide.
Field Entry
Version Version of the Broker Server that matches the version of the
project as defined by the host server alias. For information
about selecting the version, see "Connecting to webMethods
Servers" on page 54.
Field Entry
Client Group Client group for Deployer to use to access the source or target
Broker Server. For target Broker Servers, type admin.
Context JNDI context to use when the Broker Server serves as a JNDI
provider.
Note: You can only use SSL if the Broker Server is configured
to use SSL authentication.
Keystore Type File type of Deployer's keystore file. Required if you specify
SSL for Client Authentication.
Field Entry
Field Entry
Field Entry
Use SSL Whether Deployer should use SSL to connect to the server.
b. Go to the Packages > Management page and click for the WmDesigner package.
c. Click Add Logical Server and complete these fields:
Field Entry
6. Install the WmDeployerResource package on each ProcessModel server that will run process
steps. In Deployer, go to the Servers > IS & TN page; the page lists all ProcessModel servers
you defined as remote servers. In the Install column, select the check box next to each
ProcessModel server and click Install.
7. If a process model to deploy includes a task, go to the Packages > Management page on the
model's source and target ProcessModel servers, click for the WmTaskClient package,
and identify the My webMethods Server that hosts the task.
Note: You can set up connections to target EDA deployment endpoints only when using
repository-based deployment.
Field Entry
Field Entry
Use SSL Whether Deployer should use SSL to connect to the server.
Configure the server's HTTPS port to not request client
certificates.
Note: You can set up connections to target business rules servers only when using
repository-based deployment.
Field Entry
Field Entry
Note: You can set up connections to target Universal Messaging servers only when using
repository-based deployment.
Field Entry
Realm URL The URL of the Universal Messaging realm server in the
following format:
protocol ://host :port
Where:
protocol is one of the following:
nsp specifies Universal Messaging Socket Protocol.
nhp specifies Universal Messaging HTTP Protocol.
Field Entry
Deployer Keystore Full path to the keystore file. Required if the protocol of
Realm URL is nsps or nhps.
5. Click Configure.
Deployer displays the repository in the table on in the Repositories pane.
6. To test the connection, click in the Test column of the Repositories pane.
7. To rebuild the index, see "Rebuilding the Index" on page 46.
Note: For Integration Server and Trading Networks remote server aliases, you can
edit only the Version property using Deployer. You can edit all other properties for
Integration Server and Trading Networks remote server aliases using Integration
Server Administrator. For more information about editing remote server aliases, see
webMethods Integration Server Administrator’s Guide. For information about refreshing
Integration Server and Trading Networks remote server aliases in Deployer, see step 4
in "Connecting to Integration Servers and Trading Networks Servers" on page 56.
BPM process Yes. For instructions on creating target groups for use in a
models clustered environment, see "Deploying to Clustered Integration
Servers" on page 235.
Broker Yes. To copy Broker clients to all of the cluster nodes, you must
use a target group to deploy the Broker clients to each node in
the cluster. When you deploy Broker assets to one of the nodes in
a Broker cluster, all Broker assets except clients are copied to all
of the cluster nodes.
Event Yes. You must use target groups to deploy to event servers in an
Servers HA cluster. You can also use a target group when deploying to
multiple independent event servers.
Universal Yes. You must use target groups to deploy cluster wide assets.
Messaging For all other assets, you can use target groups if you want to sync
the asset properties on each node.
Note: Deployer limits the servers you can select for inclusion in the target group to
those with the version you specify in the Version box. You cannot add servers of
different versions to a target group. For information about selecting the version, see
"Connecting to webMethods Servers" on page 54.
6. Click Create.
7. You can specify that deployment must either succeed on all servers in the target group or
be automatically rolled back. In other words, if deployment fails on any server in the target
group, you can specify that Deployer must automatically roll back the deployment on all
servers in the group. To do so, set Rollback All on Failure to Yes; Deployer will ignore the
Rollback on Error project setting (see " Seing General Deployment Defaults" on page
77).
Note: Rollback All on Failure is valid for runtime-based deployment only. Deployer
ignores this seing for repository-based deployment.
8. The Available Servers list shows the servers of the specified type for which you have set up
connections to Deployer and that match the version you specified in the Version field. Select
the servers to add to the target group, and then click Add. The servers move to the Selected
Servers list.
9. Click Save.
10. To test the connection between Deployer and the target group, click in the Test column in
the left pane.
If the test fails, Deployer displays Resolve in the Test column. You must resolve
the servers to continue. Perform the following task to resolve the servers within the
target group:
a. Click Resolve in the Test column.
Deployer displays the unresolved servers in the Check Inconsistencies page in
the right pane.
b. Click the server to resolve and click Resolve Inconsistencies.
Deployer removes the server from the target group and returns you to the
Configure Target Group page.
c. Make any additional changes to the target group and click Save.
d. Click in the Test column in the left pane to test the connection between Deployer and
the target group.
11. If you want to rebuild the index, perform the following procedure:
Note: For more information about rebuilding the index, see "Rebuilding the Index"
on page 46.
Next Steps
After you have connected to the source and target servers, you can create a project. For
more information on creating a project, see "Creating and Managing Projects" on page
75.
Column Description
Time Stamp Date and time the entry was wrien to the log.
Request Type Type of action Deployer performed (for example, Create, Build,
or Deploy).
Server Details about the server. See Type, Alias, and Host IP:Port.
To change this display, use the Log display controls area at the top of the page and then
click Refresh. The changes remain until you change them again, or until you shut down
the Integration Server that hosts Deployer, whichever comes first.
Option Description
Option Entry
Large File For Integration Server packages and webMethods files, indicate
Support whether you want Deployer to stream from the source server to
Deployer and from Deployer to the target server by default for all
projects.
If you choose not to stream, the build size of a project containing
Integration Server packages and webMethods files cannot exceed
the amount of RAM configured for the source or target Integration
Server or Deployer. If it does, you will have to distribute the
Integration Server packages and webMethods files across multiple
projects (and thus multiple project builds) instead.
If you choose to stream, the build size of a project containing
Integration Server packages and webMethods files can be up
to 4GB. For streaming to work, you must set certain extended
seings on every source and target Integration Server, and on the
Integration Server that hosts Deployer.
In Integration Server Administrator, go to the Settings > Extended >
Edit Extended Settings page. Type the following server configuration
parameters and values in the box. For complete information
about these server configuration parameters, see the webMethods
Integration Server Administrator’s Guide.
wa.server.tspace.timeToLive=time
wa.server.tspace.location=full_path_on_local_machine
wa.server.tspace.max=maximum
If your project contains BPM process models or Integration
Server packages, set the following additional server configuration
parameters:
wa.server.SOAP.MTOMStreaming.enable=true
wa.server.SOAP.MTOMStreaming.cachedFiles.location=directory_path
wa.server.SOAP.MTOMStreaming.threshold=number_of_bytes
Click Save Changes and restart the Integration Server.
Option Entry
Option Entry
Batch Sets the number of assets that Deployer deploys at one time for
Size for runtime-based deployment. Enter the maximum number of assets
Runtime to build and deploy as a batch at one time. This limits the number of
Deployment assets in each deployment to only the number indicated. The default
value is 10.
By batching deployments, you break the transportation of large
assets into smaller batches, which decreases the memory utilization.
If you set this property to 0, then Deployer does not limit the number
of assets during build, checkpoint, rollback, and deploy operations.
Batch Sets the number of assets that Deployer deploys at one time for
Size for repository-based deployment. Enter the maximum number of assets
Repository to build and deploy as a batch at one time. This limits the number of
Deployment assets in each deployment to only the number indicated. The default
value is 1.
Note: If you are deploying BPM or Optimize assets, set this parameter
to 0.
Maximum Sets the maximum number of assets Deployer displays in the tree for
Plugin deployment and deletion sets. The default is 2500.
Objects
Displayed
In addition to the default properties for all projects, Deployer uses default properties for
all Integration Server and Trading Networks projects. To set these properties, go to the
Deployer > Settings page. When you are done, click Save.
You can override many of these properties for individual projects; see " Creating a
Project" on page 83.
These default properties apply to all assets except Integration Server packages. You
specify package properties for Integration Server packages on a package-by-package
basis. For instructions, see "Seing Package Properties" on page 106.
To set default properties for Integration Server and Trading Networks projects
1. In the Suspend During Deployment area on the Settings page, indicate whether Deployer
should suspend activity for the Integration Server assets listed below while deployment is
going on. Typically, if the targets are production Integration Servers, you would suspend all
of these types of assets. After deployment, Deployer enables the disabled ports and resumes
the suspended triggers, adapter listeners, polling notifications, and scheduled tasks.
2. In the Overwrite Existing area on the Settings page, indicate how Deployer should proceed
when it finds that assets you are trying to deploy already exist on target Integration Servers.
Note: Before you deploy a project for runtime-based deployment, you can find out
which assets Deployer will overwrite by generating the simulation report.
3. In the Activate After Deployment area on the Settings page, indicate whether Deployer should
activate the assets below on the target Integration Servers. Activate After Deployment is used
only if Suspend During Deployment is set to Yes.
Note: If you choose to activate ports, and one of the ports you
deploy uses the same port number as an existing port on a target
Integration Server, Deployer will display a message to that effect
and will not activate the port.
4. Click Save.
Creating a Project
You can create a project by creating a new, blank project or by copying an existing
project and modifying it.
To create a project
1. Go to the Deployer > Projects page.
2. Create a project using one of these methods:
To create a new project:
i. Click Create Project.
ii. In the Name box, type the name to use for the new project. The name can be
up to 32 characters long and cannot contain spaces or the following illegal
characters:
$~/\#&@^!%*:;,+=><‘’"
iii. In the Description box, type a description for the project. The description
length has no limit and can include any characters.
iv. In the Project Type area, select one of the following:
v. Click Create.
Note: For an explanation of the project properties you can set for all deployment
projects, see " Seing Default Properties for All Projects" on page 77.
If you are creating a repository-based project, you can set the following
additional properties:
If the project is for IS & TN, see "Seing the Defaults for Integration Server and
Trading Networks Projects" on page 80.
If the project is for Optimize, you can set the following properties under the
OptimizeOptions area:
Note: The following properties are available only for Deployer 8.2 SP1 and
earlier.
If the project is for process models, you can set the properties below for the
project under the ProcessModel Deployment Options area. For more information
about process models, see webMethods Monitor User’s Guide.
If the project is for My webMethods Server, you can set these properties for the
project under the MWS Deployment Options area:
5. Click Save.
Note: Deployer does not export and import deletion sets as a part of this procedure.
For more information about exporting and importing deletion sets, see "Exporting and
Importing Deletion Set Definitions" on page 132.
When you export project properties, Deployer creates a file that contains the
project property seings. The file is named project .properties and is stored in the
Integration Server_directory\packages\WmDeployer\replicate\outbound directory. You
can then import the project property seings into another Deployer project.
Note: Users with Developer and Internal ACLs and any combination of Define,
Build, Map, or Deploy authorization automatically have the View authorization.
Define. Groups can define, export, and import deployment and deletion sets only.
Build. Groups can build projects only.
Deploy. Groups can deploy deployment or deletion sets only (that is, to actually
deploy assets to or delete assets from target servers or target groups).
Map. Groups can map projects to repositories, source servers, target servers, and
target groups.
You grant privileges to perform tasks through Access Control Lists (ACLs). When an
administrator creates ACLs, he or she identifies groups that are allowed to perform
particular tasks. The following table shows the ACLs and authorizations required to
perform each task:
ACLs
Developer X X X X X X
Internal X X X X X X
DeployerAdmin X*
Administrator X*
Authorizations
View X
Define X
Build X
Map X
Deploy X
Note: The asterisk (*) indicates that only users with either one of the following ACL
combinations can perform all project tasks in Deployer:
DeployerAdmin, Developer, and Internal ACLs
Administrator ACL
Users assigned to one of these ACL combinations do not require authorization to
specific tasks.
You can authorize groups to perform more than one task. For example, if you want
to allow Group A to map and deploy projects, you would select the Map and Deploy
authorizations.
Tip: The groups you create for use with Deployer can contain unique names to
help define which tasks each group can perform. For example, you could create
groups named viewDeployerProjects, buildDeployerProjects, mapDeployerProjects,
deployDeployerProjects, and defineDeployerProjects. This means that when Deployer
users display the Projects page, they will see only those Deployer projects to which they
are authorized.
For more information about groups and ACLs, see webMethods Integration Server
Administrator’s Guide. For information on My webMethods Server central user
management groups, see Administering My webMethods Server.
4. In the Select Authorization list, click the task the group is authorized to perform.
5. The Not Specified box lists all groups defined in the type of group you chose. Using the arrow
buttons, move each group you want to assign to the specified task into the Allowed box. Move
each group that you do not want to assign to the specified task into the Denied box.
6. Click Update. The Resulting users with this Authorization lists all users that belong to the
groups you assigned to the task (that is, the groups you moved into the Allowed box).
7. In the Lock Status column for the project, click to unlock the project.
To view the home page for the project, go to the Deployer > Projects page and click in
the Home column for the project.
Note: To change the project seings for all projects, see " Seing Default Properties for
All Projects" on page 77.
Deleting a Project
Use the following procedure to delete a project you no longer need. When you delete
a project, Deployer also deletes the deployment and deletion sets, builds, deployment
maps, and deployment candidates associated with that project.
Deployer does not delete source repositories or composites used for repository-based
deployment or source and target server aliases when you delete the project.
To delete a project
1. In Deployer, go to the Deployer > Projects page.
2. Click in the Delete column for the project.
Deployer displays a confirmation dialog.
3. Click OK to confirm that you want to delete the project.
Next Steps
Once you have set logging options and other project default seings and created a
project, you can do the following:
Box Entry
Name Name to use for the deployment set. The name can be up to
32 characters long and cannot contain spaces or the following
illegal characters:
$~/\#&@^!%*:;,+=><‘’"
Box Entry
8. Click Create.
For... See...
Broker
BPM (ProcessModel)
Note: You cannot configure source servers for Event Server or business rules runtimes for
runtime-based deployment.
Note: You cannot define the same server alias as both a source and target server in a
deployment set.
Perform the following procedure to identify the source servers for runtime-based
deployment.
Note: Deployer lists the version of each source server in the Version column. You
must select source servers with the same version for the deployment set. You cannot
include source servers with different versions in a deployment set. For information
about selecting the versions of source servers, see "Connecting to webMethods
Servers" on page 54.
Note: For a BPM (ProcessModel) deployment set, you can select only one source
server. If you want to deploy process models from more than one ProcessModel
server, you must define a deployment set for each ProcessModel server.
Note: If a server you want to use as a source does not appear in the list, you have
not yet set it up to work with Deployer. For instructions, see "Starting Deployer and
Connecting to Servers" on page 53. Then click Refresh this Page to update the list of
servers on this page.
3. Click Save.
Deployer refreshes the Select Source Servers list to display only source servers that
share the same version as the selected source servers. To display all of the available
source servers, deselect the source servers and click Save.
Note: If a repository you want to use as a source does not appear in the list, you have
not yet created the alias for the repository. For instructions, see "Connecting to a
Repository for Repository-Based Deployment" on page 68. Then click Refresh this
Page to update the list of servers on this page.
3. Click Save.
Deployer adds the repository as a child of the deployment set in the Name column of
the Deployer > Projects > project > Define page, in the left-hand pane.
Deployer displays the icon for the repository.
Next Steps
Once you have defined a deployment set and the source servers or repository for your
project, you can add the assets to the deployment set. You perform different tasks to
add assets depending on whether you are creating a runtime-based or repository-based
deployment project. See the section specific to the type of deployment project you are
creating as follows:
Note: If you deploy multiple versions of the same process model in a single deployment
set and configure the deployment set to enable both processes on the target, the version
that is deployed to the target last is the one that is enabled. Use webMethods Monitor to
ensure that the proper version is enabled in the target environment.
For... Note
ProcessModel The process models displayed are those that were "Built for
execution" on the Integration Server.
For... Note
itself, open the folder where it appears as a container and
click the assets to add.
3. Click Save. Deployer shows the selected assets in the left-hand pane under the Broker,
ProcessModel, MWS, Optimize, or Business Rules folder for the deployment set.
Deploying ACLs
If you want to deploy ACLs, you must perform extra steps depending on whether the
ACLs are associated with My webMethods Server groups or LDAP groups.
Important: If the JMS connection aliases on the target Integration Servers do not have
the same names as on the source Integration Servers, the JMS triggers will not be
enabled after deployment.
If you add a partial package of only selected files to a deployment set and the package
already exists on target Integration Servers, you can have Deployer delete specified files
from the existing package on the target Integration Servers after deployment. You might
use this feature if the existing package contains a service that has been superseded. In
this case, you would deploy the files that make up the new service and delete the files
that make up the old service.
3. If you are done adding packages to the deployment set, go to "Seing Package Properties"
on page 106.
4. Click Return to Packages. Deployer shows the partial package icon ( ) for the package in
the left-hand pane under the Packages folder and in the right-hand pane, and a gray check
mark for the package in the right-hand pane.
5. If you are done adding packages to the deployment set, go to "Seing Package Properties"
on page 106.
To add... Do this...
Only files you select Click Selected Files, then press the CTRL key and click
in the list each file to include in the deployment set.
Note: The Select Files option is a link near the top of the
right-hand pane.
Only files other than Click All except selected files, then press the CTRL key and
those you select in click each file to exclude from the deployment set.
the list
All files in the Click Files specified by filter, then type the string on
list whose name which to match the files to include in the deployment set.
contains a specified You can use an asterisk (*) as a wildcard character (for
string example, *.java or *.class).
To add... Do this...
All files in the Click All except files specified by filter, then type the
list whose name string on which to match the files to exclude from the
does not contain a deployment set. You can use an asterisk (*) as a wildcard
specified string character (for example, *.java or *.class).
4. If a package of the same name as this partial package already exists on one of the deployment
set's target Integration Server2s, and the existing package contains files to delete after
deployment, type the fully qualified names of the files to delete in the Files to Delete from
Target box. Type each file name on its own line, and end each line with a semicolon (;). For
example:
code/classes/wm/administratorResource/admin.class;
code/classes/wm/administratorResource/user.class;
ns/wm/administratorResource/
5. Click Save.
6. Click Return to Packages. Deployer shows the partial package icon ( ) for the package in
the left-hand pane under the Packages folder and in the right-hand pane, and a gray check
mark for the package in the right-hand pane.
7. If you are done adding packages to the deployment set, go to "Seing Package Properties"
on page 106.
Property Entry
Package Type Use this property when the source package already exists on
the target Integration Servers. You can use the options below
for entire packages and for partial packages.
Property Entry
Version Supply the version number to use for the source package in
comparisons with existing packages on target Integration
Servers.
Whether Deployer actually deploys the package depends on
the version numbers of the source package and the existing
package. If the source package's version number is the
same or higher than the existing package's version number,
Deployer deploys. If the source package's version number is
lower than the existing package's version number, Deployer
does not deploy.
Note: The version number for the source package on the source
Integration Server is not affected by your entry here.
Patches Included Supply the list of patches that have been applied to the
deployed package on the target Integration Servers. Specify
the patch numbers, separated by commas (for example, 44, 45,
55). Specify patches only if you selected Full for Package Type.
3. In the Recommendations for Target area, you can recommend the minimum version of
Integration Server and Java Virtual Machine (JVM) to run the source package. If the JVM
version on the target Integration Server is lower than you specify here, Deployer will deploy
the source package but will not activate it, regardless of the setting of the Activate After
Deployment option. When this happens, the target Integration Server will display a warning
about the JVM version. The defaults shown in this area reflect the Integration Server and
JVM that host the source package.
4. In the Package Build Options area, indicate whether Deployer should use the package version
and build numbers that exist in the source Integration Server each time the user creates a
build instead of the package version and build numbers specified in the package_name
Properties area.
5. In the Package Deployment Options area, specify the following:
Option Entry
Activate After Deployment How Deployer should deploy the package. Click:
Activate to enable the package.
Install Only to install the package but not enable it.
Inbound Only to neither install nor enable the
package.
To... Select...
Option Entry
6. If you indicated in the project properties that you want Deployer to suspend individual
triggers during deployment, click Suspend Triggers, select the check box next to each trigger
to suspend, click Suspend, and then return to the previous page.
7. If you indicated in the project properties that you want Deployer to suspend individual
adapter notifications during deployment, click Suspend Notifications, select the check box
next to each notification to suspend, click Suspend, and then return to the previous page.
Important: If you suspend a particular adapter notification but the notification does
not exist on a target Integration Server, you will not be able to deploy. You can only
suspend notifications that already exist on all target Integration Servers.
8. Click Save.
9. Repeat these steps for each package in the deployment set.
10. If you are not going to add any more assets to the deployment set, go to "Resolving
Dependencies" on page 111.
Important: If you add a TN document type that is set up in Trading Networks for
duplicate checking using custom services, Deployer does not detect the dependency
on the service. If the service does not already exist on the target Integration Servers,
you must add the service to the deployment set. If you do not, Deployer will log an
error to the deployment report and will not deploy the TN document type.
3. Click Save. Deployer shows the selected assets in the left-hand pane under the Trading
Networks folder for the deployment set.
4. If you are not going to add any more assets to the deployment set, go to "Resolving
Dependencies" on page 111.
lists the asset types you can exclude, and shows examples. List the assets you want to
exclude next to the appropriate asset types.
Resolving Dependencies
Deployer can determine when assets that are in a deployment set require other assets
that are not in the deployment set. The assets that require other assets are called
dependent assets, while the assets that are required are called referenced assets. Deployer
identifies missing referenced assets as unresolved dependencies.
webMethods If you add a client group but not the documents to which
Broker the client group can publish or subscribe, the documents are
unresolved dependencies.
IS & TN If you add a trigger but not the service that is invoked by the
trigger, the service is an unresolved dependency.
MWS If you add a page but not the portlets that are referenced by the
page, the portlets are unresolved dependencies.
Optimize If you add a rule but not the dimensions used by the rule, the
dimensions are unresolved dependencies.
ProcessModel If you add a process model but not the flow services called by the
process model, the flow services are unresolved dependencies.
In the project properties ("Seing the Dependency Checking Default" on page 77), you
indicated how you want to check dependencies in the deployment sets. When Deployer
automatically checks dependencies and finds unresolved dependencies in a deployment
set, it shows in the Unresolved Dependencies column for the deployment set; when
there are no unresolved dependencies, Deployer shows in the column. When you
can check dependencies manually, Deployer shows in the Unresolved Dependencies
column for each deployment set; click Check next to the . If necessary, you can later
"un-resolve" or remove a dependency you have resolved and resolve it again a different
way.
To resolve dependencies
1. In the Unresolved Dependencies column for the deployment set, click Check. Deployer shows
all unresolved dependencies on the Unresolved Dependencies page. The Referenced Assets
column lists the missing referenced assets. The next column offers the possible ways you can
resolve the unresolved dependency. The Asset column shows the dependent assets.
2. Tell Deployer how to resolve each unresolved dependency as described below. If you want to
resolve all assets in a folder the same way, you can set the resolution at the folder level rather
than at the level of the individual assets.
Option Description
Add If the referenced asset does not exist on the target servers and
you want to deploy the referenced asset to them, use this option.
Deployer adds the referenced asset to the deployment set. For
Integration Server assets, you can choose to add the referenced
asset or the entire package that contains the referenced asset.
Exists If you believe the referenced asset already exists on the target
servers and you want to continue working, but you want
Deployer to make sure the asset does in fact exist later, use this
option. Deployer will check for the referenced asset when you
map the project to target servers. If Deployer does not find the
asset, an icon alerts you during the mapping task.
If you do not address the problem during the mapping task,
Deployer will write a message about the problem to the
simulation report. If you deploy without addressing the
problem, Deployer will not deploy the deployment set.
Unset If you have set the assets in a folder to various seings and want
to start over, use this option.
3. Click Save. Deployer moves dependencies you resolved using the Exists or Ignore option to
the Resolved Dependencies page.
4. To see the resolved dependencies, click Resolved Dependencies.
Next Steps
Once you have selected assets for runtime-based deployment, you can do either of the
following:
Create a deletion set. See "Defining a Deletion Set" on page 125.
Build your project. See "Building a Runtime-Based Deployment Project" on page
135.
Overview
In repository-based deployment, you can add only those assets from composites that
are present in the repository. The repository can contain several composites, and you
can deploy assets from any composite in the repository, but you cannot add assets
from more than one repository to one deployment set. Assets in one composite in the
repository can have dependencies on one or more assets in other composites in the
repository.
If you are adding assets for Integration Server, Trading Networks, or Broker, you have
the option of adding individual assets from a composite to your deployment set, instead
adding the entire composite.
Before you can add assets for repository-based deployment, you must perform the
following:
1. Build the composites and add a source repository. For more information, see
"Building Composites for Repository-Based Deployment" on page 31.
2. Configure a source repository. For more information, see "Connecting to a
Repository for Repository-Based Deployment" on page 68.
3. Connect to target servers, target groups, or both. For more information, see "Starting
Deployer and Connecting to Servers" on page 53.
4. Define a deployment set. For more information, see "Defining a Deployment Set" on
page 93.
Selecting Composites
Perform the following to select entire composites from the repository.
Deployer adds the runtime type and the child composites as children of the
deployment set in the Name column of the Deployer > Projects > project > Define page, in
the left-hand pane.
Note: For the partial deployment of JNDI assets, export JMS destinations into one JNDI
context at a time. Partial deployment of JMS destinations into multiple JNDI contexts is
not supported.
Resolving Dependencies
Deployer can determine when assets that are in a composite require other assets. The
assets that require assets from other composites are called dependent assets, while the
assets that are required are called referenced assets.
No unresolved dependencies.
Missing dependencies are those dependencies that are not available in the repository,
so you cannot add them to your deployment set. You can set Deployer to ignore
missing dependencies when you create the project (see " Creating a Project" on
page 83) or when you check unresolved dependencies. For more information about
seing missing dependency options while checking for unresolved dependencies,
see "Resolving Dependencies Manually" on page 119.
Option Description
Option Description
repository, Deployer adds the composites to the
deployment set.
If the referenced composites are not available
in the repository, Deployer cannot add the
composites to the deployment set. You can then
choose to ignore the missing dependencies.
Deployer lists the missing dependencies on the Missing Dependencies page when
you click Check in the Unresolved Dependencies column. You cannot add missing
dependencies to the deployment set.
3. To set Deployer to ignore the missing dependencies perform the following:
a. Click Ignore Missing Dependencies (Project Level).
b. Click Apply.
4. Click Save.
2. Click one of the following options to set how Deployer should resolve each unresolved
dependency. If you want to resolve all assets in a composite the same way, you can set the
resolution at the composite level rather than at the level of the individual assets.
Option Description
Unset This is the default status. If you click Unset after you have
made another selection (Add or Ignore) Deployer resets the
assets to an unresolved status. Use this option if you set the
assets in a composite to either Add or Ignore and want to start
over.
Add Adds the referenced asset to the deployment set. Use this
option if the referenced asset does not exist on the target
server and you want to deploy the referenced asset to it.
For Integration Server, Trading Networks, or Broker
(including JNDI) assets, you can choose to add the referenced
asset or the entire composite that contains the referenced
asset. Adding only the referenced asset to the deployment
set instead of the entire composite is referred to as partial
deployment.
Ignore Ignores the asset. Use this option if you want to bypass
dependency checking for the referenced asset so you can
continue working.
3. Click Save.
Deployer moves dependencies you resolved using the Add option to the
Name column of the Deployer > Projects > project > Define page, in the left-hand
pane. If you added only a subset of Integration Server, Trading Networks, or
Broker (including JNDI assets) assets rather than an entire composite (partial
deployment), Deployer displays as a sibling of .
Deployer adds dependencies you resolved using the Ignore option to the Name
column of the Deployer > Projects > project > Define page, but the dependency
remains listed on the Unresolved Dependencies page.
Resolving Conflicts
A conflict occurs when a dependent asset is available in multiple composites or when
different assets in one composite share the same asset name. Deployer displays conflicts
on the same page as unresolved assets.
To resolve conflicts
1. In the Unresolved Dependencies column for the deployment set, click Check.
Deployer shows all conflicted assets on the Unresolved Dependencies page as follows:
The Referenced Conflict Asset Composites column lists the assets in conflict.
The Unset/Add/Ignore column offers the possible ways you can resolve the conflict.
The Assets column shows the dependent assets.
2. Click one of the following options to set how Deployer should resolve each conflict.
Option Description
Unset This is the default status. If you click Unset after you have
made another selection (Add or Ignore) Deployer resets the
assets to an conflicted status. Use this option if you set the
assets in a composite to either Add or Ignore and want to start
over.
Note: After you use Unset to clear your previous selection, you
must set the asset to either Add or Ignore.
Add Adds the referenced assets to the deployment set. Use this
option to deploy the referenced assets.
Ignore Ignores the conflict. Use this option to ignore the referenced
assets.
3. Click Save.
Deployer moves dependencies for which conflicts were resolved using the Add
option to the Name column of the Deployer > Projects > project > Define page, in the
left-hand pane.
Deployer ignores the conflicts for those assets which you set to Ignore.
Deploying ACLs
If you want to deploy ACLs, you must perform extra steps depending on whether the
ACLs are associated with My webMethods Server groups or LDAP groups.
Next Steps
Once you have selected assets for repository-based deployment, you can perform the
following.
To... See...
Add deletion sets to the project "Defining a Deletion Set" on page 125
To... See...
Stage Procedure
Stage 1 Create a deletion set. See "Creating a Deletion Set" on page 126.
Stage 2 Identify target servers from which to delete the assets. See
"Identifying Servers" on page 128.
Stage 3 Add the assets to the deletion set. See "Adding Assets to a
Deletion Set" on page 129.
Stage 5 For runtime-based projects, you can export deletion set definitions
from one project and import them into another. See "Exporting
and Importing Deletion Set Definitions" on page 132.
Box Entry
Set Deletion
Name Name to use for the deletion set. The name can be up to 32
characters long and cannot contain spaces or the following
illegal characters:
$~/\#&@^!%*:;,+=><‘’"
Description Description for the deletion set. The description length has no
limit and can include any characters.
Box Entry
narrow the display. Specify a regular expression that specifies
the text that the asset names must contain in order to be listed.
Important: Deployer can display up to 10,000 assets. If the source server hosts more
than 10,000 assets, use the Packages and All other Assets fields to reduce the number
of assets to be displayed.
7. Click Create.
Deployer displays the deletion set in the left-hand pane in the Deletion Sets area.
8. Perform the tasks in "Identifying Servers" on page 128 to identify the servers that
contain the assets to add to the deletion set.
Identifying Servers
To select the assets to add to the deletion set, you must first identify the servers that
contain those assets.
Deployer lists the version of each target server in the Version column. You must select
target servers with the same version for the deletion set. You cannot include target
servers with different versions in a deletion set. For information about selecting the
versions of target servers, see "Connecting to webMethods Servers" on page 54.
To identify servers for a deletion set in a runtime-based project, see "Identifying Servers
for a Runtime-Based Deletion Set" on page 128. To identify servers for a deletion set
in a repository-based project, see "Identifying Servers for a Repository-Based Deletion
Set" on page 129.
Note: For information about adding full or partial packages to a deletion set, see
"Adding Packages to Deletion Sets" on page 130.
2. In the Select column of the Select Servers area, select the check box next to each source
server that contains assets to add to the deployment set.
Deployer lists the version of each source server in the Version column. You must
select servers with the same version for the deletion set. You cannot include servers
with different versions in a deletion set. For information about selecting the versions
of source servers, see "Connecting to webMethods Servers" on page 54.
3. In the right-hand pane, open the tree to show the assets on the servers, select the check box
next to each asset to add to the deletion set, and then click Save.
Deployer shows the selected assets in the left-hand pane under the folder you clicked
in the previous step.
Runtime-based In the Deletion Sets Runtime area, under the deletion set to
which to add packages or partial packages, click the Packages
folder.
Repository- In the Deletion Sets area, under the deletion set to which to
based add the packages, click the server ( ) that contains packages
or partial packages.
In the right-hand pane, Deployer lists the Integration Servers you identified in
"Identify Source Servers for the Deployment Set" on page 95.
2. In the right-hand pane, expand the tree to display the packages on the Integration Servers,
then do one of the following:
To add... Do this...
Full packages Select the check boxes next to the packages to add in their
entirety to the deletion set and click Save. Deployer shows
the entire package icon ( ) for the selected packages in the
left-hand pane under the Packages folder (for runtime-based
deployment) or under the server (for repository-based
deployment).
Note: If you add a partial package and later want to include the entire package
instead, cancel the selection of the components by clicking the name of the partial
package, clearing all checked boxes, and clicking Save. Then save the deletion set
and add the entire package as explained above.
Unresolved dependencies.
No unresolved dependencies.
Note: Deployer does not check dependencies in deletion sets for runtime-based projects.
For a full explanation of unresolved dependencies for a repository-based project, see
"Resolving Dependencies" on page 117.
Perform the following procedure to set Deployer to resolve dependencies for repository-
based deletion sets.
Note: You cannot export and import deletion set definitions for repository-based
projects.
When you export deletion set definitions, Deployer creates a file called
project _deleteSets.xml that contains the deletion set definitions. This file is stored in the
Integration Server_directory\instances\instance_name \packages\WmDeployer\replicate
\outbound directory. Deployer also gives you the option to save the file to your local
file system. You can then use this file to import the deletion set definitions into another
Deployer project.
Next Steps
Once you have created a deletion set you can perform the following:
For... See...
Creating a Build
To create a build
1. In Deployer, go to the Deployer > Projects page.
2. If locking is enabled, in the Lock Status column for the project, click to lock the project.
3. In the Name column, click the project.
4. Click Build. Deployer displays the Projects > project > Build page and lists all builds that
exist for the selected project.
The Status column on the Projects > project > Build page indicates whether each project
build is in sync with the current project definition. If the build and the current
project definition are in sync, the column shows . If the project definition has
changed since the build was created, the column shows . You can rebuild such a
project if you want. For instructions, see "Rebuilding a Build" on page 137.
To see the progress report of the current or last action, click in the Progress Report
column. The progress report displays the updates for build requests as they occur.
This is useful in the case where the deployment build takes a long time to finish.
5. In the left-hand pane, click Create Build.
6. In the Name box accept the default build name or replace it with a name that you choose.
The name can be up to 32 characters long and cannot contain spaces or the following illegal
characters:
$~/\#&@^!%*:;,+=><‘’"
7. In the Description box, you can type a description for the build. The description can be of any
length and can include any characters.
8. Click Create.
Important: If the project for which you are trying to create the build contains
unresolved dependencies, you will receive a message to that effect and the
build process will fail. For instructions on displaying and resolving unresolved
dependencies, see "Resolving Dependencies" on page 111.
9. To view the progress of the build, click the View Progress Report link. The progress report
displays the updates for build requests as they occur. This is useful in the case where the
deployment build takes a long time to finish.
10. Under Build History in the right-hand pane, click in the Report column to display the build
report in HTML or XML.
The build report lists the assets that were successfully included in the build,
describes any errors that occurred during the build process, and informs you if
the project contains unresolved dependencies. The report is also available under
Rebuilding a Build
The Status column on the Projects > project > Build page indicates whether each project
build is in sync with the current project definition. If the build and the current project
definition are in sync, the column shows . If the project definition has changed since
the build was created, the column shows .
If a project build is out of sync with the current project definition or contains assets that
you know have changed on the source servers, and you want to re-create the build to
bring it up to date, click in the Rebuild column for the build.
If you want to see the progress report, click in the Progress Report column. The
progress report displays the updates for build and rebuild requests as they occur. This is
useful in the case where the deployment build is large and it takes a long time to finish.
Important: Deployer does not take dependencies into account while rebuilding project
builds.
If the project for which you are trying to create the build contains unresolved
dependencies, you will receive a message to that effect and the build process will fail.
When asset dependencies are changed on the source server, you must first remove
the dependent asset from the deployment set and save the deployment set. Then, add
the asset back and save the deployment set. When Deployer displays the changed
dependencies, resolve the dependencies and rebuild the project. For instructions on
displaying and resolving unresolved dependencies, see "Resolving Dependencies" on
page 111.
b. Locate the build to export and click in the build's Export column. Deployer creates a
file that contains the build. The file is named projectName _ExportedBuild_buildName
and is stored in the Integration Server_directory\instances\instance_name \packages
\WmDeployer\replicate\outbound directory. Deployer also allows you to save the file to
your local file system.
c. If you have previously exported a build of the same name, Deployer displays a dialog
box confirming that you want to overwrite the existing build. Click OK to overwrite the
existing build.
2. Import the build as follows:
a. Copy the projectName _ExportedBuild_buildName file to the
Integration Server_directory\instances\instance_name \packages\WmDeployer\replicate
\inbound directory on the machine that hosts the target Deployer.
b. In the target Deployer, go to the Tools > Import Build page.
c. In the Project Build list, click the projectName _ExportedBuild_buildName file you just
copied to the inbound directory.
d. Click Import.
Next Steps
Once you have created a build, you can map and deploy the project.
To... See...
11 Mapping a Project
■ About Mapping a Project ........................................................................................................... 140
■ Mapping a Project to Target Servers and Target Groups .......................................................... 140
■ Exporting and Importing a Map ................................................................................................. 143
■ Substituting Configuration Values .............................................................................................. 144
■ Exporting and Importing Substitute Configuration Values .......................................................... 146
Individual Click Add Target Server and then perform one of the
target server following:
For runtime-based projects, select the check box next to
each target server to which to deploy the assets in the
deployment set and then click Add.
For repository-based projects:
i. In the Select Server list, click the runtime type of the
target server.
ii. Select the check box next to each target group to
which to deploy the assets in the deployment set and
then click Add.
Notes:
For runtime-based projects, Deployer lists only those
servers running compatible versions for selection as
target servers. Repository-based deployment does not
support mapping to target servers of versions that are
different than the source repository. For information
about selecting the versions of source servers, see
"Connecting to webMethods Servers" on page 54.
If you are mapping a repository-based project that
contains BPM ProcessModels, you must also select the
physical Integration Server servers or My webMethods
Servers for each logical server in the deployment set from
the Map Logical Servers area of the Add Targets pane.
If a server you want to map to does not appear in the list,
you have not yet set it up to work with Deployer. For
instructions, see "Starting Deployer and Connecting to
Servers" on page 53. Then click Refresh this Page to update
the list of servers on this page.
Target group Click Add Target Group and then perform one of the
following:
10. If you are mapping a runtime-based deployment deletion set, under the Deployment Map
Topology area, in the Set Mapping column, follow the instructions in the previous step, but
map to the target servers from which to delete the assets. The Important! note is also true for
deletion sets.
11. When Deployer returns to the map > Properties page, the Deployment Map Topology area
might show or .
For repository-based deployment projects, Deployer verifies whether the target
servers or target groups are available for deployment when you add them to
the deployment map. The Status column shows if the server is available for
deployment and if it is not.
For runtime-based deployment sets, appears in the Referenced Assets column
and indicates that you resolved an unresolved dependency using the Exists
option, but Deployer has found that the referenced asset does not exist on target
servers. Click to see the missing referenced asset. You can then place the
referenced asset on the target servers, or you can return to the project definition
stage and re-resolve the dependency in a different way. For more information,
see "Resolving Dependencies" on page 111 (for runtime-based deployment).
For deletion sets, dependencies work in the opposite direction from deployment
sets. Deployer finds all assets on the target servers that depend on assets in
the deletion set. If you were to delete the assets in the deletion set from the
target servers, the dependent assets would no longer work properly. On the
map >Properties page, in the Deployment Map Topology area, therefore, the icon
appears in the Dependent Assets column, and indicates that dependent assets
exist. Click to see the dependent assets, then choose whether to Add the
dependent assets to the deletion set or to Remove the assets they depend on from
the deletion set.
Important: Keep the following points in mind when working with dependencies:
Deployer cannot detect dependencies across products. Make sure assets you
want to delete are not required by assets of other products.
If you do not address problems at this time, Deployer will write messages
about them to the simulation report. If you deploy without addressing
problems, Deployer will not deploy the assets identified in the deployment
set or delete the assets identified in the deletion set.
12. If you are mapping a runtime-based deployment or deletion set and you resolved
dependencies in the previous step, the contents of the deletion set have changed. As a result,
you must rebuild the project (see "Rebuilding a Build" on page 137). If you exported
the deletion set definition or the project build, you must also re-export the definition (see
"Exporting and Importing Deletion Set Definitions" on page 132) and the build (see
"Exporting and Importing a Build" on page 137).
If you are creating a... You can substitute configuration values by...
Perform the following steps to substitute configuration values by asset for runtime-
based deployment projects.
Deployer displays the configuration values as they exist on the repository in the
Target Substitutions and Source Values pane. If you selected multiple assets, Deployer
displays the common properties but not source values.
5. In the bottom Target Substitutions and Source Values pane type the configuration values to
substitute.
6. Click Save Substitutions to save the substitutions, or Restore Defaults to clear the changes
you made.
c. Click Export Variable Substitution. Deployer creates a file that contains the substitute
configuration values for the assets in the project. The file is named project_map .vs
and is stored in the Integration Server_directory\instances\instance_name \packages
\WmDeployer\ replicate\outbound directory. Deployer also allows you to save the file to
your local file system.
d. If you exported substitute configuration values for scheduled tasks, open the
project_map .vs file in an XML editor and set the task ID for each scheduled task to the
task ID used on the target Integration Server.
2. Import the substitute configuration values into a deployment map as follows:
a. Copy the project_map .vs file to the Integration Server_directory\instances
\instance_name \packages\ WmDeployer\replicate\inbound directory on the machine that
hosts the target Deployer.
b. In the target Deployer, go to the Projects > project > Map page.
c. Click the deployment map into which to import the substitute configuration values.
Deployer displays the deployment map properties in the right-hand pane.
d. Click Import Variable Substitution.
e. Select the project_map .vs file you just copied to the inbound directory.
If you receive the error message "Input XML map information is not valid" while
importing a variable substitution .vs file, open the file and do the following:
i. Make sure the project contains all deployment sets specified on the
DeploymentSet nodes.
ii. For DeploymentSet nodes, make sure the PluginGroup value is set to either
true or false, and the PluginType value is correct.
iii. Make sure each DeploymentSet node is mapped to the correct TargetSystem
name as specified in the exported project_map .vs file
iv. Try to import again.
12 Deploying a Project
■ Overview ..................................................................................................................................... 150
■ Preparing Integration Server to Stream Large Repository-Based Projects ................................ 150
■ Generating a Checkpoint ........................................................................................................... 151
■ Deploying a Project .................................................................................................................... 152
■ Post-Deployment Tasks .............................................................................................................. 155
■ Rolling Back Target Servers ...................................................................................................... 155
Overview
Deploying a project involves the following tasks:
Prepare Deployer to stream large repository-based projects (optional).
Generate a checkpoint. See " Generating a Checkpoint" on page 151.
Deploy or simulate the deployment of a project. See " Deploying a Project" on page
152.
Post-deployment tasks. See " Post-Deployment Tasks" on page 155.
Roll back the target servers. See " Rolling Back Target Servers" on page 155.
OverviewIf you choose to stream repository-based projects from Deployer to the target
server, you must set certain server configuration seings on every target Integration
Server hosting the runtime and Deployer. The build size of a project containing
Integration Server packages and webMethods files can be up to 4GB.
You can stream assets from Deployer to target servers for the following runtime types:
Integration Server
Trading Networks
BPM process models
EDA
Event Server
2. Type the following server configuration parameters and values in the box. For complete
information about these server configuration parameters, see the webMethods Integration
Server Administrator’s Guide.
wa.server.SOAP.MTOMStreaming.enable=true
wa.server.SOAP.MTOMStreaming.cachedFiles.location=directory_path
wa.server.SOAP.MTOMStreaming.threshold=number_of_bytes
3. Click Save Changes and restart Integration Server.
Generating a Checkpoint
You generate a checkpoint for a project when you want the option of rolling back the
target server to the state it was in prior to deploying your project. The checkpoint
contains a copy of the assets on the target server that will be replaced by the assets in the
deployment sets. You can set Deployer to generate checkpoints automatically or you can
generate checkpoints manually for both runtime-based and repository-based projects.
Keep the following points in mind when working with checkpoints:
If you take multiple checkpoints for a deployment candidate, only the latest is
retained.
The target servers must be available for the checkpoint generation to be successful.
Deploying a Project
When you deploy a project, Deployer deploys the assets in the project to the target
servers.
You can simulate a deployment before you actually deploy. When you simulate a
deployment, Deployer generates a simulation report that scans the target servers and
alerts you to some potential problems before you deploy. You can address problems and
re-generate the simulation reports until all problems are resolved. A simulation report
contains information such as the following:
Assets that will be suspended during deployment.
Assets that will be enabled after deployment.
Changes that will occur on the target servers, such as the assets that will be added or
overwrien, and configuration values that will be substituted for Integration Server
assets.
Messages about problems, such as unresolved dependencies.
To deploy a project
1. If you chose to suspend triggers, ports, and scheduled tasks, but a service is triggered by one
of these assets before Deployer suspends them, and the service is a long-running service,
Deployer might overwrite the service during deployment. Make sure long-running services
have completed.
2. In Deployer, go to the Deployer > Projects page.
3. If locking is enabled, in the Lock Status column for the project, click to lock the project.
4. In the Name column, click the project.
5. In the right-hand pane, click Deploy. Deployer displays the Projects > project > Deploy
page and lists all deployment candidates that exist for the selected project.
Parameter Description
Project Build (Run-time based deployment only.) Click the project build
to deploy.
Deployment Map Click the deployment map that identifies the target servers
to which to deploy the assets.
If the words Missing referenced assets appear next to the map
name in the list, it means that you resolved an unresolved
dependency using the Exists option, but the referenced
asset does not exist on the target server. You can place
the referenced asset on the target servers, or you can
return to the project definition stage and re-resolve the
dependency in a different way. For more information, see
"Resolving Dependencies" on page 111 (for runtime-based
deployment) or "Resolving Dependencies" on page 117 (for
repository-based deployment).
If you do not address the problem during the mapping task,
Deployer will write a message about the problem to the
simulation report. If you deploy without addressing the
problem, Deployer will not deploy the deployment set.
8. Click Create.
In the candidate list in the left-hand pane, if the selected build and the current
project definition are in sync, the Status column shows . If the project definition
has changed since the build was created, the column shows .
9. If you want to see the progress report, click in the Progress Report column.
The progress report displays the updates for simulate, deploy, checkpoint and
rollback requests as they occur. This is useful in the case where the deployment build
is large and it takes a long time to complete the action.
Note: If you are deploying a runtime-based project, you can rebuild the project build
before proceeding. For instructions, see "Rebuilding a Build" on page 137.
10. If you want to simulate the deployment, in the Deployment Candidates list, click in the
Simulate column.
The simulation report appears in the right-hand pane in the Deployment
History area. Click next to Simulation in the Report Type column to display
the report. Read the report and address all problems. The report is also
available under the name project_name _previewReport_reportID .xml in the
Integration Server_directory\instances\instance_name \packages\WmDeployer\pub
\projects\project_name \targets\deployment_map \reports folder, where project_name
is the name of the project and deployment_map is the name of the deployment map.
Important: If you do not address all problems at this time, you will probably
experience errors during the deployment. For instructions on resolving unresolved
dependencies, see "Resolving Dependencies" on page 111 (for runtime-based
deployment) or "Resolving Dependencies" on page 117 (for repository-based
deployment).
11. Click in the Deploy column for the deployment candidate. Deployer does the following:
Deploys the assets in the project to the target servers.
Creates a deployment report and lists the report in the Deployment History
area. Click next to Deployment Report in the Report Type column to display
the report. The report contains similar information to the simulation report,
except that the events have actually occurred at this point. The report is
also available under the name project_name _auditReport_reportID .xml
in the Integration Server_directory \instances\instance_name \packages
\WmDeployer\pub\projects\project_name \targets\deployment_map \reports
folder, where project_name is the name of the project and deployment_map is the
name of the deployment map.
If you are creating a runtime-based deployment project, Deployer performs the
following additional tasks:
If you chose automatic checkpointing or automatic rollback in the project
properties, Deployer automatically generates a checkpoint at this time. If
you chose manual checkpointing and no checkpoint exists, Deployer asks
whether you want to deploy anyway. If you deploy without a checkpoint,
you will not be able to roll back the target servers.
If the project build contains deletion set definitions, Deployer deletes
the specified assets from the target servers you identified in the selected
deployment map.
If you are creating a repository-based deployment project and you set the Enable
Transactional Deployment property to Yes, Deployer creates the checkpoint for the
target server. For more information about the Enable Transactional Deployment
property, see " Creating a Project" on page 83.
Post-Deployment Tasks
If you deployed JMS triggers, do the following:
1. Create the same JMS alias connections on the target Integration Servers that exist
on the source Integration Servers. Then reload the packages that contain the
triggers.
2. Enable the JMS triggers.
3. Configure the queue or topic for each JMS trigger on the message provider for
the target Integration Servers.
For instructions, see Using webMethods Integration Server to Build a Client for JMS.
If you deployed My webMethods Server rules, the order in which the deployed rules
are resolved with the existing rules on the target servers might need modification.
Review the rule order and modify as necessary.
If you deployed a process that uses e-forms with the project property Enable process
for execution set to No (see " Creating a Project" on page 83), the e-form listener
associated with the process cannot be enabled on the target server and therefore the
process cannot be triggered on the target server. To make the process triggerable on
the target server, enable it for execution and then enable the e-form listener.
You set the Rollback on Error project seing to Automatic (see " Seing General
Deployment Defaults" on page 77). If the deployment fails on a target server,
Deployer automatically rolls back that target server.
Deployment failed to a target group whose Rollback All on Failure seing is Yes (see
" Creating Target Groups" on page 70). If deployment to any server in such a target
group fails, Deployer automatically rolls back all servers in the target group.
Deployer automatically rolls back the target servers for repository-based projects when
transactional deployment is enabled for the project and deployment fails. For more
information about enabling transactional deployment, see " Creating a Project" on page
83.
If the deployment set included webMethods files, the directory structure for those
files remains in the webMethods installation directory on the target servers. You can
delete the directories manually.
If you deployed Trading Networks document aributes, field definitions, binary
types, or profile security data, Deployer does not roll them back.
If you rolled back a ProcessModel deployment set, the rollback behavior varies, as
follows:
For process models you deployed that were versions of existing process models
on the target servers, Deployer rolled back the deployed versions from the target
servers.
For deployed process models that were new on the target servers, Deployer disables
the deployed process models but does not remove them from the target servers.
If you rolled back Universal Messaging assets, the rollback behavior is as follows:
Deployer will not roll back the assets if the port is already being used by another
existing interface.
Deployer does not roll back nested security groups. For example, if group1 contains
group2, the rollback will not restore the nested group2.
Overview
You can use the command line interface to enter commands at a command prompt. The
command line interface allows you to use many of the same features that are available in
the Deployer GUI.
File Location
Edit the Deployer.{bat|sh} file you copied to the local machine to point to the jar files
you copied and to a JDK or JRE 1.6 on the local machine.
For... Command
You can also call scripts from other automated procedures, such as other scripts.
The sample script below automates these tasks on a Windows system:
Imports a build that was exported from a test environment. Deployer automatically
creates the deployment project and deployment sets.
Displays the build contents on the console.
Imports the deployment map.
Imports substitute configuration values for Integration Server assets into the
deployment map.
Creates a deployment candidate.
Generates a checkpoint, simulates the deployment, and deploys the build.
:environment
set host=%1
set port=%2
set user=%3
set pwd=%4
set project=testProject
set build=DemoBuild
set depCandidate=DemoDC
set depMap=DemoMap
rem ----clear the ERRORLEVEL system variable to avoid any side effects of
previous executions cases
set ERRORLEVEL=
:importBuild
set importB=%proj ect%_ExportedBuild_%build%
IF "% ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Importing Build %ImportB%
ECHO ---------------------------------------------------------------------------
call Deployer.bat --import -buildFile %importB% -host %host% -port %port% -user
%user% -pwd %pwd%
@echo off
echo.
echo.
echo.
set importB=
set nextAction=describeBuild
GOTO verifyStatus
:describeBuild
IF "%ERROR LEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Describing %build%
ECHO ---------------------------------------------------------------------------
call Deployer. bat --describe -build %build% -project %project% -host %host% -port
set nextAction=checkpoint
GOTO verifyStatus
:checkpoint
IF "%ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Performing CHECKPOINT operation of %depCandidate%
ECHO ---------------------------------------------------------------------------
echo %project%
echo %depCandidate%
call Deployer.bat --checkpoint -project %project% -dc %depCandidate% -host %host%
-port %port% -user %user% -pwd %pwd%
@echo off
echo .
echo .
echo .
set nextAction=deploy
GOTO verifyStatus
:deploy
IF "%ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO DEPLOYING %depCandidate%
:VerifyStatus
IF "%ERRORLEVEL%" == "8" ECHO "<<<ERROR>>>"
IF "%ERRORLEVEL%" == "4" ECHO "<<<WARNING>>>"
IF "%ERRORLEVEL%" == "0" ECHO "<<<SUCCESS>>>"
echo.
echo.
goto %nextAction%
:FINISH
echo.
echo.
echo Completed.
set host=
set port=
set user=
set pwd=
set project=
set build=
set depCandidate=
set ERRORLEVEL=
@echo on
Map the command line interface's client certificate to an Integration Server user that
has Administrator or Developer privileges.
For instructions on these tasks, see webMethods Integration Server Administrator’s Guide.
When you run Deployer commands, the log on parameters you provide depend on
whether you want to use HTTP or HTTPS, as follows:
The log on parameters for logging onto an HTTP port are as follows:
Deployer.{sh|bat} --command -host host -port port -user user -pwd password
The logon parameters for logging onto an HTTPS port are as follows:
Deployer.{sh|bat} --command -host host -port port -user user -pwd password
-useSSL -senderCert path_to_cert -privKey path_to_key -caCert path_to_cert
Parameter Description
-host host -port Host machine and port for the Integration Server to
port log on to.
Important: If the certificates and private key do not exactly match the ones in the
Integration Server installation for the command line interface, the command will fail.
Save the file with the extension .cnf and store it in the
Integration Server_directory\instances\instance_name \packages\WmDeployer\bin
directory.
To point a command to the configuration file, specify the following on the command
instead of the log on parameters:
Deployer.{sh|bat} --command -configfile file
Parameter Description
About
The --about command displays the following details about Deployer:
JVM version number
Publisher information
Build number
Package name
Copyright information
Integration Server version number
Run the following command to see the project details:
Deployer.{sh|bat} --about -host host -port port -user user_name -pwd password
Deleting a Project
Run the following command to delete a project:
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --delete -project project
-host host -port port -user user_name -pwd password
For more information about deleting projects, see "Deleting a Project" on page 90.
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --getProjectProperties -project project
-host host -port port -user user_name -pwd password
Important: You must have Define ACL authorization to run this command.
Deployer.[sh|bat] --export -deleteSpec -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-overwrite If the project already contains a file with the same name,
this options tells Deployer to overwrite it. If you do not
overwrite, and a file with the same name exists, Deployer
issues an error and ends the command.
Important: You must have Define ACL authorization to run this command.
Deployer.{sh|bat} --import -deleteSpec definitions_
file -project project
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --export -projectProperties project
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --setProjectProperties -project project
-projectFile properties_file
-host host -port port -user user_name -pwd password
Parameter Description
Help
Run the following command to view a list of Deployer commands you can use in the
command line interface:
Deployer.{sh|bat} --help -command command_string
Parameter Description
Important: You must have the correct authorizations to run this command depending on
whether you want to list builds, maps, or deployment candidates.
To list builds, you must have Build ACL authorization.
To list maps, you must have Map ACL authorization.
To list deployment candidates, you must have Deploy ACL authorization.
Deployer.{sh|bat} --list -candidate {Build|Map|DC} -project project
-host host -port port -user user_name -pwd password
Parameter Description
Locking Projects
Run the following command to lock a project:
Deployer.{sh|bat} --lockProject -project project
-host host -port port -user user_name -pwd password
Unlocking Projects
Run the following command to unlock a project:
Deployer.{sh|bat} --unlockProject -project project
-host host -port port -user user_name -pwd password
Build Commands
This section describes the commands to create, export, import, and display details about
a build.
Important: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --create -build build -project project
-host host -port port -user user_name -pwd password -reportFilePath report_path
Parameter Description
-build build Name of the build to create. The build name can be up to 32
characters long and can include any characters that are valid
for a file name in your operating system.
Important: You must have View ACL authorization to run this command.
Deployer.{sh|bat} --list -candidate build -project project
-host host -port port -user user_name -pwd password
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -build build -project project
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -build build -project project -varsub
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -buildFile build_file -project project
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -buildFile build_file -project project -varsub
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Build ACL authorization to run this command.
Deployer.[sh|bat] --export -build build -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-overwrite If the project already contains a build with the same name, this
options tells Deployer to overwrite it. If you do not overwrite,
and a build with the same name exists, Deployer issues an
error and ends the command.
Deployer creates a file that contains the build. The file is named project _build and
is stored in the Integration Server_directory\instances\instance_name \packages
\WmDeployer\replicate\outbound directory.
Important: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --import -buildFile build_file -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-buildFile Full path to the build file that contains the deployment map
build_file to import. Build files are named project _build and are located
in the Integration Server_directory\instances\instance_name \
packages\WmDeployer\replicate\inbound directory.
Parameter Description
-overwrite If the project already contains a build with the same name, this
options tells Deployer to overwrite it. If you do not overwrite,
and a build with the same name exists, Deployer issues an
error and ends the command.
Important: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --list -candidate buildReport -build build -project project
-host host -port port -user user_name -pwd password
Parameter Description
Important: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --showReport -candidate buildReport -build build
-id integerId -project project -host host -port port -user user_name
-pwd password
Parameter Description
id report_ Identifier for the report to display. Use the --list command
identifier (see "Listing Build Reports" on page 174) to display report
identifiers, as well as the date and time each report was
generated.
Parameter Description
Note: When you follow this procedure to rebuild the index, the build script creates
only the index. To build the index, check out the asset sources, version the assets, and
build the composites and descriptors in the repository, you must run the build script as
described in "Running the Build Script and Rebuilding the Index" on page 42.
Note: If you do not specify a path for -Drepo.dir, the build script indexes the
repository specified by the build.output.dir property. For more information about the
build.output.dir property, see "Seing the Properties for the Build" on page 34.
Map Commands
This section describes the commands to list, import, export, edit, and delete deployment
maps.
Important: You must have Map ACL authorization to run the commands in this section.
Parameter Description
You can open a deployment map or substitute configuration value file using any XML
editor. A deployment map file has the following format:
<?xml version="1.0" encoding="UTF-8"?>
<DeploymentMap description="description of map " mapName="mapSetName "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DeploymentSets>
<DeploymentSet name="deploymentSetName " pluginType="pluginType ">
<targetGroups>
<targetGroup alias="targetGroupName "/>
</targetGroups>
<targetServers>
<targetServer alias="targetServerAlias "/>
</targetServers>
</DeploymentSet>
</DeploymentSets>
</DeploymentMap>
To specify an additional target server, target group, or deployment set in the same
deployment map, repeat the aribute for each addition. For example, a deployment set
that is mapped to multiple target servers is defined as follows:
<DeploymentMap>
<DeploymentSets>
<DeploymentSet name="deploymentsetA" pluginType="MWS">
<targetGroups>
<targetGroup alias="<targetGroupName>"/>
</targetGroups>
<targetServers>
<targetServer alias="server1"/>
<targetServer alias="server2"/>
<targetServer alias="server3"/>
</targetServers>
</DeploymentSet>
</DeploymentSets>
</DeploymentMap>
Parameter Description
-mapFile Full path to the map file that contains the deployment map to
map_file import. Map files are named project_map .map and are located
in the Integration Server_directory\instances\instance_name \
packages\WmDeployer\replicate\inbound directory.
Parameter Description
-overwrite If the project already contains a map with the same name, this
options tells Deployer to overwrite it. If you do not overwrite,
and a map with the same name exists, Deployer issues an
error and ends the command.
Parameter Description
Deployer creates a file that contains the substitute configuration values. The file
is named project_map .vs and is stored in the Integration Server_directory\instances
\instance_name \packages\WmDeployer\ replicate\outbound directory.
If you exported substitute configuration values for scheduled tasks, open the
project_map .vs file in an XML editor and set the task ID for each scheduled task to the
task ID used on the target Integration Server.
Note: If no substitute configuration values are specified in the deployment map, the
Deployer creates a file with the complete structure but does not export any values.
You can open the project_map .vs file in an XML editor and edit the values before
importing. For example, if you exported substitute configuration values for scheduled
tasks, you must edit the file for each target Integration Server so that the task ID for each
scheduled task is set to the task ID used on the target Integration Server.
Run the following command to import substituted configuration variables for
Integration Server assets into a deployment map:
Deployer.{sh|bat} --import -varsub -vsFile project_map .vs -map map
-project project -validate {true|false}
-host host -port port -user user_name -pwd password
Parameter Description
-project Project that contains the map into which to import the values.
project
-validate Whether Deployer should check the values to make sure they
{true|false} are valid for the target servers. If you specify true (validate),
Deployer lists any servers that are not running on the console.
Parameter Description
Deployment Commands
This section describes the commands to create, display information about, deploy, and
delete deployment candidates and to generate checkpoints, simulate a deployment, roll
back a target server, and generate reports.
Important: You must have Deploy ACL authorization to run the commands in this
section.
Parameter Description
Parameter Description
Parameter Description
Parameter Description
Generating a Checkpoint
Important: The target servers must be available for the checkpoint generation to be
successful. For more information about checkpoints, see "Checkpoint and Roll Back" on
page 22.
Parameter Description
Simulating a Deployment
When you run this command and simulate a deployment, Deployer generates a
simulation report. Display the simulation report as instructed in "Displaying a
Simulation, Rollback, or Deployment Report" on page 184 and address all problems.
Important: If you do not address all problems at this time, you will probably experience
errors during deployment.
Parameter Description
Deploying
When you run this command, Deployer deploys the assets in the candidate's project
build to the target servers in the candidate's deployment map. In addition, Deployer
generates a deployment report. Display the deployment report as instructed in
"Displaying a Simulation, Rollback, or Deployment Report" on page 184.
Run the following command to deploy a deployment candidate:
Deployer.{sh|bat} --deploy -dc deployment_candidate -project project
-host host -port port -user user_name -pwd password -force
-reportFilePath report_path
Parameter Description
Parameter Description
Deployer will not deploy unless you specify this
parameter.
Parameter Description
Parameter Description
Parameter Description
Overview
To configure automatic projects, you provide the necessary specifications for automated
project creation in an XML file. This chapter describes the tags you can specify in the file.
Only the root tag and the tag that identifies Deployer are required in the XML file.
Sample XML files are provided in the Integration Server_directory/
instances/instance_name /packages/WmDeployer/config directory. There are two files:
ProjectAutomatorSampleForRepository.xml provides an example of a repository-based
automated project, and ProjectAutomatorSampleForRuntime.xml shows a sample
runtime-based automated project. You can also export a project you created in the GUI
for use in Project Automator. For more information about exporting a project from the
GUI, see "Exporting Projects for Use in Project Automator" on page 186.
For complete contextual information about the features that each tag relates to, see the
GUI chapters in this guide.
Field Entry
Export Alias Definition Optional. Click to export all of the alias definitions
for the source and targets associated with the project.
Export Deployment and Optional. Click to export all of the deployment and
Deletion Set Definition deletion set definitions associated with the project.
Exported deployment and deletion sets include the
definition set and all of the associated assets.
Export Build Definition Optional. Click to export all of the build definitions
associated with the project.
Field Entry
Export Map Definition Optional. Click to export all of the map definitions
associated with the project. The map definition
includes all target servers, target groups, and clusters
that are part of the deployment map.
Field Entry
Password The name of the password handle. This is the value you will
Handle specify in the pwdHandle aribute in Project Automator.
Password handles cannot contain the following illegal
characters:
$~/\#&@^!%*:;,+=><‘’"
4. Click Create.
For error messages, you can write a program to parse the aribute values and take
specified actions.
Root Tag
The root tag for Project Automator consists of the <DeployerSpec> tag and the
exitOnError aribute, as follows:
<DeployerSpec exitOnError="true or false"></DeployerSpec>
The following table describes the aribute you can specify in the <DeployerSpec> tag.
Attribute Description
Identifying Deployer
You identify the Deployer on which you will perform the project tasks in the
<DeployerServer> tag. The <DeployerServer> tag enables you to specify the values
required to log on to the Integration Server that hosts the Deployer.
The following example shows how to use this tag:
<DeployerServer>
<host>Integration
Server host name or IP address :port </host>
<user>user
name </user>
<pwd>password </pwd> OR <pwdHandle>handle </pwdHandle>
</DeployerServer>
The following table describes the aributes you can specify in the <DeployerServer> tag.
Attribute Description
pwd Password of the server. You must specify either pwd or pwdHandle.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
</{webMethods Broker|ProcessModel|IS|MWS|Optimize|EventServer|RulesServer|EDA|
UniversalMessaging|TargetGroup|Repository}>
</Environment>
The sections below describe each tag within the <Environment> tag in detail.
If Deployer already contains an alias with the same name as one you define, Deployer
overwrites the alias.
Note: The credentials for <user>, <pwd>, and <pwdHandle> asset tags must be those for a
user with Administrator ACL authorization or for a user that belongs to a group that
has Internal, Developer, and DeployerAdmin ACLs to create Deployer runtime aliases
and projects.
Note: You can set up aliases for source repositories for repository-based deployment
only.
<Repository>
<repalias name="name ">
<type>FlatFile</type>
<urlOrDirectory>directory_location </urlOrDirectory>
<Test>true or false </Test>
</repalias>
</Repository>
For more information about the values to supply for the following aributes, see
"Connecting to a Repository for Repository-Based Deployment" on page 68.
Attribute Description
repalias The name to use for the repository alias. This aribute
name corresponds to the Name field.
urlOrDirectory The full path of the repository directory in which the composites
are located. This aribute corresponds to the File Directory field.
Attribute Description
Basic Authentication
The following example illustrates how to set up a Broker alias that uses basic
authentication.
<Broker>
<brokeralias name="alias
name ">
<brokerName>Broker
name </brokerName>
<clientGroup>client
group </clientGroup>
<host>Broker
server host </host>
<port>Broker
Server port </port>
<useBasicAuth>true </useBasicAuth>
<user>basic
authorization user name </user>
<pwd>basic
authorization password </pwd> OR <pwdHandle>handle </pwdHandle>
<version>version_number </version>
<context>JNDI
context </context>
<Test>true/false </Test>
</brokeralias>
</Broker>
For detailed information on the values to supply for the following aributes, see
"Connect to Broker Servers" on page 61.
Attribute Description
clientGroup Client group Deployer should use to access the source or target
Broker Server. For target Broker Servers, specify admin .
Attribute Description
port Port for the Broker Server. This aribute corresponds to the Port
field.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
SSL Authentication
The following example illustrates how to set up a Broker alias that uses SSL
authentication.
<Broker>
<brokeralias name="alias name">
<brokerName>Broker name</brokerName>
<clientGroup>client group</clientGroup>
<host>Broker server host</host>
<port>Broker Server port</port>
<useSSL>true</useSSL>
<version>version_number</version>
<keyStoreType>Deployer keystore type</keyStoreType>
<keyStorePath>Deployer keystore path</keyStorePath>
<keyStorepassword>Deployer keystore password</keyStorepassword>
<trustStoreType>Deployer trust store type</trustStoreType>
<trustStorePath>Deployer truststore path</trustStorePath>
<context>JNDI context</context>
<Test>true/false</Test>
</brokeralias>
</Broker>
For detailed information on the values to supply for the following aributes, see
"Connect to Broker Servers" on page 61.
Attribute Description
clientGroup Client group Deployer should use to access the source or target
Broker Server. For target Broker Servers, specify admin .
This aribute corresponds with the Client Group field.
port Port for the Broker Server. This aribute corresponds to the Port
field.
Attribute Description
keyStore Password that Deployer uses to access its keystore file. This
password aribute corresponds to the Keystore Password field.
No Authentication
The following example illustrates how to set up a Broker alias that does not use client
authentication.
<Broker>
<brokeralias name="alias
name ">
<brokerName>Broker
name </brokerName>
<clientGroup>client
group </clientGroup>
<host>Broker
server host </host>
<port>Broker
Server port </port>
<useSSL>false </useSSL>
<version>version
number </version>
<context>JNDI
context </context>
<Test>true/false </Test>
</brokeralias>
</Broker>
For detailed information about the values to supply for the following aributes, see
"Connect to Broker Servers" on page 61.
Attribute Description
clientGroup Client group Deployer should use to access the source or target
Broker Server. For target Broker Servers, type admin .
This aribute corresponds to the Client Group field.
port Port for the Broker Server. This aribute corresponds to the Port
field.
Attribute Description
the <DeployerSpec> tag. For more information, see "Root Tag"
on page 189.
false to create the source alias without testing the connection to
the target server.
For detailed information about the values to supply for the following aributes, see
"Connect to BPM Process Model Servers" on page 63.
Attribute Description
pmalias name Name to assign to the server. This aribute corresponds to the
Name field.
port Port for the server. This aribute corresponds to the Port field.
Attribute Description
passwords in the XML file and run Project Automator to encrypt
the passwords again.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
</IS>
For information on the values to supply for the tags below, see "Connecting to
Integration Servers and Trading Networks Servers" on page 56.
Attribute Description
pwd Password associated with the user name. You must specify either
pwd or pwdHandle.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
Attribute Description
executeACL Optional. Specifies the ACL for the alias. If no value is specified,
Deployer assigns the alias to the Administrators ACL by default.
For information on the values to supply for the tags below, see "Connecting to My
webMethods Servers" on page 58.
Attribute Description
Attribute Description
port Port for the server. This aribute corresponds to the Port field.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
cacheTimeOut Length of time queries should remain in the cache unless the
cache capacity is exceeded. This aribute corresponds to the
Cache Timeout field.
Attribute Description
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
Attribute Description
the <DeployerSpec> tag. For more information, see "Root Tag"
on page 189.
false to create the source alias without testing the connection to
the target server.
For information on the values to supply for the tags below, see "Connecting to Optimize
Servers" on page 57.
Attribute Description
port Port for the server. This aribute corresponds to the Port field.
Attribute Description
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
Note: Deployer supports deployment of assets to Event Servers of version 9.5 or earlier
only.
<EventServer>
<eventserveralias name="event_server_target ">
<host>host_name </host>
<port>port_number </port>
<user>user_name </user>
<pwd>password </pwd> OR <pwdHandle>handle </pwdHandle>
<useSSL>true/false </useSSL>
<version>version_number </version>
<Test>true/false </Test>
</eventserveralias>
</EventServer>
For information on the values to supply for the tags below, see "Connecting to Event
Servers" on page 60.
Attribute Description
port Port for the server. This aribute corresponds to the Port field.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
Attribute Description
For information on the values to supply for the tags below, see "Connecting to EDA
Deployment Endpoints" on page 65.
Attribute Description
port Port for the server. This aribute corresponds to the Port field.
Attribute Description
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
For information on the values to supply for the tags below, see "Connect to Business
Rules Runtimes" on page 66.
Attribute Description
port Port for the server. This aribute corresponds to the Port field.
pwdHandle The password handle. You must specify either pwd or pwdHandle.
For more information about creating a password handle, see
"Using Handles Instead of Passwords" on page 187.
useSSL Whether Deployer should use SSL to connect to the server. Set to:
true to use SSL to connect to the server.
false to connect to the without any client authentication.
This aribute corresponds to the Use SSL field.
Attribute Description
and handles the error according to the exitOnError aribute of
the <DeployerSpec> tag. For more information, see "Root Tag"
on page 189.
false to create the source alias without testing the connection to
the target server.
For information on the values to supply for the tags below, see "Connect to Universal
Messaging Servers" on page 67.
Attribute Description
realmURL The URL of the Universal Messaging realm server. This aribute
corresponds to the Realm URL field.
Attribute Description
For information on the values to supply for the aributes below, see " Creating Target
Groups" on page 70.
Attribute Description
Attribute Description
name Name to use for the target group. This aribute corresponds to
the Name field.
EDA
UniversalMessaging
alias The aliases of the servers to include in the target group. Each
alias should have its own alias aribute.
Creating Projects
You create projects in the <Projects> tag as follows:
<Projects projectPrefix="string">
<Project overwrite="true" name="project_name"
description=project_description">
<ProjectProperties>
<Property name= "projectLocking">true/false </Property>
<Property name= "concurrentDeployment">true/false </Property>
<Property name= "ignoreMissingDependencies">true/false </Property>
<Property name= "isTransactionalDeployment">true/false </Property>
</ProjectProperties>
<{DeploymentSet|DeletionSet}>tags</{DeploymentSet|DeletionSet}>
<{Component|Composite}>tags</{Component|Composite}>
</Project>
</Projects>
Note: You can specify aributes in the <DeletionSet> tag for repository-based
deployment only.
Note: The <Component> and <Composite> tags define the components and composites
for repository-based deployment projects only. They are not used for runtime-based
deployment projects.
Attribute Description
The <Projects> tag can contain several <Project> tags, one for each project you want
Project Automator to create. You can specify the following aributes for the <Project>
tag:
Attribute Description
Attribute Description
For repository-based projects, the <ProjectProperties> tag contains the individual project
properties that you can edit for the project. If no project properties are specified, the
project adopts the seings specified for all projects. For more information about seing
project seings for all projects, see " Seing Default Properties for All Projects" on page
77.
Attribute Description
The following sections describe the tasks you can perform using tags of the parent
<Project> tag.
Attribute Description
type Runtime type of the server that contains the assets to deploy or
delete. Set to:
Broker
IS (For Integration Server and Trading Networks servers.)
MWS (Deployment sets only.)
Optimize (Deployment sets only.)
ProcessModel (Deployment sets only.)
RULES (Deployment sets only.)
EventServer (Deployment sets only.)
packageRegExp (Optional.) Text that the package names must contain in order
to be listed. For more information, see the description of the
Packages field in "Creating a Deployment Set" on page 94 or
"Creating a Deletion Set" on page 126.
otherRegExp (Optional.) The number of assets to display in the list. See the All
other assets field in the "Defining a Deployment Set" on page 93
or "Defining a Deletion Set" on page 125 chapters.
Attribute Description
srcAlias The server alias for the source server (for deployment sets) or
target server (for deletion sets). This aribute corresponds with
the Name field described for the runtime server type in "Starting
Deployer and Connecting to Servers" on page 53.
Note: If the dependent asset does not exist on the target server,
deployment will fail.
The tags for each type of asset vary. See the sample XML file
ProjectAutomatorSample.xml in the Integration Server_directory/instances/instance_name /
packages/WmDeployer/config directory for examples for each type of asset. Additional
notes are provided below.
Assets Notes
All If an asset is located in a folder, the asset tag must include the
folder aribute.
Integration On <Port> asset tags, set the protocol aribute to one of the
Server following:
HTTP
FTP
HTTPS
Assets Notes
FTPS
Email
FilePolling
Package asset tags require the aribute package="name ".
Scheduled task assets require the aribute filterBy="name ".
Trading Sets that include Trading Networks assets must also include the
Networks tnTreeNodeCount="number" aribute. This aribute specifies the
number of Trading Networks assets Deployer should display.
For more information, see the description of the Maximum TN
Assets to Display field in "Creating a Deployment Set" on page 94
or "Creating a Deletion Set" on page 126.
The <DeploymentSet> tag must include the autoResolve, description, name, and
srcAlias aributes. The following table describes each of these aributes.
Attribute Description
Attribute Description
name Name of the deployment set. This aribute corresponds with the
Name field described in "Creating a Deployment Set" on page 94.
The <Composite> tag describes composites that are part of the deployment set. You can
set the following aributes for the <Composite> tag.
Attribute Description
name Name of composite from the ACDL. You can use an asterisk
(*) as a wildcard character. For example, if you set name to
“Deploy*”, Project Automator adds all composites with a name
beginning with “Deploy” to the deployment set.
To use a wildcard character to return composites that contain
an asterisk (*) in the name, you must add an escape character
(\) before the asterisk in name (example, \*). For example, to add
all composites with the name “project*”, you would set name to
Attribute Description
“project\**”. To add all composites with the name “*project”,
you would set name to “\*project*”.
IS
MWS
Optimize
RULES
TN
UniversalMessaging
You can use an asterisk (*) as a wildcard character. For example,
if you set type to “*”, Project Automator adds composites from all
runtimes to the deployment set.
The <Component> tag describes the assets that are part of the deployment set. You can
set the following aributes for the <Component> tag.
Attribute Description
compositeName Name of composite in which the asset is located. You can use
an asterisk (*) as a wildcard character. For example, if the
Attribute Description
compositeName aribute is set to “is*”, Project Automator adds
all assets with a composite name beginning with “is” to the
deployment set.
To use a wildcard character to return all composites that contain
an asterisk (*) in the name, you must add an escape character (\)
before the asterisk in compositeName (example, \*). For example,
to add assets from composites with the name “project*”, you
would set compositeName to “project\**”. To add all composites
with the name “*project”, you would set compositeName to
“\*project*”.
name Name of the asset. You can use an asterisk (*) as a wildcard
character. For example, if the name aribute is set to “is*”, Project
Automator adds all assets with a name beginning with “is” to the
deployment set.
To use a wildcard character to return all assets that contain an
asterisk (*) in the name, you must add an escape character (\)
before the asterisk in name (example, \*). For example, to add all
assets with the name “project*”, you would set name to “project
\**”. To add all assets with the name “*project”, you would set
name to “\*project*”.
IS
MWS
Optimize
RULES
TN
UniversalMessaging
Attribute Description
Note: For a description of the aributes for the <Component> tag, see "Defining a
Deployment Set for Repository-Based Deployment" on page 216.
Attribute Description
description Description for the deletion set. This aribute corresponds with
the Description field described in "Creating a Deletion Set" on
page 126.
name Name to use for the deletion set. This aribute corresponds with
the Name field described in "Creating a Deletion Set" on page 126.
Note: If the project already has a build with the same name, Deployer overwrites it.
Attribute Description
name Name of the build. This aribute corresponds to the Name field
described in "Creating a Build" on page 136.
Mapping a Project
You define a map to create for a project as follows:
<DeploymentMap name="map name " description="map description "></DeploymentMap>
<MapSetMapping mapname="map name " setName="name of deployment or
deletion set ">
<alias>target
server alias </alias>
<alias>target
server alias </alias>
<group>target
group </group>
<group>target
group </group>
</MapSetMapping>
Note: If the project already has a map with the same name, Deployer overwrites it.
Attribute Description
<group>target_group </group>
</MapSetMapping>
Note: If the project already has a map with the same name, Deployer overwrites it.
The following table describes the aributes in the <DeploymentMap> tag. Each aribute
corresponds to a field in the GUI as described in "Mapping a Project to Target Servers
and Target Groups" on page 140.
Attribute Description
The <MapSetMapping> tag uses the following aributes to define the aliases contained
in each deployment map:
Attribute Description
mapname Name of the deployment map. This aribute should match the
name aribute of the <DeploymentMap> tag.
alias The server alias of the target server. This aribute corresponds
to the target server you select when you click Add Target Server
as described in "Mapping a Project to Target Servers and Target
Groups" on page 140.
Attribute Description
described in "Mapping a Project to Target Servers and Target
Groups" on page 140.
Note: If the project already has a map with the same name, Deployer overwrites it.
The following table describes the aributes in the <DeploymentMap> tag. Each aribute
corresponds to a field in the GUI as described in "Mapping a Project to Target Servers
and Target Groups" on page 140.
Attribute Description
The <MapSetMapping> tag uses the following aributes to define the aliases contained
in each deployment map:
Attribute Description
mapname Name of the deployment map. This aribute should match the
name aribute of the <DeploymentMap> tag.
Attribute Description
and Deletion Sets for Runtime-Based Deployment" on page
213 or "Defining a Deletion Set for Repository-Based
Deployment" on page 220.
alias type The runtime type of the target server alias. This aribute
corresponds to the Select Server list described in "Mapping a
Project to Target Servers and Target Groups" on page 140.
alias (BPM assets only.) The logical server alias of the target server.
logicalServer This aribute corresponds to the Physical Server field as described
in "Connect to BPM Process Model Servers" on page 63.
alias The server alias of the target server. This aribute corresponds
to the target server you select when you click Add Target Server
as described in "Mapping a Project to Target Servers and Target
Groups" on page 140.
group type The runtime type of the target group. This aribute corresponds
to the Select Server list described in "Mapping a Project to Target
Servers and Target Groups" on page 140.
group (BPM assets only.) The logical server to which the target group is
logicalServer mapped. This aribute corresponds to the target server or target
group you select after you click Add Target Group as described in
"Mapping a Project to Target Servers and Target Groups" on page
140.
group The group mapping for assets that are not targeted to a logical
server. This aribute corresponds to the target group you select
when you click Add Target Group as described in "Mapping a
Project to Target Servers and Target Groups" on page 140.
Note: If the project already has a deployment candidate with the same name, Deployer
overwrites it.
The following table describes the aributes in the <DeploymentCandidate> tag when
creating a deployment candidate for runtime-based deployment. Each aribute
corresponds to a field in the GUI as described in " Deploying a Project" on page 152.
Attribute Description
mapName Name of the deployment map that identifies the target servers
to which to deploy the assets. This aribute corresponds to the
Deployment Map field.
Note: If the project already has a deployment candidate with the same name, Deployer
overwrites it.
The following table describes the aributes in the <DeploymentCandidate> tag when
creating a deployment candidate for repository-based deployment. Each aribute
corresponds to a field in the GUI as described in " Deploying a Project" on page 152.
Attribute Description
Attribute Description
mapName Name of the deployment map that identifies the target servers
to which to deploy the assets. This aribute corresponds to the
Deployment Map field.
Before executing the specified XML file, Project Automator validates the XML
using the schema named ProjectAutomator.xsd in the Integration Server_directory/
instances/instance_name /packages/ WmDeployer/config directory.
If you are creating a ProcessModel deployment set, the e-forms might trigger process
steps in the process models. In this case, follow these instructions:
1. When you define the ProcessModel deployment set, JCR or CSP files will appear as
dependencies. You must include them in the ProcessModel deployment set unless they
already exist on the target server and they already specify the correct paths to the e-form
templates and e-form instances folders. For instructions on resolving dependencies, see
"Resolving Dependencies" on page 111.
Note: My webMethods Server assets (that is, the e-form templates and e-form
instances folders) do not appear as dependencies.
2. When you map the ProcessModel deployment set to the target servers, substitute the
password configuration values for the JCR or CSP files. These passwords, which Process
Engines use to connect to the My webMethods Server or Content Service Platform that hosts
e-forms, must be correct for the target environment. Also change other JCR or CSP file
configuration values to be correct for the target environment if necessary.
Note: Configure the CSP in the target server with the same structure and content as
the source server.
3. If you are using e-forms with My webMethods Server, perform the following additional
tasks:
a. Define an MWS deployment set that contains the e-form templates and e-form
instances folders from the My webMethods Server that hosts e-forms in the
source environment. In the project seings for the project that contains this
deployment set, set the Export Content (Documents) property to Yes (see the Export
Content (Documents) property as described in " Creating a Project" on page 83).
Important: This seing is set to No by default. Since project seings affect all
deployment sets in the project, make sure that other MWS deployment sets
you include in the project can share this seing, or do not include other MWS
deployment sets in the project.
Overview
When you use Deployer to deploy Optimize assets, the process often requires
modifications to the Analytic Engine DB schema on the target server. The modifications
result from the automatic execution of Data Definition Language (DDL) statements on
the database. You can configure the Analytic Engine to run in Static DB Schema mode,
where the automatic execution of DDL statements is disabled. For more information, see
"Disabling Automatic Execution of DDL Statements" on page 230.
When the Analytic Engine runs in Static DB Schema mode, the deployment process
for Optimize assets runs through two stages. This ensures that no unauthorized
modification of the database schema is allowed.
First stage (DDL Recording) - during this stage, the deployment process carries out the
following actions:
1. Old versions of the Optimize assets are removed from the Analytic Engine cache.
2. Data Manipulation Language (DML) statements are executed.
3. DDL statements are collected but not executed.
After these procedures finish, you manually execute the Analytic Engine SQL scripts.
Second stage (Actual Deployment) - during this stage, the deployment process carries
out the following actions:
1. Determines if the database has been updated with the SQL scripts as described in
the first stage.
2. Creates the deployed Optimize assets.
2. On the Define Environments page, click the name of the environment with which you want to
work.
3. On the Edit Environment page, click the Configure Servers tab.
4. Under the appropriate Analytic Engine logical server node in the configuration tree, click
Database Settings.
5. In the Database Settings for Analytic Engine area, click Disable DDL Statements to disable the
automatic execution of DDL statements.
6. Click Save to save changes.
Note: If you click Finish without first clicking Save, any changes made to these
seings will be lost.
7. Click Deploy All to deploy all configuration files to all logical servers in an environment, or
click Deploy Updates to deploy only the modified configuration files to the affected logical
servers in the environment.
The status of the deployment operation appears after the operation is completed. The
status includes a list of the files that were deployed to the environment and also lists
any errors that occurred.
Note: If you edit a configuration and deploy only the updates, the logical servers in
the environment must be restarted for the new configuration seings to take effect.
To deploy Optimize assets when Analytic Engine runs in Static DB Schema mode
1. Make sure you have deployed an environment with Analytic Engine running in Static DB
Schema mode as described in "Disabling Automatic Execution of DDL Statements" on
page 230.
2. In Integration Server: Solutions > Deployer.
3. On the Deployer > Settingspage, in the General Deployment Defaults area, make sure the
Batch Size property is set to 0 to avoid batching of the deployment set.
4. Go to the Deployer > Projectspage and configure an Optimize deployment candidate as
described in " Creating a Project" on page 83.
5. Click Deploy. Deployer displays the Projects > project > Deploy page and lists all
deployment candidates that exist for the selected project.
6. To deploy the project, click in the Deploy column for the deployment candidate.
If the Analytic Engine does not run in Static DB Schema mode and some assets cannot
be removed, Deployer aempts to update these assets at deployment time. This is not
supported by the Static DB Schema mode.
Potential Problems
When you deploy Optimize assets, it is possible to overlook seings, configure various
seings incorrectly, or aempt unsupported actions. As a result, the deployment fails or
other issues occur. This topic covers commonly encountered problems.
Note: For example, you might have two Optimize servers configured with different
names and the same host and port.
3. After you create a deployment candidate, click Create Checkpoint to activate the
Rollback buon.
4. Click Rollback to remove all assets in the deployment set created in step 1 from the
target Analytic Engine.
After all depended-on assets are removed, you can deploy the modified deployment set
from your original source.
Two or More Deployment Sets for the Same Analytic Engine Using One
Deployment Map
This is not supported. You can carry out either of the following supported methods as an
alternative:
Split the Optimize deployment sets into separate projects and complete both stages
consecutively for each project.
or
Remove the target Analytic Engine for all deployment sets. For each deployment set
with no target specified in the deployment map, do the following:
1. Add a target Analytic Engine in the deployment map.
2. Execute both deployment sets and the generated DDLs in the correct order, as
described in Step 1 in " Optimize Deployment Usage Notes" on page 232.
3. Remove the target Analytic Engine from the deployment map.
Overview
Deployer can deploy assets to clustered Integration Servers and to Trading Networks
and process models running on Integration Servers. Keep the following points in mind
when deploying to clustered Integration Servers:
Before you can deploy to a cluster, you must define the connections to the
Integration Servers in the cluster as remote servers and identify the Integration
Servers as part of a target group in Deployer. You can then map and deploy to the
target group as you would to any other target group. Since Trading Networks and
process models run on clustered Integration Servers, to deploy Trading Networks
assets and process models to a cluster, you must set up connections to the cluster
and create a target group that includes the servers in the cluster in the same way.
Before deploying Trading Networks assets to Trading Networks running on
clustered Integration Servers, make sure the tn.cluster.sync.remoteAliases property
is set for each Trading Networks server in the cluster. For instructions, see
webMethods Trading Networks Administrator’s Guide.
To deploy process models to Process Engines running on clustered Integration
Servers, you must configure each Integration Server hosting a process model in a
cluster to use the same alias name and port number as the remote alias defined for
the cluster.
Note: All remote servers should have the same port number as the remote alias of the
primary port of the cluster.
Integration Server or Go to Target Groups > IS & TN and click Create IS & TN
Trading Networks Target Groups.
2. In the Name box, type the name to use for the target group. The name can be up to 32
characters long and cannot contain spaces or the following illegal characters:
$~/\#&@^!%*:;,+=><‘’"
3. In the Description box, type a description for the target group. The description length has no
limit and can include any characters.
4. In the Version box, enter the version of the target group.
5. Click Create.
6. In the left-hand pane, click the name of the target group from the Group Name column.
7. On the Configure Target Group pane, set Roll Back All on Failure to Yes.
Note: Roll Back All on Failure is valid for runtime-based deployment only. Deployer
ignores this seing for repository-based deployment.
8. The Available Servers list shows the cluster name as a top-level node in the tree, and then all
the servers in that cluster as child nodes under the cluster name. Select the cluster name node,
and then click Add. The entire cluster tree moves to the Selected Servers list. Click Save.
Defined as a remote The child node for that server shows the remote
server alias server alias, and you can select it.
Not defined as a remote The child node shows the server host and port, but
server you cannot select it.
Not running That server does not appear in the list at all. Make
sure every server in the cluster is defined as a remote
server and is up and running. For instructions
on defining remote servers, see "Connecting to
Integration Servers and Trading Networks Servers"
on page 56 and webMethods Integration Server
Administrator’s Guide.
Important: If you select individual nodes of the cluster and not the entire cluster,
when you deploy, the nodes in the cluster will no longer be identical. Tasks will not
run equally well on all servers in the cluster, which could cause errors and failures.
9. You can add other clusters or individual servers to the target group.
10. Map the project to the target group.
11. Checkpoint, deploy, and, if necessary, roll back the project as you would in an unclustered
environment.
D Deployable Assets
■ BPM Process Development Assets ........................................................................................... 240
■ Broker Assets ............................................................................................................................. 241
■ Business Rules Assets .............................................................................................................. 242
■ EDA Assets ................................................................................................................................ 243
■ Event Server Assets .................................................................................................................. 244
■ Integration Server Assets ........................................................................................................... 245
■ My webMethods Server Assets ................................................................................................. 292
■ Optimize Assets ......................................................................................................................... 297
■ Trading Networks Assets ........................................................................................................... 298
■ Universal Messaging Assets ...................................................................................................... 299
■ Other Assets .............................................................................................................................. 301
Note: The assets listed in this appendix are supported by repository-based deployment.
Broker Assets
Using Deployer, you can deploy your Broker assets and JNDI assets to another Broker,
and share the assets that you created in Broker with other applications.
webMethods Broker enables you to export the following assets to Deployer:
Broker assets such as clients, client groups, and document types.
JNDI assets such as JMS queues and JMS topics created by webMethods JNDI
providers.
Some Broker assets have dependencies on other Broker components. When you export
assets that have dependencies on other assets, the corresponding dependent assets
are also exported. For example, when you export a client group, the document types
belonging to that client group are also exported.
The following table lists:
The assets that you can export
The asset type ID for each asset
Asset dependencies
Note: You can deploy business rules assets in repository-based deployment only.
EDA Assets
This section identifies the assets that you can deploy to EDA deployment endpoints
using Deployer.
Note: Deployer supports deployment of assets to Event Servers of version 9.5 or earlier
only.
Note: You can deploy Event Server assets in repository-based deployment only. You
cannot deploy Event Server assets in runtime-based deployment.
The following table lists the dependencies and properties that you can substitute when
using Deployer to deploy assets to an Event Server.
Property Description
Note: Integration Server does not generate any assets for the Native Users, ACLs, or
Groups. This includes the following:
Native Users. Administrator, Default, Replicator, and Developer.
Native Groups. Everybody, Administrators, Anonymous, Developers, and
Replicators.
Native ACLs. Administrators, Anonymous, Replicators, Developers, Default, and
Internal.
In this example, you would define SRC_ROOT as the value of the build.source.dir
property in the build.properties file. For more information about the build.properties
file, see "Seing Build Properties" on page 34.
When run, the build script creates the following:
A composite named package_name .zip for each package included in the source
directory, where package_name is the name of the package (with a composite type
ID of ispackage). For this example, the files would be named packageA.zip and
packageB.zip.
A composite named isconfiguration.zip (with a composite type ID of isconfiguration)
that contains the administrative assets contained in the config directory.
For more information about building composites for repository-based deployment, see
"Building Composites for Repository-Based Deployment" on page 31.
The following table lists the files and directories that you must manually copy or check
in to the source directory in order to build Integration Server administrative assets for
deployment.
Client The Asset Build Environment extracts this asset from the
certificate database.
If you are using the embedded database, the
Asset Build Environment must have access to
Integration Server_directory\instances\instance_name \db
\embedded directory.
If you are using an external database, the Asset Build
Environment requires access to the JDBC configuration files.
Note: Integration Server creates this file only when the CSRF guard
option is enabled in Integration Server Administrator. For more
information, see webMethods Integration Server Administrator’s Guide.
IS Packages For all the assets contained in the IS package ACDL file,
you must check in the Integration Server_directory\instances
\instance_name \packages\package_name directory (where
package_name is the package for which the ACDL is required) to
the source directory.
The following files are required to retain ACL information for the
different assets in a package:
Integration Server_directory\instances\instance_name \config
\acls.cnf
Integration Server_directory\instances\instance_name \config
\aclmap_sm.cnf
Integration Server_directory\instances\instance_name \config
\acllist.cnf
Integration Server_directory\instances\instance_name \config
\aclread.cnf
Integration Server_directory\instances\instance_name \config
\aclwrite.cnf
Note: The Asset Build Environment does not extract default driver
aliases that are installed with Integration Server.
Note: The Asset Build Environment does not extract the embedded
database pool alias.
Note: The Asset Build Environment does not extract this file if
wa.net.proxySkipList is set to localhost. For more information
about wa.net.proxySkipList, see webMethods Integration Server
Administrator’s Guide.
Note: The Asset Build Environment does not extract remote server
aliases named "local".
Scheduled The Asset Build Environment extracts this asset from a database,
tasks and requires either of the following:
If you are using the embedded database, the
Asset Build Environment must have access to
Integration Server_directory\instances\instance_name \db
\embedded directory.
If you are using an external database, the Asset Build
Environment requires access to the JDBC configuration files.
Note: Integration Server deploys a cache manager that uses BigMemory or Terracoa
Server Array only if you have the appropriate Terracoa and Integration Server
licenses. For more information about licenses, see webMethods Integration Server
Administrator’s Guide.
ACLs
The following table lists the asset type ID and substitution values for ACL assets.
Substitution Values
None.
Broker Settings
The following table lists the asset type ID and substitution values for Broker seings
assets.
Substitution Values
Broker Configuration Settings:
brokerHost
Broker Name Name of the Broker to which the Integration Server connects.
brokerName
Client Prefix A string that identifies the Integration Server to the Broker.
CLIENTPREFIX
Keystore The full path to the keystore file for the target Integration Server.
certFile
Use Source Specifies whether the target Integration Server uses the keystore
Keystore file from the source Integration Server.
True
useSourceBrokerKeystore indicates that the target Integration Server uses the
keystore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different keystore file than the source Integration Server.
Encryption Settings:
truststore
Use Source Specifies whether the target Integration Server uses the truststore
Truststore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Broker truststore file from the source Integration Server. This is the
Truststore default.
False indicates that the target Integration Server will use a
different truststore file than the source Integration Server.
Cache Manager
Note: Integration Server deploys a cache manager that uses BigMemory or Terracoa
Server Array only if you have the appropriate Terracoa and Integration Server licenses.
For more information about licenses, see webMethods Integration Server Administrator’s
Guide.
Substitution Values
Note: If a cache manager with the same name exists in both the
source and target servers and if the cache manager name is
modified while deploying to the target server, the target server will
contain both the cache managers, one with the old name as well as
the one with the name used while deploying.
Note: You must specify the Terracoa Server Array URLs only if
you have distributed caches in the cache manager.
reload Reload. Specifies whether the cache manager on the target servers
is started after deployment.
True starts the cache manager on the target servers after
deployment.
False does not start the cache manager on the target servers
after deployment.
None indicates that you want to use the global value specified
by the deployment options on the Deployment Map Properties
> Configure Builds by Assets screen and by the Reload Cache
Managers After Deployment value in the project map file.
If the cache manager is in a start state on the target Integration
Server, a value of None will not restart the cache manager. If
the cache manager is in a shutdown state on target Integration
Server, the cache manager will not be started.
The default is None.
Certificate Settings
Substitution Values
None.
Client Certificates
Substitution Values
Certificate The name of the file containing the certificate that you want to
Path import. You may specify the file name using an absolute path or
using a path that is relative to Integration Server_directory. The file
certificate
must contain an X.509 certificate in DER file format.
Path
Substitution Values
Excluded User A list of user agents for which Integration Server is not to apply
Agents CSRF guard. If CSRF guard is enabled, Integration Server
requires that HTTP requests coming from user agents that are
excludedUser
not specified as excluded must contain CSRF secure tokens.
Agents
Landing Pages A list of landing pages for the packages in your Integration
Server. A landing page is the home page for a package.
landingPages
Integration Server does not check for CSRF secure tokens in
the landing pages, but inserts a token for that page. Integration
Server guards all further requests from these landing pages with
CSRF secure tokens.
Unprotected The URLs for which Integration Server is not to check for CSRF
URLs secure tokens. If CSRF guard is enabled, Integration Server
requires that the requests coming from all URLs that are not
unprotected
specified as unprotected must contain CSRF secure tokens.
URLs
Denial Action Action that you want Integration Server to perform when it
detects that a request does not contain a CSRF secure token or
denialAction
contains an invalid CSRF secure token.
Error specifies that you want Integration Server to throw an
access denied error and terminate the request. This is the
default.
Redirect specifies that Integration Server is to redirect the user
to a confirmation page or the home page of Integration Server
Administrator.
Substitution Values
User Name Integration Server user ID to run the flow service that executes
when a request violates an Enterprise Gateway rule. This is the
User Name Integration Server user ID to run the flow service that executes
when a request violates an Enterprise Gateway rule. This value is
rule_name
part of the custom alert options defined for an individual rule.
_user Name
Extended Settings
Substitution Values
Server configuration parameters that are set as visible. Allows users to specify
values for wa properties that are set as visible in the source Integration Server.
Substitution Values
allowedDelete
Paths Note: After making changes and deploying fileAccessControl.cnf,
you must reload the WmPublic package or restart Integration
Server for the changes to take effect.
Global Variables
Substitution Values
Groups
Substitution Values
None.
Substitution Values
None.
Substitution Values
databaseURL
Substitution Values
None.
Substitution Values
General Settings:
Client Group Name of the client group that you want the target Integration
Server to use when it acts as a JMS client.
nwm_client
Group
Broker List Comma delimited list of Broker Servers on which the connection
between the target Integration Server (acting as the JMS client)
nwm_brokerList
and the webMethods Broker (acting as a JMS provider) can exist.
Keystore The full path to the target Integration Server’s keystore file.
nwm_keystore
JNDI Alias
Substitution Values
Provider URL The primary URL of the initial context for sessions with the JNDI
provider. The URL specifies the JNDI directory in which the
providerURL
JNDI provider stores JMS administered objects.
Provider URL A list of URLs to which the target Integration Server can
Failover List connect if the connection to the primary JNDI provider becomes
unavailable. Separate the URLs with an ampersand, new line,
providerURL
carriage return, or horizontal tab.
FailoverList
Keystore Alias
Substitution Values
Location The full path to the keystore file for the target Integration Server.
ksLocation
Password Password associated with this alias that is used to protect the
contents of the keystore.
ksPassword
Key Alias Password for each key alias residing in the keystore.
Password
keyAlias.
keyAliasName
Use Source Specifies whether the target Integration Server uses the keystore
Keystore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Keystore keystore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different keystore file than the source Integration Server.
LDAP Configuration
Substitution Values
Directory URL The complete URL of the LDAP server. The URL has the format
protocol:\\hostname:portnumber\DistinguishedName , where:
directoryURL
protocol is ldap for standard connections or ldaps for secure
connections
host is the host name or IP address of the LDAP server
portnumber is the port on which the server is running. The port
is optional. If omied, the port defaults to 389 for LDAP, or 636
for LDAPS.
DistinguishedName is optional, and is in the form of an LDAP
distinguished name (DN), for example "dc=webMethods,
dc=com", or "o=webMethods.com", depending on how your
directory is set up.
The default value for directoryURL is ldap:\\localhost:389\.
Metadata
Note: Deployer extracts the metadata asset from the WmAssetPublisher package. Make
sure this package resides in the source folder before extracting the asset.
Substitution Values
User Name The name of the user account on CentraSite that will be used for
publishing and retracting metadata.
centraSiteUser
name
Enhanced Parser
Substitution Values
Use Cache Indicates if caching used with the enhanced XML parser.
useCache True indicates that during parsing of an XML document,
Integration Server moves partitions to an off-heap area on disk
when the on-heap partition space becomes full and retrieves the
partitions as needed during processing.
False indicates that Integration Server does not cache partitions
when parsing an XML document.
Maximum Maximum amount of heap space that the parser can allocate
Heap Bytes to process documents concurrently. Specify a suffix of “k” to
indicate kilobytes, “m” to indicate megabytes, “g” to indicate
maximumHeap
gigabytes, and “%” to indicate a percentage of the heap space.
Bytes
For example, 10k, 10m, 10g, or 10%.
Maximum Maximum amount of heap space that the parser can allocate to
Document process a single document. Specify a suffix of “k” to indicate
Bytes kilobytes, “m” to indicate megabytes, “g” to indicate gigabytes,
and “%” to indicate a percentage of the heap space. For example,
maximumDoc
10k, 10m, 10g, or 10%.
Bytes
Ports
Substitution Values
General values for all ports (email, file polling, FTP, FTPS, HTTP, HTTPS, and quiesce):
Note: Deployer extracts the Ports asset from the package in which the port is
configured. Make sure this package resides in the source folder before extracting the
asset.
Package Name The package name you want to associate with the port on the
target servers.
pkg
If the port is used as the quiesce port, the port alias should be
associated with either the WmRoot or WmPublic package.
Enable Specifies whether the port on the target servers are enabled or
(enable disabled after deployment.
True enables the port on the target servers after deployment.
False indicates that you do not want the port enabled on the
target servers after deployment.
None indicates that you want to use the global value specified
by the deployment options on the Deployment Map Properties >
Configure Builds by Assets screen and by the Enable Ports After
Deployment value in the project map file.
Hosts A comma delimited list that specifies the hosts allowed or not
allowed to connect to the target servers through this port.
hostList
Note: If the Access Mode is Global, the host list is ignored. If the
Access Mode is Allow, the host list represents the hosts that are
denied access to the port. If the Access Mode is Deny, the host list
represents the hosts that are allowed access to the port.
IP access type Specify the access type of host that is allowed to connect to the
target servers through this port.
hostAccessMode
Allow indicates that you want Integration Server to allow access
by default and to deny the hosts specified in the hosts list.
Deny indicates that you want Integration Server to deny access
by default and allow only hosts specified in the host list.
Global indicates that you want to use the global access seings
specified on Integration Server.
For detailed information about IP access types and controlling IP
access, see webMethods Integration Server Administrator’s Guide.
Email port:
Host Name The name of the machine on which the POP3 or IMAP server
runs.
host
Port (Optional.) The port on the e-mail server to which the target
servers can connect.
server_port
User Name A user name that identifies the target servers to the e-mail server.
user
Password The password associated with the user name that identifies the
target servers to the e-mail server.
password
Run services The user name you want the target servers to use when running
as user the service.
runUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Monitor The directory on the target servers that you want to monitor for
Directory files.
monitorDir
Completion (Optional.) The directory on the target servers to which you want
Directory files moved when processing is completed in the Monitoring
Directory or Working Directory.
completionDir
Error Directory The directory on the target servers to which you want files
moved when processing fails.
errorDir
clusterEnabled Yes indicates that you want the target servers to allow
clustering in the Monitoring Directory.
No indicates that you do not want the target servers to allow
clustering in the Monitoring Directory.
Run Services The user name you want the target servers to use when running
as User the service.
runUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Directories are For use on a UNIX system where the monitoring directory,
NFS mounted working directory, completion directory, and/or error directory
file system are network drives mounted on the local file system.
NFSDirectories No indicates that you want the listener to call the Java
File.renameTo() method and move the files from the
monitoring directory to the working directory, and from the
working directory to the completion and/or error directory.
This is the default.
Yes indicates that you want the listener to first call the Java
File.renameTo() method to move the files from the monitoring
directory. If this method fails, the listener will copy the files
from the monitoring directory to the working directory and
delete the files from the monitoring directory. This operation
will fail if either the copy action or the delete action fails. The
same behavior applies when moving files from the working
directory to the completion and/or error directory.
FTP port:
Port The port number you want to use for the FTP port on the target
servers. Select a number that is not already in use on the target
port
servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
FTPS port:
Port The port number you want to use for the FTPS port on the target
servers. Select a number that is not already in use on the target
port
servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
Secure Clients Specify whether you want to prevent the FTPS listener from
Only operating with non-secure clients.
secureclients True prevents the FTPS listener from operating with non-secure
clients.
False allows the FTPS listener to operate with non-secure
clients.
Port The port number you want to use for the HTTP port or HTTPS
port on the target servers. Select a number that is not already in
port
use on the target servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
Quiesce port:
Quiesce Port The Integration Server port to use as the quiesce port on the
target servers.
quiesceport
Note: Ensure that the port alias is associated with either the
WmRoot or the WmPublic package and is of type HTTP or HTTPS.
Substitution Values
Port Number The port on which this proxy server listens for requests.
port
User Name The user name Integration Server must use when accessing this
proxy server.
username
Password The password Integration Server must use to access this proxy
server.
password
Substitution Values
Addresses The fully qualified host and domain name of each server to
which you want the Integration Server to issue requests directly.
addresses
Type the host name and the domain name exactly as they appear
in the URLs the server uses. To enter multiple names, separate
each with commas.You can use the asterisk (*) to identify several
servers with similar names. The asterisk matches any number of
characters. For example, if you want to bypass requests made to
localhost, www.yahoo.com, home.microsoft.com, and all hosts
whose names begin with NYC, you would type:
localhost,www.yahoo.com,home.microsoft.com, NYC*.*
Substitution Values
Inactivity The length of time for which a reliable messaging source waits
Timeout for an acknowledgement from a reliable messaging destination
before the source stops retransmiing the SOAP message.
inactivity
Timeout If the reliable messaging source does not receive an
acknowledgement within the inactivity timeout specified, it
marks the sequence as timed out. You cannot use a sequence if it
is timed out. To indicate that there is no inactivity timeout limit,
set the value of Inactivity Timeout as -1.
Inactivity The unit of measure for the inactivity Timeout property. You
Timeout can specify the unit of measurement as seconds, minutes, hours,
Interval or days. The default is 60 seconds.
inactivity
TimeoutMeasure
Sequence The length of time for which a reliable messaging source waits
Removal for an acknowledgement from a reliable messaging destination
Timeout before it terminates the sequence and removes the sequence
from the memory.
sequenceRemoval
Timeout
Note: Deployer does not export remote server aliases that use the alias name “local”.
Substitution Values
Host Name The host name or IP address of the remote server represented by
the alias.
host
Retry Server Host name or IP address of the remote server you want the target
Integration Server to connect to if the primary remote server is
retryServer
unavailable.
Port The port number that is used by the remote server specified by
the alias.
server_port
User Name User name the target server will use to access and invoke
services on the remote server.
user
Substitution Values
None.
Scheduled Tasks
Substitution Values
Run as User User name the target servers will use when running the service.
runAsUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Cluster Target Specifies whether you want the task to run on other target
Node servers in the cluster.
Target Any server indicates that you want the task to run on only one
server in the cluster, and it does not maer which one.
All servers indicates that you want the task to run on all servers
in the cluster.
Enter a specific server name in the cluster if the task needs to
run on only a specific server.
Note: To use this parameter, the source server must be enabled for
clustering and the target servers must belong to a cluster.
Suspend Specifies whether you want to suspend the existing task during
During deployment.
Deployment
True indicates that you want to suspend the task during
suspendDuring deployment.
Deploy
False indicates that you want the task to run as scheduled
during deployment.
None indicates that you want to use the global value specified
on the Deployment Map Properties > Configure Builds by Assets
screen and by the Suspend tasks during deployment value in the
project map file. The default value is None.
Activate after Specifies whether you want to activate the existing task after
deployment deployment.
activateAfter
True indicates that you want the task to activate after
Deploy
deployment.
False indicates that you want the task to suspend after
deployment.
None indicates that you want to use the global value specified
on the Deployment Map Properties > Configure Builds by Assets
screen and by the Activate tasks after deployment value in the
project map file.
The default value is True if the scheduled task is active (not
suspended) on the source server. The default is False if the
scheduled task is suspended on the source server.
Substitution Values
Port Number Port number of the SFTP server. The port number must be within
the range of 0 and 65535 (inclusive).
port
Host Key Location of the public key file of the SFTP server. Integration
Location Server populates this field with the host key file of the source
Integration Server. You can change the value of this field to
hostKey
specify a different host key file for deployment.
Location
Important: The public key file must be present on the same machine
in which you have installed Integration Server.
Substitution Values
userName
Password Password for the specified user to connect to the SFTP server if
you are using password authentication.
password
PassPhrase Passphrase for the private key file of the specified user if you
are using public key authentication and if the private key you
passPhrase
specified requires a passphrase.
Private Key The location of the private key file of the specified SFTP user
Location if you are using public key authentication. Integration Server
populates this field with the private key file of the source
privateKeyFile
Integration Server. You can change the value of this field to
Location
specify a different private key file for deployment.
Note: You can use compression only if the SFTP server that you are
connecting to supports compression.
SFTP Server The alias of the SFTP server to which you want the user specified
Alias using the User Name property to connect.
sftpServer
Alias
Truststore Alias
Substitution Values
Password Password associated with this alias that is used to protect the
contents of the truststore.
ksPassword
Use Source Specifies whether the target Integration Server uses the truststore
Truststore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Truststore truststore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different truststore file than the source Integration Server.
Users
Substitution Values
None.
Substitution Values
Transport Properties:
Host Name Host name or IP address of the server on which the web service
resides. (Provider and consumer web service endpoint alias
host
only.)
Port Number Active HTTP or HTTPS type listener port defined on the host
server or proxy server. (Provider and consumer web service
port
endpoint alias only.)
User Name User name used to authenticate the consumer at the HTTP
or HTTPS transport level on the host server. (Consumer and
transportUser
message addressing web service endpoint alias only.)
Message Properties:
User Name The user name to include with the UsernameToken. (Consumer
web service endpoint alias only.)
messageUser
Partner's Path and file name of the file containing the provider's certificate.
Certificate (Consumer and message addressing web service endpoint alias
only)
partner
Certificate
FileName
Use Source Specifies whether the target Integration Server uses the partner
Partner's certificate file from the source.
Certificate
True indicates that the target server uses the partner certificate
useSource file from the source. During deployment, Deployer copies the
Partner partner’s certificate from the source machine to the location on
Certificate the destination machine specified in Partner’s Certificate. This is
the default value.
False indicates that the target server will use a different partner
certificate file than the source the source partner.
Note: The reliable messaging properties apply only to consumer and provider web
service endpoint aliases of transport type HTTP and HTTPS.
Substitution Values
None.
Asset Dependencies
Asset Dependencies
Client User
certificate
Note: Default users (for example, Administrator) are not listed as
dependencies.
LDAP Group
configuration
Note: Default groups are not listed as dependencies.
Web service Keystore alias, truststore alias, JMS trigger name (provider
endpoint JMS), proxy alias (consumer HTTP and HTTPS), keystore alias
alias (consumer HTTPS), JNDI alias (consumer JMS), JMS alias
(consumer JMS), web service endpoint alias (provider HTTP,
HTTPS, and JMS)
Or:
Note: In order to retain ACL information for the package assets, you must add ACL
configuration files to the config folder.
In the above example, you would define SRC_ROOT as the value of the
build.source.dir property in the build.properties file. For more information about the
build.properties file, see "Seing Build Properties" on page 34.
When run, the build script creates the following:
A composite named package_name .zip for each package included in the source
directory, where package_name is the name of the package (with a composite type
ID of ispackage). For this example, the files would be named packageA.zip and
packageB.zip.
A composite named isconfiguration.zip (with a composite type ID of
isconfiguration) that contains the administrative assets contained in the config
directory.
Build package composites separate from other administrative assets. If your source
directory contains several packages and you want to generate composites from only
a select number of those packages, you can use the build.source.project.dir property
to specify only those packages you want to include. For example, in the following
source directory there are three packages: packageA, packageB, and packageC:
You can generate a composite that contains only packageA and packageB by seing
the value of the build.source.project.dir property to:
SRC_ROOT/packageA;SRC_ROOT/packageB
In this example, since the config directory is not located in SRC_ROOT, you must
specify the location of config directory in the is.acdl.config.dir property of the
build.properties file.
When run, the build script creates a composite named package_name .zip for each
package defined for build.source.project.dir, where package_name is the name of the
package (with a composite type ID of ispackage).
Using the above example, build.source.project.dir is set to “SRC_ROOT/
packageA;SRC_ROOT/packageB”. When the build script runs, it will generate
composites for packageA and packageB. Since packageC is not defined for
build.source.project.dir, the build script ignores it. Since the packages are named
“packageA” and “packageB” in the source directory, the build script names the
composites packageA.zip and packageB.zip.
For more information about seing properties in the build.properties file, see
"Seing Build Properties" on page 34. For more information about building
composites for repository-based deployment, see "Building Composites for
Repository-Based Deployment" on page 31.
Value Description
Activate Specifies whether you want the Integration Server to activate the
Package on package immediately upon installation.
Install
True indicates that you want the server to activate the package
(activatePkgOn after it is installed.
Install)
False indicates that you do not want the server to activate the
package after it is installed.
The default value is True.
Value Description
Value Description
disallowActivePackageInstall would otherwise allow
deployment to succeed.
Mobile sync MSCConfigSeing Ensure that the business document type and
components the download and upload services specified
for Mobile for the mobile sync components are present
Support on the target server.
URL aliases isurlalias The URL Alias asset refers to the URL
aliases created for the server or a package.
The URL Alias asset does not refer to the
URL aliases created for services in Designer
or Developer. URL aliases for services are
deployed along with the service when a
package is deployed.
Adding Adapter Runtime and .NET Service Assets to the Source Directory
To include adapter runtime and .NET service assets in the composite for deployment,
you must manually copy or check in the Integration Server_directory\instances
\instance_name \packages folder to the source directory.
The build script creates a composite named package_name .zip, where package_name is
the name of the package. For example, if the package name is “adapter_service”, the
composite name is adapter_service.zip. For more information about building composites
for repository-based deployment, see "Building Composites for Repository-Based
Deployment" on page 31.
Asset Dependency
Adapter None
Connections
.NET Asset
The following table lists the .NET asset that you export and deploy using Integration
Server and its values:
Note: The .NET service asset is not a dependent asset. However, ensure that the values
in the Assembly Path and Assembly Name fields that you provide for the target Integration
Server during variable substitution are valid.
Assembly Name
(assemblyName). The name
of the .NET assembly in
which the method called by
the .NET services resides.
Optimize Assets
webMethods Optimize enables you to export assets such as dimensions, event
maps, dimension hierarchies, data filters, process configurations, intelligent links, or
rules to Deployer. Using Deployer, you can deploy your Optimize assets to another
Optimize Analytic Engine and share the assets that you created in Optimize with other
applications.
This section lists the following:
Asset types that Optimize supports for exporting
Asset dependencies
Other Assets
The following table describes additional user-created assets that you can include in
deployment projects. It includes:
Assets you can deploy
Asset dependencies