associates requirements with the specified profile
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-camelprofile, you would enter the following command:
karaf@root> require-profile-set --minimum 2 --maximum 4 example-camel
Table 9.50, “fabric:require-profile-set Arguments” describes the command's arguments.
Table 9.50. fabric:require-profile-set Arguments
| ||Displays the online help for this command|
| ||The minimum number of instances of this profile expected to be running in the fabric.|
| ||The maximum number of instances of this profile expected to be running in the fabric.|
| ||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, |
| ||A profile ID.|