MQTT_BROKER_PORT

For LSF resource connector. If you do not use the MQTT message broker daemon (mosquitto) that is provided with LSF, specifies the TCP port for the MQTT message broker daemon (mosquitto). The MQTT message broker receives provider host information from ebrokerd and publishes that information for the bhosts -rc and bhosts -rconly command options to display.

Syntax

MQTT_BROKER_PORT=port_number

Description

After configuring this parameter, run badmin mbdrestart on the management host to restart ebrokerd.

If you use the mosquitto daemon from the LSF distribution, and you define a port that is not the default 1883, you also must define the port in $LSF_ENVDIR/mosquitto.conf. LIM then starts the mosquitto daemon with the non-default port and ebrokerd connects the MQTT broker via the port defined in the lsf.conf file.

If you are using an external mosquitto daemon, the port number you define in MQTT_BROKER_PORT must be the same port in the external mosquitto.conf file.

Example

MQTT_BROKER_PORT=4477

Default

1883.

See also

  • EBROKERD_HOST_CLEAN_DELAY
  • LSF_MQ_BROKER_HOSTS
  • MQTT_BROKER_HOST
  • bhosts -rc and bhosts -rconly