Modifying a broker on Linux and UNIX systems

To modify a broker on Linux and UNIX systems:

  1. Stop the broker using the mqsistop command.
  2. Enter the mqsichangebroker command with the parameters that you want to change: mqsichangebroker brokername <<-i ServiceUserID> -a ServicePassword> <-p DatabaseSourcePassword> <-s UserNameServerQueueManagerName> <-j | -d> <-t | -n> <-l UserLilPath> <-g ConfigurationTimeout> <-k ComfigurationDelayTimeout> <-v StatisticsMajorInterval> <-P HttpPort> where:
    brokername
    Is the broker name.
    -i
    Is the service user ID that is used to run the broker.
    -a
    Is the password for the broker user ID.
    -p
    Is the password for the broker's database user ID.
    -s
    Is the WebSphere MQ queue manger for the User Name Server
    -j
    Indicates that publish/subscribe access control is to be enabled for this broker.
    -d
    Indicates that publish/subscribe access control is to be disabled for this broker.
    -t
    Indicates that the broker runs as a WebSphere MQ trusted application (not supported on AIX)
    -n
    Indicates that the broker should cease to run as a WebSphere MQ trusted application.
    -l
    Indicates from where LIL (loadable implementation libraries) files are loaded.
    -g
    Is the maximum time (in seconds) to allow a broker to process a deployed message.
    -k
    Is the maximum time (in seconds) to allow a broker to process a minimum size deployed message.
    -v
    Is the time (in minutes) for the duration of the interval for collecting statistics archive records.
    -P
    Is the port that the broker HTTP listener will use.

    For example, to change the user ID that is used to run the broker, enter the following command at the command prompt:

    mqsichangebroker WBRK_BROKER -i wbrkuid -a wbrkpw
  3. Restart the broker using the mqsistart command. The broker restarts with the new properties.
If you cannot change a property using mqsichangebroker, delete the broker and then create a new one with the new properties.
Related concepts
Brokers
Broker domains
Related tasks
Starting and stopping a broker
Creating a broker
Deleting a broker
Related reference
mqsichangebroker command
mqsistart command
mqsistop command