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