Chapter 12. Importing a Configuration Version
Abstract
Importing a new configuration version allows you to add a pre-built set of profiles to your fabric. This can be useful when migrating to or from a test environment.
Overview
Importing a configuration version is a quick way of adding a collection of pre-built profiles into a fabric. The import process recreates the original version and all of its associated profiles exactly. This is useful for adding standardized profiles to a fabric, recreating a fabric on different hardware, and testing.
The management console imports a configuration version from a version archive containing the data needed to recreate the original profiles. The data consists of a folder for each profile in the version. Each profile 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 folders will contain a copy of any other configuration file used by the profile.
The easiest way to generate a version archive is by exporting it using the management console. For details, see Chapter 13, Exporting a Configuration Version
When a profile version is imported, a new version is created for it. The management console will use the name of the most recently added version and increment it to the next available version. For example, if the most recent version is
1
, the management console would create version 2
. If the most recent version is 2.0
, the management console would create version 2.1
.
Procedure
To import a configuration version:
- Selectfrom the main menu.The Profiles page opens.
- Click.The Import Version dialog appears.
- Click.A file selector will open.
- Select the file containing the version archive to import.
- Click.The dialog will close and the new version will be listed in the Versions table.