To create an instance of Decision
Center on
an existing WebSphere® Application
Server,
you can augment the profile by using the manageprofiles command.
Before you begin
Before you augment an existing
WebSphere Application
Server application server profile, ensure that all application servers in the profile are stopped.
Use
the managesdk command with -enableProfile and
-setCommandDefault options to make the profile and any cluster script commands
use JDK 7. Use 1.7.1_64 as SDK name for the managesdk
command. For more information, see the WebSphere Application
Server
documentation.
During profile creation; you are asked to select the database manager,
which hosts the tables for the event runtime. If you are not using Apache Derby; create the database
before you create a profile. See Creating a data source and a connection pool.
About this task
You can use the
manageprofiles command
or the Profile Management Tool to augment an existing profile:
- The manageprofiles command is supported on all
operating systems.
- The Profile Management Tool is only supported on 32-bit operating
systems. The Profile Management Tool is not supported on an HP-UX
operating system, nor is it on z/OS®.
The procedure describes how to use the manageprofiles command
to augment Decision
Center on
an existing profile.
Procedure
- Open a command prompt (Windows)
or a terminal emulator (Linux and UNIX environments) and navigate
to the <WAS_InstallDir>/bin directory.
- Run the manageprofiles command. The
file is manageprofiles.bat for Windows or manageprofiles.sh for Linux and UNIX environments. Provide the following parameters:
- -augment
- To augment the existing profile.
- -unaugment
- To undo the augmentation of the profile.
- -templatePath <template_path>
- where <template_path> is the location
of the profile template. Provide the following value for the application
server profile: <WAS_InstallDir>/profileTemplates/rules/default/dc.
- -profileName profile_name
- where profile_name is the name of the existing
application server profile that you are augmenting.
Optionally, you can specify the following parameters:
- -dcHome installation location
- where installation location is the fully qualified
path that is the installation location for Decision
Center.
You must specify this parameter if you have installed Decision
Center in
a location different to the default.
- -profileName profile_name
- where profile_name is the name of the profile.
- -cellName cell_name
- where cell_name is the name of the cell.
- -nodeName node_name
- where node_name is the name of the node.
- -hostName host_name
- where host_name is the host name of the computer
that hosts the profile.
- -serverName server_name
- where server_name is the server name.
- -enableAdminSecurity true|false
- where true turns on WebSphere Application
Server administrative
security. If you provide this parameter, you must also provide -adminUserName and -adminPassword.
The default is false if you do not specify this
parameter.
- -adminUserName username
- where username is the user ID to access WebSphere Application
Server. Only
required if enableAdminSecurity is enabled.
- -adminPassword password
- where password is the password for the user
ID to access WebSphere Application
Server.
Only required if enableAdminSecurity is enabled.
- -dbType database_type
- where database_type specifies the database
product. Valid values are:
- Derby_Embedded: the default value
- DB2_Universal
- Derby_NetworkServer
- Oracle
- MS_SQL_Server
- -dbName database_name
- where database_name is the name of the database.
Required unless -dbType is Derby_Embedded.
- -dbUserId database_user_name
- where database_user_name is the user ID to
access the database server. Required unless -dbType is Derby_Embedded.
- -dbPassword password
- where password is the password for the user
ID to access the database server. Required unless -dbType is Derby_Embedded.
- -dbJDBCClasspath database_jdbc_classpath
- where database_jdbc_classpath specifies the
path to the JDBC class path files. Required unless -dbType is Derby_Embedded.
- -dbJDBCLicenseClasspath database_jdbc_license_classpath
- where database_jdbc_license_classpath specifies
the path to the JDBC class path files. Required only if -dbType is DB2_Universal.
- -dbHostName host_name
- where host_name is the host name for the database
server. Required unless -dbType is Derby_Embedded.
- -dbServerPort port_number
- where port_number is the port of the TCP/IP
service, or the port on which the database is listening. Required
unless -dbType is Derby_Embedded.
Results
After the
manageprofiles command has completed,
the profile is augmented.
Examples
The following examples show how
to configure Rule Execution Server with
the default messaging provider on Windows and Linux.
The first example augments
an existing application server profile called AppSrv01 on Windows by using embedded Apache Derby as
the database provider.
manageprofiles.bat -augment
-templatePath "C:\Program Files\IBM\ODM890\WAS\profileTemplates\rules\default\dc"
-dcHome "C:\Program Files\IBM\ODM890" -profileName AppSrv01
The second example augments an existing application server
profile called AppSrv01 on Linux and UNIX environments by using embedded
Apache Derby as the database provider.
manageprofiles.sh -augment
-templatePath "/opt/ibm/ODM890/ODM/WAS/profileTemplates/rules/default/dc" -dcHome
/opt/ibm/ODM890/ODM -profileName AppSrv01
The
following examples show how to unaugment Decision
Center from
an existing profile.
The first example unaugments an existing
Decision
Center application
server profile called WODMSrv01 on Windows.
manageprofiles.bat -unaugment -templatePath "C:\Program Files\IBM\ODM890\WAS\profileTemplates\rules\default\dc"
-profileName WODMSrv01
The second example unaugments
an existing
Decision
Center application
server profile called WODMSrv01 on Linux and UNIX.
manageprofiles.sh -unaugment -templatePath "/opt/ibm/ODM890/ODM/WAS/profileTemplates/rules/default/dc"
-profileName WODMSrv01