Documente Academic
Documente Profesional
Documente Cultură
Administration
Application/Contract Syracuse/Collaboration Class batchServers Representation batchServer
Page
A batch controller entity describes a batch configuration for a $$PRODUCT solution. There are several runtimes
synchronized with the runtimes set in the corresponding $$PRODUCT solution that identify $$PRODUCT servers. A batch
controller is responsible for driving batch requests that have been scheduled on $$PRODUCT application.
Code
A unique code that identifies the batch controller. This field is in read-only mode and is synchronized with corresponding
X3 solutions code.
Auto start
If checked, the batch controller would be started at Syracuse web server start up, and would execute batch request all
solution's folders when necessary.
Status
The status informs about the batch controller status.
• Running when the controller is active and would execute queries regarding Time between two searches (sec)
setting.
• Stopped when the controller is not active and would not perform any action.
• Stopping when the controller is not active, but still waiting for pending queries to be stopped.
https://github.com/Sage-ERP-X3/dev-doc/blob/master/administration-reference/batch-... 20/04/2017
dev-doc/batch-server.md at master · Sage-ERP-X3/dev-doc Page 2 sur 3
X3 solution
Refers to the corresponding $$PRODUCT solution. This association is computed and set to read-only mode.
Administrative endpoint
Defines the Endpoint that will be used to get the list of queries to execute (administrative tasks). This is set by default
with the endpoint corresponding to the $$PRODUCT solution's mother folder.
User
Defines the User that will be used to get the list of queries to execute (administrative tasks). This is not set by default and
must be set manually before any usage of the batch controller. It is a mandatory setting because $$PRODUCT
connections need a $$PRODUCT user login.
Role
Defines the Role that will be used to get the list of queries to execute (administrative tasks). This is not set by default and
must be set manually before any usage of the batch controller. It is a mandatory setting because $$PRODUCT
connections need badges.
Locale preference
Defines the Locale that will be used to get the list of queries to execute (administrative tasks). This is set by default to
en-US . It is a mandatory setting because $$PRODUCT connections need locale preferences.
Runtimes
A $$PRODUCT solution can be accessed by several runtimes, so the corresponding batch controller can be configured to
use any runtime of the solution. If several runtimes exist, the load balancer will by default use a round-robin algorithm
that selects a runtime at connection time; but this algorithm can be changed according to the parameters associated
with the runtimes set in $$PRODUCT solution:
Server host
Server on which the runtime is installed. It can be a network name or an IP address. Here, this information is totally
synchronized with corresponding $$PRODUCT solution runtime server host and is set to read-only mode.
Server port
The port associated with the runtime. Here, this information is totally synchronized with corresponding $$PRODUCT
solution's runtime server port and is set to read-only mode.
Server assignment
Runtimes set with Maximum no. active queries greater than 0 would be selected following a round-robin algorithm on the
eligible servers. A server is eligible if is not disabled or blacklisted in $$PRODUCT solution's runtime.
Some specific queries will automatically run only on the main server because of applicative needs. This is an automatic
assignment that does not require any configuration.
Some changes done on batch controller itself or on corresponding $$PRODUCT solution are directly applied on the fly and
taken into account by the batch controller execution :
• On X3 solution :
https://github.com/Sage-ERP-X3/dev-doc/blob/master/administration-reference/batch-... 20/04/2017
dev-doc/batch-server.md at master · Sage-ERP-X3/dev-doc Page 3 sur 3
◦ If a runtime host/port is modified: the corresponding $$PRODUCT connection is removed and added again in batch
controller rules that are currently applied.
• On batch controller :
◦ If Maximum no. active queries is modified, the configuration is set in batch controller rules that are currently applied.
Services available
Several services available from the right panel:
Start
This service launches the batch controller execution. It will perform some administrative and recurrent tasks to ask to
$$PRODUCT supervisor to execute batch queries. These calls are performed every Time between two searches seconds.
Stop
This service stops the batch controller execution. It will perform some last administrative tasks in order to ask to
$$PRODUCT supervisor if some queries are still pending until no pending queries remain (except for recurrent queries).
During this process, the status will be set to Stopping waiting for pending queries end, and then to Stopped .
Stop all
This service stops the batch controller execution. It will perform some last administrative tasks in order to ask to
$$PRODUCT supervisor to abort every pending queries (including recurrent queries). During this process, the status will
be set to Stopping waiting for pending queries end, and then to Stopped .
List of queries
This service allows to see historical of batch queries. It allows to see their statuses, what runtime has been used to
execute each query and also different common properties.
Synchronize configuration
This service retrieve old configuration set in legacy batch server or initialize with default values the three following
properties :
https://github.com/Sage-ERP-X3/dev-doc/blob/master/administration-reference/batch-... 20/04/2017