MES Middleware Deployment Guidelines
- Last UpdatedMay 17, 2023
- 6 minute read
The typical locations on which to run the MES middleware host are either the Application Server (with System Platform) or standalone (no System Platform). It is recommended that the MES middleware host not be run on the Production Database Server except to host specific Production Database Server tasks such as Enterprise Integration or SCC.
In a production environment, it is recommended that the MES middleware host run on the Application Server to address the following:
-
It is best to not load the Production Database Server with additional process tasks.
The MES middleware host can be run on the Production Database Server if you are trying to keep the hardware footprint to a minimum. This is usually only applicable to small systems (an example small system is one for OEE and Downtime with 12 entities collecting downtime).
-
Load balancing of the MES middleware across multiple Application Servers might be required based on the implementation size and production load. See Load Balancing of the MES Middleware.
If the MES Web Portal is used, then the IIS server hosting the MES Web Portal is recommended to have the MES middleware.
Recommended Number of MES Middleware Hosts for Medium-Size System
The recommended number of MES middleware hosts for a medium-size system are:
-
One for each Application Server
-
One for each Work Tasks Server
-
One for each Terminal Server
-
One for each Web Server with MES Web Portal; the MES middleware on this server hosts the MES Web API
-
One for Enterprise Integration or Supply Chain Connector (SCC), typically on the Database Server
Scaling
When scaling, scale by process area. Servers running System Platform Application Server engines that host MES application objects must have a local MES middleware host. This is required for performance on high-transaction volume systems.
Components That Require an MES Middleware Connection
The following table lists the different components that require a connection to the MES middleware with some deployment guidelines.
|
Components |
Comments/Deployment Guidelines |
|---|---|
|
MES client applications (OMI, InTouch, Operator, MES Web Portal, etc.) |
|
|
Work Tasks Engine and MES model‑driven application content |
|
|
System Platform Application Server with MES Application Objects |
|
|
Enterprise Integration, Supply Chain Connector (SCC), MES Middleware to run Maintenance Services |
|
|
Archive, Purge, and Restore (APR) |
|
These MES processes will use the MES middleware defined by the MES middleware proxy where they are running. This means all MES processes running on a computer will use the same proxy and thus are all connected to the same MES middleware.
For example, if your setup is as follows:
-
Database Server
-
MES Middleware Proxy configured to connect to the MES middleware on the Application Server
-
Enterprise Integration or Supply Chain Connector
-
-
Application Server
-
MES middleware host
-
Then Enterprise Integration or the Supply Chain Connector would be using the MES middleware on the Application Server.
If you require one server for the MES clients and one server for the Application Server objects, it is a good practice to split the load and put half your MES clients and half your Application Server objects on one server and the other half on another server. This allows for:
-
Application Server redundancy
-
Isolation by process area. That is you can put all objects and MES middleware for 1 process area on 1 server.
-
Better use of the hardware.
For additional information about load balancing, see Load Balancing of the MES Middleware.
The restriction of 50 to 100 UI client MES middleware connections is based on the performance of the MES middleware. There is still capacity available on the server that can be used.
The following are operating parameters for a typical medium-size plant with:
-
50 lines with 100 MES application objects
-
60 Operator Clients (InTouch)
-
Enterprise Integration or Supply Chain Connector – small load
This plant could be configured with 2 Application Servers, each supporting 25 lines, a Production Database Server, and an MES Web Portal Server. Note that this system does not include Work Tasks. The following figure shows the architecture for this medium-size system with respect to the MES middleware.

A medium-size system has been qualified to determine the performance levels that could be achieved. For information about this system and the performance results, see A Performance-Qualified Medium-Size System.