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:
  1. Open a command console for one of the containers in the fabric.
  2. 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 fmc
    containerName is the name of the container into which the management console will be installed
  3. 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:
    1. Connect to the container into which you deployed the fmc profile using the fabric:container-connect command.
    2. Use the config:list command to see the container's configuration.
    3. Locate the org.ops4j.pax.web PID.
    4. See the value assigned to the org.osgi.service.http.port property.
    If the org.osgi.service.http.port is not set for this container, you can set it by adding the property to the fmc 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
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.