Chapter 16. Creating a New Profile
Abstract
A profile is a collection of related configuration data that can be deployed to a container. A profile can inherit from other profiles. A newly created profile will not have any of its own configuration information specified.
Overview
A profile is a collection of configuration data that is deployed to one or more containers in a fabric. It contains details about Apache Karaf features to be loaded, OSGi bundles to be loaded, settings that customize the runtime behavior, and Apache Karaf feature repositories. Profiles are additive and can inherit properties from parent profiles.
New profiles can be created from the Profiles page of the console. When a new profile is created, it contains no data. The only configuration associated with the new profile is the data inherited from its parent profiles.
Important
Parent profiles are directly linked to their children. If one of the parent profiles are changed, all of the profiles that inherit from it are also affected.
Procedure
To create a new profile:
- Selectfrom the top menu.The Profiles page opens.
- From the Versions table, select a version in which to store the profile.ImportantThe newly created profile will only exist in the version selected in the Versions table.
- Click.The Create New Profile dialog appears.
- In the Name field, enter a unique name for the profile.
- From the Parent Profiles list, optionally select one or more profiles from which the new profile will inherit configuration.
- Click.The dialog will close and the new profile will be listed in the Profiles table.