
The
manageprofiles command
is another method of creating profiles in addition to the Profile Wizard (which
can be used in graphical mode or with silent response files). Using the Profile
Wizard or the response files (which in turn activate the Profile Wizard, but
"silently") is a sufficient method of creating a profile in most situations.
However, advanced users might find it desirable, in some circumstances, to
use the
manageprofiles command. You must use the
manageprofiles command
to unaugment and then delete a profile, for instance, because the Profile
Wizard does not provide these functions. Remember, before you delete a profile
you must unaugment it.


When the Profile Wizard (including
silent installation) is used to initially create or augment a profile, a command-line
version of the profile creation or augmentation is written to a log file.
You can extract this command line from the log file, carefully modify specific
portions of it, and use it to create or augment other profiles.

Important: IBM
strongly recommends that for WebSphere Process Server you initially use the
Profile Wizard or the silent installation process to create a new profile
or augment an existing WebSphere Application Server profile, and only use
the
manageprofiles command to "copy" such a profile or
augmentation or create one that is very similar.
Using the manageprofiles command to create and augment profiles contains step-by-step instructions for this procedure.

Profile types
Templates for each profile are located
in the
install_root/profileTemplates directory.
Within this directory are various directories that correspond to different
profile types. The directories are the paths that you indicate while using
the
manageprofiles command with the
-templatePath option.
You can also specify profile templates that lie outside the installation root,
if you happen to have any. The templates that should be used for WebSphere
Process Server are as follows:
- default.wbiserver: for a stand-alone profile
- managed.wbiserver: for a custom profile
- dmgr.wbiserver: for a deployment manager profile
manageprofiles.sh command syntax
Use
the following syntax and parameters with the manageprofiles command
to get information about your profiles, to delete profiles, or to unaugment
profiles. To create or augment a profile with manageprofiles, follow
the instructions in Using the manageprofiles command to create and augment profiles.
List
existing profiles:
# ./manageprofiles.sh -listProfiles
Remove the most recent augmentation for a profile:
# ./manageprofiles.sh -unaugment
-profileName profile_name
Delete
profiles:
Note: All augmentations must be removed from a profile before
you delete the profile. Otherwise unexpected results might occur.
# ./manageprofiles.sh -delete
-profileName profile_name | -profilePath profile_path
Get the name of an existing profile from its
path:
# ./manageprofiles.sh -getName
-profilePath profile_path
Get the path of an existing profile from its
name:
# ./manageprofiles.sh -getPath
-profileName profile_name
Check the integrity of the profile registry:
# ./manageprofiles.sh -validateRegistry
Check the integrity of the profile registry,
removing profiles that are not found:
# ./manageprofiles.sh -validateAndUpdateRegistry
[-backup file_name]
Get help for the command:
# ./manageprofiles -help
# ./manageprofiles -option_name -help
manageprofiles.bat command syntax

List existing profiles:
manageprofiles -listProfiles
Remove the most recent augmentation for a profile:
manageprofiles -unaugment
-profileName profile_name
Delete
profiles:
Note: All augmentations must be removed from a profile before
you delete the profile. Otherwise unexpected results might occur.
manageprofiles -delete
-profileName profile_name | -profilePath profile_path
Get the name of an existing profile from its
path:
manageprofiles -getName
-profilePath fully_qualified_profile_path
Get the path of an existing profile from its name:
manageprofiles -getPath
-profileName profile_name
Check the integrity of the profile registry:
manageprofiles -validateRegistry
Check the integrity of the profile registry, removing
any unfound profiles:
manageprofiles -validateAndUpdateRegistry
[-backup file_name]
Get help for the command:
manageprofiles -help
manageprofiles -option_name -help