此内容没有您所选择的语言版本。
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 fmc
>fabric:container-add-profile containerName fmcCopy to Clipboard Copied! Toggle word wrap Toggle overflow containerName 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
fmcprofile using the fabric:container-connect command. - Use the config:list command to see the container's configuration.
- Locate the
org.ops4j.pax.webPID. - See the value assigned to the
org.osgi.service.http.portproperty.
If theorg.osgi.service.http.portis not set for this container, you can set it by adding the property to thefmcprofile 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
> fabric:profile-edit -p org.ops4j.pax.web/org.osgi.service.http.port=portNumber fmcCopy to Clipboard Copied! Toggle word wrap Toggle overflow