Chapter 17. Importing a Profile
Abstract
Importing a profile allows you to add a pre-built profile to your fabric. This can be used for testing, disaster recovery, or enforcing standards across an organization.
Overview
Importing a profile is a fast way of adding a pre-built configuration to a fabric. The import process recreates the original profile exactly. This is useful for adding standardized profiles to a fabric, recreating a fabric on different hardware, and testing.
The management console imports a profile from a profile archive containing the data needed to recreate the original profile. The data consists of a folder for the profile. The profile's folder contains at least one properties file,
org.fusesource.fabric.agent.properties
, that configures the container's agent to load the proper bundles. In addition, the profile's folder will contain a copy of any other configuration file used by the profile.
The easiest way to generate a profile archive is by exporting it using the management console. For details, see Section 19.2, “Exporting a Profile”
Procedure
To import a profile:
- Selectfrom the main menu.The Profiles page opens.
- From the Versions table, select a version in which to store the profile.ImportantThe imported profile will only exist in the version selected in the Versions table.
- Click.The Import Profile dialog appears.
- Click.A file selector will open.
- Select the file containing the profile archive to import.ImportantIf you select an archive containing a copy of a profile that already exists in the fabric, the imported version will overwrite the fabric's copy.
- Click.The dialog will close and the new profile will be listed in the Profiles table.