Manufacturing Execution System (MES) : Deployment Guide
Manufacturing Execution System (MES) : Deployment Guide
Deployment Guide
Version 6.0
June, 2018
© 2018 AVEVA Group plc or its subsidiaries. All rights reserved.
The Schneider Electric industrial soft ware business and AVEVA have merged to trade as AVEVA Group
plc, a UK listed company. The Schneider Electric and Life is On trademarks are owned by Schneider
Electric and are being licensed to AVEVA by Schneider Electric.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, AV EVA assumes no
responsibility for errors or omissions. The information in this documentation is subject to change without
notice and does not represent a commitment on the part of AVEVA. The soft ware described in this
documentation is furnished under a license agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, DYNS IM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch,
PIPEPHASE, PRiSM, PRO/II, PROV IS ION, ROMeo, SIM4ME, SimCentral, SimSci, Skelta,
SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are trademarks
of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: 6/29/2018
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 OHB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
MES Deployment Guide
Contents
Chapter 1 Getting Started..................................................................................................... 5
Using This Guide ...................................................................................................................... 5
System Sizes Referred to in This Guide ..................................................................................... 5
4 Version 6.0
MES Deployment Guide
C HAPTER 1
Getting Started
In This Chapter
Using This Guide ............................................................................................................................ 5
System Sizes Referred to in This Guide ........................................................................................... 5
Version 6.0 5
MES Deployment Guide
C HAPTER 2
General Server Requirements
In This Chapter
System Requirements in the MES Readme File ................................................................................ 7
CPUs ............................................................................................................................................. 7
Memory.......................................................................................................................................... 8
Hard Drives .................................................................................................................................... 8
MES Networks................................................................................................................................ 8
Operating System Requirements ................................................................................................... 11
Supported Databases and Database Requirements ........................................................................ 11
Compatibility with Other A veva Products ........................................................................................ 12
Virtualization and High A vailability.................................................................................................. 12
Documenting the Installation and Change Control ........................................................................... 12
CPUs
The CP U is one of the most important determinants of performance. The following are guidelines
associated to choosing the correct CPUs:
Validate the Operating Systems (OS) restrictions on the number of CPUs.
For CP U restrictions for current Windows releases, see the Memory Limits for Windows and
Windows Server Releases page on the Microsoft MSDN web site.
Validate the Microsoft SQL Server database software licensing restriction on the number of CP Us
The CPU performance target is to have less than 30% average CPU usage. CPU usage is based on
100% – (% Idle Time). For example, if the % Idle Time = 75%, then CPU usage is considered to be
25%.
o If you take the CPU Time for Idle Process and divide by the running time of the machine, you will
get the average percent idle time. The average CP U usage is just 1 minus the average idle time.
For the CPU Time you can use Task Manager:
o Select Processes > View menu > Select Columns.
o Choose the CPU Time column.
Version 6.0 7
MES Deployment Guide General Server Requirements
Memory
For memory requi rements, refer to the Readme file that is provided with the current version of the MES
software. See System Requirements in the MES Readme File on page 7.
On a running system, there should be at least 30% available memory. Use a performance monitor to
track memory usage over time to detect possible problems with memory usage. On the database server,
SQL Server has configuration options to limit the maximum amount of memory it can consume. The
database server will be the largest consumer of memory in a MES solution.See the SQL Server
documentation to learn about limits based on the version being used.
Hard Drives
Proper planning of hard drive architecture will help to maintain performance and prevent unnecessary
outages. There are performance counters available for monit oring disk usage and disk performance.
These can be used to determine if the disk is being heavily used, which might cause slower overall
system performance.
Note: To properly plan the hard drive architecture, you should have a basic understanding of RAID
(Redundant Array of Independent Disks; see the RAID (http://en. wik ipedia.org/ wik i/RAID) ent ry on
Wikipedia.
To aid the performance for systems that require a large amount of data be stored for long periods of
time or have a high number of MES transactions, you might consider placing the Logs and TempDB
on a separat e array of disks (RAID 0, 5 or 10).
For database drives, it is recommended to use RAID 1+0 (sometimes called RAID 10). RA ID 5 is
also an acceptable approac h; however, RA ID 10 is recommended as its benefits out weigh the
additional costs.
External storage units are recommended [SAN (storage area net work) or SA TA (Serial Advanced
Technology Attachment )] for everything but the OS. External storage also supports a clustering
design if needed in the future.
o Hardware-based RA ID arrays (not software) should be used, wit h all drives being
hot-swappable.
MES Networks
Conc eptually, the MES network comprises the following network types:
Cont rols net work
Plant Production net work
8 Version 6.0
General Server Requirements MES Deployment Guide
Business network
Corporate wide area net work (WAN)
Not every plant will have these net work distinctions, and the separation bet ween the networks will vary
from site to site and company to company.
The following topics describe eac h of these net works. It is important to understand the reasons for these
network distinctions so that you know how to design the MES solution. See Designing an MES Solution
on page 33 for example topologies with these network types identified.
Controls Network
The Controls network contains all machine controllers [PLC (programmable logic controller), DCS
(distribut ed control system), SCADA (supervisory control and data acquisition), etc.]. It might contain
several segments distributed throughout the plant and it is not necessarily an Ethernet network.
This network allows separation of the controls system from the rest of the network for security and
bandwidth issues. It is characterized by a high volume of traffic, usually more or less constant.
Access to this network is strictly controlled. Generally, supervisory control systems (InTouch) or MES
clients should not be on the Controls network. However, the Operation Int egration Servers (OIS) should
be on the Controls network. The OIS must also be able to connect to your Application S erver.
Version 6.0 9
MES Deployment Guide General Server Requirements
Network Interconnections
Assuming your MES servers are all on the Plant Production net work, the following servers will require
access to servers outside this network:
Database Server: Plant Business Network or Corporate WAN for the E RP interface
Application Server/OI Servers: Controls the network for the PLC data ac quisition
Database Server: Plant Business net work or Corporate WAN for user reports access
Getting data outside your domain or on a different net work might cause issues related to crossing the
firewall and users rights on both networks.
The basic idea is to have the server placed on the network where it is most used and have a router that
connects the network or net work segments. This router would allow cross network communications while
isolating traffic and limiting access based on configuration.
Note: To ac hieve better system performance, set up an Archive/Report server rather than have
Reporting run directly from the Production dat abas e.
For the link between the Application Server and the PLC, a smart switch can be used. It connects to
the router and allows configuring a virtual network where traffic between servers connected to the
smart switch is performed directly without being broadcast on the main Plant Production backbone.
Setup the Report Server on the office network and provide access to the Database Server. This
might require communication between the Dat abase Server and the Report Server through the
firewall. Other access might be needed if other AVEVA server features are used (such as viewing
InTouch graphics). The following are some typical approaches to support the Report Server
communication:
o Dual network cards in the Report Server (however, this might violat e security policies).
o Placing the Report Server in a DMZ between the Business network and the Production network
[for information about a network DMZ, see DMZ (computing)
(http://en. wik ipedia.org/ wik i/DMZ_(computing)) on Wikipedia]. A DMZ separates the server from
the two net works that need to be separated from each other for security reasons. This will allow
communication to occur from the Business network to the Report Server and from the
Production net work to the Report Server, but not between the Business network and the
Production network. Routers that include firewalls with multiple ports are commercially available.
10 Version 6.0
General Server Requirements MES Deployment Guide
The following figure illustrates the four net work deployment approaches.
Network Security
Anti-virus software has been known to interfere with MES.
Make sure you follow the recommendations regarding anti-virus software defined in the topic "Antivirus
Software Exclusions" in the Readme file that is provided with the current version of System Platform.
Version 6.0 11
MES Deployment Guide General Server Requirements
Note: Having complete installation rec ords will help ensure that the components that are installed on
your system are communicated to support engineers when troubleshooting problems or when
determining whether a new hotfix that is being requested is compatible.
This spreadsheet is intended t o be used with the System Topology diagram to provide a complete picture
of the system.
Windows Components X X X X X X
1 Windows Server <insert version X X X X X
number>
2 Windows X
3 Terminal Server/Licensing X
Server
4 Activate Windows Licensing X X X X X X
5 IIS X
6 .NET Framework X X X X X X
7 Microsoft Message Queuing X
12 Version 6.0
General Server Requirements MES Deployment Guide
14 Application Server GR X
17 InTouch TSE X X
18 InTouch Failover System TSE X X
(Part # 01-2302TP)
19 Alarm DB X X
20 MES Database X X
21 MES Service X X
22 MES Middleware X X
25 MES Client X X X
26 MES Operator X X X
Version 6.0 13
MES Deployment Guide
C HAPTER 3
Components of an MES Solution
In This Chapter
Standard Hardware....................................................................................................................... 15
Production Databas e Server.......................................................................................................... 15
Database Disk Space Requirements .............................................................................................. 17
Backup and Recovery Strategy ...................................................................................................... 18
Application (MES Middleware) Server ............................................................................................ 19
The MES Service.......................................................................................................................... 23
Report Server ............................................................................................................................... 23
MES Web Portal Server ................................................................................................................ 25
Galaxy Repository (GR) Node Server............................................................................................. 26
Archive S erver .............................................................................................................................. 26
Terminal Server ............................................................................................................................ 28
Engineering Stations ..................................................................................................................... 30
Supervisor Stations ....................................................................................................................... 31
Operator Stations ......................................................................................................................... 32
Standard Hardware
For each of the servers, standard hardware is recommended in the Server topics in this chapter based on
the following load:
Operations and Performance on 50 lines or machines (pieces of equipment), each with 2 application
objects (100 MES application objects total)
Utilization events are generated at a rate of 1 event per minute per machine
OEE is calculated for each mac hine
1 job is created per hour per machine
Inventory is received once per hour per machine
1 item consumption event and 2 item production events are generated each minute for each
machine
Discrete production is being collected
This standard hardware recommended here is just a guideline to help with purc hasing decisions for new
equipment. As each site is different, care must be taken to allow for expansion as needed.
The minimum recommended server OS is Windows Server Enterprise Edition. Enterprise Edition was
selected over the Standard Edition bec ause the Enterprise Edition supports more memory for future
expansion as needed.
Version 6.0 15
MES Deployment Guide Components of an MES Solution
The Production Database Server holds the MES database and is the central repository for the MES data.
The MES database is supported on SQL Server. The Production Database Server, especially in large
implementations, should be dedicated t o MES due to high transaction volumes. There should be no E RP
databases, etc. on the same server.
If you are going to use virtualization software for your Production Database Server, make sure you size it
appropriately for the additional overhead that virtualization brings.
Key Parameters
The following table describes the recommended key parameters to use for the P roduction Database
Server in a medium-size system.
Parameter Comments
Standard 12 GB RAM
Configuration
300 GB Disk RA ID 10 for dat a. The amount of disk space necessary depends
on the frequency of data collected (number of work orders, operations,
production quantities, etc.) and the amount of data kept online in the
Production database.
16 Version 6.0
Components of an MES Solution MES Deployment Guide
Parameter Comments
*Ideally, these databases should be run on their own server. However, in practic e, if the Alarms and Historian databases are being
used only for MES, then they can be run on the Production Database Server.
Version 6.0 17
MES Deployment Guide Components of an MES Solution
Consideration should be given to the number of days that historical job data is required to remain in the
database. With archiving implemented, closed work orders and all relat ed data can be moved to an
off-line database for reporting purposes. Archiving will ensure that the performance of the production
system does not decline over time due to a buildup of historic al data in the Production databas e.
Instead of trying to plug all these factors into an equation, it is recommended that you start with a
moderate-size system (say 300 GB of free space) and monitor the data growth. A typical setup would
have one year of on-line data in the MES database.
After you have created or migrated the database, it is recommended that you adjust the file sizes.
Observe the following guidelines when adjusting the file sizes:
Large files should be created when the disk is clean so that the file is stored on contiguous sectors.
Choose an initial file size that is the expected size when the database is fully loaded. For example, if
the expected size when fully loaded is 200 GB, then set the initial size to 200 GB.
For the default 10% growth, you might consider changing to an absolute growth of, say, 1024 MB.
Make sure that these files are on your Data drive; they should never be on the C: drive.
The following table shows an ex ample of the MES database file sizes for SQL Server.
This setup uses about 150 GB (160 GB for Full Recovery Mode) of disk space. You can always use the
Disk Usage report provided within SQL Server Management Studio to see the actual space used.
You must also implement a dat abase maintenanc e plan that includes re-indexing, truncation of
transaction logs, and shrinking of files.
18 Version 6.0
Components of an MES Solution MES Deployment Guide
Use the correct SQL Server Recovery Model to match the backups you are doing.
Do complete backups at least once per day.
Validate your backup/restore procedure.
MES Clients (InTouch, 50 to 100 user int erface (UI) clients/MES middleware host. This guideline is
Operator, MES Web based on performance and isolation considerations. Applications will vary by
Portal, etc.) the number of transactions they will generate per second, minut e, or hour.
One additional advantage of having more than one MES middleware server
is not just to distribute the load but to also eliminat e a single point of failure.
For example, if you have 80 demanding clients, then you might consider two
servers. However, if you have 60 average clients, one server would be
enough. Once you reach the 100-client range, it is recommended that the
MES middleware host be split bet ween two servers.
For each client you configure the Proxy configuration to the MES middleware
host.
These connections have a low load on the server.
Version 6.0 19
MES Deployment Guide Components of an MES Solution
AOS (Application No more than 100–150 MES application objects per platform.
Object Server) with
MES Application No more than 30–50 MES application objects per engine.
Objects Local MES middleware to handle MES application object transactions.
Usually, API calls to MES middleware from t he Application Server objects are
not included in the calculation because the load is significantly less.
Utilization Capability Object (UCO) - The complexity of the expression
evaluations and the number of raw re ason codes to evaluate will affect the
total number of UCOs that can run on an engine. Look for any scan overrun
messages in the logger and the average engine execution time to determine
the maximum load. Since utilization events have a minimum resolution of 1
second, the engine scan time should be 1 second or greater.
Operations Capability Object (OCO) - The more functionality included in the
object, the more time it will take to execute the object. Multiple job positions,
many specifications, and many consumption count ers will affect the number
of objects hosted on an engine. Look for any scan overrun messages in the
logger and the average engine execution time to determine maximum load.
Sample Recording Object (SRO) - The number of characteristics being
captured is the main determining factor for the SRO. The following
configuration has been tested: 15 objects capturing dat a for 10 variable
characteristics (each with 5 measurements) against 2 samples per minute for
each entity. Look for any scan overrun messages in the logger and the
average engine execution time to determine maximum load.
Enterprise Integration, The MES Service does some clean -up to shifts and sessions as well as
Supply Chain running the Supply Chain Connector (S CC) schedules. For more details, see
Connector (SCC), or the MES Service User’s Guide.
MES Service
The MES Service also manages the creation of future Quality samples and
changes in sample status based on passage of time. Quality sampling should
not be used as a historian to reco rd large volumes of data at high rates.
Samples for each entity are expected to be no faster than every 10 minut es
and the total rate for the MES Service should be no more than 100 per
minute.
Enterprise Integration or SCC is used to trans fer data between MES and
other business systems.
On a typical system, the MES Service is running on the Production Database
Server with its own local dedicated MES middleware host.
E ven on a large or demanding interface, a separate MES middleware host
would NOT be required. It is only separated to isolate database traffic when
troubleshooting.
20 Version 6.0
Components of an MES Solution MES Deployment Guide
Archive, Purge, and The Database Maint enance Server application defines where the AP R will
Restore (APR) run.
Usually the Archive database is on its own server and has its own dedicat ed
MES middleware host.
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:
Production Databas e Server (MESDB 01)
o MES Middleware Proxy to MESAPP01
o Enterprise Integration or Supply Chain Connector
Application (MES Middleware) Server (MESAPP01)
o MES middleware host
Then the Supply Chain Connector would be using the MES middleware on MESAPP01.
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.
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 b e 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 S ervers, eac h supporting 30 lines, a Production
Database Server, and an MES Web Portal Server. The following figure shows the architecture with
respect to the MES middleware.
Version 6.0 21
MES Deployment Guide Components of an MES Solution
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 on page 43.
22 Version 6.0
Components of an MES Solution MES Deployment Guide
Note: Although multiple MES middleware hosts can be deployed in an MES solution, only one MES
Service should be running per MES dat abase instance.
For more information the MES Service, see the MES Service Guide.
Report Server
The Report Server provides the content to operators in the plant, office users, and corporate users. Its
source of information is from the Production Database Server. Typic ally your Production Database
Server is on the Plant Production Network while the office users are on the Plant Business Network and
it is not uncommon for a firewall to be bet ween them.
Your network administrator needs to provide access to the Report Server for both groups of users. See
Net work Interconnections on page 10 for more details.
The Report Server is not considered a production server. That is, it can go down without interruptions to
production and without losing production data.
Installations that run large reports or do data mining on the MES database should perform these
operations on an Arc hive database and not the actual Production database. This will prevent large
queries from using resources that are required for production transactions. For information about the
Archive database, see Archive Server on page 26.
Version 6.0 23
MES Deployment Guide Components of an MES Solution
Included with the MES software is a limited version of Intelligence to be used as the Report Server. The
Intelligence service extracts data from the MES production database and stores that data in the
Intelligence database. The provided MES reports query the data in the Intelligence database. For more
information, see the MES Intelligence Reports Guide.
Key Parameters
The following table describes the recommended key parameters to use for the Report Server in a
medium-size system.
Parameter Comments
Standard 16 GB RAM
Configuration
300-GB disk, RAID 10 – For Data
300-GB disk, no RA ID – For Backups
24 Version 6.0
Components of an MES Solution MES Deployment Guide
Parameter Comments
Other Databases The Report Server typically will have the following databases:
Intelligence S erver Database
Galaxy Repository
Report Server databases
In a typical plant, it would not have any of the following Production databases:
MES databas e
Alarm dat abase
Runtime database
Key Parameters
The following table describes the recommended key parameters to us e for the MES Web Portal Server in
a medium-size system.
Parameter Comments
Standard 4 GB RAM
Configuration
100-GB disk, RAID 10 – For Data
100-GB disk, no RA ID – For Backups
Version 6.0 25
MES Deployment Guide Components of an MES Solution
Parameter Comments
Note: The GR is not needed at runtime. With the GR node, an object or a view node subscribing for an
object attribut e is made significantly faster because the GR node knows where everything is located.
Otherwise the node with the subscription request has to ping all other nodes’s engines to determine
whet her they host this object’s attribute.
Archive Server
It is recommended the Archive database reside on its own server.
The Archive database holds a copy of the production MES database.
Data is copied on a regular basis from the MES database to the Archive database on a time and Work
Order basis. This data then can be used in reports or to restore most of the production dat a if the
production server is lost.
A typical setup would be:
Year 1: online data in the Production database or MES database
Years 2 to 5: online dat a in the Archive database
Years > 5: offline in files
Key Parameters
The following table describes the recommended key parameters to use for the A rchive Server in a
medium-size system.
Parameter Comments
Standard 4 GB RAM
Configuration
1-TB disk, RAID 10 – For Data
1-TB disk, no RA ID – For Backups
26 Version 6.0
Components of an MES Solution MES Deployment Guide
Parameter Comments
Note: Archive and Purge was tested in both VMware and Hyper-V virtualized environments during
controlled Live Migration and Fail-over scenarios due to power failure or network failure. Both operations
fully recovered and no data loss was observed. For more information, see the MES Virtual
Implementation Guide.
Version 6.0 27
MES Deployment Guide Components of an MES Solution
The following diagram illustrates a suggested plan for scheduling Archiving and backups on the various
servers so that potential data loss is minimized. This is accomplished by making sure that the Daily MES
database Complete Backup and the Daily Archive Dat abas e Backup are not performed at the same time
as the Archives/Purge. Also, the Daily Archive Database Backup should be performed after the daily
archive data has been received.
Terminal Server
A common MES application deployment method is to use Terminal Servers.
The usage of Terminal S erver and a thin client architect over a c lient server architecture with so-called fat
clients is a user decision. AVEVA applications support bot h deployment met hods.
Terminal Server has the following advantages:
It provides ease of setup and maintenance of applications. Instead of installing the MES client on
many systems, you install it once on the Terminal Server.
The clients operate in a controlled Windows environment. All the clients run under the same version
of Windows and same patch level.
It can reduce hardware costs.
It should reduce mai ntenance costs.
It provides the ability for redundancy.
Resources are shared, so if your clients need a significant number of resources, they are available.
This typically applies to the CPU for which full capacity is not needed all the time.
It is very scalable. Although there is a limit to the number of clients per server based on the
application, you can add additional memory or CP Us to the server until you reach your limit. Then
additional Terminal Servers can be added to meet your needs.
28 Version 6.0
Components of an MES Solution MES Deployment Guide
If you operate without a fail-over mechanism and the system goes down or needs maintenance, then
all clients go down.
You are not using all the resources of your client PCs. This is also an advantage as you do not need
very expensive PCs or you can use thin client devices.
Other Considerations
With InTouch Clients, you will need to set the CPU Affinity (download the InTouch Affinity Cont rol or
InTouch View Affinity Server from the Product Hub area of the Global Customer Support web site).
You will need a special Terminal Server licens e to run InTouch.
InTouch also has a feature that allows it to keep its Windows in memory. When using Terminal
Servers, this feat ure is typically turned off as it can use too much memory.
For more information on recommendations related to deployments of Terminal Servers, refer to the
various terminal services-relat ed tech not es and FAQs available in the Knowledge Bas e on the
Global Customer Support web site.
Key Parameters
The following table describes the recommended key parameters to use for the Terminal Server in a
medium-size system.
Parameter Comments
Standard 12 GB RAM
Configuration
Microsoft Components Remote Desktop Servic es
Version 6.0 29
MES Deployment Guide Components of an MES Solution
Engineering Stations
An Engineering station is a system that is configured by someone wit h expert knowledge of the system.
The activities range from:
Configuring the systems
Performing maintenance and system shutdowns
Adding users
Deploying Operator stations
Debugging problems
Changing configuration
Adding content
Setting import/export schedules
Applications Used
MES Client
ArchestrA IDE
InTouch WindowMaker and WindowViewer
Intelligence S erver A dministrator features
Web browser to access MES Web Portal, if used
The GR Node (t he GR database) can be run on the Engineering station. This frees up resources on the
Report Server. Also, ArchestrA and MES include a SQL Server license, so it does not cost more in terms
of licensing. However, this makes the Engineering station a Production Databas e Server and therefore it
will require server-class hardware and database maintenance (e.g., regular backups).
Key Parameters
The following table describes the recommended key parameters to use for an Engineering station in a
medium-size system.
Parameter Comments
Standard 2 - 4 GB RAM
Configuration
100 GB Disk
30 Version 6.0
Components of an MES Solution MES Deployment Guide
Parameter Comments
Supervisor Stations
A Supervisor station is where work orders are scheduled and/or the activities of the operators are
monitored.
Supervisors are different from the office users in that their PCs are close to the s hop floor and have direct
access to the MES Server (i.e., no firewall).
A Supervisor station is different from an Operator station in that in addition to the Operator appli cation
(MES Operator or InTouch), the Supervisor station has access to the MES Client.
Applications Used
MES Client
MES Operator (or custom Operator UI), if used
Web browser to access MES Web Portal, if used
MES Supervisor
MES Configurat or
InTouch Application, if used
MES Intelligence Reports
Key Parameters
The following table describes the recommended key parameters to use for the Supervisor station in a
medium-size system.
Version 6.0 31
MES Deployment Guide Components of an MES Solution
Parameter Comments
Standard 2 GB RAM
Configuration
100-GB disk
Operator Stations
Operator stations are the PC or thin clients used to control, monitor, or record information from the
process.
Both client server (so-called fat clients) and thin client architectures are fully supported, with one not
recommended over the other. See Terminal Server on page 28 for a description of the benefits of using
thin clients.
Key Parameters
The following table describes the recommended key parameters to use for the Operator station in a
medium-size system.
Parameter Comments
32 Version 6.0
MES Deployment Guide
C HAPTER 4
Designing an MES Solution
In This Chapter
Topology Overview ....................................................................................................................... 33
Topology Production Network Details ............................................................................................. 36
Case Study: Scaling the System .................................................................................................... 39
Topology Overview
A server topology is a diagram that shows the following:
All servers used in the solution
The location of the server on the network. Servers that connect to multiple networks should be
indicated accordingly.
Server name or type
Firewalls or other network traffic security or isolation devices
Optionally it can show:
The basic server specifications (OS, RAM, CPU, and disk spaces of database servers)
Windows or Microsoft key software installed
MES key software installed
This document provides the following sample topologies:
Standard Architecture
Typical Medium -Size Plant
Scaling the Standard Architecture
The diagrams provided here do not repres ent a complete architecture documentation set. For your
system you should include:
Topology Overview
Topology Production Network Details
Installation Change Cont rol spreads heet (see Doc umenting the Installation and Change Control on
page 12)
Version 6.0 33
MES Deployment Guide Designing an MES Solution
This system includes MES with System Platform. It uses the Standard Configuration as described in
Standard Hardware.
The Application Server has the following connections:
To the Controls Network, to communicate with the process equipment. This is typically done via
Operation Int egration Servers (OIS ). It is very common to have a separate OIS server.
To the Plant Production Net work, to access other MES servers.
The Database Server has the following connections:
To the Corporate WAN, to provide access to the ERP system.
To the Plant Production Net work, to access other MES servers.
The Report Server and Web Portal Server also include multiple logical connections, as office users need
to connect to them and they need to connect to MES Servers.
Note: If you anticipate that the number of thin -client Operator stations will be high and possibly impact
network traffic on the Plant Production network, consider creating a separat e network for the Operator
stations and connecting them to the Plant Production network through a Terminal Server. For exam ples
of network topologies that use Terminal Servers to support thin clients, see Tech Note 662: Remot e
Access Technologies for Industrial Applications, which is available in the Knowledge Base on the Global
Customer Support web site.
34 Version 6.0
Designing an MES Solution MES Deployment Guide
The basis for scaling the system is based on the collection of performance dat a on the system. This data
includes CP U and memory usage, as well as server -specific data such as scan overruns for the
Application Server (see the Key Measures for each server type in General Server Requirements). The
ideal source of this data is the actual production system. Alternatively, you can use the test system.
You will have to determine the best way to scale the system. Whether the scaling is based on lines,
equipment, or number of us ers depends on your application.
The performance data provided in P erformance Test Results, along with the scaling information provided
for each server type in F&B Production Line Performance Components, should provide enough
information to determine how to scale the system.
The following diagram shows an example of the scaling up of standard MES architecture with System
Platform.
Version 6.0 35
MES Deployment Guide Designing an MES Solution
See Standard Hardware for a description of the load of a typical medium -size system. In this example,
only the Plant Production Network is shown.
Note: Each production environment will vary based on many factors, starting with volume of ERP data
and down to MES, then production execution, IO collection and triggers, to roll up and transfer back to
ERP. This also varies by industry and the method of data collection (manual versus aut omated).
Test System
A test system for the MES solution is highly recommended. The test system will allow you to test
changes, verifying they have the desired effect before implementing them in production.
36 Version 6.0
Designing an MES Solution MES Deployment Guide
The typical test system can run on less expensive hardware, as shown in the following diagram.
The three general types of test systems and the components they would typically include are described
below.
Typical Test System
Database Server
Application S erver combined wit h a Report Server, MES Web P ortal S erver, and Engineering station
This type of test system will typically not have the following:
Archive S erver (this server can be tested on the Databas e Server)
Terminal Server (the Operator stations are tested directly from the Application Server)
Direct IO
Advanced Test System
Archive S erver and Terminal Server
Simulated IO
Test ERP and other business system interfaces used by MES
Full Test System
A full test system will have all of the components of the production system. A full test system (i.e., with all
servers) can expose issues related to areas such as licensing, security, and performance that might not
be seen on smaller test systems.
Version 6.0 37
MES Deployment Guide Designing an MES Solution
Demonstration System
It is possible to run a MES solution on a single PC to demonstrate the software.
Note: A single-server configuration would not make a good choice for a production system due to
performance limitations.
38 Version 6.0
Designing an MES Solution MES Deployment Guide
Next, the number of lines was linearly scaled. The following table shows the results.
CPU Memory
1 4 8 13 3.6 10.7 19 25
Version 6.0 39
MES Deployment Guide Designing an MES Solution
CPU Memory
Database 1 4 8 13 4 8 12 16
Historian 1 1 2 4 4 4 4 4
Application 1 5 10 17 4 4 4 4
Terminal 1 5 10 17 4 12 16 24
Server
Report 1 6 7 10 4 4 8 12
The number of servers was determined and the load was split, making sure to not split the database,
Historian, or Report Server. A standard server with 8 GB of RAM was used for scaling the
Application/ Terminal Servers.
Number of Servers
Database 1 1 1 1
Historian 1 1 1 1
Application 1 1 2 3
Terminal Server 1 1 2 3
Report 1 1 1 1
40 Version 6.0
Designing an MES Solution MES Deployment Guide
Version 6.0 41
MES Deployment Guide
A PPENDIX A
A Performance-Qualified Medium-Size
System
In This Appendix
Introduction to the Performance-Qualified Medium -Size System ...................................................... 43
Component Deployment ................................................................................................................ 43
Test Loads ................................................................................................................................... 44
Performance Test Results ............................................................................................................. 45
System Resource Usage............................................................................................................... 46
Component Deployment
MES 2014 R2 was installed on the following separate systems.
Database/Middleware Server
Processor cores: 8
Memory: 12 GB
Operating System: Windows Server 2008 R2 Ent erprise SP1 64 -bit
Installed components: MES Middleware; MES Dat abase; MES Service; Microsoft SQL Server 2008
R2
Web Server
Processor cores: 4
Memory: 4 GB
Operating System: Windows Server 2008 R2 Ent erprise SP1 64 -bit
Installed components: MES Web Portal
Application Server
Processor cores: 4
Memory: 8 GB
Operating System: Windows Server 2008 R2 Ent erprise SP1 64 -bit
Installed components: Application Server, InTouch, Microsoft SQL Server 2008 R2
Version 6.0 43
MES Deployment Guide A Performance-Qualified Medium -Size System
Galaxy Repository
Processor cores: 8
Memory: 12 GB
Operating System: Windows Server 2008 R2 Ent erprise SP1 64 -bit
Installed components: ArchestrA, Galaxy, Entity Model Builder
Test Loads
Load was placed on the system from two sources: ArchestrA application objects and MES Web Portal
tests.
ArchestrA Application Objects
In ArchestrA, load was generated using 50 entities, each with 1 OCO and 1 UCO, for a total of 50 OCOs
and 50 UCOs. The entities were deployed to 2 Application Engines. The following load was generated:
Each entity generated 1 utilization event per minute except for a 5-minute period of inactivity each
hour. Thus, there were 55 utilization events produced per entity per hour.
Each entity generated 2 item production events (1 good production and 1 scrap production) per
minute except for a 6-minute period of inactivity each hour. Thus, there were 108 item production
events (54 x 2) produced per entity per hour. The system was set to collect distinct production, so
each item production event generat ed a new record in the database.
Each entity generated 1 item consumption event per minute except for a 6-minute period of inactivity
each hour. Thus, there were 54 item consumption events produc ed per entity per hour. The system
was not set to collect distinct consumption, so the item consumption data was accumulated in
existing records rather than having a new record for each consumption event.
Each hour, the following processing took place for each entity, in the order shown:
o The current job was stopped
o The machine state was changed to down (generating a utilization event)
o A new job was created
o The item lot was changed
o Inventory was received
o The new job was started
o The machine state was changed to running (generating a utilization event )
MES Web Portal
From an MES client system, load was generat ed from 50 virtual users, each performing MES Web Portal
functions. The MES Web Portal tests simulated this activity by making the same Web API calls that the
MES Web Portal makes from the page being tested. The following load was generated:
16 users simulat ed loading the following MES Web Portal pages. Each user loaded one of these
pages at random every 30 seconds:
o Home page
o Line Collection page
o Line Work Order page
o Line Entity page
o Entity Work Queue page
o Utilization E vent History page
44 Version 6.0
A Performance-Qualified Medium -Size System MES Deployment Guide
Table Records
Work orders 12,500
Jobs 52,500
Entities 219
Utilization events 6,500, 000
Item production 3,500, 000
Item consumption 3,200, 000
Shift changes 14,000,000
Version 6.0 45
MES Deployment Guide A Performance-Qualified Medium -Size System
Average
Total Transaction Time
Transaction Transactions (sec)
46 Version 6.0
A Performance-Qualified Medium -Size System MES Deployment Guide
Note: No limits were set on the SQL Server regarding the amount of memory it could allocate, which
is SQL Server default behavior.
Version 6.0 47