Profile commands in a multi-profile environment

When two or more profiles exist within one installation of IBM® Business Process Manager, certain commands require that you specify the profile to which the command applies. Alternatively, you can use the versions of the commands that exist in the bin directory of the profile that you want to act on.

The first profile that you create within one installation of IBM Business Process Manager becomes the default profile. (You can optionally change the default profile when you create another profile later.) The default profile is the default target for commands issued from the bin directory in the directory where IBM Business Process Manager is installed. You can set any new profile to be the new default profile. If only one profile exists on a system, every command operates on that profile.

To target a command to a profile other than the default, you must issue the command as follows:
  • If you want to issue the command from any directory, follow the command with the -profileName parameter and the name of the profile to address. For example:
    <install_root>/bin/startServer server1 -profileName <profilename>
  • To overcome having to specify the -profileName parameter for a command, use the version of the command that exists in the bin directory of the profile to address. The directory is one of the following based on platform:
    • For Linux operating systemFor UNIX operating system profile_root/bin
    • For Windows operating system profile_root\bin
    Where profile_root defaults to <install_root>/profiles/<profileName>
Note: You can modify the BPMConfig properties file to specify any other profile_root directory when creating the profile.