fabric:require-profile-set
Name
fabric:require-profile-set — associates requirements with the specified profile
Synopsis
fabric:require-profile-set
[
--help
] [
--minimum MinInstance
] [
--maximum MaxInstance
] [
--dependsOn Dependency
] {
Profile
}
Description
Requirements associated with a profile are used to assess the health of the current fabric. Profile requirements are entirely passive. For example, if the number of running instances of a profile is less than the minimum or greater than the maximum, monitoring tools can be configured to indicate a problem or to trigger an alert. Otherwise, the requirements have no effect on the fabric.
In Fuse IDE a green/red bar indicates what proportion of the required profile instances are currently running in the fabric.
For example, to require a range of 2 to 4 running instances of the
example-camel
profile, you would enter the following command:
karaf@root> require-profile-set --minimum 2 --maximum 4 example-camel
Arguments
Table 8.45, “fabric:require-profile-set Arguments” describes the command's arguments.
Argument | Interpretation |
---|---|
--help | Displays the online help for this command |
--minimum | The minimum number of instances of this profile expected to be running in the fabric. |
--maximum | The maximum number of instances of this profile expected to be running in the fabric. |
--dependsOn | The profile IDs that must be provisioned before this profile. To specify multiple profile IDs, specify this flag multiple times on the command line—for example, --dependsOn foo --dependsOn bar . |
Profile | A profile ID. |