When you deploy a solution to a production target object store, the items that are
defined in the solution package are created in the target object store. For example, the document
classes that you defined are created as document class instances.
Before you begin
Ensure that you exported the solution package from the
development environment design object store and imported it to the
production environment staging object store.
Be sure to have
your completed configuration checklists available.
About this task
The IBM® Business Automation
Workflow
Case administration client stores your settings for the case
deployment profile in a set of XML configuration files that is called a profile. The XML files
contain the properties and values that describe the associated configuration and deployment tasks.
You must provide values for the profile properties that are specific to each configuration at your
site, such as the application server name.
The
following table lists the configuration information and the file for
deploying a solution to a production object store.
Table 1. Case deployment configuration
tasks and files
| Configuration and task information |
XML file |
Settings for deploying an IBM Business Automation
Workflow solution into a production
target object store.
You need one configuration file for each
production environment target object store that you deploy a solution
to. You can create additional task files in the same profile, or you
can create a separate profile for the additional settings. When you
generate a second solution deployment configuration file in a profile,
it is named deploysolution.2.xml. The file name
increments for each new file that you generate. You cannot change
the file name, but you can edit the value in the file for the name
of the task.
|
deploysolution.xml
deploysolution.n.xml.
n is an integer starting with 2.
|
Procedure
To deploy a solution:
-
Change the current directory to the
install_root/CaseManagement/configure directory. Where
install_root is the location where IBM Business Automation
Workflow is installed.
-
If you want to create additional
deployment configuration files in the same profile, generate an additional deploysolution.n.xml file
by running the following command. Do not type any line breaks when
you enter the command:
configmgr_cl generateConfig
-task deploysolution
-profile myprofile
-profileType prodenv
[-silent] [-force]
- -profile myprofile
- Specifies the profile to use. The myprofile value
can be one of the following items:
- The name of the profile, such as develop1. The profile is located in the
install_root/CaseManagement/configure/profiles directory.
install_root is the location where IBM Business Automation
Workflow is installed.
- The full path to the profile directory, such as "install_root\CaseManagement\configure\profiles\develop1" or /install_root/CaseManagement/configure/profiles/develop1.
- The full path to the profile input file, such as "install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp" or /install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp.
- -profileType prodenv
- Specifies the type of profile and must be prodenv for WebSphere® Application
Server.
- -silent
- Optional: When you specify the -silent parameter, no prompts or
informational messages are shown in the console, but the errors are written to the log. Failure
messages and validation error messages are shown as needed, such as messages about missing passwords
or invalid port numbers. If you run the execute command to run all the activities
in a profile and you specify the -silent parameter, you must also specify the
-force parameter.
- -force
- Optional and applies only when the -silent parameter is used. When you
specify the -force parameter, the activity is run without pausing for required
responses to validation error messages, such as messages about missing passwords or invalid port
numbers.
For example, the following command
generates one
deploysolution.n.xml files
for the existing case deployment profile that is named deploy_solution:
configmgr_cl generateConfig
-task deploysolution
-profile deploy_solution
-
Edit the property values in the deploysolution.xml files
that you generated in the case deployment profile:
-
Use a text editor or XML editor
to open one of the configuration XML files that you generated.
-
Replace each occurrence of
****INSERT VALUE**** with
a value appropriate for your site.
See the descriptions
in the file for more information and use your configuration checklists.
Important: You are not required to store values
for passwords in the file. You can run the storePasswords command
later to add encrypted passwords to the file.
-
Replace empty values that have the format
<value
/> with a value appropriate for your site.
Use
the format <value>my_value</value>.
-
Verify that the default values for the remaining properties
are correct for your site.
-
Set the enabled attribute value
in the <configuration> tag to true in
any configuration XML file that you edit if you want to run the configuration
task.
When a task is disabled, the execute command
skips the task.
-
Save your edits and close the XML
file.
-
Repeat as needed until you edit all the deploysolution.n.xml files
for your profile.
-
Run the deploysolution tasks
in the profile one at a time by running the following command. Do
not type any line breaks when you enter the command:
configmgr_cl execute -taskfile task_file_name
-profile myprofile [-silent] [-force]
Where task_file_name is the name of the task
file: deploysolution.xml or deploysolution.n.xml and n is
a number larger than 2.
-
Repeat 4 as
needed for each deploy solution task file that you generated in this
profile.
- Optional:
Assign users to the roles for this
case:
-
Run the test command to assign users by running the
following command. Do not type any line breaks when you enter the
command:
configmgr_cl test -taskfile task_file_name
-profile myprofile [-silent][-force][-help]
Where task_file_name is
the name of the task file: deploysolution.xml or deploysolution.n.xml and n is
a number larger than 2.
The Case Client opens for you to assign
users to the roles for this solution.
-
Add users to the roles.
-
Repeat as needed for each deploy solution task file
that you generated in this profile.