manage-profile generate-profile
To create a server profile from a configured server, use the generate-profile
subcommand. The generated profile contains the following information, which provides a base for completing a profile:
-
Command-line arguments that were used to set up the server
-
dsconfig
commands necessary to configure the server -
Installed server SDK extensions
-
Files that are added to the server root
To produce a complete profile, some parts of the generated profile might require modifications, such as adding password files that setup-arguments.txt
uses. The --instanceName
and --localHostName
arguments in setup-arguments.txt
are made variables by generate-profile
, and must be provided values when other manage-profile
subcommands use the generated profile.
LDIF files must also be added manually to the generated profile.
The --excludeSetupArguments
option generates a server profile without a setup-arguments.txt file. This is useful when generating server profiles for use with Docker images.