Aveva Batch Management: Installation Guide
Aveva Batch Management: Installation Guide
Batch Management
Installation Guide
June 2020
© 2020 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a retrieval system, or transmitted by any
means, electronic, mechanical, photocopying, recording, 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, AVEVA 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 software described in this
documentation is furnished under a license agreement. This software may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac,
InTouch, OASyS, PIPEPHASE, PRiSM, PRO/II, PROVISION, 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: Thursday, June 18, 2020
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 0HB. UK
https://sw.aveva.com/
For information on how to contact sales, customer training, and technical support, see
https://sw.aveva.com/contact.
AVEVA™ Batch Management Installation Guide
Contents
Chapter 1 Welcome ................................................................................................... 5
Documentation Conventions ...............................................................................................................5
Chapter 2 Introduction ............................................................................................... 7
About Batch Management Features ...................................................................................................7
Deployment Scenarios ........................................................................................................................7
Installation Prerequisites .....................................................................................................................9
About Firewalls..................................................................................................................................11
Chapter 3 Batch Management Installation ............................................................... 13
Batch Management Installation About this Chapter .......................................................................13
Before You Install or Upgrade the Batch Management Product .......................................................13
Special Notes ....................................................................................................................................14
Installing Batch Management ............................................................................................................15
Modifying the Batch Management Installation ..................................................................................23
Repairing the Batch Management Installation ..................................................................................24
Uninstalling Batch Management .......................................................................................................24
Upgrading Previous Versions ...........................................................................................................25
Chapter 4 Batch Management Configuration ........................................................... 29
Starting the Configurator ...................................................................................................................29
Configuring the AVEVA Enterprise License Server Location ...........................................................31
License Installation and Activation .............................................................................................32
System Restart after Configuration ............................................................................................32
Configuring the System Management Server ...................................................................................33
Configuring the General Settings ......................................................................................................37
Configuring the Batch Management Server ......................................................................................43
Configuring the Batch Management Remote Development Client ...................................................47
Configuring the Batch Management Remote Runtime Client ...........................................................49
Configuring the Batch Management History Server .........................................................................51
Configuring the Batch Management Reporting Content ...................................................................55
Managing Licenses ...........................................................................................................................59
Server Licenses ..........................................................................................................................60
Client Connection Licenses ........................................................................................................60
Checking Batch Management Unit Count ..................................................................................61
Batch Management IA System ...................................................................................................62
June 2020 3
AVEVA™ Batch Management Installation Guide Contents
4 June 2020
AVEVA™ Batch Management Installation Guide
C HAPTER 1
Welcome
The Batch Management Installation Guide describes the installation and configuration options for Batch
Management components — Server, Remote Development Client, Remote Runtime Client, History
Server, Reporting Content, Components for ArchestrA IDE, and Documentation. It also explains the
process for upgrading the Batch Management product from an earlier version and uninstalling the Batch
Management product.
Documentation Conventions
This documentation uses the following conventions:
June 2020 5
AVEVA™ Batch Management Installation Guide
C HAPTER 2
Introduction
This section describes the Batch Management features, prerequisites, and requirements for installing
Batch Management product.
Deployment Scenarios
The following section describes the various deployment scenarios for Batch Management and how SQL
Server Database and Microsoft SQL Service Reporting Services (SSRS) exist on remote nodes.
Note: You can create Batch History databases, Batch Archive databases, and SSRS reports on:
- A remote node where SQL Server and SSRS are installed.
- The same node as Batch Management History and Batch Management Reporting Content
features.
Two-Node Setup
The following image represents the two-node setup for Batch Management.
June 2020 7
AVEVA™ Batch Management Installation Guide Introduction
Three-Node Setup
The following image represents the three-node setup for Batch Management.
Four-Node Setup
The following image represents the four-node setup for Batch Management.
Note: Ensure to start the Remote Registry service on the node where SSRS is installed.
Five-Node Setup
The following image represents the five-node setup for Batch Management.
8 June 2020
Introduction AVEVA™ Batch Management Installation Guide
Note: Ensure to start the Remote Registry service on the node where SSRS is installed.
Installation Prerequisites
The Batch Management installation program analyzes the software installed on your computer and lists
any software that is required but not currently installed. You do not need to exit the Batch Management
installation procedure to install the prerequisite software. Installing the Batch Management product is a
three-step process:
1. Installing and configuring prerequisite software, such as the operating system components,
Microsoft SQL components, Internet Information Services (IIS), and so on.
2. Installing the Batch Management product files.
3. Configuring the Batch Management product so that it is ready for use.
For details on hardware requirements and the specific versions of required and supported software
prerequisites, see the latest Batch Management Readme.
Prerequisites for Installing Batch Management History Server
Before you install a Batch Management History Server, you must have the required version of Microsoft
SQL Server set up on the node. For more information on the supported versions of SQL Server, see the
latest Batch Management Readme.
You must also have IIS and ASP.NET installed.
Prerequisites for I/A Series Systems
When using Batch Management with I/A series software you need to make the following changes for the
system to operate correctly. The I/A series software uses a "locked down" version of Windows, even in
the standard mode. Because of this, you must enable several Windows services and user accounts
related to IIS before installing the Batch Management History Server. You must enable the following
Windows services and set them to automatic:
IIS Admin Service
WWW Publishing Service
You must enable the built-in IIS user accounts and use the following naming convention:
IUSR_*
June 2020 9
AVEVA™ Batch Management Installation Guide Introduction
IWAM_*
Installing and Configuring IIS and ASP.NET
NOTE: IIS is only required if you are installing the History Server or the Reporting Content.
The Windows Server includes IIS, but it is not included in the default installation. You must perform a
manual installation of IIS on this operating system.
Configuring IIS and ASP.NET
During the post installation configuration of the Batch Management History Server feature, the
Configurator sets up IIS and ASP.NET automatically. For detailed information about manually
configuring IIS and ASP.NET, refer to the Microsoft documentation.
Should you have to manually configure IIS and ASP.NET, below are the subcomponents you must select
for Internet Information Services (IIS), depending on the version of Windows you are using.
Windows 2012, Windows 2012 R2, Windows 2016, and Windows 2019
Under Management Tools, select:
o IIS 6 WMI Compatibility
o IIS Metabase
o IIS 6 Scripting Tools
o IIS 6 Management Console
o IIS Management Console
o IIS Management Scripts and Tools
o IIS Management Service
Under Application Development Features, select:
o .NET Extensibility
o ASP.NET
o ISAPI Extensions
o ISAPI Filters
Under Common HTTP Features, select:
o Default Document
o Directory Browsing
o HTTP Errors
o HTTP Redirection
o Static Content
Under Health and Diagnostics, select:
o HTTP Logging
o Request Monitor
Under Performance Features, select:
o Static Content Compression
o Dynamic Content Compression
Under Security, select:
10 June 2020
Introduction AVEVA™ Batch Management Installation Guide
o Request Filtering
o Windows Authentication
Enabling .NET Framework 3.5 SP1
Refer to the following URLs to manually enable .NET Framework 3.5 SP1 on your Windows Operating
System, depending on the version of Windows you are using:
Windows 2012 and 2012 R2: https://technet.microsoft.com/en-us/library/dn482071.aspx
Windows 8.1 and 10:
https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10
Installing Batch Management Reporting Content
Before you install Batch Management reporting content, you must have a supported version of SQL
Server set up on the node. For more information, refer to the Batch Management Readme.
About Firewalls
If you have a corporate firewall, hardened device (appliance), or software application on a dedicated
hardened platform, you need not implement a personal firewall on each computer.
We recommend that you disable the personal firewalls on all computers where you plan to install the
Batch Management product. Individual Batch Management features have their own firewall requirements
and procedures.
June 2020 11
AVEVA™ Batch Management Installation Guide
C HAPTER 3
Batch Management Installation
About this Chapter
This section describes how to install, modify, repair, uninstall, and upgrade the Batch Management
product.
June 2020 13
AVEVA™ Batch Management Installation Guide Batch Management Installation
Using User Account Control (UAC) Enabled Operating Systems with Batch Management
When UAC is enabled on operating systems, a security prompt is shown when you start the installation.
If necessary, enter the administrative user credentials to allow the installer to proceed.
Service User Account
The Service user account is a user name and password combination that is used for running the Batch
Management services, such as EnvMngr, SecMngr, and HistQMngr. Ensure that the user account has
Administrator privileges.
Special Notes
Before upgrading, please take note of the known issues in the Installation Issues section of this
document.
Before installing the latest version of Batch Management on a node with WSP 2014 R2 SP1, you
must install WSP 2014 R2 SP1 GRAccess HotFix CR L00140512.
Otherwise, you might encounter the following issues:
o Error while Galaxy browsing from TagLinker
o ArchestrA security will not work if enabled in Security Editor.
Note: Prior to upgrading, confirm that your Hist Queue and Error Queue are empty. Because of
changes to the Batch Management History database, any data left in the Hist Queue or Error Queue
will not be accessible in the upgraded version. Also, ensure that all batches have ended and that all
warm restart files have been deleted.
Starting with 11.5, Batch Management History Server and Reporting Content no longer integrate
with Information Server. These features are now available through Start Menu shortcuts. For more
information, see the Batch Management Installation Guide and Batch Management User Guide.
14 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
While installing Batch Management or upgrading to the latest version, you can select and install the
Licensing components. For more information about Licensing, see the Batch Management
Installation Guide.
When Batch Management is upgraded or installed on System Platform 2017 Update 2 or earlier
versions, ASB Service instances are not created for a new galaxy. Contact AVEVA Software Global
Customer Support (GCS) for System Platform Hotfix.
The installation program detects and installs the initial system requirements. For more information on
specific system requirements, see the latest Batch Management Readme.
June 2020 15
AVEVA™ Batch Management Installation Guide Batch Management Installation
2. After installing the initial system requirements, the License Agreement dialog box appears.
3. Read the license agreement. You can print a copy of the license agreement for your records using
the Print License button.
16 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
4. Click I accept the license agreement and then click Next. The Batch Management Installation
dialog box appears.
You can view the Install Guide online by clicking the View Install Guide button.
5. Select the check boxes to indicate which features you want to install, and then click Next.
You can click Browse to change the destination folder where the program will be installed.
If you select AVEVA Enterprise Licensing Platform feature for installation, the installer will check
and install prerequisites for AVEVA Enterprise Licensing also. For more information on AVEVA
Enterprise Licensing, refer to the AVEVA Enterprise License Platform Guide.
NOTE: You can select multiple features and all the selected features will be installed together if all
the prerequisites are met.
IMPORTANT: You should NOT select the Batch Management Remote Runtime Client or Batch
Management Remote Development Client features if you are selecting the Batch Management
Server feature for install. They are already available on the Batch Management Server.
6. When you select a Batch Management feature to install, a list of prerequisites for all the remaining
Batch Management features will be displayed.
Any prerequisites you are missing will be identified as not met.
June 2020 17
AVEVA™ Batch Management Installation Guide Batch Management Installation
7. Click Install Prerequisites. The program installs the prerequisites. When all prerequisites are
installed, click Next. The Ready to Install the Application dialog box appears.
18 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
8. Review your installation options and then click Install. The Updating the system dialog box
appears. The installation program starts installing the selected Batch Management features.
June 2020 19
AVEVA™ Batch Management Installation Guide Batch Management Installation
After the installation is complete, the Installation Completed dialog box appears.
9. If the installed features require configuration, click Configure. For more information on configuring
Batch Management, see Batch Management Configuration.
The following table lists the components installed along with each of the Batch Management features.
20 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
June 2020 21
AVEVA™ Batch Management Installation Guide Batch Management Installation
22 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
NOTE: You must have the installation media ready before you modify a program.
June 2020 23
AVEVA™ Batch Management Installation Guide Batch Management Installation
2. Double-click the AVEVA Batch Management icon. The Modify, Repair or Remove installation
dialog box appears.
NOTE: The name of the Uninstall/Change button varies depending on the Windows operating
system installed on your computer.
3. Click Modify, and then click Next. The list of Batch Management features installed on your computer
appears.
4. Select or clear the features that you want to add or remove, and then click Next. The Select Modify
to confirm feature changes dialog box appears.
5. Click Modify. The selected features are added or removed.
If you are adding some new features during modification, the Prerequisites dialog box appears.
6. Click Install Prerequisites to install the required software.
7. Click Next. After the files are copied and updated, the Process has completed successfully dialog
box appears.
8. Click Finish. The modification is complete.
NOTE: You must have the installation media ready before you repair a program.
To repair an installation
1. Click the Add or Remove Programs option in Windows Control Panel. The list of software installed
on your computer appears.
2. Double-click the AVEVA Batch Management icon. The Modify, Repair or Remove installation
dialog box appears.
NOTE: The name of the Uninstall/Change button varies depending on the Windows operating
system installed on your computer.
3. Click Repair, and then click Next. The Confirm Repair dialog box appears.
4. Click Repair. The Process has completed successfully dialog box appears.
5. Click Finish. The installed Batch Management product is repaired.
NOTE:
- Before you begin to uninstall Batch Management, back up your Config_A directory. This
directory will be deleted during the uninstall process.
- When you uninstall the Batch Management application, the Configurator renames the messages folder
to messages_<date>_<time> and the localized CSV files are not deleted.
24 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
The name of the Uninstall/Change button varies depending on the Windows operating system
installed on your computer.
3. Click Remove, and then click Next. The Confirm that you want to uninstall dialog box appears.
4. Click Uninstall. The complete uninstall dialog box appears.
5. Click Finish. The uninstall process is complete.
NOTE: When you upgrade from previous versions (11.0 or earlier) of InBatch to the latest version of
Batch Management, all the InBatch links from Information Server database are removed. You can verify
the NavNode, NavRole, and NavPanelNode tables where all InBatch related rows must be removed. The
.rdl template files are also removed from ArchestrA\InBatch Reports folder and are now deployed in the
new path "Batch Management Reports" folder in the Reporting service URL. If you upgrade to the latest
version of Batch Management from any previous versions, the Reports folder name is displayed as
"InBatch Reports".
June 2020 25
AVEVA™ Batch Management Installation Guide Batch Management Installation
6. Click Upgrade. The Backup dialog box appears. The installation wizard takes a backup of the
existing InBatch data and then the progress bar appears.
The files from the previous versions of InBatch are uninstalled and new files are copied. The Restore
dialog box appears briefly.
7. After the upgrade process is complete, the complete installation dialog box appears.
8. If the upgraded features require configuration, click Configure. For more information on configuring
InBatch, see Batch Management Configuration.
If your History or Archive database needs to be upgraded, the upgrade will take place automatically
during the configuration process.
NOTE: After upgrade, you can access the reports from the standard Reporting Services URL or the
shortcut menu available in the Batch Management folder. The reports will not be available from the
Information Server. Also, the History Administration and Report Administration web pages now have
their own shortcut menus available in the Batch Management folder.
IMPORTANT: When you upgrade the Batch Management Server feature, the Batch Management
share exists with 'Everyone' as 'Full control' permissions. Make sure you remove the share and
reconfigure the Batch Management Server feature in order to add the current logged user with 'Full
control' permissions on the Batch Management folder share.
26 June 2020
Batch Management Installation AVEVA™ Batch Management Installation Guide
NOTE: You will need to do an Update Runtime if new system tags are created.
June 2020 27
AVEVA™ Batch Management Installation Guide Batch Management Installation
The AddScheduleEntry, DeleteScheduleEntry, and InitializeScheduleEntry methods use the security set
for Access Schedule method. Use the security authentication set required for Access Schedule method
of the Batch Client application.
NOTE: If you are upgrading from 9.5 and are using any of the above-mentioned methods, you will need
to modify your code or script.
28 June 2020
AVEVA™ Batch Management Installation Guide
C HAPTER 4
Batch Management Configuration
This section describes how to configure Batch Management features using the Configurator. You must
configure the features after you have installed them.
2. In the left pane, expand Batch Management. The list of Batch Management features that you have
installed appears.
June 2020 29
AVEVA™ Batch Management Installation Guide Batch Management Configuration
When you click a feature name, the configuration options appear in the right pane. If you click
Refresh or select a Batch Management feature in the Configurator, after you have configured the
feature, the Configurator validates the settings. A warning message appears if the settings are not
valid and the state of the selected feature changes to Warning state.
You can view the status messages and error messages in the Configuration Messages area, in the
bottom right of the dialog box. For more information about a message, including possible actions you
need to take, double-click the message text in the window.
30 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
Note: To see if the license server can be found after entering the Server Name and Port, you can
press Test Connection.
Backup: If you have configured a backup server (secondary server), select the checkbox to
enable backup. Then, enter the secondary server name.
June 2020 31
AVEVA™ Batch Management Installation Guide Batch Management Configuration
Note: If you are running the License Manager from a remote node, substitute the node name for
localhost.
Note: The installed programs may not function properly until you restart the system.
32 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
After the system restarts, and before you start using Batch Management, make sure that you have
activated your product licenses. See License Installation and Activation on page 32.
June 2020 33
AVEVA™ Batch Management Installation Guide Batch Management Configuration
Note: If you are prompted for user credentials for the System Management Server, use the following
format to enter the user name: DomainName\UserName. The prompt for user credentials may be
displayed if you have domain admin privileges but are not an admin on the local machine. You must
be a member of the Administrators or aaAdministrators OS group to configure the System
Management Server.
Note: The Configurator is automatically invoked when installation completes. You can also start the
Configurator at any time after from the Windows Start menu on Batch Management.
34 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
June 2020 35
AVEVA™ Batch Management Installation Guide Batch Management Configuration
36 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
By establishing trust between machines, communications can pass freely. This will be a security
concern if you are not sure of the identity of the remote computer. If you have any doubt about the
computer you are connecting to, verify the security code and certificate details by selecting the
Details button in the Advanced Configuration dialog to open the certificate.
5. Select the next item in the left pane that requires configuration. When all required items have been
configured, press the Close button to complete installation. See System Restart after Configuration
on page 32.
June 2020 37
AVEVA™ Batch Management Installation Guide Batch Management Configuration
2. Click General in the left pane. The configuration options appear in the right pane.
NOTE: For Batch Management to work in redundant mode in a secured I/A environment, you must set
the Service Admin Access Account to a user who has the same rights as the IAServices or IAInstaller
users.
38 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
It is critical that the two addresses assigned to the NICs on a single server are from different
networks. This address difference ensures that the network connection is used for communicating
the heartbeats. If these addresses differ only at the host level, redundancy does not work properly.
5. Configure the binding order of the NICs under Network Connections > Advanced > Advanced
Settings so that the primary NIC is at the top of the list and the secondary NIC is on the bottom.
6. In TCP/IP settings, select the Enable LMHOSTS lookup check box. As a result, the set of four
network addresses are loaded into the lmhosts file.
7. In the Configurator, enter two sets of logical host names for the computers. For example, one
computer is BATCHMANAGEMENT1 and BATCHMANAGEMENTA; the other is
BATCHMANAGEMENT2 and BATCHMANAGEMENTB. The logical host names for the primary
network are 1 and 2. The logical host names for the secondary network are A and B.
8. Make sure that the computers can ping each other by name and they can be pinged by name from a
third computer on the same network.
9. Connect the computers with a cross-over cable and then make sure that they can ping each other by
IP. The IP should be on a different subnet than the primary NICs. For example, 10.1.1.1 and 10.1.1.2
works very well.
10. Modify the lmhosts file on both computers, and add the entries for the logical names and IPs. For
details, see "Editing the Lmhosts File on Redundant Servers".
11. Make sure that the two computers can ping each other by their logical host names.
Enable I/A Component Support
IMPORTANT: This option is only required when using Batch Management with Foxboro I/A Series
controllers using IADriver and AIM API. This is the typical configuration when using FoxView as the HMI.
This option is not required when using IBMX or IBCli, with Foxboro Control Software (FCS) InTouch HMI
or standalone. Enabling this option when not required may cause problems in the application
configuration.
I/A components support can be enabled on systems where no I/A Series Software is installed. This
allows users to create Batch Management models in non I/A series machines which can later be moved
to systems where I/A Series software is installed and Batch Management I/A components are enabled.
Configuring this feature will make specific changes to some components in the Environment Display and
other modules of Batch Management. After the feature is configured, the following applications will be
available in the Environment Display:
I/ADriver
I/ALink
BatchView
Applications created in a system with I/A components enabled will have a different set of files and
databases in the Config_A folder as the ones created in a system without I/A components enabled. Due
to this difference in the folder content, the models cannot be moved or re-used between I/A and non-I/A
component setups. Make sure you have the right features configured before proceeding to create your
model.
Additional Requirements for Redundant I/A Systems
I/A Systems also have the following requirements:
The primary network must be used for communication between the Batch Management clients and
the Batch Management Servers. The secondary network is used for the I/A Series control and I/O
network (the Mesh control network or the Nodebus). The secondary network is also used for Batch
Management Server communication functions, such as to communicate a heartbeat signal and to
detect the heartbeat signal of its partner server.
June 2020 39
AVEVA™ Batch Management Installation Guide Batch Management Configuration
Hosts – The Hosts file contains I/A Series network information. To ensure communications through
NICs that are not on the Nodebus or Mesh network, do not make changes to the Hosts file.
WINS – The WINS protocol must be unbound from the Nodebus or Mesh NIC.
Editing the Lmhosts File on Redundant Servers
The lmhosts file is located in the following folder on the servers: …\windows\system32\drivers\etc.
The lmhosts file contains any aliases and all network addresses of Batch Management Servers.
You must edit the lmhosts file on each redundant server to prevent redundancy manager (RedMngr)
from binding an improper IP address.
The names that you use to identify your redundant networks must be different from the computer names.
In previous versions of the product, the primary network was identified by the network name of the
computer. The only place that the network names should be used is in the host file.
The file content is the same for the master and backup computers. Note that the entries correspond to
the entries in the RedCfg file. The #PRE entries cause the entries to be preloaded at system startup.
Using #PRE entries is recommended for improved performance.
IP addresses and computer names shown here are examples.
10.40.20.75 BatchMaster #PRE
10.40.20.75 BatchManagement1 #PRE
10.199.199.9 BatchManagementA #PRE
10.40.20.55 BatchBackup #PRE
10.40.20.55 BatchManagement2 #PRE
10.199.199.8 BatchManagementB #PRE
10.40.20.65 RunClient1 #PRE
10.40.20.66 DevClient1 #PRE
10.40.20.67 HistoryServer #PRE
Example Redundant Server Architecture for Batch Management with I/A Series
Use the following architecture example if you are creating a redundant system for Batch Management
with I/A Series.
This information consists of specific examples for RedCfg and lmhosts files.
40 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
The following figure shows an example configuration for redundancy for I/A Series systems.
June 2020 41
AVEVA™ Batch Management Installation Guide Batch Management Configuration
<blank line>
AW7004PN
AW7004SN
AW7003PN
AW7003SN
<blank line>
In this example, the names AW7003PN, AW7003SN, AW7004PN, and AW7004SN are defined in the
lmhosts file on each computer.
RedCfg File Structure
The RedCfg file has the following structure:
Line 1: The remote computer name
Line 2: Blank, not used
Line 3: The path to the remote computer config_A directory
Line 4: Blank, not used
Line 5: The local hostname for primary network
(cannot be a computer name)
Line 6: The local hostname for secondary network (blank if not used)
Line 7: The remote hostname for primary network (cannot be a computer name)
Line 8: The remote hostname for secondary network (blank if not used)
Line 9: Blank, not used
NOTE: The last line of the RedCfg file must be blank (that is, a carriage return.) The line numbers shown
are for reference only. They are not actually entered in the file.
Lmhosts File
The lmhosts file contains the structure described below. The lmhosts file is located in the following folder
on your computer:
C:\windows\system32\drivers\etc
The file is the same for all stations. Note that the names entered correspond to the entries in the RedCfg
file. The #PRE entries cause the entries to be preloaded when your system is started. Using PRE entries
is recommended for improved performance.
10.40.20.181 AW7003 #PRE
10.40.20.181 AW7003PN #PRE
151.128.8.65 AW7003SN #PRE
10.40.20.182 AW7004 #PRE
10.40.20.182 AW7004PN #PRE
151.128.8.66 AW7004SN #PRE
10.40.20.183 AW7005 #PRE
10.40.20.184 AW7006 #PRE
10.40.20.185 HistoryServer #PRE
Hosts File
The Hosts file contains I/A Series network information and is located in the following folder on your
computer:
42 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
C:\windows\system32\drivers\etc
You do not need to change the Hosts file because Batch Management with I/A components software
does not use this file.
June 2020 43
AVEVA™ Batch Management Installation Guide Batch Management Configuration
NOTE: The Batch Management Server must meet the prerequisites described in "Batch Events
Prerequisites".
44 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
c. Enter the name of the Galaxy whose Platform was deployed locally in the Galaxy Name box.
NOTE: If you enter an invalid Galaxy name, Batch Events may still be configured successfully, but your
Event Service will not be visible in the Configure ArchestrA Services editor of any Galaxy.
8. Click Configure. A green check icon appears in the left pane when Batch Management Server is
successfully configured.
To configure the Batch Management Server with Redundancy Support
1. Open the Configurator.
2. Click General in the left pane, select the Enable Redundancy Support check box in the Settings
area, and then click Configure.
3. Click Server in the left pane. The configuration options appear in the right pane.
NOTE: To enable redundancy support, the computer on which you are configuring Batch
Management Server must have at least two network interface cards. Otherwise, the Local Host
Name of Secondary Network and the Remote Host Name of Secondary Network fields are
disabled in the Configurator. If you continue with the configuration, the Batch Management Server
will function as Master with invalid backup.
4. In the Redundant System Configuration area, you can configure the following:
a. Enter the IP address or the name of the other Batch Management Server in the Remote Server
Node Name box.
June 2020 45
AVEVA™ Batch Management Installation Guide Batch Management Configuration
b. Enter the IP address or the name of the computer, on which you have installed the Batch
Management History Server, in the History Server Node Name box. For more information on
the computer naming conventions, refer to the Host Name Naming Conventions topic.
c. Enter the name of the computer, on which you have installed the reporting components, in the
Reporting Content Node Name box. The name cannot be an IP address or localhost and must
match the "Issued To" property of the SSL certificate that was used when installing Reporting
Content. This is usually the server name or a fully qualified server name. For more information
on the computer naming conventions, refer to the Host Name Naming Conventions topic.
d. Enter the IP address or the name of the remote web server in the Remote Web Server Name
box.
5. Select the Share Batch Management Folder for Remote Development Clients check box to use
the Batch Management Remote Development Client. This shared folder is only available to the
current logged user with 'Full Control' permissions. After creating the share, you may manually add
user permissions (and provide Full Control) for any user you want to be able to access the share.
6. In the Redundant Network Configuration area, you can configure the following:
a. Enter the logical host name of the primary network on the local Batch Management Server in the
Local Host Name of Primary Network box.
b. Enter the logical host name of the secondary network on the local Batch Management Server in
the Local Host Name of Secondary Network box.
c. Enter the logical host name of the primary network on the remote Batch Management Server in
the Remote Host Name of Primary Network box.
d. Enter the logical host name of the secondary network on the remote Batch Management Server
in the Remote Host Name of Secondary Network box.
NOTE: If you reconfigure Batch Management Server, ensure that the Middleware Host service is not
running.
7. In the SSL Certificate area, select the certificate from the Name list. You must use the same
certificate as specified under the Certificates area while configuring the Certificates option.
8. (Optional) If you want to use Batch Events, you can configure it at this point. If you do not want to use
Batch Events, proceed to step 9.
NOTE: The Batch Management Server must meet the prerequisites described in "Batch Events
Prerequisites".
IMPORTANT: If you enter an invalid Galaxy name, Batch Events may still be configured
successfully, but your Event Service will not be visible in the Configure ArchestrA Services editor
of any Galaxy.
9. Click Configure. A green check icon appears in the left pane when Batch Management Server is
successfully configured.
46 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
June 2020 47
AVEVA™ Batch Management Installation Guide Batch Management Configuration
a. Enter the IP address or the name of the computer, on which you have installed the Batch
Management History Server, in the History Server Node Name box. For more information on
the computer naming conventions, refer to the Host Name Naming Conventions topic.
b. Enter the hostname of the computer, on which you have installed the Batch Management
Server, in the Server Node Name box. For more information on the computer naming
conventions, refer to the Host Name Naming Conventions topic.
c. Enter the name of the computer, on which you have installed the reporting components, in the
Reporting Content Node Name box. The name cannot be an IP address or localhost and must
match the "Issued To" property of the SSL certificate that was used when installing Reporting
Content. This is usually the server name or a fully qualified server name. For more information
on the computer naming conventions, refer to the Host Name Naming Conventions topic.
d. Select the drive to which you want to map the batch server folder, from the Batch Management
Folder Drive Mapping list.
NOTE: Ensure that the Batch Management Server folder is shared and that the current user has been
given Full Control permission on the share.
5. Click Configure. A green check icon appears in the left pane when Batch Management Remote
Development Client is successfully configured.
To configure the Batch Management Remote Development client with Redundancy
Support
1. Open the Configurator.
2. Click General in the left pane, select the Enable Redundancy Support check box in the Settings
area, and then click Configure.
3. Click Remote Development Client on the left pane. The configuration options appear in the right
pane.
4. In the Redundant System Configuration area, you can configure the following:
a. Enter the IP address or the name of the computer, on which you have installed the other Batch
Management Server, in the Redundant Server Node Name box. For more information on the
computer naming conventions, refer to the Host Name Naming Conventions topic.
b. Select the drive to which you want to map the redundant server folder, from the Redundant
Batch Management Folder Drive Mapping list.
For configuring other fields, refer "To configure the Batch Management Remote Development client
without Redundancy Support".
48 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
IMPORTANT: If you reconfigure Batch Management Remote Development Client, the Configurator will
stop History Queue Manager.
5. Click Configure. A green check icon appears in the left pane when Batch Management Remote
Development Client is successfully configured.
June 2020 49
AVEVA™ Batch Management Installation Guide Batch Management Configuration
b. Enter the IP address or the name of the computer, on which you have installed the Batch
Management Server, in the Server Node Name box. For more information on the computer
naming conventions, refer to the Host Name Naming Conventions topic.
5. In the Batch Web Server area, enter the IP address or the name of the computer, in the Batch Web
Server Name box. Ensure to enter the Batch Server name used in the SSL Certificate, which is
issued to the server for accessing the web client.
6. Click Configure. A green check icon appears in the left pane when Batch Management Remote
Runtime Client is successfully configured.
To configure the Batch Management Remote Runtime Client with Redundancy Support
1. Open the Configurator.
2. Click General in the left pane, select the Enable Redundancy Support check box in the Settings
area, and then click Configure.
3. Click Remote Runtime Client in the right pane. The configuration options appear in the right pane.
4. In the Redundant System Configuration area, enter the IP address or the name of the computer, in
the Redundant Server Node Name box. This is the computer on which you have installed the other
Batch Management Server. For more information on the computer naming conventions, refer to the
Host Name Naming Conventions topic.
5. In the Redundant Batch Web Server area, enter the IP address or the name of the computer, in the
Redundant Batch Web Server Name box. Ensure to enter the redundant Batch Server name used
in the SSL Certificate, which is issued to the server for accessing the web client.
For configuring other fields, see "To configure the Batch Management Remote Runtime Client
without Redundancy Support".
IMPORTANT: If you reconfigure Batch Management Remote Runtime Client, the Configurator will stop
History Queue Manager.
6. Click Configure. A green check icon appears in the left pane when Batch Management Remote
Runtime Client is successfully configured.
After you configure the Batch Management Remote Runtime Client, you can use the Batch Management
ActiveX controls in InTouch®.
50 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
When you configure the Batch Management History Server feature, the Configurator does the following:
Configures logins, system alarms, and system categories for the SQL Server.
Creates the environment variables.
Updates the Windows services file with Batch Management TCP/IP application ports and
exceptions.
Registers the Batch Management History Server dll components.
Updates the Windows firewall settings for Batch Management History Server node.
Creates a new IIS Application Pool “InBatchAppPool”.
Creates the virtual directory “BatchAdmin”.
Retrieves the Batch Management site name and adds it to the trusted sites, if it is unsecure.
Starts the Batch Management History Queue Reader service.
Creates Batch Management History and Batch Management Archive SQL databases.
Creates Batch Management Archive Template for Batch Management History Admin
Archive/Purge/Restore functionality.
Adds a File Server role.
Adds an Application Server role.
Allows the Active Server Pages in the IIS Web Service Extensions.
Enables the Enable Parent Paths option in IIS for the AdminWeb and Batch ManagementReports
websites.
When you perform a fresh install of Batch Management, the Reports folder name is displayed as
"Batch Management Reports". However, if you upgrade to the latest version of Batch Management
from any previous versions, the Reports folder name is displayed as "InBatch Reports".
Creates a shortcut for History Database Administration on the Start menu.
Drops the pre-defined users (BatchAdminUser, BatchUser, and BatchReportAdmin) from the
BatchHistory and BatchArchive databases if a pre-11.0 upgrade is detected, and the new Service
DB Access is assigned to BatchHistory and BatchArchive databases.
Creates the InBatchAppPool and set to run as the same user (identity) as HistQReader - so that it
has read/write access to BatchHistory and BatchArchive databases. The Application Pool user
should have as few OS privileges as possible. For more information, see "Application Pool User
Privileges".
To configure the Batch Management History Server without Redundancy Support
1. Open the Configurator.
June 2020 51
AVEVA™ Batch Management Installation Guide Batch Management Configuration
2. Click General in the left pane, clear the Enable Redundancy Support check box in the Settings
area, and then click Configure.
3. Click History Server in the left pane. The configuration options appear in the right pane.
NOTE: The System Configuration fields are automatically populated with the default values.
a. Enter the IP address or the name of the computer, on which you have installed the Batch
Management Server, in the Server Node Name box. For more information on the computer
naming conventions, see Host Name Naming Conventions.
b. Enter the name of the history database in the History Database Name box.
c. Enter the name of the archive database in the Archive Database Name box.
5. In the DB Creation/Upgrade - SQL Login Information (SQL sysadmin - installation only) area,
you can configure one of the following:
a. In the SQL Server Instance Name box, specify the named instances of SQL for local host or the
remote server.
b. Click Windows Authentication to use the interactive user’s account.
Or
Click SQL Server Authentication and specify the User Name and the Password. This
connection information is used only for completing the configuration and is not stored.
52 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
NOTE: A connection with the default instance of SQL Server on local machine is established, using
the specified credentials. This connection is used to perform administrative tasks on the databases.
IMPORTANT: The user specified in DB Creation/Upgrade - SQL login Information area must
have privileges to add the Service DB Access user login to SQL Server and grant it read/write access
to the BatchHistory and BatchArchive databases.
6. In the Service DB Access - Integrated SQL Login Information (HistoryDB read/write - Web &
HistQReader) area, you can configure the following:
a. Enter the name of the Service DB access user name in the User Name box. The Service DB
Access user is used to run the HistQReader service. The HistQReader service Log-On As
account will be set to this user and connect to BatchHistory database using integrated
authentication in SQL. This user is also used to run the History Administration web application
(AppPool user).
NOTE: The Service DB Access User has to be a domain or a local user. This cannot be a standard
SQL Server user. If you plan on accessing the AVEVA Batch Management History Administration
web site as a domain user, then this user also needs to be a domain user. If this user's credentials
ever change, you will need to rerun Configurator.
b. Enter the password in the Password box.
7. In the Database Configuration area, you can configure the following:
o Select the Use Existing History Database check box to use an existing history database. Clear
the check box to create a new history database.
o Select the Use Existing Archive Database check box to use an existing archive database.
Clear the check box to create a new archive database.
NOTE: If the Configurator detects an older version of the database, you must select the above check
boxes to upgrade the database to the latest version of Batch Management.
If you want to use an existing database, the Configurator upgrades the following:
o For History Database - Tables, Views, and StoredProcedures
o For Archive Database - Tables
o The Service DB access User (if it does not already exist)
If you want to configure a new database, the Configurator creates the following:
o Database (BatchHistory/BatchArchive)
o Users
o Roles
o Schema
o Defaults
o UserDefinedDataTypes
o Tables
o Views
o StoredProcedures
8. In the SSL Certificate section, select the existing self-signed certificate from the Name drop down
box.
June 2020 53
AVEVA™ Batch Management Installation Guide Batch Management Configuration
9. Click Configure. A green check icon appears in the left pane when Batch Management History
Server is successfully configured.
To configure the Batch Management History Server with Redundancy Support
1. Open the Configurator.
2. Click General in the left pane, select the Enable Redundancy Support check box in the Settings
pane, and then click Configure.
3. Click History Server on the left pane. The configuration options appear in the right pane.
4. In the Redundant System Configuration area, enter the IP address or the name of the computer,
on which you have installed the other Batch Management Server, in the Redundant Server Node
Name box.
For more information on the computer naming conventions, refer to the Host Name Naming
Conventions topic.
For configuring other fields, see "To configure the Batch Management History Server without
Redundancy Support".
5. Click Configure. A green check icon appears in the left pane when Batch Management History
Server is successfully configured.
54 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
o A supported version of SQL Server Reporting Services is installed, configured, and accessible.
To verify this, you typically should be able to navigate to http://<hostname>/reports without error
(or https).
When you configure the Batch Management Reporting Content feature, the Configurator does the
following:
Loads the existing 'Production' Shared data sources in the Data source combo box
Create Shared Data Source in SSRS named 'ibReports' for Batch Management Reporting. Batch
Management Reports will fetch data from Batch History database using this shared data source.
Set the Batch Management Reporting service to the application pool account. This will enable the
service to run under the same account. Restart the "BatchManagement_ReportQueReader" service.
Deploys I/A Alarm reporting content, if I/A component support is enabled.
Creates ibReportsUsers OS groups and assigns 'Browser' pre-defined SSRS role.
Creates the environment variables.
Starts the Report Queue Reader service.
Creates the InBatchReportsAppPool and sets to run as the same user (identity) as
ReportQueReader – so that it has read/write access to the BatchHistory database. The Application
Pool user should have as few OS privileges as possible. For more information, see "Application Pool
User Privileges".
Copies the BatchTimeExtensions.dll from "C:\Program Files\Wonderware\Batch
Management\Bin" to "C:\Program Files\Microsoft SQL
Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\bin" in Report Server
computer. The SQL Server instance varies based on the SQL Server version and SQL Server
instance.
NOTE: In the case of the remote computer, you need to manually copy “BatchTimeExtensions.dll”
file from "C:\Program Files\Wonderware\Batch Management\Bin" to "C:\Program Files\Microsoft
SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\bin" location before
configuring Reporting Content with remote computer for SSRS SQL Server.
June 2020 55
AVEVA™ Batch Management Installation Guide Batch Management Configuration
IMPORTANT:
- Ensure you verify that the SSRS home page is working correctly before you configure the Batch
Management Reporting feature.
- If the Batch Management Reporting Content Configuration times out for the first time, try the
configuration again. Or refer to the SSRS documentation for more details.
- When you perform a fresh install of Batch Management, the url is
http:\<localhostname>\BatchManagementReports. However, if you upgrade to the latest version of
Batch Management from any previous versions, the url is http:\<localhostname>\InBatchReports.
- We recommend that you delete any existing "Batch Management Reports" under SSRS, before
you configure the Batch Management Reports. When you perform a fresh install of Batch
Management, the Reports folder name is displayed as "Batch Management Reports". However, if
you upgrade to the latest version of Batch Management from any previous versions, the Reports
folder name is displayed as "InBatch Reports".
b. Enter the SQL Server instance name in the History Server SQL Instance Name box.
c. Enter the name of the history server database in the History Database Name box.
3. In the History Database Modification - SQL Login Information (SQL sysadmin - installation
only) area, you can configure the following:
o Click Windows Authentication to use the interactive user’s account.
o Click SQL Server Authentication and specify the User Name and the Password. This
connection information is used only for completing the configuration.
4. In the SQL Server Reporting Service (SSRS) area, specify the named instance of SQL Server.
NOTE: The specified credentials are used to establish a connection with the default instance of SQL
Server on localhost or remote host. This connection is used to perform administrative tasks on the
databases.
5. In the Service DB Access-Integrated SQL Login Information (HistoryDB read/write -Web &
ReportQReader) area, you can configure the following:
a. Enter the name of the Service DB access user name in the User Name box. The Service DB
Access user is used to run the ReportQueReader service. The ReportQueReader service
Log-On As account will be set to this user and connect to BatchHistory database using
integrated authentication in SQL. This user is also used to run the Report Administration and
Report Display web applications (AppPool user).
b. Enter the password in the Password box.
NOTE: The Service DB Access User has to be a domain or a local user. This cannot be a standard
SQL Server user. If you plan on accessing the Batch Management Report Administration web site as
a domain user, then this user also needs to be a domain user. It is typically the same user used for
the History Server feature. If this user's credentials ever change, you will need to rerun Configurator.
6. In the History Data Source Configuration area, the History database name is displayed. This is the
same database which is used while configuring the Batch Management History Server. Click Details
to view the History database server name and the History database name.
7. In the Alarm Data Source Configuration area, the alarm data source details are displayed. You
can click Details to define a new one. For more information, see "Defining a New Alarm Data
Source".
8. In the SSL Certificate section, select the existing self-signed certificate from the Name drop down
box. In this manner, the History Server and Reporting Content websites can be set up to use the
same certificate that was already configured.
9. Click Configure. A green check icon appears in the left pane when Batch Management Reporting
Content is successfully configured.
Defining a New Batch Management History Data Source
You can define a new history data source using the Configurator.
If SSRS is on a different node than the Batch Management HistoryDB and if you want to configure a data
source to use Windows authentication, you must set up delegation between the SSRS server and the
back end Batch Management History server. This is done on the domain controller.
For more information, refer to the Microsoft web site for "Configuring Linked Servers for Delegation".
June 2020 57
AVEVA™ Batch Management Installation Guide Batch Management Configuration
58 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
Managing Licenses
Batch Management enforces licensing through AVEVA Enterprise License Manager. For more
information on AVEVA Enterprise Licensing, refer to the AVEVA Enterprise License Platform Guide.
Batch Management employs the following types of licensing:
Server Licensing: A Batch Management Server license is requested when a user starts the Batch
Management Server.
Batch Management Server License is categorized into the following types based on the unit count
supported:
o Large
o Medium
o Small
Development Client Licensing: A Batch Management Development Client license is requested
when a user starts any Development Client Editor. For example, Environment Editor, Model Editor,
Security Editor, Tag Linker, Recipe Editor, and so on.
June 2020 59
AVEVA™ Batch Management Installation Guide Batch Management Configuration
MOM Client Licensing: A Manufacturing Operations Client Connection (MOM Client) license is
requested when a user starts any Runtime Client Editor. For example, Batch Scheduler, Batch
Display, and so on.
Server Licenses
Acquiring Server License
When you launch Environment Display, the Batch Management services such as EnvMngr, HistQMngr,
SecMngr, and so on get started.
When the SecMngr service starts, it requests the Batch Management Server license (product license)
from the configured license server. Once the server license gets acquired successfully, the Environment
Display launches.
When you click “Exit” on the Environment Display, (instead of “Exit and Shutdown”), the view is closed.
However, the Batch Management services are still running in the background. Therefore, the server
license still remains acquired. When you launch the Environment Display again, it just verifies the
product license status.
Server License Acquisition Failure
If there is a failure in acquiring server license, an error message appears in a message box and in the
SMC logger. All the Batch Management services are in the “Stopped” state and the Environment Display
is not launched.
Refreshing Server Licenses
If any development or runtime clients are active, the SecMngr service monitors the active connections.
The SecMngr service refreshes the server connections at an interval of 5 minutes and 24 hours
respectively.
Releasing Server License
When you click “Exit and Shutdown” in the Environment Display, the SecMngr service gets stopped and
the server license gets released. The license also gets released when the SecMngr service is stopped at
any point in time.
60 June 2020
Batch Management Configuration AVEVA™ Batch Management Installation Guide
June 2020 61
AVEVA™ Batch Management Installation Guide Batch Management Configuration
When the IBCli and IBMX services are started, the services read the unit count from the Batch
Management model and compare with the unit count available in the license file. If the model unit count
exceeds the license unit count, then the following warning is logged in the SMC logger and the service is
not started.
The number of units defined in the model exceeds the predefined number of units available in the
license!
62 June 2020