For the developer tools to connect to a fabric, you must provide certain details about the fabric.
To specify the details for connecting to a fabric:
In Fabric Explorer, right-click to open the context menu, and then select to open the Fabric Details wizard, as shown in Figure 14.
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 URLs, and this name will appear in Fabric Explorer.
The default Name is Local Fabric.
In URLs, enter the url, in the form
hostname:port
, of the fabric to which you want to
connect. This URL specifies the location of a fabric registry
agent, whose default port is 2181
.
The default URL is localhost:2181.
In User name, enter the name used to log into the specified fabric.
This is the new user name specified when the fabric was created or is stored
in Red Hat Fuse IDE's
installDir
/etc/users.properties
file. In that file, user information is specified using this format:
user=password,role
(for example,
admin=admin,admin
).
You can also discover the user name by issuing the command
JBossFuse:karaf@root>jaas:users
, if the Jaas realm has been
selected for the fabric.
In Password, enter the password required for User name to log into the specified fabric.
This is the password specified for the new user name when the fabric was
created or is stored in Red Hat Fuse IDE's
installDir
/etc/users.properties
file.
In Zookeeper Password, enter the password required for logging into the specified fabric's zookeeper registry.
This is the password that was specified or generated when the fabric was
created, or it is the user's password stored in Red
Hat Fuse IDE's
installDir
/etc/users.properties
file.
You can also discover the Zookeeper password by issuing the command
JBossFuse:karaf@root>fabric:ensemble-password
.
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 Connecting to a fabric |