I/A Series Isolation Station Software User's Guide: B0400EC Rev A
I/A Series Isolation Station Software User's Guide: B0400EC Rev A
REV A
I/A Series®
Isolation Station Software
User’s Guide
May 28, 2008
Invensys, Foxboro, I/A Series, AIM*AT, AIM*Historian, FoxAPI, FoxCAE, FoxDraw, FoxView and
Net FoxAPI are trademarks of Invensys plc, its subsidiaries and affiliates
All other brand names may be trademarks of their respective owners.
Tables..................................................................................................................................... xi
Preface................................................................................................................................. xiii
Purpose .................................................................................................................................. xiii
Audience ................................................................................................................................ xiii
Revision Information ............................................................................................................. xiii
Reference Documents ............................................................................................................ xiii
Terms and Definitions ........................................................................................................... xiv
1. Overview ........................................................................................................................... 1
Isolation Station Concept .......................................................................................................... 1
Isolation Station AW ............................................................................................................ 2
Isolation Station Firewall ...................................................................................................... 2
Isolation Station Server AW ................................................................................................. 2
Product Features ....................................................................................................................... 3
Requirements ............................................................................................................................ 5
Customer Supplied Network ................................................................................................ 5
I/A Series Platform ............................................................................................................... 5
Isolation Station AW (Remote Station) ........................................................................... 5
Isolation Station Server AW (Local Station) .................................................................... 6
Implementation ........................................................................................................................ 6
Redundancy .............................................................................................................................. 7
iii
B0400EC – Rev A Contents
iv
Contents B0400EC – Rev A
7. Operation........................................................................................................................ 57
Application Object Services (AOS) .......................................................................................... 57
Typical Uses ....................................................................................................................... 58
Information Network Interface (INI) ...................................................................................... 59
Message Forwarding ........................................................................................................... 59
Message Relay .................................................................................................................... 61
Message Relay and Well-Known Names ........................................................................ 61
Message Relay and Locally Known Names .................................................................... 61
Message Relay and Broadcast Messages .......................................................................... 61
Securely Moving Data from the DMZ to a CP .................................................................. 63
Isolation Station Configurator ................................................................................................. 63
v
B0400EC – Rev A Contents
vi
Contents B0400EC – Rev A
10. Troubleshooting............................................................................................................ 79
General ................................................................................................................................... 79
Station Overload ..................................................................................................................... 79
CPU Cycles ........................................................................................................................ 79
I/O Loading ....................................................................................................................... 79
Memory ............................................................................................................................. 80
Baseline ................................................................................................................................... 80
Slow Displays .......................................................................................................................... 80
Delay of Use After Reboot ...................................................................................................... 80
Speed Up Database Build ........................................................................................................ 81
Isolation Station Tag Not Updating ........................................................................................ 81
Index .................................................................................................................................... 87
vii
B0400EC – Rev A Contents
viii
Figures
1-1. Shared Map Files ........................................................................................................... 3
1-2. Data Flow ..................................................................................................................... 5
1-3. Redundancy Example 1 ................................................................................................. 7
1-4. Redundancy Example 2 ................................................................................................. 7
5-1. Isolation Station System Overview .............................................................................. 37
5-2. Staring the Isolation Station Configurator (Windows Stations) ................................... 42
5-3. INI and IS Map File Builder (Windows Stations) ....................................................... 42
5-4. INI and IS Map File Builder - Local Station (Windows Station) ................................. 43
5-5. INI and IS Map File Builder - Map File View (Windows Stations) ............................. 44
5-6. Intermediate Compound Naming (Windows Stations) ............................................... 45
6-1. Isolation Station System Overview .............................................................................. 47
6-2. Starting the Isolation Station Configurator (Solaris Stations) ...................................... 52
6-3. INI and IS Map File Builder (Solaris Stations) ............................................................ 52
6-4. INI and IS Map File Builder - Local Station (Solaris Stations) .................................... 53
6-5. INI and IS Map File Builder - Map File View (Solaris Stations) .................................. 54
6-6. Intermediate Compound Naming (Solaris Stations) .................................................... 55
7-1. AOS Software Data Flow ............................................................................................ 58
7-2. Data Flow from Remote Station to Local Station in a Peer-to-Peer Application .......... 59
7-3. Message Forwarding Functionality .............................................................................. 60
7-4. Message Relay of Broadcast Messages .......................................................................... 62
ix
B0400EC – Rev A Figures
x
Tables
1-1. Mapping Operators ....................................................................................................... 4
5-1. Application Naming .................................................................................................... 44
6-1. Application Naming .................................................................................................... 54
xi
B0400EC – Rev A Tables
xii
Preface
Purpose
This document explains the purpose and use of the Isolation Station software package. The
Isolation Station software packages when combined with the correct network and I/A Series®
hardware provides controlled isolation between the I/A Series control network and the customer
supplied network.
Audience
This document assumes a user who is familiar with:
♦ The system’s Operating System (OS), i.e. UNIX® or Windows®,
♦ The use of a text editor, e.g., vi(1), textedit(1), or NotePad,
♦ The configuration of the I/A Series display manager for remote operation,
If the Message Forwarding Service is to be used, the user needs to be familiar with:
♦ The I/A Series Alarm System,
♦ The configuration of the I/A Series Alarm Manager, and
♦ The configuration of the I/A Series Annunciator Keyboards and horns.
If the Message Relay Service is to be used, the user needs to be familiar with:
♦ The I/A Series software IPC Communication Mechanism
If troubleshooting data transfers, the user needs to be familiar with foxtst, som, and oma.
Revision Information
This is the initial release of this document.
Reference Documents
The following standard I/A Series system documents are referenced in this manual and may be
worth reviewing prior to using the Isolation Station Software.
♦ 50 Series Configurable OPSYS (B0193MJ)
♦ 50 Series X Client/Server Support, (B0193NV)
♦ Display Engineering for 50 Series (B0193MQ)
♦ Display Manager/FoxView Calls (B0193DF)
♦ FoxRemote Configurations Guide for Solaris Installation and Configuration Guide
(B0193WZ)
♦ I/A Series System FoxAPI User's Guide (B0193UD)
♦ I/A Series System FoxAPI Installation Guide (B0193UC)
♦ Integrated Control Block Descriptions (B0193AX)
xiii
B0400EC – Rev A Preface
xiv
Preface B0400EC – Rev A
Application Objects are often used to represent data structures that would normally be
internal to a program (application), but which are more useful if they are globally
accessible through the OM. The DMCplus Bridge, Connoisseur, and the I/A Series Off-
sites Suite (BOSS/OMIS/TIS) use the AOS software in that manner.
Compound Block Parameter (CBP or C:B.P)
The name of a value associated with an I/A Series Control Block
Control Network
The network that connects I/A Series stations. Components of this network may include
nodebus segments, Carrierband LAN segments, and/or Mesh Network segments.
Customer Supplied Network (CSN)
The network used to connect the Isolation Station Server AW (local machine) and the
Isolation Station AW (remote machine). Typically, the connection between these two
systems uses the optional 2nd Ethernet port found on I/A Series AWs.
FoxView™ Software
One of the I/A Series display manager packages.
globally known (logical) name
The I/A Series IPC mechanism is based on communication by logical name. A name can
be locally known or globally known.
Locally known names are known only by the IPC services in the AP/AW running the
program. Globally known names are registered with the I/A Series Object Manager. The
station address of globally known programs can be found using OM calls. Locally known
programs cannot be found in that manner.
Programs using I/A Series IPC to communicate with a locally known program must either
know the other program’s station address or must use the I/A Series broadcast message.
The station address of the other program can be obtained from its globally known name if
available.
iaToQ
Process on the Isolation Station Server AW (local machine) that is responsible for
intercepting and collecting the Control Station, System Monitor, and Operator Action
Journal messages. It places the messages in an outgoing message queue for processing by
the qToNet.
Information Network Interface (INI)
A suite applications that loosely couples separate I/A Series systems. This loose coupling
allows data exchange and message transfer. The INI process runs on the Isolation Station
Server AW (local machine).
Informix Database
AOS and the INI packages use the Informix relational database to create databases to hold
Application Definitions. The Solaris™ based I/A Series system ships with a runtime
license for an Informix relational database. The Isolation Station software includes the
required Informix license.
IPC/COMEX
IPC/COMEX is the communication services used by all I/A Series programs including
the OM.
xv
B0400EC – Rev A Preface
Local Station
The Isolation Station Server AW is the station that sends the alarm messages and/or pro-
cess data off-node. It is the machine that runs the INI process and the iaToNet process.
locally known (logical) name
The I/A Series IPC mechanism is based on communication by logical name. A name can
be locally known or globally known.
Locally known names are known only to the IPC service in the AW running the program.
Globally known names are registered with the I/A Series Object Manager. The station
address of globally known programs can be found using OM calls. Locally known
programs cannot be found in that manner.
Programs written to communicate with a locally known program must either know its
station address or must use the I/A Series broadcast message.
logical name
A logical name is an ASCII string used to represent and I/A Series object. An I/A Series
object may be a value, a program, device, or alias. The INI software is concerned only
with values and programs. The I/A Series Object Manager knows globally known logical
names like the value of a control block parameter (CBP) and the name of a historian.
Locally known names are used only with programs. They are not registered with the OM,
but they are registered with the Foxboro® IPC layer.
map file
An ASCII file used to define the Application Object attributes to be stored in the
Informix database used to hold Application definitions.
mapping
The term used for the transfer of data between Application Object and other OM variable
under the control of the AOS/INI mapping service.
Message Forwarding
Communication within the I/A Series network is based on a message passing system built
upon a set of communication services known as IPC/COMEX, or the Inter-Process
Communication/Communication Executive. IPC/COMEX provides support for
transporting a block of data, or packet, from one I/A Series station to another in an
efficient and reliable manner.
The Message Forwarding component of the INI package is built on top of these IPC
services and allows forwarding of I/A Series system messages from remote I/A Series
system to the local I/A Series system. Message types forwarded include messages generated
by Control Stations, System Monitors, and Operator Workstations.
It is important to understand the basics of I/A Series Messaging before attempting to
understand the Message Forwarding component of the INI package.
msgRelay
The INI software component responsible for relaying Foxboro IPC messages between
application programs.
xvi
Preface B0400EC – Rev A
netToIA
Process on the Isolation Station Server AW (local station) this is responsible for receiving
all messages sent across the TCP/IP connection from qToNet and delivering them to their
final destination. The final destination could be a printer, historian, or an AW/WP on the
Isolation Station AW (remote station) network, if any.
Object Manager
The I/A Series Name Server. It provides services that allow programs to locate and access
I/A Series objects. The most common objects are values and programs using Foxboro
IPC.
Object Template
A Bourne shell script that defines the attributes of an Application Object. It is combined
with the information found in an aod file by MkMapFile to form a map file.
NIC
Network Interface Card. A card used to connect a computer to a network.
qToNet
Process on the Isolation Station Server AW (local station) that is responsible for
establishing the TCP/IP connection and sending the collected messages to its partner
netToIA. It reads the messages placed in the outgoing message queue by iaToQ.
Remote Station
The Isolation Station AW (remote station) on the CSN. This is the station that is to
receive process data and/or I/A Series messages from the Isolation Station Server AW
(local station). It is the station that runs the netToIA application.
xvii
B0400EC – Rev A Preface
xviii
1. Overview
The Isolation Station Software, when combined with the correct network and I/A Series
equipment, strictly controls access to the I/A Series Process Control equipment while enabling
complete access to selected process data. Isolation with data transparency is the distinguishing
feature of the product.
1
B0400EC – Rev A 1. Overview
Isolation Station AW
This station strictly controls access to I/A Series Process Control equipment while enabling
complete access to selected process data and is the dedicated platform that hosts all third-party
applications and Invensys applications that interface to the plant control network or
office network.
The Isolation Station AW represents the data in the protected system to applications that reside in
the unprotected network. The Isolation Station software package allows the Isolation Station AW
to represent the protected system’s data using exactly the same tag names as those on the original
system. This commonality of names makes the movement of applications from the protected
DCS to the Isolation Station AW simple and straightforward.
The Isolation Station concept is flexible enough to support Isolation Stations that have identical
data for redundancy and scalable enough to support multiple Isolation Stations if the system is
very large.
The Isolation Station machine is a standard I/A Series AW loaded with standard I/A Series
software plus the Isolation Station software components appropriate to an Isolation Station AW.
This station supports the following functionality (as examples):
♦ Invensys Packages
♦ AIM (OPC DA/HDA Server, OPC A&E Server (as of 04/1/2008), ODBC)
The AIM OPC Server is used to support external applications access to real time
DCS data.
♦ Connoisseur
♦ Remote access to FoxView or Display Manager displays.
♦ Third-party Packages
♦ PI-API
♦ DMCplus
♦ Base Software
♦ Tag Data
♦ Data transfer
♦ Virus Detection
2
1. Overview B0400EC – Rev A
Product Features
The Isolation Station Software is comprised of the following software packages:
♦ Application Objects Services (AOS) Software - provides services to facilitate data
representation, data transfer and alarm generation. The AOS software is installed on
both the Isolation Station Server AW (local station) and Isolation Station AW
(remote station).
♦ Information Network Interface (INI) Software - provides services that enable data
transfer and message forwarding. The INI software is installed on the Isolation Station
Server AW (local station) only. The INI software consists of three modules:
♦ The Data Transfer facility which makes the Isolation Station Server AW’s (local
station) objects available to the Isolation Station AW (remote station).
♦ The Message Forwarding facility which forwards messages from the Isolation
Station Server AWs (local station) to the Isolation Station AW (remote station) for
annunciation.
♦ The Message Relay facility that supports two-way communications between
Foxboro Inter-Process Communication based programs.
♦ Isolation Station Configurator - provides a graphical user-interface (GUI) utility that
consolidates all the activities required to generate the map files used by the Informa-
tion Network Interface (INI) software. These map files are the keys to replicate data
for consumption by the outside world. The Isolation Station Software eliminates the
manual steps formerly used to generate map files.
In the Isolation Station Server AW (local station) the AOS and INI applications share the same
application and the same map file, Figure 1-1.
Map Files
Informix
Since the AOS and INI instances are on the same machine and share the AOA, they share the
same map file. For this reason only two map files are required for implementation.
♦ One on the Isolation Station Server AW (local station) used by AOS and INI applica-
tions for mapping and
♦ One with the “C” (constant) mapping on the Isolation Station AW (remote station) to
hold the transferred values.
3
B0400EC – Rev A 1. Overview
In this situation there are only a very few mapping operators that can work.
TIP
For more information about mapping, please reference the Application Object
Services User’s Guide (B0400BZ) manual’s map File section and the Information
Network Interface for Solaris and Windows Software User Guide (B0400BM)
manual’s map File section.
The mapping process from a C:B.P accessible by the Isolation Station Server AW to an applica-
tion object in the Isolation Station AW is as follows:
1. The Isolation Station Configurator produces 2 map files, one for the Isolation Station
Server AW and the other for the Isolation Station AW. The inputs to the Isolation
Station Configurator are:
a. The name of the control station (in the local host) for which the map files are to
be produced. If the control station name is set to All, then map files for all control
stations in the local host will be produced.
b. The pathname to the mapDef file. The mapDef file is a modified version of the one
used by the INI software. This file contains only C, p and w mapping types. The
default name is /opt/iss/data/mapDefIss. See the Information Network Interface
for Solaris and Windows Software User Guide, B0400BM, Command Usage, Map
Definition File (mapdef ), sections for a detailed explanation of the mapDef file.
2. The AOS software running in the Isolation Station Server AW maps the C:B.P to an
intermediate application object with the same name prefixed by an underscore (_), i.e.
“_C:B.P”.
3. The INI software maps the intermediate application object across the customer
supplied network to the application object C:B.P in the Isolation Station AW, which
is managed by its own copy of the AOS software.
The Figure 1-2 illustrates the replicated data flow from the Isolation Station Server AW (local
station) to the Isolation Station AW (remote station). The thicker arrows indicate the data flow
direction.
4
1. Overview B0400EC – Rev A
Isolation
Station
Configuration
Utility
aos create
aos create
User
Applications
_C:B.P C:B.P
AOS (Intermediate A:O.A)
INI FoxView
(Replicated Data)
AIM*
Protected Unprotected
C:B.P
CP
Requirements
Customer Supplied Network
♦ Any network for which a Network Interface Card is available. Invensys offers a variety
of Ethernet NICs.
♦ IP suite based.
5
B0400EC – Rev A 1. Overview
♦ Application Object Services (AOS) software. (Ships as part of the Isolation Station
Software deliverable.)
♦ Additional RAM may be required based on the use of the AW. This is a project
specific need and must be evaluated on a case by case basis.
Implementation
The Isolation Station AW and the Isolation Station Server AW use the functionality of the
Isolation Station Software to replicate data required by the customer supplied network PCs.
The Isolation Station solution consists of the following pieces:
♦ Isolation Station AW (Remote Station) - An equipped AW (sold separately) that is
connected to the customer supplied network. This station is the platform that hosts
all third party applications and Invensys applications that interface to the customer
supplied network.
♦ Isolation Station Firewall - A dedicated firewall (sold separately) that is the sole link
between the Isolation Station AW and the Isolation Station Server AW.
♦ Isolation Station Server AW (Local Station) - An AW (sold separately) residing on
the control network that has been configured with the Isolation Station Software.
This station connects to the firewall using a second NIC.
6
1. Overview B0400EC – Rev A
Redundancy
Isolation Station redundancy can be achieved by using two pairs of independent Isolation Station
Server AW/Isolation Station AW. The following figures show two possible examples of how
redundancy can be achieved.
Figure 1-3 shows redundancy using two independent Isolation Station Server AW/Isolation
Station AW pairs with two independent firewalls.
Isolation Station
Isolation Station
Server AW
AW #1
#1
Firewall #1
Control Network
Isolation Station
Isolation Station
Server AW
AW #2
#2
Firewall #2
Figure 1-4 shows redundancy using two independent Isolation Station Server AW/Isolation
Station AW pairs with both using the same firewall.
Isolation Station
Isolation Station
Server AW
AW #1
#1
In both examples, the Isolation Station AW #1 and Isolation Station AW #2 must be separate
I/A Series stations.
Each Isolation Station Server AW/Isolation Station AW pair will need different map files so that
the AOAs on each Isolation Station Server AW will have unique names.
7
B0400EC – Rev A 1. Overview
8
2. Assumptions and Limitations
This chapter describes the assumptions and limitation of the Isolation Station concept.
NOTE
There is a defect in the OM of the 70 Series stations, running FoxView/FoxDraw™
v10.1, which limits the number of AOAs that can be created to far less than one is
likely to want to create. Quick Fix 1008989 has been issued to resolve this problem.
♦ Configure both AIM*API™ and FoxAPI interface software to use 255 entries per
OM list.
♦ Both the AOS and INI packages can add to the CPU load of the Isolation Station
Server AW, but generally this is not a significant burden.
NOTE
If the Isolation Station Server AW is also running the AIM*Historian software, then
the OM load can be minimized by sharing the OM lists with the AIM*API
software. The the aimapi.cfg file can be modified to enable this share. See the
following documents for more information: AIM*AT Service Pack 3.2.3 Release
Notes (B0400EL), AIM*API User’s Guide (B0193YN) and FoxAPI V4.3 Release
Notes (B0193UC).
9
B0400EC – Rev A 2. Assumptions and Limitations
AOS/INI Applications
It is important to understand that both the AOS and INI applications read the Informix database
and initialize the AOAs in the Isolation Station Server AW when mapping is started. As a result of
this sharing keep in mind that:
♦ If the INI application is started first, there is no issue. The INI application initializes
the AOAs to the value in Informix and the AOS application does the same thing
before starting the update.
♦ If the AOS application is started first, it puts valid data in the AOAs for transmittal to
the Isolation Station AW (remote station), but when the INI application starts it sets
the values back to the initial values specified in the Informix database. At that point,
any re-initialized tags will not be propagated to the Isolation Station AW until the tags
change on the Isolation Stations Server’s control network.
♦ Since the AOS and INI packages share application objects, each one “thinks” it is the
sole user of the A:O.action attribute, so the first package to see the unmapping request
(a certain value in A:O.action) will unmap the application object. The unmap
command must be performed twice to unmap the application object and there is no
guarantee which package will unmap first.
Both the AOS and INI programs handle shared variables, simply put the name in the right place
in the map file.
NOTE
The workstation must have the FoxAPI software Version 4.3 or later to support the
USEAIMAPI option.
10
2. Assumptions and Limitations B0400EC – Rev A
Use the Control Panel applet to start AIM*AT Applications.To activate connection sharing for
Solaris workstations:
1. Open the aimapi.cfg file in the AIM*AT program directory.
/opt/aim/bin/aimapi.cfg on AW51s
/opt/aim/bin/aimapi.cfg on off-platform Solaris workstations
2. Edit the file to include the following line:
USEAIMAPI = 0
3. Use the /opt/fox/ais/bin/aisstop command to stop the FoxAPI process.
4. Use the /opt/fox/ais/bin/aisstart command to restart the FoxAPI process.
5. Use the /opt/fox/ais/bin/apistop command to stop the AIM*AT process.
6. Use the /opt/fox/ais/bin/apistart command to restart the AIM*AT process.
Thus, the AOS software load can be close to zero additional assuming that the historian is already
getting the same points.
11
B0400EC – Rev A 2. Assumptions and Limitations
♦ All data types must have positive dead bands; otherwise, unnecessary mappings occur.
If a mapped AOA or CBP has a deadband of 0, then its value is copied across to is
associated CBP or AOA every mapping scan rate cycle. THIS IS TRUE FOR ALL
DATA TYPES.
♦ Character data types must have dead bands greater than or equal to 1; otherwise,
unnecessary mappings occur as in the above note.
♦ The initial values of a character data type AOA must be a non-space printable ASCII
characters in the mapping text file.
♦ There is no limit on the number of AOAs in an application, other than that imposed
by the size of shared memory on the machine.
♦ The maximum number of objects per application is 10,000.
♦ The maximum number of attributes per object is 10,000.
♦ The maximum number of unique attribute names in the aos database is 10,000.
♦ The FoxAPI software scan rate of all AOS software data sets can range from 2 to 10
seconds.
The 10,000 limit mentioned above is imposed by the number of rows in a table that the AOS
product can handle in a single query.
NOTE
As a general rule, designers of Applications Objects should avoid the use of lower
case attribute names. Lower case names should be avoided for two reasons: the ICC
will not let them be entered and the AOS software may be extended to include new
reserved parameters. It is expected that names of new reserved attributes will be all
lower case characters.
12
2. Assumptions and Limitations B0400EC – Rev A
system. This limit can be raised following the instructions in the Application Object Services User’s
Guide (B0400BZ).
NOTE
There is a defect in the OM of the 70 Series stations, running FoxView/FoxDraw
v10.1, which limits the number of AOAs that can be created to far less than one is
likely to want to create. Quick Fix 1008989 has been issued to resolve this problem.
Informix Software
The AOS software uses the Informix database to store its Object definitions and initial/check-
pointed values.
A single Informix user license is required for each simultaneous Application Object build
(aos builddb) and create (aos create) process. When the build or create completes, the license
is freed. While the mapping process (aos map) is running, it too requires a single Informix user
license.
INI Software
Data Transfer Limitations
A TCP/IP network between the Isolation Station Server AW (local station) and Isolation Station
AW (remote station) must be in place and operating before this software is installed.
The INI package has some limitations:
1. Unlike the INI15, the INI package does not have a dynamic database. Tag names
must be configured if they are to be available.
2. Unlike the INI15, INI software tags do not appear in the Select or FoxSelect dis-
plays. However, if the proper CBPs are monitored, the local detail display file works
with the INI tags.
3. The release of the INI package covered by this document does not directly support redun-
dancy. However, the non-redundant INI hosts can be attached to a redundant CSN.
In this case, the INI package will be immune to cable faults within the CSN, but it
will be susceptible to faults in its host, the NIC in the host, and the cable between the
CSN and the NIC. In addition, application level redundancy can be provided.
13
B0400EC – Rev A 2. Assumptions and Limitations
4. It is possible for race conditions to exist over an INI software link that are not normally
detectable in a Control Network based system. A race condition occurs when two events
happen more or less simultaneously, but the scanning of the software causes it to see
one, but not the other on the same scan. In this case, one may see the change in values
in what is perceived to be an “out-of-order” sequence. Some applications use the
change of a CBP to signal completion of certain data value changes. In the INI
software, it is possible for the change in this flag to be reported before the values that
it is signaling are reported. Applications need to be aware of this phenomenon. The
same condition could occur in a Control Network based system, but the delays in the
INI software make it more pronounced.
5. The INI software handling of Last Good Value (LGV) may differ from expectations.
There are two forms of LGV. Restoration of value at bootup and holding values when
they go bad.
The INI software restores the value from the Informix database when an object is
created, but it does not update these values except for U or g maps. There are several
reasons for this behavior:
♦ While it might be possible to update the Informix database during a normal
shutdown, doing so during an abnormal shutdown would be difficult to guar-
antee.
♦ There may be a long time between save and re-create and the value restored
might be just as invalid as zero. For this reason, we feel that handling all such
cases identically is better.
♦ The time it takes to update the Informix database is quite high. If the attempt
was made to update it frequently enough to catch a LGV, the load on the
machine would increase and the updates would fall behind because Informix
would not be able to keep up for large applications.
6. If the multi-map mode of the INI executable is used, all of the applications for a given
instance must be in the same Isolation Station Server AW (local station). That is, a
given INI instance can communicate with exactly one Isolation Station AW (remote
station). The Isolation Station Server AW (local station) can, of course, retrieve data
from any CP on its I/A Series Control Network.
The INI software uses the standard I/A Series data status flags (BAD and OOS) to
indicate that the data value should not be used. Most of the control blocks (PID,
RATIO, etc) validate their inputs by checking these bits. At startup, the INI software
sets the BAD bit. During loss of communications, it sets BAD and OOS. This may
mean that control schemes using Sequence Blocks or CALC blocks may need review.
The second type of LGV is implemented by the INI software. In this case, if a value is
reported from the remote site and that value has a BAD bit set or an OOS bit set, we
update the local status, but we do not change the local value. The belief is that the
value returned with the BAD or OOS bit is unlikely to be useful.
7. The INI uses Informix. Informix is licensed for a fixed number of users (programs).
The limit for Solaris systems is 32. For Windows systems, 5 licenses are supplied.
Additional licenses are available for Windows operating systems.
14
2. Assumptions and Limitations B0400EC – Rev A
15
B0400EC – Rev A 2. Assumptions and Limitations
16
3. Installation - Windows Stations
The Isolation Station Software consists of the following software packages:
♦ Application Object Services software - To be installed on both the Isolation Station
Server AW and the Isolation Station AW.
♦ Information Network Interface software - To be installed on just the Isolation Station
Server AW.
♦ Isolation Station Configurator - This software should be installed on the CP hosts in
the system holding the Isolation Station Server AW.
The following is a brief explanation of the installation process of the Isolation Station software.
1. Install any relevant Foxboro I/A Series Quick Fixes as per Quick Fix Installation
instructions. The FoxAPI software has frequent upgrades, so check with the IPS Glo-
bal Customer Suport Center for the latest. Depending on the I/A Series version num-
ber the following Quick Fixes might need to be applied before the AOS software is
installed.
a. Quick Fix 1008285 - Updates the fox.dll installed during a Server 2003 Version
8.1 Day 0 installation.
b. Quick Fix 1008859 - Eliminates a problem that can prevent large numbers of
Application Objects from being created.
c. Quick Fix 1009515 - Updates MKS/NutCracker v8.7 software to v9.1p1. Run
the command, mksinfo, at a DOS prompt to check the current version of
MKS/NutCracker before installing this Quick Fix.
2. Turn off the I/A Series software and reboot the PC.
3. Install and configure the Informix software package on both the Isolation Station
Server AW and the Isolation Station AW and enable this software to start on reboot.
The Informix software must be installed and configured before Application Objects
can be created.
4. Install the AOS software on both the Isolation Station Server AW and the Isolation
Station AW.
5. Install the FoxAPI software on just the Isolation Station Server AW.
6. Install the INI software on just the Isolation Station Server AW.
7. Install the Isolation Station Configurator software on the CP hosts in the system.
8. Configure the I/A Series software to support the required number of Application
Objects.
9. Restore the machine to running condition: re-enable the starting of I/A Series soft-
ware and FoxAPI software on reboot, and reboot the machine.
10. Verify that the required software processes are running.
17
B0400EC – Rev A 3. Installation - Windows Stations
18
3. Installation - Windows Stations B0400EC – Rev A
19
B0400EC – Rev A 3. Installation - Windows Stations
g. At the Custom Setup window leave the default set to IBM Informix Client-SDK
and select Next.
h. At the Ready to Install the Program window select Install.
i. At the IBM Informix Client-SDK Installation Validation window select Next.
j. At the Completing the IBM Informix Client-SDK 2.90 Setup Wizard window
select Finish.
After the Informix Client-SDK software installation is complete, verify the following variables in
the Informix Setnet32 utility. If any of the following variable settings are missing, set the variable
accordingly.
1. Select Start, then Programs, the IBM Informix Connect 2.90, and then Setnet32.
a. INFORMIXDIR= D:\WIN32APP\Informix (This line is not case sensitive.)
b. INFORMIXSERVER= ol_<pcname> (This line is in lower case letters.)
(For example: INFORMIXSERVER=ol_2aw70b) Where <pcname> is the name
(letterbug) given to this PC.
c. INFORMIXSQLHOSTS= \\<PCNAME> (This line is in upper case letters.)
(For example: INFORMIXSQLHOSTS=\\2AW70B) Where <PCNAME> is the name
(letterbug) given to this PC.
d. Select OK.
2. Setup the Informix Services to restart automatically. From the Services window:
a. Select Informix IDS - ol_<pcname> and set the Startup option to Automatic
and set the Startup Parameters option to -iy, select Start and then select OK. If
required, reference you specific operation system’s help screens for information
regarding starting services with startup parameters.
b. Select Informix Dynamic Messaging Services and set the Startup option to
Automatic.
3. Setup the Informix Server SNMP Service to restart manually. From the Services
window select Informix Server Discovery Process for SNMP and set the Startup
option to Manual and then select OK. (AOS software does not require SNMP services.)
4. Verify that the Informix database server is up and running correctly by:
a. Ensuring that the oninit.exe process is running using the Task Manager.
b. Verify that the d:/win32app/informix/ol_<pcname>.log file has ended with
lines similar to these:
15:41:53 'sysmaster' database built successfully.
15:41:54 'sysutils' database built successfully.
15:41:54 'sysuser' database built successfully
15:42:00 Init operation complete - Mode Online Initialized
c. Select Start, then Programs, the IBM Informix Connect 2.90, and then launch
the ILogin Demo utility to verify proper installation.
♦ At the ILogin Demo window select File and then Run.
♦ Take the default settings in the window. For this test the default settings are:
Server default setting is ol_<pcname>
Stores Database default setting is stores7
Select OK to start the test.
20
3. Installation - Windows Stations B0400EC – Rev A
♦ The test is successful if the message “Database ‘stores7’ not found on the
server” appears.
TIP
If any of the tests in step 3 fails:
* Close the test window and carefully verify/correct the Informix Setnet32 settings
and then repeat the ILogin Demo test.
* Wait a couple of minutes to give Informix plenty of time to initialize, then repeat
the ILogin Demo test.
* If the test still fails uninstall the Informix and SDK software and start the third-
party installation process over.
NOTE
The newest FoxAPI software Quick Fix should always be used.
After confirming that the Quick Fix is the latest, either install it from the INI70 media with the
instructions below or download the latest FoxAPI Quick Fix.
1. Open a DOS command window.
2. Check the provided Quick Fix for your Operating System and ensure that it is the lat-
est.
cd E:\Windows\FoxUtilDir\QuickFix\<OperatingSystem>
3. Use the file2dsk utility to create the Quick Fix floppy disks. (The file2dsk utility
can be located on the INI70 media, E:\FoxUtilDir\file2dsk_<OS>).
4. Follow the instructions provided in the QFxxxxxx.txt instructions.
AOS Software
This section describes the installation of the AOS software on a 70 Series station with a
Windows operating system that is to be the Isolation Station Server AW (local station). Please
reference the Application Object Services User’s Guide, B0400BZ, document for more detailed
installation and configuration instructions.
1. The I/A Series software must be turned off before proceeding with the installation of
the AOS software. Modify the Foxboro I/A Series software startup options. Reference
your specific I/A Series documentation for detailed instructions on setting these fea-
tures.
2. Use the I/A Series shutdown mechanism to reboot the PC.
3. Insert the AOS software for the Windows operating system CD-ROM into the CD-
ROM drive in the AW/WP.
4. Start the installation process by selecting My Computer, then the CD-ROM drive
letter (for example E:).
21
B0400EC – Rev A 3. Installation - Windows Stations
! CAUTION
In the next step, it is critical to select the correct folder (MKS8, HSP or SPS) to
install the AOS software from. This folder selection is based upon the I/A Series
software version and operating system the PC is running.
* The MKS8 folder is for 70 Series stations running I/A Series V8.1.1, V8.2 and
later software (Windows XP Service Pack 2 or Windows Server 2003 OS).
* The HPS folder is for 70 Series stations running I/A Series V8.0x and V8.1x
software (Windows XP Service Pack 1 OS).
* The SPS folder is for 70 Series stations running I/A Series V4.3, V6.1+ and V7.x
software (Windows XP Service Pack 1 OS).
! CAUTION
In the next step, it is critical to select the correct folder (MKS8, HSP or SPS) to
install the INI70 software from. This folder selection is based upon the I/A Series
software version and operating system the PC is running.
* The MKS8 folder is for 70 Series stations running I/A Series V8.1.1, V8.2 and
later software (Windows XP Service Pack 2 or Windows Server 2003 OS).
* The HPS folder is for 70 Series stations running I/A Series V8.0x and V8.1x
software (Windows XP Service Pack 1 OS).
* The SPS folder is for 70 Series stations running I/A Series V4.3, V6.1+ and V7.x
software (Windows XP Service Pack 1 OS).
22
3. Installation - Windows Stations B0400EC – Rev A
7. Turn the I/A Series software back on. Modify the Foxboro I/A startup options. Refer-
ence your specific I/A Series documentation for detailed instructions on setting these
features.
8. Reboot the PC.
NOTE
The newest FoxAPI software Quick Fix should always be used.
After confirming that the Quick Fix is the latest, either install it from the INI70 media with the
instructions below or download the latest FoxAPI Quick Fix.
1. Open a DOS command window.
2. Check the provided Quick Fix for your Operating System and ensure that it is the lat-
est.
cd E:\Windows\FoxUtilDir\QuickFix\<OperatingSystem>
3. Use the file2dsk utility to create the Quick Fix floppy disks. (The file2dsk utility
can be located on the INI70 media, E:\FoxUtilDir\file2dsk_<OS>).
4. Follow the instructions provided in the QFxxxxxx.txt instructions.
AOS Software
This section describes the installation of the AOS software on a 70 Series station with a
Windows operating system that is to be the Isolation Station AW (remote station). Please refer-
ence the Application Object Services User’s Guide, B0400BZ, document for more detailed installa-
tion and configuration instructions.
1. The I/A Series software must be turned off before proceeding with the installation of
the AOS software. Modify the Foxboro I/A Series software startup options. Reference
your specific I/A Series documentation for detailed instructions on setting these fea-
tures.
2. Use the I/A Series shutdown mechanism to reboot the PC.
3. Insert the AOS software for the Windows operating system CD-ROM into the CD-
ROM drive in the AW/WP.
4. Start the installation process by selecting My Computer, then the CD-ROM drive
letter (for example E:).
23
B0400EC – Rev A 3. Installation - Windows Stations
! CAUTION
In the next step, it is critical to select the correct folder (MKS8, HSP or SPS) to
install the AOS software from. This folder selection is based upon the I/A Series
software version and operating system the PC is running.
* The MKS8 folder is for 70 Series stations running I/A Series V8.1.1, V8.2 and
later software (Windows XP Service Pack 2 or Windows Server 2003 OS).
* The HPS folder is for 70 Series stations running I/A Series V8.0x and V8.1x
software (Windows XP Service Pack 1 OS).
* The SPS folder is for 70 Series stations running I/A Series V4.3, V6.1+ and V7.x
software (Windows XP Service Pack 1 OS).
24
4. Installation - Solaris Stations
The Isolation Station Software consists of the following software packages:
♦ Application Object Services software - To be installed on both the Isolation Station
Server AW and the Isolation Station AW.
♦ Information Network Interface software - To be installed on just the Isolation Station
Server AW.
♦ Isolation Station Configurator - This software should be installed on the CP hosts in
the system holding the Isolation Station Server AW.
The following is a brief explanation of the installation process of the Isolation Station software.
1. Install any relevant Foxboro I/A Series Quick Fixes as per Quick Fix Installation
instructions. The FoxAPI software has frequent upgrades, so check with the IPS Glo-
bal Customer Support Center for the latest.
2. Enter the Single User Mode.
3. Install the AOS software on both the Isolation Station Server AW and the Isolation
Station AW.
4. Install the FoxAPI software on just the Isolation Station Server AW.
5. Install the INI software on just the Isolation Station Server AW.
6. This software should be installed on the CP hosts in the system holding the Isolation
Station Server AW.
7. Configure the I/A Series software to support the required number of Application
Objects.
8. Reboot the machine into multi-user mode.
9. Verify that the required software processes are running.
25
B0400EC – Rev A 4. Installation - Solaris Stations
NOTE
The FoxAPI Quick Fix and the foxspy utility should be installed on the Isolation
Station AW (remote station).
Once these items are installed, the Isolation Station Server AW (local station) and Isolation
Station AW (remote station) are prepared for the INI51 software installation.
FoxSpy Software
Only the FoxSpy Software has to be installed, if the foxspy executable does not exist in the
/opt/fox/ais/bin directory. Generally, the FoxSpy software should be loaded on each machine
furnishing data to the INI51 host.
1. Start a VT100 session on the INI51 host machine.
2. Check to make sure that the foxspy executable does not exist.
ls -l /opt/fox/ais/bin/foxspy
3. If FoxSpy does not exist, mount the INI51 CD-ROM:
mount -F hsfs -o ro /dev/sr0 /cdrom
4. Change to the Solaris/FoxUtilDir/FoxSpy directory on the CD-ROM:
cd /cdrom/Solaris/FoxUtilDir/FoxSpy
5. Copy the foxspy executable to the /opt/fox/ais/bin directory.
cp foxspy /opt/fox/ais/bin
26
4. Installation - Solaris Stations B0400EC – Rev A
NOTE
The newest FoxAPI Quick Fix should always be used.
After confirming that the Quick Fix is the latest. Install it from the INI51 media or download
and install the later Quick Fix.
1. Start a VT100 session on the INI51 host machine.
2. Mount the INI51 CD-ROM:
mount -F hsfs -o ro /dev/sr0 /cdrom
3. Check the provided Quick Fix for your Operating System and ensure that it is the
latest Quick Fix available.
cd /cdrom/Solaris/FoxUtilDir/QuickFix/<OperatingSystem>
4. Use the file2dsk utility to create the Quick Fix floppy disks.
(The file2dsk utility can be located on the INI51 CD-ROM at
/cdrom/Solaris/FoxUtilDir/file2dsk_<OS>).
5. Follow the instructions provided in the QFxxxxxx.txt instructions.
AOS Software
This section describes the installation of the AOS software on a 50 Series station with a
Solaris operating system that is to be the Isolation Station Server AW (local station) or the
Isolation Station AW (remote station). Please reference the Application Object Services User’s
Guide, B0400BZ, document for more detailed installation and configuration instructions.
NOTE
Initial installations should be performed while in single user mode because the
operating system is modified to allow larger numbers of Application Objects to be
created. If the installation is an update, the -override and -online options of
installAOS may be used.
27
B0400EC – Rev A 4. Installation - Solaris Stations
NOTE
* The -online option is typically used on upgrades since the OM settings typically
do not need to be changed during an upgrade.
* The -online option in this sense simply refers to the AW as a whole. It does not
mean that the AOS software can be running during an update.
* The -override option forces the new software installation over of a previous ver-
sion.
28
4. Installation - Solaris Stations B0400EC – Rev A
At this point, the directory to hold the AOS software should be entered. The default is
taken by simply pressing the Enter key. Once the directory has been entered, it will be
confirmed as follows:
INI51 Software
This section describes the installation of the INI51 software on a 50 Series station with a
Solaris operating system that is to be the Isolation Station Server AW (local station). Please ref-
erence the Information Network Interface for Solaris and Windows Software User Guide, B0400BM,
document for more detailed installation and configuration instructions.
NOTE
Initial installations should be performed while in single user mode because the
operating system is modified to allow larger numbers of Application Objects to be
created. If the installation is an update, the -override and -online options of
installAOS may be used.
29
B0400EC – Rev A 4. Installation - Solaris Stations
30
4. Installation - Solaris Stations B0400EC – Rev A
NOTE
The -online option is typically used on upgrades since the OM settings typically do
not need to be changed during an upgrade.
Though the option is -online, the INI51 software must be stopped before install-
ing the upgrade. Online in this sense simply refers to the AW as a whole. It does not
mean that the INI51 software can be running during an update.
The -override option forces the new software installation over of a previous ver-
sion.
31
B0400EC – Rev A 4. Installation - Solaris Stations
The Message Forwarding and Message Relay components of the INI51 package require remote
side software to be installed. The Data Transfer portion does not require any software to be
installed on the Isolation Station AW (remote station).
The software can be installed over the network connecting the Isolation Station Server AW (local
station) and the Isolation Station AW (remote station).
Message Forwarding
If the Message Forwarding component of the INI51 package is to be installed across the network,
type the following commands from the Isolation Station Server AW (local station) after
installing the Isolation Station Server AW (local station) software:
♦ At a VT100 or cmdtool prompt:
cd /opt
tar cvf msgfwd.tar aos/MsgFwd
compress msgfwd.tar
Then use ftp(1) to transfer the file msgfwd.tar.Z to the Isolation Station AW (remote station)
and place it in the /opt directory. Once the file has been transferred, telnet(1) to the Isolation
Station AW (remote station) and install the transferred file by typing the following commands:
♦ At a VT100 or cmdtool prompt:
cd /opt
uncompress msgfwd.tar.Z
tar xvf msgfwd.tar
Message Relay
If the Message Relay component of the INI51 package is to be installed across the network, then
type the following commands from the Isolation Station Server AW (local station) after install-
ing the Isolation Station Server AW (local station) software:
♦ At a VT100 or cmdtool prompt:
cd /opt
tar cvf MsgRelay.tar aos/MsgRelay
compress MsgRelay.tar
Then use ftp to transfer the file MsgRelay.tar.Z to the Isolation Station AW (remote station)
and place it in the /opt directory. Once the file has been transferred, telnet to the Isolation
Station AW (remote station) and install the transferred file by typing the following commands:
♦ At a VT100 or cmdtool prompt:
cd /opt
uncompress MsgRelay.tar.Z
tar xvf MsgRelay.tar
The changes made above take effect after the machine is rebooted or restarted into multi-user
mode.
♦ Type:
sync;sync;sync
reboot
Please reference the Information Network Interface for Solaris and Windows Software User Guide,
B0400BM, document for more details installation instructions.
32
4. Installation - Solaris Stations B0400EC – Rev A
NOTE
The newest FoxAPI Quick Fix should always be used.
After confirming that the Quick Fix is the latest. Install it from the INI51 media or download
and install the later Quick Fix.
1. Start a VT100 session on the INI51 host machine.
2. Mount the INI51 CD-ROM:
mount -F hsfs -o ro /dev/sr0 /cdrom
3. Check the provided Quick Fix for your Operating System and ensure that it is the
latest Quick Fix available.
cd /cdrom/Solaris/FoxUtilDir/QuickFix/<OperatingSystem>
4. Use the file2dsk utility to create the Quick Fix floppy disks.
(The file2dsk utility can be located on the INI51 CD-ROM at
/cdrom/Solaris/FoxUtilDir/file2dsk_<OS>).
5. Follow the instructions provided in the QFxxxxxx.txt instructions.
33
B0400EC – Rev A 4. Installation - Solaris Stations
AOS Software
This section describes the installation of the AOS software on a 50 Series station with a
Solaris operating system that is to be the Isolation Station AW (remote station). Please reference
the Application Object Services User’s Guide, B0400BZ, document for more detailed installation
and configuration instructions.
NOTE
Initial installations should be performed while in single user mode because the
operating system is modified to allow larger numbers of Application Objects to be
created. If the installation is an update, the -override and -online options of
installAOS may be used.
34
4. Installation - Solaris Stations B0400EC – Rev A
NOTE
* The -online option is typically used on upgrades since the OM settings typically
do not need to be changed during an upgrade.
* The -online option in this sense simply refers to the AW as a whole. It does not
mean that the AOS software can be running during an update.
* The -override option forces the new software installation over of a previous ver-
sion.
35
B0400EC – Rev A 4. Installation - Solaris Stations
The changes made above take effect after the machine is rebooted or restarted into multi-user
mode.
♦ Type:
sync;sync;sync
reboot
Please reference the Application Object Services User’s Guide, B0400BZ, document for more details
installation instructions.
36
5. Configuration-Windows Stations
This section describes how to configure the components of an Isolation Station System.
Figure 5-1 depicts the overview of an Isolation Station system.
37
B0400EC – Rev A 5. Configuration-Windows Stations
(a certain value in A:O.action) will unmap the application object. The unmap
command must be performed twice to unmap the application object and there is no
guarantee which package will unmap first.
Both the AOS and INI programs handle shared variables, simply put the name in the right place
in the map file.
AOS Software
Configuring the AOS software on the Isolation Station Server AW includes the following
activities. Reference the Application Object Services User’s Guide, B0400BZ, for detailed AOS
configuration information.
TIP
The AOS software attempts to minimize the resources it uses. Any prefiltering, for
example, grouping applications (compounds) by the CP can, also, have a significant
impact of minimizing resources used.
INI Software
Configuring the INI software on the Isolation Station Server AW includes the following activi-
ties. Reference the Information Network Interface for Solaris and Windows Software User Guide,
B0400BM, for detailed INI configuration information.
♦ Install the Informix software. (Windows stations only.)
♦ Resizing the I/A Series system limits.
♦ Setting the Correct OM_NUM_OBJECTS.
♦ Altering the Sizing Files
♦ Configuring the I/O Subsystem (NetFoxAPI and FoxAPI software)
♦ License the NetFoxAPI software.
♦ Configure FoxAPI Software on the Isolation Station Server AW (Local) and
Isolation Station AW (Remote).
♦ Set the required environment variables for the “C” shell.
♦ Edit for INI error logging.
♦ Configure INI applications to start on reboot.
38
5. Configuration-Windows Stations B0400EC – Rev A
Message Forwarding
If Message Forwarding is to be used in conjunction with the INI software then the following
must be configured.
♦ Define the service.
♦ Define the message destinations.
♦ Configure to start iaToQ on reboot.
Message Relay
If Message Relay is to be used in conjunction with the INI software then the following must be
configured.
♦ Define the service.
♦ Define the message destinations.
♦ Configure to start msgRelay on reboot.
Manual Startup
This section discusses how to setup and start a multiple application instance of the INI execut-
able. The names of the applications to be mapped are: APP_01, APP_02, and APP_03. The directory
/opt/foxind/INI70Apps is the project directory, see the Operation section of the Information
Network Interface for Solaris and Windows Software User Guide (B0400BM) for a suggested layout
for your projects.
With the files in their standard locations, the steps to use multimapping are:
1. Populate the Informix database with the definition of the objects using INIBUILDDB.
The directory path to the map file has to be specified with this command.
2. Create the objects using INICREATE. This command does not require knowledge of
the map files. It reads the Informix database.
3. Start mapping of multiple applications using INIMAP.
Here are the actual steps for three applications, APP_01, APP_02, and APP_03.
♦ At the Isolation Station Server AW type the following from a NutCracker shell
window:
cd D:/opt/foxind/INI70Apps
INIBUILDDB APP_01/data APP_01 /opt/aos/wf/APP01.map
INIBUILDDB APP_02/data APP_02 /opt/aos/wf/APP02.map
INIBUILDDB APP_03/data APP_03 /opt/aos/wf/APP3.map
INICREATE APP_01
INICREATE APP_02
INICREATE APP_03
INIMAP APP_01 APP_02 APP_03 -SR 5 -L APP_01/logs
The logs will be placed in the D:/opt/foxind/INI70Apps/APP_01/logs directory.
♦ If the environment is setup properly the INI executable may be used directly:
cd D:/opt/foxind/INI70Apps
INI70 builddb APP_01 APP_01/data/APP_01.map
INI70 builddb APP_02 APP_01/data/APP_02.map
INI70 builddb APP_03 APP_01/data/APP_03.map
INI70 create APP_01
39
B0400EC – Rev A 5. Configuration-Windows Stations
TIP
Once the applications have been built using either INIBUILDDB or INI70 builddb,
they do not need to be rebuilt unless the mix of objects and attributes needs to be
changed.
Once the objects have been created using INICREATE or INI70 create, they do not
need to be recreated unless they have been deleted or the station has been rebooted.
Automatic Startup
At reboot, there are two operations that must occur for each application assuming that the
application definitions have been stored previously in the Informix database using INIBUILDDB or
INI70 build:
♦ Creation of the Application Objects and
♦ Startup of the mapping service.
The following steps must be performed to automatically start on reboot.
1. Create a d:/opt/aos/script/go_INI70.ksh script in the d:/usr/fox/bin directory.
2. Edit the go_INI70.ksh script with a line similar to the one that follows.
/opt/aos/scripts/go_INI51 /opt/INI70Apps ‘/opt/aos/scripts/lsApp INI’
This invocation tells the script to create and start all INI based applications and it tells
the script that the log directory is d:/opt/INI70Apps/<appName>/logs.
A typical line to start a single application would be:
/opt/aos/scripts/go_INI51 /opt/INI70Apps APP_01
where APP_01 is the name of the application to start.
3. Add the following line to the end of the d:/usr/fox/bin/usr_apps.dat file:
INI70
AOS Software
Configuring the AOS software on the Isolation Station AW includes the following activities.
Reference the Application Object Services User’s Guide, B0400BZ, for detailed AOS configuration
information.
♦ Install the Informix software. (Windows stations only.)
♦ Resizing the I/A Series system limits.
♦ Setting the Correct OM_NUM_OBJECTS.
♦ Altering the Sizing Files
40
5. Configuration-Windows Stations B0400EC – Rev A
Message Forwarding
Message Forwarding is part of the INI product. Reference the Information Network Interface for
Solaris and Windows Software User Guide, B0400BM, for detailed Message Forwarding configura-
tion information.
♦ If Message Forwarding is to be used the following has to be configured:
♦ Update the FileOfNames file.
♦ Modify the alarm destination via ICC.
♦ Define the services.
♦ Configure to netToIA to start on reboot.
Message Relay
Message Relay is part of the INI product. Reference the Information Network Interface for Solaris
and Windows Software User Guide, B0400BM, for detailed Message Relay configuration informa-
tion.
♦ If Message Relay is to be used the following has to be configured:
♦ Update the FileOfNames file.
♦ Define the service.
♦ Configure to start msgRelay on reboot.
Windows Stations
Select Start, then Programs, Isolation Station SW, and then BuildIniIssmaps, Figure 5-2, to
start the Isolation Station Configurator. The Isolation Station Configurator can, also, be invoked
by running the D:\opt\iss\exe\BuildIniIssmaps command.
41
B0400EC – Rev A 5. Configuration-Windows Stations
The initial Isolation Station Configurator window then appears, Figure 5-3.
The Isolation Station Configurator fields and buttons are defined below.
42
5. Configuration-Windows Stations B0400EC – Rev A
Button/Field Description
Local Station Name This field displays the local station name.
Select Control Station Select the control station name to be used for building the map
in <LBUG> file.
mapDef Name Identify the map definition file to be used to build the map
files. The default location is d:/opt/iss/data/mapDefIss.
Build Map Files (Button) This button starts the map file building process.
Reset (Button) This button resets all fields and entries on the screen.
IS Server Map Files This list box displays all the generated IS Server map files.
IS Map Files This list box displays all the generated IS Map files.
View Server Map File This button will display the selected Server map file.
(Button)
View Station Map File This button will display the selected Station map file.
(Button)
Exit (Button) Exits the Isolation Station Configurator.
Figure 5-4. INI and IS Map File Builder - Local Station (Windows Station)
43
B0400EC – Rev A 5. Configuration-Windows Stations
Generated map files can be viewed by double-clicking on a map file or by highlighting a map file
and selecting the corresponding view button, see Figure 5-5.
Figure 5-5. INI and IS Map File Builder - Map File View (Windows Stations)
44
5. Configuration-Windows Stations B0400EC – Rev A
When the character replacement reaches the last character and an application still exists for the
name attempted, the map file creation is aborted for that application. Figure 5-6 shows such an
incident:
45
B0400EC – Rev A 5. Configuration-Windows Stations
46
6. Configuration - Solaris Stations
This section describes how to configure the components of an Isolation Station System.
Figure 6-1 depicts the overview of an Isolation Station system.
47
B0400EC – Rev A 6. Configuration - Solaris Stations
(a certain value in A:O.action) will unmap the application object. The unmap
command must be performed twice to unmap the application object and there is no
guarantee which package will unmap first.
Both the AOS and INI programs handle shared variables, simply put the name in the right place
in the map file.
AOS Software
Configuring the AOS software on the Isolation Station Server AW includes the following
activities. Reference the Application Object Services User’s Guide, B0400BZ, for detailed AOS
configuration information.
TIP
The AOS software attempts to minimize the resources it uses. Any prefiltering, for
example, grouping applications (compounds) by the CP can, also, have a significant
impact of minimizing resources used.
INI Software
Configuring the INI software on the Isolation Station Server AW includes the following activi-
ties. Reference the Information Network Interface for Solaris and Windows Software User Guide,
B0400BM, for detailed INI configuration information.
♦ Install the Informix software. (Windows stations only.)
♦ Resizing the I/A Series system limits.
♦ Setting the Correct OM_NUM_OBJECTS.
♦ Altering the Sizing Files
♦ Configuring the I/O Subsystem (NetFoxAPI and FoxAPI software)
♦ License the NetFoxAPI software.
♦ Configure FoxAPI Software on the Isolation Station Server AW (Local) and Isola-
tion Station AW (Remote).
♦ Set the required environment variables for the “C” shell.
♦ Edit for INI error logging.
♦ Configure INI applications to start on reboot.
48
6. Configuration - Solaris Stations B0400EC – Rev A
Message Forwarding
If Message Forwarding is to be used in conjunction with the INI software then the following
must be configured. Reference the Information Network Interface for Solaris and Windows Software
User Guide (B0400BM) for details instructions.
♦ Define the service.
♦ Define the message destinations.
♦ Configure to start iaToQ on reboot by modifying the /etc/fox/user_apps file.
Message Relay
If Message Relay is to be used in conjunction with the INI software then the following must be
configured. Reference the Information Network Interface for Solaris and Windows Software User
Guide (B0400BM) for details instructions.
♦ Define the service.
♦ Define the message destinations.
♦ Configure to start msgRelay on reboot by modifying the /etc/fox/user_apps file.
Manual Startup
This section discusses how to setup and start a multiple application instance of the INI
executable. The names of the applications to be mapped are: APP_01, APP_02, and APP_03. The
directory /opt/foxind/INI51Apps is the project directory, see the Operation section of the
Information Network Interface for Solaris and Windows Software User Guide (B0400BM) for a
suggested layout for your projects.
With the files in their standard locations, the steps to use multimapping are:
1. Populate the Informix database with the definition of the objects using INIBUILDDB.
The directory path to the map file has to be specified with this command.
2. Create the objects using INICREATE. This command does not require knowledge of
the map files. It reads the Informix database.
3. Start mapping of multiple applications using INIMAP.
Here are the actual steps for three applications, APP_01, APP_02, and APP_03.
♦ At the Isolation Station AW create the directory structure required for the
applications. For example:
cd /opt/foxind/
mkdir -p /INI51Apps/APP_01/data
mkdir -p /INI51Apps/APP_01/logs
mkdir -p /INI51Apps/APP_02/data
mkdir -p /INI51Apps/APP_02/logs
mkdir -p /INI51Apps/APP_03/data
mkdir -p /INI51Apps/APP_03/logs
49
B0400EC – Rev A 6. Configuration - Solaris Stations
♦ At the Isolation Station Server AW type the following from a command window:
cd /opt/foxind/INI51Apps
INIBUILDDB APP_01/data APP_01 /opt/aos/wf/APP01.map
INIBUILDDB APP_02/data APP_02 /opt/aos/wf/APP02.map
INIBUILDDB APP_03/data APP_03 /opt/aos/wf/APP3.map
INICREATE APP_01
INICREATE APP_02
INICREATE APP_03
INIMAP APP_01 APP_02 APP_03 -SR 5 -L APP_01/logs
The logs will be placed in the /opt/foxind/INI51Apps/APP_01/logs directory.
♦ If the environment is setup properly, and the Bourne shell (sh(1)) is in use, the INI
executable may be used directly:
cd /opt/foxind/INI51Apps
INI51 builddb APP_01 APP_01/data/APP_01.map
INI51 builddb APP_02 APP_01/data/APP_02.map
INI51 builddb APP_03 APP_01/data/APP_03.map
INI51 create APP_01
INI51 create APP_02
INI51 create APP_03
INI51 mmap APP_01 APP_02 APP_03 - SR 5 >APP_01/logs/ini.oout 2>APP_01/logs/ini.err
TIP
Once the applications have been built using either INIBUILDDB or INI51 builddb,
they do not need to be rebuilt unless the mix of objects and attributes needs to be
changed.
Once the objects have been created using INICREATE or INI51 create, they do not
need to be recreated unless they have been deleted or the station has been rebooted.
Automatic Startup
At reboot, there are two operations that must occur for each application assuming that the
application definitions have been stored previously in the Informix database using INIBUILDDB or
INI51 builddb:
♦ Creation of the Application Objects and
♦ Startup of the mapping service.
To make automatic startup simpler, the script, go_INI51, is provided. A line is then placed in the
/etc/fox/user_apps file to start the INI applications at reboot. A typical line would be:
/opt/aos/scripts/go_INI51 /opt/INI51Apps “/opt/aos/scripts/lsApp INI”
This invocation tells the script to create and start all INI based applications and it tells the script
that the log directory is /opt/INI51Apps/<appName>/logs.
A typical line to start a single application would be:
/opt/aos/scripts/go_INI51 /opt/INI51Apps APP_01
where APP_01 is the name of the application to start.
50
6. Configuration - Solaris Stations B0400EC – Rev A
AOS Software
Configuring the AOS software on the Isolation Station AW includes the following activities.
Reference the Application Object Services User’s Guide, B0400BZ, for detailed AOS configuration
information.
♦ Install the Informix software. (Windows stations only.)
♦ Resizing the I/A Series system limits.
♦ Setting the Correct OM_NUM_OBJECTS.
♦ Altering the Sizing Files
♦ Increasing the Shared Memory Limit
♦ Configuring the I/O Subsystem (FoxAPI software)
♦ Configuring AOS applications to start on reboot.
Message Forwarding
Message Forwarding is part of the INI product. Reference the Information Network Interface for
Solaris and Windows Software User Guide, B0400BM, for detailed Message Forwarding
configuration information.
♦ If Message Forwarding is to be used the following has to be configured:
♦ Update the FileOfNames file.
♦ Modify the alarm destination via ICC.
♦ Define the services.
♦ Configure to netToIA to start on reboot.
Message Relay
Message Relay is part of the INI product. Reference the Information Network Interface for Solaris
and Windows Software User Guide, B0400BM, for detailed Message Relay configuration informa-
tion.
♦ If Message Relay is to be used the following has to be configured:
♦ Update the FileOfNames file.
♦ Define the service.
♦ Configure to start msgRelay on reboot.
51
B0400EC – Rev A 6. Configuration - Solaris Stations
Solaris Stations
Select Config, IsolationStation and then BuildIniIssmaps, Figure 6-2 to start the Isolation
Station Configurator. The Isolation Station Configurator can, also, be invoked by running the
/opt/aos/exe/BuildIniIssmaps command.
Figure 6-3 is a picture of the initial Isolation Station Configurator for Solaris stations.
52
6. Configuration - Solaris Stations B0400EC – Rev A
The Isolation Station Configurator, for Solaris stations, fields and buttons are defined below.
Button/Field Description
Local Station Name This field displays the local station name.
Select Control Station Select the control station name to be used for building the map
in <LBUG> file.
mapDef Name Identify the map definition file to be used to build the map
files. The default location is /opt/iss/data/mapDefIss.
Build Map Files (Button) This button starts the map file building process.
Reset (Button) This button resets all fields and entries on the screen.
IS Server Map Files This list box displays all the generated IS Server map files.
IS Map Files This list box displays all the generated IS Map files.
View Server Map File This button will display the selected Server map file.
(Button)
View Station Map File This button will display the selected Station map file.
(Button)
Exit (Button) Exits the Isolation Station Configurator.
Figure 6-4. INI and IS Map File Builder - Local Station (Solaris Stations)
53
B0400EC – Rev A 6. Configuration - Solaris Stations
Generated map files can be viewed by highlighting a map file and selecting the corresponding
view button, see Figure 6-5.
Figure 6-5. INI and IS Map File Builder - Map File View (Solaris Stations)
54
6. Configuration - Solaris Stations B0400EC – Rev A
When the character replacement reaches the last character and an application still exists for the
name attempted, the map file creation is aborted for that application. Figure 6-6 shows such an
incident:
55
B0400EC – Rev A 6. Configuration - Solaris Stations
56
7. Operation
This section discusses the operation of the Isolation Station software packages.
57
B0400EC – Rev A 7. Operation
Alarm
aoAlm aos map
Devices
Memory
The information supplied by the user of Application Object Services is a map file. The map file
defines all of the objects belonging to an Application, their attributes, data types, default values,
and change deltas. It may also include the types of alarms that the AOS software alarming process
should scan for and detect, as well as the resulting alarm message text to be displayed, and the I/A
alarm destinations. This file is read in by the AOS software and stored in an Informix database.
Typical Uses
There are at least two typical uses of Application Objects:
1. Providing an interface to the I/A Series Alarm Management sub-system to a user
written application program,
2. Providing an external (OM Based) representation of the internal data structures used
by a user written application program, and
Collecting data values in disparate systems or blocks into a single I/A Series Object such that these
values can be accessed using a systematic naming convention.
58
7. Operation B0400EC – Rev A
OM Connection
Control Station
containing
TOWER:FT101.PNT
Figure 7-2. Data Flow from Remote Station to Local Station in a Peer-to-Peer Application
Message Forwarding
The INI software provides forwarding of the following message types:
♦ Control Station Messages
♦ Process Alarms
♦ Sequence Block Messages generated using SENDMSG and SENDCONF
♦ Sequence of Events Messages generated by the EVENT block
♦ System Monitor Messages
♦ Operator Action Journal Messages
♦ Generic messages generated by any user of I/A Series connectionless IPC messages.
The Message Forwarding component of the INI package application is an extension of the
I/A Series Message Handling system. The Message Forwarding component of the INI package
application allows messages to be passed to the Alarm Annunciators, printers, and/or historians
on a remote I/A Series node over a TCP/IP communications link.
Message Forwarding functionality is detailed in Figure 7-3 and accompanying text.
59
B0400EC – Rev A 7. Operation
netToIA
List of Target Globally
known Logical Names
for each name handled
by ia2q.
qToNet
Machine: IN2001
Shared
Memory
iaToq
Alarm Devices:
APRINT
WP0001
Machine: CP1001 ...
WPxxxx
Sequence Block Alarm Contacts: Isolation Station AW
SendMsg CBP1 (Remote Station)
Machine: CP1002 ... Letterbug: xx20yy
CBPx
Programs:
WP hist01
DM/FV OAJ ...
Machine: WP1002 FoxAMI
Machine: IN1001
The process iaToQ can be configured to run on the Isolation Station AW (remote station) and
collects the messages that are to be sent to the Isolation Station Server AW (local station).
The process qToNet can be configured to run on the Isolation Station AW (remote station),
establishes a TCP/IP connection, and sends the collected messages to the Isolation Station Server
AW (local station).
The process netToIA runs on the Local Station, receives the messages sent across the TCP/IP
connection from Remote Station, delivers them to their final destination. The final destination
for the messages could be a printer, historian, or Alarm Alert task in an AW/WP.
It is important to note that even though Alarm Messages can be sent from a Remote Station to a
Local Station, the messages still must be acknowledged on the Remote Station where the messages
originated.
If the INI’s software data transfer package is used to implement a P mapping of the remote block's
UNACK parameter, the alarms can be acknowledged locally. Otherwise, please review the methods
to accomplish remote alarm acknowledgment discussed later in this document.
60
7. Operation B0400EC – Rev A
Message Relay
The INI package can be used as a transparent communications link between programs running
on the two systems if the programs use connectionless IPC messages.
The package can:
♦ Act as a proxy for programs with well-known names, i.e., those registered with the
OM.
♦ Act as a proxy for programs with locally known names communicating to those with a
globally known name assuming that the locally known program initiates the
communication.
♦ Relay a broadcast message from one system to the next.
61
B0400EC – Rev A 7. Operation
Figure 7-4 and the discussion that follows, illustrate the use of broadcast Message Relay.
msg Relay
Point-to-Point Proxies:
IROPD_DM1001
...
qToNet IROPD_DM100n
Broadcast Proxies:
None
Machine: IN2001
Shared
Memory
Shared
Memory
msgRelay
Broadcast Proxies:
IRIS overlay iris_srv
IROPD_DM1001
Point-to-Point Proxies:
DM: DM1001 IRDBS_AW1001 qToNet
Machine: AW1001 ...
The preceding figure provides an overview of the Message Relay process. In this case, the program
msgRelay on the Local Machine (IN1001) is acting as a proxy for a program that requires broad-
cast Message Relay. The program in this case is a portion of the IRIS component of the Off-sites
Automation Suite.
In this example, the IRIS overlay sends a broadcast message to all programs named iris_srv on
all APs and AWs.
Since the msgRelay component of the INI’s Message Relay functionality is acting a broadcast
proxy for this name, it receives the message and stores it in the outgoing queue. The qToNet
component takes messages from this queue and forwards them over the CSN to another copy of
the msgRelay component.
This component, based on information in the message header, places the message on the
Nodebus using an I/A Series IPC broadcast message.
The IRIS servers each get the broadcast message and reply to the sending program. They know
the local name of the sending program and its address on the network from the information
included in the broadcast message.
62
7. Operation B0400EC – Rev A
The msgRelay component on the Local Station acts as the proxy for all possible clients on the
Remote Station and as their proxy receives the message from the IRIS server and puts it in the
outgoing queue. The qToNet component takes messages from this queue and forwards them over
the CSN to the remote msgRelay component.
The remote msgRelay component sends the message directly to the IRIS overlay.
63
B0400EC – Rev A 7. Operation
For 50 Series
/opt/aos/exe/aos builddb ismapdir DMCPLUS10A_Is.map
/opt/aos/exe/aos create DMCPLUS10A
5. Start the mapping on the Isolation Station Server AW (local station):
For 70 Series
d:/opt/aos/exe/aos.exe map _DMCPLUS10A
d:/opt/aos/exe/INI70.exe map _DMCPLUS10A
For 50 Series
/opt/aos/exe/aos map _DMCPLUS10A
/opt/aos/exe/INI51 map _DMCPLUS10A
64
8. Maintenance - Windows Stations
This section deals with the maintenance and troubleshooting of the Isolation Station
configuration on Windows stations.
Package Removal
The following steps should be taken when removing the Isolation Station Configuration Utility
software.
1. Uninstall the Isolation Station Software using Add or Remove Programs and
selecting the Isolation for Windows - SPS, HPS, MKS8 entry.
2. If needed save the d:/opt/iss/data and d:/opt/iss/tmp directories to another
location to preserve the current map files.
3. Remove the d:/opt/iss directory.
Upgrades
Before upgrading the Isolation Station Configuration Utility software preserve the current map
files prior to upgrading. After the upgrade the d:/opt/iss/data and d:/opt/iss/tmp directories
can be restored.
Quick Fixes
Preserve the current map files and remove the Isolation Station Configuration Utility Software
prior to upgrading. After the upgrade the d:/opt/iss/data and d:/opt/iss/tmp directories can
be restored.
65
B0400EC – Rev A 8. Maintenance - Windows Stations
INI70 Software
The following maintenance information is for the INI70 package.
Package Removal
Take the following steps to remove the INI70 package.
1. Stop all mapping applications on the Isolation Station AW (remote station) by using
INIUNMAP. Create a script as follows to generate a list of those processes to stop with
INIUNMAP.
#!/bin/sh
cd /opt/aos/status
FILES=`ls INI51_map_* | grep -v '_monitor'`
for file in $FILES
do
/opt/aos/exe/testStatusLock $file | grep Locked >/dev/null 2>&1
status=$?
if [ $status = 0 ]
then
echo $file | awk -F_ '{ print $3 }'
fi
done
2. Use the script d:/opt/aos/MsgFwd/scripts/stop_MsgFwd on both the Isolation
Station Server AW (local station) and Isolation Station AW (remote station) to stop
message forwarding:
cd d:/opt/aos/MsgFwd/scripts ./stop_MsgFwd
3. Use the script d:/opt/aos/MsgFwd/scripts/stop_MsgRelay on either the Isolation
Station Server AW (local station) or the Isolation Station AW (remote station) to stop
message forwarding:
cd d:/opt/aos/MsgRelay/scripts ./stop_MsgRelay
4. From Windows select Start, then Settings, and then select the Control Panel.
a. Select Add or Remove Programs.
b. Select either the INI70 with Message Services or the INI70 without Message
Services item.
c. Select the Remove button.
5. Remove the startup commands (go_INI) from the file
d:/usr/fox/bin/fox_apps.dat file machines.
6. Remove the /opt/aos directory from both machines.
66
8. Maintenance - Windows Stations B0400EC – Rev A
Non-Day 0 Upgrades
Other than the file d:/usr/fox/bin/fox_apps.dat file, the INI70 software should not be
impacted by a non-Day 0 upgrade. However, it would be wise to backup the d:/opt/aos
directory and the information in the Informix database.
67
B0400EC – Rev A 8. Maintenance - Windows Stations
68
8. Maintenance - Windows Stations B0400EC – Rev A
Quick Fixes
After non-INI software related Quick Fixes are installed, the following should be checked:
♦ The file d:/usr/fox/bin/fox_apps.dat (Windows systems) should contain the
INI70 Package startup commands.
♦ The file c:/windows/system32/drivers/etc/services (Windows XP OS), or
c:/winnt/system32/drivers/etc/services (Windows NT OS) should contain the
Message Forwarding and Message Relay service definitions.
♦ The command show_params should show the same information as before the Quick
Fix was installed.
AOS Software
The following maintenance information is for the AOS for Windows OS package.
Package Removal
Take the following steps to remove the AOS for Windows OS package.
1. Stop all mapping applications on the Client by using AOSUNMAP. Create a script as
follows to generate a list of those processes to stop with AOSUMAP.
#!/bin/sh
cd /opt/aos/status
FILES=`ls INI51_map_* | grep -v '_monitor'`
for file in $FILES
do
/opt/aos/exe/testStatusLock $file | grep Locked >/dev/null 2>&1
status=$?
if [ $status = 0 ]
then
echo $file | awk -F_ '{ print $3 }'
fi
done
2. Select Start, then Settings, and then select the Control Panel.
a. Select Add or Remove Programs
b. Select either the AOS with Alarms or the AOS without Alarms item.
69
B0400EC – Rev A 8. Maintenance - Windows Stations
Non-Day 0 Upgrades
Other than the file d:/usr/fox/bin/fox_apps.dat file, the AOS for Windows OS software
should not be impacted by a non-Day 0 upgrade. However, it would be wise to backup the
d:/opt/aos directory and the information in the Informix database.
70
8. Maintenance - Windows Stations B0400EC – Rev A
Quick Fixes
After non-AOS for Windows OS software related Quick Fixes are installed, the following should
be checked:
♦ The file d:/usr/fox/bin/fox_apps.dat (Windows systems) should contain the AOS
Package startup commands.
♦ The command show_params should show the same information as before the Quick
Fix was installed.
71
B0400EC – Rev A 8. Maintenance - Windows Stations
72
9. Maintenance - Solaris Stations
This section deals with the maintenance and troubleshooting of the Isolation Station
configuration on Solaris Stations.
Package Removal
The following steps should be taken when removing the Isolation Station Software.
1. The Isolation Station Configuration Utility Software can be uninstalled executing the
UninstallISS script:
/opt/iss/scripts/UninstallISS
2. If needed save the /opt/iss/data and /opt/iss/tmp directories to another location
to preserve the current map files.
3. Remove the /opt/iss directory.
Upgrades
Preserve the current map files and remove the Isolation Station Configuration Utility Software
prior to upgrading. After the upgrade the /opt/iss/data and /opt/iss/tmp directories can be
restored.
Quick Fixes
Preserve the current map files and remove the Isolation Station Configuration Utility Software
prior to upgrading. After the upgrade the /opt/iss/data and /opt/iss/tmp directories can be
restored.
73
B0400EC – Rev A 9. Maintenance - Solaris Stations
INI51 Software
The following maintenance information is for the INI51 package.
Package Removal
Take the following steps to remove the INI51 package:
1. Stop all mapping applications on the Isolation Station AW (remote station) by using
INIUNMAP.
The command: ps -ef | grep -v grep | grep INI51 | grep map
will generate a list of those processes to stop with INIUNMAP.
2. Use the script /opt/aos/MsgFwd/scripts/stop_MsgFwd on both the Isolation Station
Server AW (local station) and Isolation Station AW (remote station) to stop message
forwarding:
cd /opt/aos/MsgFwd/scripts
./stop_MsgFwd
3. Use the script /opt/aos/MsgFwd/scripts/stop_MsgRelay on either the Isolation
Station Server AW (local station) or the Isolation Station AW (remote station) to stop
message forwarding:
cd /opt/aos/MsgRelay/scripts
./stop_MsgRelay
4. Remove the startup commands from the file /etc/fox/user_apps.dat both
machines.
5. Remove the /opt/aos directory from both machines.
6. If the package was physically installed in another location, delete the aos directory
there as well.
Non-Day 0 Upgrades
Other than the file /etc/fox/user_apps.dat the INI51 software should not be impacted by a
non-Day 0 upgrade. However, it would be wise to backup the /opt/aos directory and the
information in the Informix database.
The discussion on INI51 Package Upgrades explains how to preserve the configuration informa-
tion.
74
9. Maintenance - Solaris Stations B0400EC – Rev A
75
B0400EC – Rev A 9. Maintenance - Solaris Stations
Quick Fixes
After non-INI51 software related Quick Fixes are installed, the following should be checked:
♦ The file /etc/fox/user_apps.dat for INI Package startup commands.
♦ The file /etc/services should contain the Message Forwarding and Message Relay
service definitions.
♦ The command show_params should show the same information as before the Quick
Fix was installed.
AOS Software
The following maintenance information is for the AOS for Solaris OS package.
Package Removal
Take the following steps to remove the AOS for Solaris OS package:
♦ Stop all mapping applications on the Isolation Station AW (remote station) by using
AOSUNMAP. The command:
ps –ef | grep –v grep | grep aos | grep map
generates a list of those processes.
♦ Remove the startup commands from the file /etc/fox/user_apps.dat.
♦ Remove the /opt/aos directory.
♦ If the package was physically installed in another location, delete the aos directory
there as well.
76
9. Maintenance - Solaris Stations B0400EC – Rev A
NOTE
The most recent version of the AOS for Solaris OS software is available upon
request so please investigate obtaining the latest materials by contacting your
Foxboro Field Service or Account Representative.
Non-Day 0 Upgrades
Other than the file /etc/fox/user_apps.dat, the AOS for Solaris OS product should not be
impacted by a non-Day 0 upgrade. However, it would be wise to backup the /opt/aos directory
and the information in the Informix database.
77
B0400EC – Rev A 9. Maintenance - Solaris Stations
Quick Fixes
After non-AOS for Solaris OS related Quick Fixes are installed, the following should be checked:
♦ The file /etc/fox/user_apps.dat should contain the AOS package startup
commands.
♦ The command show_params should show the same information as before the Quick
Fix was installed.
78
10. Troubleshooting
This section deals with the troubleshooting of the Isolation Stations.
General
Reference the Application Object Services User’s Guide (B0400BZ) and the Information Network
Interface for Solaris and Windows Software User Guide (B0400BM), that are provided as part of the
Isolation Station Software deliverable, for more troubleshooting information.
Station Overload
There are three types of overload that can occur in CPs and AWs as in any computer:
1. CPU Cycles (Seen in OM overruns and Control Block overruns.)
2. I/O - IPC connections or OM lists run out. (Most commonly seen as cyan points on
WPs that try to look at the CP.)
3. Memory - OM lists take RAM.
CPU Cycles
The following can be done to reduce CPU load:
♦ Run AOS/INI applications less often.
♦ Run another workstation.
I/O Loading
There are only two solutions sure to make a difference:
1. Run the INI software on the same box with the AIM*Historian and share the OM
lists. This could require multiple copies of the INI and AOS software (1 per
AIM*Historian host)
♦ This approach reduces the OM IPC connections, OM lists, RAM consumption,
and CPU cycles required since generally many or all of the points are already in
the AIM* Historian.
2. Reduce the number of points that are monitored.
There are two other handles that one can use:
1. The update rate on the aos instances can be increased to reduce the CPU load on the
CP.
♦ For example, if the default is set to 2 seconds, it could be increased for an applica-
tion like this one to the maximum of 10 seconds.
2. The change deltas of the values monitored by the aos instances feeding the INI may
be small enough to cause extra traffic.
a. This is a far less common source of problems unless they are set to 0.0.
79
B0400EC – Rev A 10. Troubleshooting
b. Review the deltas set in the Isolation Station Server AW’s AOS map file.
Memory
The only option available, to reduce memory use, is to use fewer variables.
Baseline
The following steps can be taken to establish a baseline and a measure of impact created by the
Isolation Station Server AW.
1. Stop the FoxAPI and AOS processes on the Isolation Station Server AW. This will
eliminate the load of the CP introduced by the Isolation Station Server AW. Stopping
the INI process alone has no impact on CP loading.
2. Trend the following values from the CPs in the system. This provides the baseline
that you need. Collect this data for at least 24 hours with the FoxAPI and AOS
processes off.
a. Idle Time
b. Control Block Loading
c. OM Loading
d. I/O Loading
3. Start the Isolation Station Server AW software (AOS and INI) to reestablish the
operation of the Isolation Station System and the load on the CPs.
4. Examine the impact of the trends to see the image of the Isolation Station Server AW
software.
Slow Displays
If displays are slow it is probably because the display was raised before the required AOAs were
created. In this case, the OM table in the file will be flushed and need to be repopulated by calling
the display up multiple times.
80
10. Troubleshooting B0400EC – Rev A
81
B0400EC – Rev A 10. Troubleshooting
If this value is not updating, the problem could be with AOS, FoxAPI, OM, or
Control Station.
c. Use foxtst and/or foxspy, in the /opt/fox/ais/bin directory, to examine the
FoxAPI data sets on the Isolation Station Server AW (local) station and
created/used by AOS to determine if FoxAPI is reporting changes.
♦ If FoxAPI is reporting changes, the issue is in AOS.
♦ If FoxAPI is not reporting changes, the issue could be the FoxAPI, OM or the
Control Station.
d. Use som, found in the /opt/fox/bin/tools directory, to examine the OM lists on
the AW running to determine if the tag is in a local OM list and if it is updating.
♦ If the tag is neither a local OM list nor in FoxAPI, the problem is in the AOS.
♦ If the tag is not on a local OM list and is in FoxAPI, the problem is in the OM
(or maybe with FoxAPI). Contact the Global Product Support center.
♦ If the tag is in both places (FoxAPI and OM), the problem is most likely that
the OM is not reporting updates to FoxAPI. Go to the next step to determine
what the situation is.
e. Use rsom, found in /opt/fox/bin/tools directory, to examine the OM lists in
the Control Station that holds the tag.
♦ If the tag is in a remote OM list and it is not updating (per the earlier tests),
the problem is either:
1) In the control station and you need support from the Global Product
Support center or
2) Much more likely, the change delta is too large.
♦ If the tag is not in a remote OM list and it is in the local OM list (per the
earlier tests), the problem is in the Control Station. It is most likely caused by
opening OM lists too quickly. Alternate causes include lack of communica-
tion resources in the control station.
3. Corrective Actions
a. If it is suspected that the problem is communication resources in the control sta-
tion, you need to review their consumption. The most resources to monitor
include
♦ IPC connections (use rsom)
1) OM lists (use rsom)
2) Free memory (used to populate lists; use the station block display)
3) CPU time (needed to respond to the OM opens; use the station
block display)
b. If it is suspected that the problem is that the Control Station is too loaded,
commonly CP10s and CP15s, to respond to the OM list opens do the following:
♦ Shutdown AOS.
♦ Change the ctdlay parameter in the /opt/fox/ais/bin/foxapi.cfg file to a
larger value.
♦ Stop and start FoxAPI
82
10. Troubleshooting B0400EC – Rev A
♦ Restart AOS
♦ Retest - It is common to write a script to get the value from the CBP and from
the AOA that matches it to look for problems. This can be done using foxspy
to some degree.
c. If the issue is in FoxAPI based on the analysis above, i.e., the local OM list is
updating, but foxtst and foxspy do not show the updates:
♦ Examine the change delta (found in the map file) and determine if it is too
large.
♦ If the change delta is appropriate, contact the Global Product Support center
to resolve the FoxAPI issue.
d. If the issue is in AOS based on the analysis above, i.e., foxtst and foxspy show
value changes, but the AOAs are not updating, do the following:
♦ Turn on debugging: /opt/aos/exe/aos debug <AppName> <count>
♦ Examine the standard output of the AOS instance and look for changes.
♦ If the trace does not show changes when the Control Station value changes (as
reported by FoxAPI), there may have an AOS error or a FoxAPI error.
Contact the Global Product Support center for AOS support.
♦ If the trace does show changes when the Control Station value changes (as
reported by FoxAPI), there is an AOS application issue. Contact the Global
Product Support center for AOS product support.
e. If the AOA on the Isolation Station Server AW (local) station is changing, but the
AOS application on the DMZ machine is not, the issue is in the INI application.
Do the following:
♦ Turn on debugging (/opt/aos/exe/INI70 debug <AppName> <count>)
♦ Examine the standard output of the INI application and look for changes.
♦ If the trace does not show changes when the AOA value changes, we may have
an INI application error. Contact the Global Product Support center for AOS
product support.
♦ If the trace does show changes when the Control Station value changes (as
reported by FoxAPI), we have a netFoxAPI issue.
f. If we have a netFoxAPI issue, do the following:
♦ Examine the FoxAPI data sets on the Isolation Station AW (remote) station to
determine if tags read by the INI application are present. This establishes that
the netFoxAPI setup is correct.
♦ If the INI application appears to be sending the value per its trace, but the
value is not reaching the Isolation Station AW (remote) station, there is a
netFoxAPI issue. Contact the Global Product Support center for support.
83
B0400EC – Rev A 10. Troubleshooting
84
Appendix A. Command Usage
BuildIniIssmaps
The Isolation Station Configuration Utility can be invoked by running the command
D:\opt\aos\exe\BuildIniIssMaps (Windows stations) or /opt/aos/exe/BuildIniIssMaps
(Solaris stations).
Synopsis
BuildIniIssMaps [local | all] <mapDefName> [-output] <LogFileName>
where:
<mapDefName> The map definition path and name. If no map definition name is entered the
default path and name, /opt/iss/data/mapDefIss, is used.
<LogFileName> Used in conduction with the output parameter and specifies output to a log file.
The output parameter can only be used on Windows operating systems.
Examples
The following are different examples of the BuildIniIssMaps command usage.
BuildIniIssMaps local d:/opt/iss/data/mapDefIss -output d:/opt/iss/log/buildmap.log
(This command can be executed only from a Windows workstation and builds map files for the
local station and creates the log file d:/opt/iss/log/buildmap.log.)
BuildIniIssMaps all /opt/iss/data/mapDefIss
(This command builds map files for all CPs on the local host using the default mapDef file.)
BuildIniIssMaps local
(This command builds map files for the local station using the default mapDef file.)
BuildIniIssMaps all
(This command builds map files for all CPs on the local hosts using the default mapDef file.)
85
B0400EC – Rev A Appendix A. Command Usage
86
Index
A
AIM*API 9, 10
AIM*AT 11
AIM*Historian 9, 79
aimapi.cfg 9, 10, 11
aisstart 31
aisstop 31
AOA xiv
aoAlm 57
AOAs 12
aod xvii
AOS xiv, 3, 10, 25, 27, 34, 37, 47, 57, 77
Configuration 40, 51
Isolation Station Server AW 38, 48
Contraints 11
Limitations 9, 11
Operation Services 57
Restrictions 11
AOs xiv
Restrictions 11
aos 57
Database 12
aos builddb 13, 64, 81
aos create 13, 64, 80
aos database xiv
aos map 13, 64
aos.exe builddb 63
aos.exe create 63
aos.exe map 64
AOSBUILD 81
AOSCREATE 80
AOSREPORT 77
AOSUNMAP 69, 76, 77
Application xiv, 11
Application Definition xiv
Application Object Attribute xiv
Application Object Services xiv
Application Objects xiv
Application Objects Services (AOS) 3
AppObjSrv 57
Automatic Startup 40, 50
B
BuildIniIssmaps 85
Solaris 52
87
B0400EC – Rev A Index
Windows 41
C
CBP xv
Compound Block Parameter xv
Configuration 37, 47
Configuration Backup
AOS 70, 77
INI51 75
INI70 67
Configuration Restore
INI51 76, 78
INI70 71
Configuration Utility 65, 73
Solaris 52
Windows 41
Control Network xv
Controller Hosts
Solaris 36
Windows 24
CSN xv
Customer Supplied Network xv, 5
D
Data Backup
Configuration Utility 65, 73
database xv
DCS 1
Delay of Use After Reboot 80
E
EVENT 59
F
file2dsk 27, 33
FileOfNames 41, 51, 67, 69, 75, 76
FileOfProxies 67, 69, 75, 76
FileOfTargets 67, 69, 75, 76
Firewall 2
FoxAPI 9, 10, 11, 12, 21, 23, 25, 31, 59, 80
foxapi.cfg 31
foxspy 25, 26
FoxView xv
G
go_INI 66
go_INI.ksh 67
88
Index B0400EC – Rev A
I
iaToQ xv, 39, 49, 60
ICC 12
Implementation 6
Information Network Interface xv
Information Network Interface (INI) 3
Informix 13
Installation 18
INI xv, 3, 10, 13, 22, 25, 37, 47, 59
Configuration
IS Server 38, 48
Data Transfer 3
Data Transfer Limitations 13
Limitations 9
Message Forwarding 3
Configuration
IS 41, 51
Isolation Station Server AW 39, 49
Limitations 15
Operation 59
Message Relay 3
Configuration
IS 41, 51
Isolation Station Server AW 39, 49
Limitations 15
Operation 61
Operation 59
INI Data Flow 59
INI15 13
INI51 25, 26, 27, 29, 30, 31, 32, 33
INI51 builddb 63
INI51 create 63, 80
INI51 map 64
INI70 21, 22, 23
INI70 builddb 81
INI70 create 80
INI70.exe builddb 63
INI70.exe create 63
INI70.exe map 64
INIBUILD 81
INICREATE 80
INIREPORT 67, 75
INIUNMAP 68, 74, 75
installAOS 28, 29, 30, 31, 35, 76, 78
-online 31
-override 31
Installation
Solaris 25
Windows 17
InstallISS 36
89
B0400EC – Rev A Index
IPC 15
IPC/COMEX xv, xvi
IRIS 61
Isolation Station 1
Isolation Station AW 2, 5, 6, 11, 40, 51
Isolation Station AW Installation
Windows 23
Isolation Station Configurator 3, 24, 36, 41, 51, 63
Isolation Station Firewall 2, 6
Isolation Station Server AW 2, 6, 9, 37, 47
Isolation Station Server AW Installation
Solaris 25, 33
Windows 18
L
LGV
Last Good Value 14
Limitations 9
Loading
AOS 78
INI51 76
INI70 68
Local Station xvi, 6, 37, 47
logical name xv, xvi
global xv
local xvi
M
Maintenance
Solaris 73
Windows 65
Manual Startup 39, 49
map 58
map file xvi
Map File Builder 42, 52
Local Station 43, 53
Map File View 44, 54
mapDef 4
mapDefIss 4, 43, 53
mapping xvi
Mapping Operators 4
Message Forwarding xvi
Functionality 60
Message Relay xiii
Broadcast Messages 61
MkMapFile xvii, 57
msgRelay xvi, 39, 41, 49, 51, 61, 62, 63
90
Index B0400EC – Rev A
N
netToIA xvii, 41, 51, 60
NIC xvii
O
Object Level Names 12
Object Manager xvii
Limitations 12
Object Template xvii
OM 9, 10, 11
Connections 10
Resources 9
OM_NUM_OBJECTS 29, 31, 35
P
P mapping 60
Package Removal
INI51 74
INI70 66
Q
qToNet xvii, 60, 62, 63
Quick Fixes 71, 78
Solaris 73, 76
Windows 65, 69
R
R mappings 11
Redundancy 7
redundancy 13
Remote Station xvii, 5, 40, 51
Removal
AOS 69, 76
Configuration Utility 65, 73
Reserved Names 12
Restart
AOS 71, 78
INI51 76
INI70 69
Restore
INI70 68
S
Script
installAOS 27, 34
-online 27, 34
91
B0400EC – Rev A Index
-override 27, 34
Scripts
INI Operation
INIUNMAP 66
Securely Moving Data 63
SENDCONF 59
SENDMSG 59
services 67, 69
show_params 69, 76, 78
skipCSA 80
Solaris
AOS
Installation 27, 34
FoxAPI
Installation 25
QF Installation 27, 33
FoxSpy
Installation 26
INI
Installation 29
Message Forwarding
Installation 32
Message Relay
Installation 32
NetFoxAPI
Installation 26, 33
stop_MsgFwd 66, 68, 74, 75
stop_MsgRelay 66, 68, 74, 75
Stopping
AOS 77
INI51 75
INI70 68
T
Tag Not Updating 81
Tips 10, 38, 48
Troubleshooting 79
Database Build 81
Slow Displays
Reboot 80
Station Overload 79
Baseline 80
U
Unix Commands
df 30
mkdir 30
mount 26, 27, 30, 33
92
Index B0400EC – Rev A
tar 26, 33
Upgrades 65, 73
AOS 70
Day 0
AOS 70, 77
Configuration Utility 65, 73
INI51 74
INI70 66
Day 1
Configuration Utility 65, 73
INI51 75
Loading 70
INI70 67
Non-Day 0
AOS 70
Configuration Utility 67
non-Day 0
AOS 77
INI51 74
USEAIMAPI 10, 11
W
Windows
AOS
Installation 21, 23
FoxAPI
Installation 21, 23
INI
Installation 22
93
B0400EC – Rev A Index
33 Commercial Street
Foxboro, Massachusetts 02035-2099
United States of America
www.foxboro.com
Inside U.S.: 1-866-746-6477
Outside U.S.: 1-508-549-2424 or contact your local Foxboro representative.
Facsimile: 1-508-549-4999
Printed in U.S.A. 0508