5.2. Installing into a Fabric Container
Overview
The
fmc
profile configures a container to become a management console server. You only need to apply the profile to one container in a fabric to enable the management console.
Procedure
To install the management console into a Fabric Container:
- Open a command console for one of the containers in the fabric.
- Install the management console's profile using the fabric:container-add-profile command shown in Example 5.2, “Installing the Management Console Profile”.
Example 5.2. Installing the Management Console Profile
>
fabric:container-add-profile containerName fmccontainerName is the name of the container into which the management console will be installed - In your Web browser, open the management console.The console will be hosted at the container's HTTP service port. To determine the container's HTTP service port:
- Connect to the container into which you deployed the
fmc
profile using the fabric:container-connect command. - Use the config:list command to see the container's configuration.
- Locate the
org.ops4j.pax.web
PID. - See the value assigned to the
org.osgi.service.http.port
property.
If theorg.osgi.service.http.port
is not set for this container, you can set it by adding the property to thefmc
profile as shown in Example 5.3, “Setting a Fabric Container's HTTP Port”.Example 5.3. Setting a Fabric Container's HTTP Port
>
fabric:profile-edit -p org.ops4j.pax.web/org.osgi.service.http.port=portNumber fmc