Allowing endpoints to connect to a broker
To allow the broker to accept connections from controllers and targets you can define and configure inbound connections using the trc_broker.properties file.
About this task
Note:
To configure inbound connections complete the following
steps:- Do not prefix with # or ! as these are reserved for comments in properties files.
- If you want to include spaces in the prefix you have to escape
them with \
for example : my connection.ConnectionType
should be defined as my\connection.ConnectionType
Procedure
- Configure the following parameters within the trc_broker.properties file
- ConnectionType
- Defines the type of connection. Should be set to Inbound or Inbound6 when
you are using IPv6 networks.
For example: my\connection.ConnectionType=Inbound
- PortToListen
- Defines the TCP port that endpoints should use to connect to this broker. The port for listening for inbound connections. Required parameter.
- AllowEndpoints
- Determines whether endpoints can connect to this broker.
- Yes
- Endpoint connections can be made to this broker. This is the default value.
- No
- Endpoint connections cannot be made to this broker.
- AllowBrokers
- Determines whether other brokers can connect to this broker. Set
to No or <blank> means
other brokers cannot connect to this broker. If other brokers can
connect to this broker, provide a list of brokers that are allowed
to connect. For example
broker1.ibm.com,broker2.ibm.com,broker3.ibm.com
.Note: The hostnames listed here must match the certificate and the hostnames used when registering the brokers in the remote control server.
- Save the file.