In the second scenario, you must change the SM_BROKER_DEFAULT host variable in the runcmd_env.sh file and change the --startmode value.

  1. Change the SM_BROKER_DEFAULT host variable in the runcmd_env.sh file, which is located in the BASEDIR/smarts/local/conf directory:

      SM_BROKER_DEFAULT=<host>:<value>
    
  2. Additionally, you must change the --startmode value in the sm_service install Broker command line from runonce to disable.

    Use the sm_service show action with the --cmdline option to display the existing install Broker command line.

                   
                   
                      BASEDIR/smarts
                   /bin/sm_service show --cmdline ic-broker
    
    
                   
                      BASEDIR/smarts
                   /bin/sm_service install
      --startmode=runonce 
      --env=SM_CLIENTCONNECT=brokerConnect.conf ic-broker
    
                      BASEDIR/smarts
                   /bin/brstart                                                  
      --port=<PORT> 
      --output 
      --restore=
                      BASEDIR/smarts
                   /local/repos/broker/broker.rps
    
    t 
                      BASEDIR/smarts
                   /bin/sm_service install --force
      --startmode=disable
      --env=SM_CLIENTCONNECT=brokerConnect.conf ic-broker
    
                      BASEDIR/smarts
                   /bin/brstart                                                   
      --port=<PORT> 
      --output 
      --restore=
                      BASEDIR/smarts
                   /local/repos/broker/broker.rps s