此内容没有您所选择的语言版本。

Chapter 30. Specifying and Connecting to a Fabric


Before you can view and edit your fabric, you must add it to the Fabric Explorer view. You can add multiple fabrics in Fabric8 perspective and connect to them concurrently.

30.1. Adding fabric details

Overview

For the tooling to connect to a fabric, you must provide certain details about the fabric.

Procedure

To specify the details for connecting to a fabric:
  1. In Fabric Explorer, right-click Fabrics to open the context menu, and then select Add Fabric details to open the Fabric Details wizard, as shown in Figure 30.1.

    Figure 30.1. Fabric Details wizard

    defaults for connecting to a local fabric
  2. In Name, enter the name of the fabric to which you want to connect. The name you enter identifies the fabric whose location you specify in Jolokia URL, and this name will appear in Fabric Explorer.
    The default Name is Local Fabric.
  3. In Jolokia URL, enter the url, in the form http://hostname:port/jolokia/, of the fabric to which you want to connect. This URL specifies the location of a fabric registry agent, whose default port is 8181.
    The default URL is http://localhost:8181/jolokia/.
  4. In User name, enter the name used to log into the specified fabric.
    This is the user name that was either specified when the fabric was created or is defined in the Red Hat JBoss Fuse installDir/etc/users.properties file. In that file, user information is specified using this format: user=password,role (for example, admin=admin,Administrator).
    You can discover the user name by issuing the command JBossFuse:karaf@root>jaas:users, if the Jaas realm has been selected for the fabric.
  5. In Password, enter the password required for User name to log into the specified fabric.
    This is the password that was either specified for User name when the fabric was created or is defined in the Red Hat JBoss Fuse installDir/etc/users.properties file.
  6. In Zookeeper Password, enter the password required for logging into the specified fabric's zookeeper registry.
    This is the password that was either specified when the fabric was created or is the password of the first user defined in the Red Hat JBoss Fuse installDir/etc/users.properties file.
    You can discover the Zookeeper password by issuing the command JBossFuse:karaf@root>fabric:ensemble-password.
  7. Click OK.
    The fabric's name appears in Fabric Explorer as a node beneath Fabrics.
    Note
    Before you can view or modify a fabric's containers, profiles or versions, you must connect to the fabric. For details see Section 30.2, “Connecting to a fabric”

Related topics

Section 30.5, “Deleting a fabric's details”
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.