The default behavior of is is to store batch transaction state information in a database, i e Derby,Oracle, or PostgreSQL.
...
The service runs on SCs that have the value
platform
in the propertymz.servicehost.natures
, e g the pre-configured SCpsc1
. Run the following commands if you want to create another SC that hosts the service:Code Block language text theme Eclipse $ 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>" }'
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> ...
Disable all workflow groups from the Execution Manager in Desktop, or by entering an mzsh command, for example:
Code Block language text theme Eclipse $ mzsh mzadmin/<password> wfgroupdisable \*
Note title Note! If you use the
wfgroupdisable
command, make sure that you enable all system tasks again when you are done.- Stop all batch workflows and let them finish execution.
Shut down all connected Desktops.
If you want to see which Desktops that are connected, you can use the following command:
Code Block language text theme Eclipse $ mzsh mzadmin/<password> pico -view
Shut down all ECs the ECSAs that have not been disconnected.
Code Block language text theme Eclipse $ mzsh shutdown <ec name> <ecsa name>
Make sure that the Platform is running.
Code Block language text theme Eclipse $ mzsh status platform
Start the SC(s) that will run the service, e g
psc1
.Code Block language text theme Eclipse $ mzsh startup <sc name>
Run the script
enable-sbts.sh
inMZ_HOME/scripts/system-configure
from the Platform Container. The script adds the standard servicetxn-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 language text theme Eclipse $ cd $MZ_HOME/scripts/system-configure $ ./enable-sbts.sh mzadmin <password>
Restart the platform and the SCs that will run the SBTS service.
Code Block $ mzsh shutdown platform <sc names> $ mzsh startup platform <sc names>
Start the standard services.
Code Block $ mzsh service start --scope standard
Start all EC/ECSAs that were previously shut down.
Code Block theme Eclipse $ mzsh startup <ec names> <ecsa names>
- Enable the workflow groups.
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 hidden true
Scroll ignore | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||