To create an instance of Rule Execution Server on
an existing WebSphere® Application
Server instance,
you can augment the profile by using the manageprofiles command.
Before you begin
Before you augment an existing
WebSphere 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 prompted to select the database manager,
which hosts the tables for the event run time. If you are not using
Apache Derby, create the database before you create a profile. See Step 3: Setting up the database.
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 supported only on 32-bit operating
systems. The Profile Management Tool is not supported on HP-UX operating
systems, nor is it on z/OS®.
The procedure describes how to use the manageprofiles command
to augment Rule Execution Server 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 files are manageprofiles.bat for Windows or manageprofiles.sh for Linux and UNIX environments.
- Required: 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/ds.
- -profileName profile_name
- where profile_name is the name of the existing
application server profile that you are augmenting.
- Optional: Specify the following parameters.
- -dsHome installation location
- where installation location is the fully qualified
path that is the installation location for Decision Server.
You must specify this parameter if Decision Server is
installed in a location other than 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.
If you do not specify this parameter, the default is false.
- -adminUserName username
- where username is the user ID to access WebSphere Application
Server. Required
only if enableAdminSecurity is enabled.
- -adminPassword password
- where password is the password for the user
ID to access WebSphere Application
Server.
Required only if enableAdminSecurity is enabled.
- -dbType database_type
- where database_type specifies the database
product. Valid values:
- 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 you run the
manageprofiles command,
the profile is augmented.
Examples
The following examples show how
to configure Rule Execution Server with
the default messaging provider.
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\ds"
-dsHome "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/ds" -dsHome
/opt/ibm/ODM890/ODM -profileName AppSrv01
The
following examples show how to unaugment Rule Execution Server from
an existing profile.
The first example unaugments an existing
Decision Server application
server profile, called ODMSrv01, on Windows.
manageprofiles.bat -unaugment -templatePath "C:\Program Files\IBM\ODM890\WAS\profileTemplates\rules\default\ds"
-profileName ODMSrv01
The second example unaugments an
existing
Decision Server application
server profile, called ODMSrv01, on Linux and UNIX.
manageprofiles.sh -unaugment -templatePath "/opt/ibm/ODM890/ODM/WAS/profileTemplates/rules/default/ds"
-profileName ODMSrv01