Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The default behavior of Image Modified is to store batch transaction state information in a database, i e Derby,Oracle, or PostgreSQL.

...

  1. The service runs on SCs that have the value platform in the property mz.servicehost.natures, e g the pre-configured SC psc1. Run the following commands if you want to create another SC that hosts the service:

    Code Block
    languagetext
    themeEclipse
    $ mzsh topo set topo://container:<container>/pico:<sc name> 'template:mz.standard-sc'
    $ mzsh topo set topo://container:<container>/pico:<sc name>/obj:config.properties '{
     mz.servicehost.natures="platform"
     mz.servicehost.port.range="<start port>-<end port>"
    }'

      

  2. The platform will be restarted in one the following steps. For this reason, it is recommended that you disconnect all ECSAs in order to keep real-time workflows running.

    Code Block
    $ mzsh mzadmin/<password> disconnect <ecsa name> ...

     

  3. Disable all workflow groups from the Execution Manager in Desktop, or by entering an mzsh command, for example:

    Code Block
    languagetext
    themeEclipse
    $ mzsh mzadmin/<password> wfgroupdisable \*


    Note
    titleNote!

    If you use the wfgroupdisable command, make sure that you enable all system tasks again when you are done.


  4. Stop all batch workflows and let them finish execution.
     
  5. Shut down all connected Desktops.

    If you want to see which Desktops that are connected, you can use the following command:

    Code Block
    languagetext
    themeEclipse
    $ mzsh mzadmin/<password> pico -view

      

  6. Shut down all ECs the ECSAs that have not been disconnected.

    Code Block
    languagetext
    themeEclipse
    $ mzsh shutdown <ec name> <ecsa name>


  7. Make sure that the Platform is running.

    Code Block
    languagetext
    themeEclipse
    $ mzsh status platform


  8. Start the SC(s) that will run the service, e g psc1.

    Code Block
    languagetext
    themeEclipse
    $ mzsh startup <sc name>

      

  9. Run the script enable-sbts.sh in MZ_HOME/scripts/system-configure from the Platform Container. The script adds the standard service txn-id-service to the STR. Once the script is completed, generation of transaction ids will be handled by the SC instead of the Platform. 

    Code Block
    languagetext
    themeEclipse
    $ cd $MZ_HOME/scripts/system-configure
    $ ./enable-sbts.sh mzadmin <password>

      

  10. Restart the platform and the SCs that will run the  SBTS service.

    Code Block
    $ mzsh shutdown platform <sc names>
    $ mzsh startup platform  <sc names>


  11. Start the standard services.

    Code Block
    $ mzsh service start --scope standard

     

  12. Start all EC/ECSAs that were previously shut down.

    Code Block
    themeEclipse
    $ mzsh startup <ec names> <ecsa names>


  13. Enable the workflow groups.
      
  14. You can now configure where the transaction state information should be stored for each workflow configuration, using the Workflow Properties in Desktop. For further information, see 3.1.8.5 Execution Tab in the Desktop User's Guide.


    Page Properties
    hiddentrue