System 800xa Information Management Technical Support Reference
System 800xa Information Management Technical Support Reference
System 800xa Information Management Technical Support Reference
ABB may have one or more patents or pending patent applications protecting the intellectual property in the ABB
products described in this document.
The information in this document is subject to change without notice and should not be construed as a commitment
by ABB. ABB assumes no responsibility for any errors that may appear in this document.
Products described or referenced in this document are designed to be connected, and to communicate information and
data via a secure network. It is the sole responsibility of the system/product owner to provide and continuously ensure
a secure connection between the product and the system network and/or any other networks that may be connected.
The system/product owners must establish and maintain appropriate measures, including, but not limited to, the
installation of firewalls, application of authentication measures, encryption of data, installation of antivirus programs,
and so on, to protect the system, its products and networks, against security breaches, unauthorized access, interference,
intrusion, leakage, and/or theft of data or information.
ABB Ltd and its affiliates are not liable for damages and/or losses related to such security breaches, any unauthorized
access, interference, intrusion, leakage and/or theft of data or information.
ABB verifies the function of released products and updates. However system/product owners are ultimately responsible
to ensure that any system update (including but not limited to code changes, configuration file changes, third-party
software updates or patches, hardware change out, and so on) is compatible with the security measures implemented.
The system/product owners must verify that the system and associated products function as expected in the environment
they are deployed.
In no event shall ABB be liable for direct, indirect, special, incidental or consequential damages of any nature or kind
arising from the use of this document, nor shall ABB be liable for incidental or consequential damages arising from use
of any software or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written permission from ABB, and the
contents thereof must not be imparted to a third party nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and may be used, copied, or disclosed
only in accordance with the terms of such license. This product meets the requirements specified in EMC Directive
2014/30/EU and in Low Voltage Directive 2014/35/EU.
Trademarks
All rights to copyrights, registered trademarks, and trademarks reside with their respective owners.
Table of Contents
3BUF001147-610 A 5
Table of Contents
2 History
2.1 Introduction ....................................................................................................... 69
2.2 Checking Upstream for History Problems ......................................................... 70
2.3 What To Look For When Logs Do Not Collect Data ......................................... 70
2.3.1 Data Not Available in Basic History Trend Logs .................................. 70
2.3.2 Data Available in Basic History Trend Logs But Not IM History Logs ... 71
2.4 Logs Not Activating ........................................................................................... 73
2.5 Cannot Start History .......................................................................................... 73
2.6 Cannot Create Oracle Database Instance ........................................................ 74
2.7 Cannot Use History Configuration Displays ...................................................... 74
2.8 Insufficient Oracle Tablespace .......................................................................... 75
2.8.1 Extending Tablespace .......................................................................... 76
2.9 Insufficient Temp Tablespace and Rollback Segments ..................................... 77
2.10 Cannot Access History Database via SQL ........................................................ 78
2.11 Entry Tables and Error Reports for Numeric Logs ............................................ 79
2.12 Cannot View DataDirect Reports Stored In Report Log .................................... 81
2.13 Deleting Property Logs Via Bulk Configuration Tool is Slow ............................. 81
2.14 History Service Provider Does Not Start ........................................................... 82
2.15 Message Log API Error ..................................................................................... 82
2.16 Debugging Scheduled Archive Problems .......................................................... 84
3BUF001147-610 A 6
Table of Contents
3BUF001147-610 A 7
Table of Contents
3BUF001147-610 A 8
Table of Contents
4.27 Max Files per File Type, Per Directory .............................................................. 141
4.28 ODA Numericlog Queries using Access Name (Seamless) may Fail ............... 141
4.29 Entering Time Ranges in ODA Numericlog Queries from SQL or ODBC
Connections ...................................................................................................... 142
4.30 Debugging Commands Sent to ODA ................................................................ 143
4.31 Placing a Calculate Now Function on an Excel Spreadsheet ........................... 145
5 Installation Tips
5.1 Introduction ....................................................................................................... 147
5.2 Pre-Installation .................................................................................................. 147
5.2.1 Domain Setup ...................................................................................... 147
5.2.2 Time Synchronization and Network Connections ................................ 147
5.2.3 Disk Drives ...........................................................................................147
5.2.4 Virus Scanning Software ......................................................................148
5.2.5 Installing User ...................................................................................... 148
5.2.6 Reboots ................................................................................................148
5.2.7 Microsoft Windows ...............................................................................148
5.2.8 ASP.NET .............................................................................................. 148
5.2.9 Microsoft Excel and ODA ..................................................................... 149
5.2.10 Licensing Software ...............................................................................150
5.2.11 Internet Explorer Setup ........................................................................ 150
5.2.12 Checking the Information Management Installation .............................150
5.3 Set Up (Post Installation) .................................................................................. 151
5.3.1 Backups ............................................................................................... 151
5.3.2 Guidelines for Configuring the History Database Instance .................. 151
3BUF001147-610 A 9
Table of Contents
3BUF001147-610 A 10
About this User Manual
User Manual Conventions
The System 800xA Safety AC 800M High Integrity Safety Manual (3BNP004865*)
must be read completely by users of 800xA High Integrity. The recommendations
and requirements found in the safety manual must be considered and implemented
during all phases of the life cycle.
Any security measures described in this user manual, for example, for user access,
password security, network security, firewalls, virus protection, and so on, represent
possible steps that a user of an 800xA System may want to consider based on a risk
assessment for a particular application and installation. This risk assessment, as well
as the proper implementation, configuration, installation, operation, administration,
and maintenance of all relevant security related equipment, software, and procedures,
are the responsibility of the user of the system.
Electrical warning icon indicates the presence of a hazard that could result in electrical
shock.
Warning icon indicates the presence of a hazard that could result in personal injury.
3BUF001147-610 A 11
About this User Manual
Terminology
Tip icon indicates advice on, for example, how to design your project or how to use
a certain function.
Although Warning hazards are related to personal injury, and Caution hazards are
associated with equipment or property damage, it should be understood that operation
of damaged equipment could, under certain operational conditions, result in degraded
process performance leading to personal injury or death. Therefore, fully comply with
all Warning and Caution notices.
Terminology
A complete and comprehensive list of terms is included in System 800xA Terminology
and Acronyms (3BSE089190*). The listing includes terms and definitions that apply to
the 800xA System where the usage is different from commonly accepted industry standard
definitions.
3BUF001147-610 A 12
1 First Response Guidelines
Some procedures in this User Manual require you to edit the Windows Registry on
the Information Management server. Making a mistake in the registry may render the
computer inoperable. It is recommended that you make a backup of the computer
using an image backup application before you begin such a procedure. Also, take
care to follow the instructions closely, and change only the registry keys indicated in
the procedure.
This User Manual provides guidelines and reference information for diagnosing problems
and responding to inquiries related to Information Management software for the 800xA
System.
This User Manual is organized into the following sections:
• Section 1 First Response Guidelines - provides guidelines and tips for responding
quickly to client inquiries and diagnosing reported problems.
• Section 2 History
• Section 3 SoftPoints, Calculations, and Open Data Access
• Section 4 Data Access Applications - includes DataDirect, Desktop Trends, Display
Services, Reports, and Application Scheduler.
• Section 5 Installation Tips
• Section 6 Sales & Pricing Issues
• Appendix A, Miscellaneous Archival Operation Information - contains miscellaneous
information on archival operation.
This User Manual is intended for technical support and application engineers who are
responsible for configuring and maintaining these applications. This User Manual is not
the sole source of instruction for this functionality. It is recommended that you attend the
applicable training courses offered by ABB.
3BUF001147-610 A 13
1 First Response Guidelines
1.1 Where to Start
3BUF001147-610 A 14
1 First Response Guidelines
1.1 Where to Start
3BUF001147-610 A 15
1 First Response Guidelines
1.1 Where to Start
3BUF001147-610 A 16
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 17
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 18
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 19
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 20
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 21
1 First Response Guidelines
1.2 Getting Information for Support
Windows Services
Access to the Windows services is via the Services utility under Administrative Tools in
the Windows Control Panel, Figure 1.6. Check whether the service is running, and verify
the start-up mode and log-in are set correctly, Table 1.3.
3BUF001147-610 A 22
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 23
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 24
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 25
1 First Response Guidelines
1.2 Getting Information for Support
Processes
Processes related to Information Management are listed in Table 1.4 and are accessible
via the Windows Task Manager, Figure 1.8.
3BUF001147-610 A 26
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 27
1 First Response Guidelines
1.2 Getting Information for Support
If you need to change the PAS Service account, be sure to use the PAS Password
Administration tool (Start>Administrative Tools>PAS>Password Administration). The
tool under the History menu only sets the History account, it does not set the other
services.
3BUF001147-610 A 28
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 29
1 First Response Guidelines
1.2 Getting Information for Support
• Upon a reboot the current log is saved as the log.old log and a new log is started.
• In some cases you may need to zip up the complete contents of the log folder
and send it to a supportline center.
3BUF001147-610 A 30
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 31
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 32
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 33
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 34
1 First Response Guidelines
1.2 Getting Information for Support
3BUF001147-610 A 35
1 First Response Guidelines
1.2 Getting Information for Support
By default, the stats files are stored in the folder specified by the %HS_TMP%
environment variable (defaults to C:\ProgramData\ABB\IM\History\tmp). The file names
consist of a process-specific prefix as indicated in Table 1.6, a sequence number, and
file extension .stats, for example: c1.stats, c2.stats.
For collection, search for the heading: SOURCE ENTRIES WITH DIFFICULTY (Figure
1.13). This indicates history software cannot find these tags.
3BUF001147-610 A 36
1 First Response Guidelines
1.3 SQL Queries
If you cannot log in to SQLPlus, see Cannot Access History Database via SQL on
page 78.
In this example, the first query is used to get the message IDs for all message logs on
this node. The second query gives you the number of messages in the log whose ID is
specified (in this case 213).
These and other queries are described in Table 1.7.
3BUF001147-610 A 37
1 First Response Guidelines
1.3 SQL Queries
3BUF001147-610 A 38
1 First Response Guidelines
1.3 SQL Queries
v.category_name,
v.attr_name,
rpad(a.str_value, 71) ||
rpad(a.nbr_value, 15) ||
rpad(to_char(a.date_value,
'MM/DD/YYYY HH24:MI:SS'), 30)
Attribute_Value
from ops$ocshis.msg&1 m, msgattrs&1 a,
msgvendors v
where m.idx > (select max(idx)-&2 from
ops$ocshis.msg&1) and m.idx = a.idx and v.attr_id
= a.attr_id
order by a.attr_id
select * from ops$ocshis.msgvendors order by Get category definitions of vendors attributes
vendor_name,category_name,glb_category,
category,seq_nbr
select localtime as Time, time_nano/10000 as msec, Example query against the Information
source as Source, Management Message Log
SUBSTR(MSGATTRVAL('ObjDescription',idx),1,250)
as Description,
SUBSTR(MSGATTRVAL('Area',idx),1,250) as Area,
condition, sub_cond,
SUBSTR(MSGATTRVAL('State',idx),1,250) as State
from IMMSGLOG_IP
order by localtime
select name,variablevalue,occurrence,taskid from Gets batch variables directly from the lower level
ops$ocshis.task_variables_occurrences tables without having to use the views
where taskid in (select taskid from task connect by
parentid = prior taskid start with taskid =
(select taskid from ops$ocshis.task where name =
'P050006'))
3BUF001147-610 A 39
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
3BUF001147-610 A 40
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
The information will be stored in debug.txt. file and the file is located in
C:\Users\800xa\AppData\Roaming\ABB\DataDirect\tmp
For the report running on the Scheduler the debug information will be stored in the
Service account file location and not in login account. So to enable the debug option
for Schedule reports, user need to enable the options in Service account.
3BUF001147-610 A 41
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
For further information refer to the applicable sections in System 800xA Information
Management Display Services (3BUF001093*).
3BUF001147-610 A 42
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
3BUF001147-610 A 43
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
2. Use this dialog to open the Trace Monitor. As an option, you can also use this dialog
to send the trace output to a log file (reference Figure 1.18):
a. Select All Processes.
b. Enter the path specification for the log file (optional and recommended).
c. Click OK when you are finished. This opens the Trace Monitor window, Figure
1.19. The window will be empty until you set up the monitor.
Check
All Processes
Send output
to a log file
3BUF001147-610 A 44
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
3. To configure the Trace Monitor Settings, launch the Run dialog (Windows key-R),
enter "C:\Program Files (x86)\ABB Industrial IT\Inform IT\Display
Services\Server\Utils\ABBTrace" and press OK.
4. Use this dialog to set up the Trace Monitor (reference Figure 1.20):
a. Specify the server (typically localhost).
b. Use the Task drop-down menu to select Use name below.
c. Enter the name of the data provider for which this monitor is being set up. Enter
the name exactly as it is indicated in the Display Server Status dialog (ABB
Start Menu > ABB System 800xA >Information Mgmt>Display Services>
IM Display Server Status).
d. Select all traces in the Flags list.
e. Click OK. This activates the Trace Monitor which will begin displaying trace
information, Figure 1.21. The setup dialog will remain open. Do not close it at
this time. You’ll need to use it to stop the monitor when you are finished.
3BUF001147-610 A 45
1 First Response Guidelines
1.4 Debug Files and Trace Monitors for Display and DataDirect
If you are sending the output to a log file, this same information will be available in the
specified log file. You can take a snapshot of the Trace Monitor as a further option
(View>Snapshot).
Turn the Trace Monitor off when you are finished. Select <No trace> in the Trace
Settings dialog, Figure 1.22, and click OK. Click Cancel to close the dialog.
3BUF001147-610 A 46
1 First Response Guidelines
1.5 Debug Files for Excel and Crystal Report Generation
3BUF001147-610 A 47
1 First Response Guidelines
1.5 Debug Files for Excel and Crystal Report Generation
The ExDebugOutput and CRDebugOutput are created with an initial value of 0 (logging
debug messages turned off). In order to start writing to the debug file, change
ExDebugOutput to 1 for Excel Reports and CRDebugOutput to 1 for Crystal Reports.
Logging will begin with the next Excel/Crystal Report. It can be turned off anytime and
should be if you are no longer collecting debug information. It can run for several days,
but the debug file size should be monitored.
The following files are located in C:\ProgramData\ABB\IM\Scheduler:
• ExSingleAutoDbg.log - file containing diagnostics if the new debug flag is turned
on.
• CRSingleAutoDbg.log - file containing diagnostics for Crystal Reports if the new
debug flag is turned on.
3BUF001147-610 A 48
1 First Response Guidelines
1.5 Debug Files for Excel and Crystal Report Generation
3BUF001147-610 A 49
1 First Response Guidelines
1.6 Windows Installer Problems
Additional debug information that can be turned on in the .ini file is stored in:
C:\Windows\System32\config\systemprofile\AppData\Roaming\ABB Industrial
IT\Inform IT\DataDirect
Change the 0 to a 1 in the debug.txt file in that directory to enable the additional debug
information.
If you experience this behavior, look in the Event Viewer to confirm that the
aforementioned scenario is in fact the cause of the problem, Figure 1.26.
To fix the problem, you’ll need to remove and then reinstall the application. You will not
be able to remove the application until the current session of the Windows installer is
terminated. You can either use the Task Manager to stop the process, and then use the
Windows Add/Remove utility, or use the Windows Installer Cleaner.
3BUF001147-610 A 50
1 First Response Guidelines
1.6 Windows Installer Problems
This utility is available on the Microsoft Help and Support web site:
http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
1. Install the program.
2. Run the program:
Start->Programs_> Windows Install Clean Up
3. Select the application that needs to be cleaned up (removed) and click Remove.
3BUF001147-610 A 51
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 52
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 53
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 54
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 55
1 First Response Guidelines
1.7 Off-line Engineering
Export/Import
The Import/Export tool allows you to import and export data to and from any 800xA
system. The data is saved as objects and aspects in structured .afw files. The
Import/Export user interface is similar to the Plant Explorer. Exporting objects and aspects
are done by drag and drop from the Plant Explorer to the Export tool.
If you import node administration objects such as log sets, report and message logs,
and archive objects from an Information Management node in the engineering system
that does not exist in the production system, those objects will not have a place in
the production system node administration structure. Therefore you will be required
to specify a new location for those objects under a new Information Management
server node in the production system node administration structure. The Import dialog
will prompt you when this is necessary.
3BUF001147-610 A 56
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 57
1 First Response Guidelines
1.7 Off-line Engineering
To establish the correct linkage between a log configuration aspect and its respective
basic history service group:
1. Find the log template used to create the log configuration aspect. The log template
is indicated on the Log Configuration aspect, Figure 1.28.
Figure 1.28: Finding the Log Template for a Log Configuration Aspect
2. Go to the Log Definition tab for the Information Management log on the Log Template
configuration aspect, and select the applicable service group in the production
system, Figure 1.29.
3BUF001147-610 A 58
1 First Response Guidelines
1.7 Off-line Engineering
3. When you see the Log Configuration update message, ignore the contents of the
message (...Partly Succeeded...), and click OK to acknowledge, Figure 1.30.
To check GUID assignments between log configuration aspects and their respective
basic history service groups, refer to Comparing a Log Configuration GUID with its
Basic History Service Group on page 60.
3BUF001147-610 A 59
1 First Response Guidelines
1.7 Off-line Engineering
Comparing a Log Configuration GUID with its Basic History Service Group
If you are unable to read history data from an Information Management log after
synchronization (or importing), this procedure lets you confirm whether or not GUIDs for
log configuration aspects match their respective basic history service groups. The
procedure is as follows:
3BUF001147-610 A 60
1 First Response Guidelines
1.7 Off-line Engineering
1. To find the GUID for a log configuration aspect, use the Log Config Viewer as
described in the following:
a. Find the hsLogCgfView executable in the History\bin directory, Figure 1.31.
b. Use the Log Config Viewer to find the log configuration aspect. This viewer
provides a browser similar to the Plant Explorer, Figure 1.32.
Process
Object
Log
Config.
Aspect
Log
GUID
Figure 1.32: Browsing to the Log Configuration and Reading its GUID
3BUF001147-610 A 61
1 First Response Guidelines
1.7 Off-line Engineering
Figure 1.33: Dragging the Service Group Object Into the Export/Import Tool
3BUF001147-610 A 62
1 First Response Guidelines
1.7 Off-line Engineering
Figure 1.34: Finding a Basic History Service Group and Reading its GUID
3BUF001147-610 A 63
1 First Response Guidelines
1.7 Off-line Engineering
3. Synchronize (or import) the log configurations. If the engineering and production
systems have different Information Management nodes, you will be required to
re-link the log configurations to their respective basic history service groups (see
Establishing Log/Service Group Links on the Production System on page 57).
4. Restart PAS. This launches the history synchronizer. Shortly after the synchronizer
is finished, the log set objects will exist in Oracle.
You can monitor the progress of the history synchronizer (hsHistorySync.exe) via the
Task Manager. The synchronizer is finished when the CPU time goes down to 0
(zero).
You can confirm the existence of the log sets in Oracle using the following query in
sqlplus: select object_name from object_table where object_type = 9;
5. Once the log sets exist in Oracle, restart PAS to run the history synchronizer again.
This is required to create the Information Management logs in Oracle. You can
confirm this by viewing the logs in the log set log list.
3BUF001147-610 A 64
1 First Response Guidelines
1.7 Off-line Engineering
3BUF001147-610 A 65
1 First Response Guidelines
1.7 Off-line Engineering
When using a multiple node engineering system with a scheduling server (Information
Management or Core Components) you may configure scheduling applications for reports,
event-driven data collection, and calculations. In this case you will be required to update
the server specification in the scheduling definition aspect. Also copy any reports to the
production system, and maintain the same file structure as used on the engineering
system.
1.7.9 Considerations for Report and Message Logs and Archive Objects
Report, message log, and archive objects may be configured on an off-line engineering
system when that system has an operational Information Management node. In this
case, the objects on the engineering system are for test purposes only. The run-time
versions of these objects should be created directly on the production system (not
transferred via export/import). These objects can be created efficiently directly on the
production system, so there is little or no advantage to importing them from the
engineering system.
3BUF001147-610 A 66
1 First Response Guidelines
1.7 Off-line Engineering
Deleting a log configuration aspect from the aspect system will delete the corresponding
log(s) from Oracle.
If the Information Management History service is not running when you delete the
log configuration aspects, you must run the hsDBMaint Clean History Database
function to purge the logs from Oracle. Refer to the section on History Database
Maintenance in System 800xA Information Management Configuration (3BDS011222*).
Rather than deleting log configuration aspects manually (one-at-a-time), you can
delete them using the History Bulk Configuration tool. Refer to the section on Bulk
Configuration of Logs in System 800xA Information Management Configuration
(3BDS011222*).
Log templates cannot be deleted until their corresponding logs have been deleted.
Deleting a log template object from the aspect system will also delete any reference to
the template in Oracle.
This operation does NOT preserve any data in the log that was deleted.
3BUF001147-610 A 67
3BUF001147-610 A 68
2 History
2.1 Introduction
2 History
2.1 Introduction
This section provides guidelines for the following:
• Checking Upstream for History Problems on page 70
• What To Look For When Logs Do Not Collect Data on page 70
• Logs Not Activating on page 73
• Cannot Start History on page 73
• Cannot Create Oracle Database Instance on page 74
• Cannot Use History Configuration Displays on page 74
• Insufficient Oracle Tablespace on page 75
• Insufficient Temp Tablespace and Rollback Segments on page 77
• Cannot Access History Database via SQL on page 78
• Entry Tables and Error Reports for Numeric Logs on page 79
• Cannot View DataDirect Reports Stored In Report Log on page 81
• Deleting Property Logs Via Bulk Configuration Tool is Slow on page 81
• Message Log API Error on page 82
• Debugging Scheduled Archive Problems on page 84
• Debugging Event Collection Applications on page 87
• Backfill Message Logs on Restore on page 91
• Oracle Fails to Start on page 91
• History Application Building Tips on page 92
• Oracle Users on page 93
• Planning Guidelines for Hard Disk Capacity on page 94
• Looking Up Object_IDs for Numeric Logs on page 96
3BUF001147-610 A 69
2 History
2.2 Checking Upstream for History Problems
• Retrieving IM Numeric Log Data on 800xA Plant Explorer and Workplace Client
Nodes on page 97
• hsDBMaint -checkDB Tool Indicates All Logs Need Deleted on page 98\
• Bad Logs or Bad Log References Cause Archives to Fail on page 98
• Oracle TRC Files Fill C Drive on page 98
• Oracle TRC Files Fill C Drive on page 98
• Transfer of Batch Procedure Function Chart (PFC) Data to Information Management
on page 98
• Troubleshooting the Event Log Collector on page 100
• Deleting Objects from IM without Corresponding Object in Aspect System on page
102
• Miscellaneous Archival Operation Information on page 102
• What is Read Raw Error and When is it Bad? on page 106
• Procedure for Finding and Removing Serious IM Read Raw Events on page 108
3BUF001147-610 A 70
2 History
2.3 What To Look For When Logs Do Not Collect Data
2.3.2 Data Available in Basic History Trend Logs But Not IM History Logs
• Sample Blocking Rate - It is common when you first activate a log to see the
operator trend data, but no history (Information Management-based) data. This is
due to the sample blocking rate configured on the Data Collection tab of the Log
Template. The blocking rate controls the frequency at which data is collected by the
history log from the source trend log. If you experience this lag, check the blocking
rate to determine whether or not that is the cause.
• Restart Basic History - Sometimes it is necessary to restart Basic History on
Information Management and Connectivity servers after logs have been added.
3BUF001147-610 A 71
2 History
2.3 What To Look For When Logs Do Not Collect Data
Before
Stagger
After
Stagger
3BUF001147-610 A 72
2 History
2.4 Logs Not Activating
3BUF001147-610 A 73
2 History
2.6 Cannot Create Oracle Database Instance
3BUF001147-610 A 74
2 History
2.8 Insufficient Oracle Tablespace
3BUF001147-610 A 75
2 History
2.8 Insufficient Oracle Tablespace
3BUF001147-610 A 76
2 History
2.9 Insufficient Temp Tablespace and Rollback Segments
With Information Management version 4.0 and later (using Oracle 9) rollback segments
have been replaced with UNDO tables.
For installations at 800xA 3.1 SP2 with coordinated roll up and higher, the temporary
and rollback (or UNDO) tablespaces are sized based on the selections you make for
OPC message log size in the Oracle instance wizard, Table 2.4.
Complex queries against PDL and PDL deletion operations may use a significant amount
of this tablespace. If you get an indication of insufficient temp or rollback space in these
situations, it is recommended that you adjust the query or delete the PDL data in smaller
increments.
Restoring a history database also uses the Oracle Temp tablespace and rollback
segments. If you run out of space during a restore operation, the restore will fail, and
you will be required to increase the temp and rollback space before retrying the restore.
Use the Oracle Instance Maintenance wizard to extend the applicable tablespace. The
recommended guideline is to double the current size.
You cannot decrease the temp or rollback size. Therefore, you should take care to
increase the size by a reasonable amount that will provide the space you need. The
only way to revert back to a smaller size is to make a backup of your database, drop
and recreate the Oracle instance, and then restore the database.
Generally, you should extend a tablespace by modifying (increasing) the existing file.
Use the Add function when you need to add tablespace on a different drive.
3BUF001147-610 A 77
2 History
2.10 Cannot Access History Database via SQL
3BUF001147-610 A 78
2 History
2.11 Entry Tables and Error Reports for Numeric Logs
The entry table provides statistics that help you to verify whether or not numeric logs are
functioning properly. You can also look up the Log ID for a specific log name. Figure 2.5.
Log IDs are used in SQL queries against historical tables.
Rows marked with an asterisk (*) indicate logs with errors. A summary is provided at the
end of the report. An example error report is shown in Figure 2.6. This information is
useful for level-4 (development) support.
3BUF001147-610 A 79
2 History
2.11 Entry Tables and Error Reports for Numeric Logs
Log IDs
3BUF001147-610 A 80
2 History
2.12 Cannot View DataDirect Reports Stored In Report Log
3BUF001147-610 A 81
2 History
2.14 History Service Provider Does Not Start
3BUF001147-610 A 82
2 History
2.15 Message Log API Error
Change the kernel memory threshold in the Windows Registry (see Figure 2.7):
1. Add the following registry key of data type DWORD:
HKEY_LOCAL_MACHINE\Software\
Microsoft\MSMQ\Parameters\
KernelMemThreshold
2. Set the value to 95 decimal.
Notes: The default is 80. The value can range from 1 to 99. Anything else is
converted to 80.
Select the Decimal option when you create this value. Hexadecimal will cause the
default value of 80 to be used.
3BUF001147-610 A 83
2 History
2.16 Debugging Scheduled Archive Problems
Registry
Keys
The Print Flag should be turned off (DebugHandler and HandlerPrintOn keys set back
to 0) when you are finished debugging.
3BUF001147-610 A 84
2 History
2.16 Debugging Scheduled Archive Problems
3BUF001147-610 A 85
2 History
2.16 Debugging Scheduled Archive Problems
3BUF001147-610 A 86
2 History
2.17 Debugging Event Collection Applications
3BUF001147-610 A 87
2 History
2.17 Debugging Event Collection Applications
3BUF001147-610 A 88
2 History
2.17 Debugging Event Collection Applications
The DebugDefinitions variable is NOT available in systems prior to 800xA 4.1. Only
options 1 and 2 are available in earlier systems.
3BUF001147-610 A 89
2 History
2.17 Debugging Event Collection Applications
3. To write additional debug information to the log file, first use the DebugDefinitions
key to get a listing of the available options, and then change the DebugValue
accordingly.
a. Double-click DebugDefinitions to view the options list, Figure 2.14. Some
useful options are listed in Table 2.5.
The values are decimal-based. You can specify several options by adding the
corresponding values. For example, 33 specifies options 1 and 32.
b. To enable the print flag, select DebugValue, right-click and choose Modify
from the Context menu.
c. Set the Base to Decimal, then enter in the applicable value and click OK. Figure
2.15.
3BUF001147-610 A 90
2 History
2.18 Backfill Message Logs on Restore
Reset the DebugValue to 0 when you are finished debugging to disable the print flag.
External sites can only be tested if the DNS server has forwarding enabled to resolve
non-ppa zones AND a route to the internet is available.
Also try using both IP address and computer name. Some examples are illustrated in
Figure 2.16.
3BUF001147-610 A 91
2 History
2.20 History Application Building Tips
3BUF001147-610 A 92
2 History
2.21 Oracle Users
• Time Zone and Daylight Savings - It is very important that the clock and the Time
Zone are set up correctly and identically for all nodes in a network. For details, refer
to the System 800xA Automation System Network.
• Termination of TCP/IP - Always terminate the TCP/IP connection to avoid problems
such as not being able to display the View Logs Window. Also, it is recommended
that you disable extra network interface cards that are not in use.
• TCP/IP Address - Whether the software is installed on the client or server version
of the Windows operating system, the node should be considered a server. It is
recommended that the node be configured with a fixed TCP/IP address. DHCP is
not recommended and can cause problems when the node addresses change.
• Handling SCSI devices - Do not remove or attach SCSI devices without shutting
down the machine. Not shutting down may cause problems such as reboot and disk
crashes.
• The Data Source specification of the Information Management log cannot exceed
41 characters. The limit for the internally stored data source is 80 characters (this
includes the 39-character GUID which is not displayed externally). If this limit is
exceeded, you will not be permitted to save the log configuration.
During History configuration, limiting the length of the log template name may help
you to stay within this limit. If the combination of the object and property names plus
the colon and comma delimiters exceed 41 characters, then those names will have
to be changed.
3BUF001147-610 A 93
2 History
2.22 Planning Guidelines for Hard Disk Capacity
Any new Oracle instance will force the user to select passwords for the administrative
Oracle users (sys, system and ops$ocshis) and optionally the history user. Users can
change these passwords at any time with the IM Oracle instance wizard. Users whose
password is indicated as EXTERNAL are authenticated by the Windows operating system.
This procedure is described in the section on securing your system in System 800xA
Information Management Configuration (3BUF001092*).
3BUF001147-610 A 94
2 History
2.23 Running hsDBMaint Remotely
3BUF001147-610 A 95
2 History
2.25 Looking Up Object_IDs for Numeric Logs
IM history has several processes that do not allow COM clients to launch them. These
include the hsHDAServer and the EHOPCAEServer. When IM history is stopped, PPA
History service provider will try to re-connect to IM HDA and the Event Collector Provider
will attempt to reconnect to the EHOPCAEServer. Windows will generate Event Messages
for these attempts.
Under normal operations, these messages will not occur. They will occur when IM history
is restarted or stopped. If history constantly restarts, a period of time exists where these
processes are stopped and, if PPA attempts to connect to these processes, the Event
messages will be generated.
3BUF001147-610 A 96
2 History
2.26 Retrieving IM Numeric Log Data on 800xA Plant Explorer and Workplace Client Nodes
3BUF001147-610 A 97
2 History
2.27 hsDBMaint -checkDB Tool Indicates All Logs Need Deleted
3BUF001147-610 A 98
2 History
2.30 Transfer of Batch Procedure Function Chart (PFC) Data to Information Management
3. The PdlApiSrv.exe will take the data from the EH_Transfer shared folder and move
it to the HS_CLIENT_DATA shared folder.
4. The PdlApiSrv.exe will then take the data from the HS-CLIENT_DATA shared folder
and store it in the User_Blob attribute of the Task_Variables table in the IM.
5. When this is complete, it will delete the data in both folders.
It should be possible to look at these messages in the Alarm and Event List by filtering
the presentation. Although the following has not been verified, the messages should be
visible by setting the filter as shown in Figure 2.18.
To access the view shown in Figure 2.18, select the View Configuration icon from the
Alarm and Event List aspect.
Figure 2.18: Setting Filter to View Batch PDL Data Transfer Messages
3BUF001147-610 A 99
2 History
2.31 Troubleshooting the Event Log Collector
3BUF001147-610 A 100
2 History
2.31 Troubleshooting the Event Log Collector
The name of the variable that requires change is DebugValue. This can be modified
with the decimal values contained in the DebugDefinitions variable as shown in the
following:
0 No Debugging on.
Or any combination of the following:
1 Number events received in OnEvent msg, refresh flag values and any
wait time.
2 Timestamp and first 50 characters of Message text.
4 Number of events queued internally.
8 Number of IMMSGLOG, BatchPDL, and MODPDL events
received.
16 Number events sent to StoreMsgs and number events left in queue.
32 Total events stored to IMMSGLOG, rate stored per second, and time
behind.
64 Refresh flag values and timestamp of first event in an OnEvent msg.
128 When requesting more events from platform the timestamp values
are logged.
256 Timestamp of every event received.
512 When a msg pump command is done it is logged.
1024 undefined
Example: 1023 will turn on all options defined.
The results of the changes made to this variable can be found in the following file:
C:\ProgramData\ABB\IM\History\log\hsEventLogCollector.log
Be sure to turn this function off when troubleshooting is complete in order to avoid
filling up the log file.
3BUF001147-610 A 101
2 History
2.32 Deleting Objects from IM without Corresponding Object in Aspect System
3BUF001147-610 A 102
2 History
2.33 Miscellaneous Archival Operation Information
3BUF001147-610 A 103
2 History
2.33 Miscellaneous Archival Operation Information
In the figure 2.21 there are 3 basic history service groups configured. Basic history service
group where Archive is running ( i.e. IM node) there Archive Support will be enabled
automatically as part of IM installation and initializations. Users should make sure for
other service groups Archive support are NOT enabled and same has been highlighted
in the screen.
3BUF001147-610 A 104
2 History
2.33 Miscellaneous Archival Operation Information
3BUF001147-610 A 105
2 History
2.34 What is Read Raw Error and When is it Bad?
3BUF001147-610 A 106
2 History
2.34 What is Read Raw Error and When is it Bad?
3BUF001147-610 A 107
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
3BUF001147-610 A 108
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
For instructions on using the hsDBMaint -stagger, refer to the Stagger Collection
and Storage topic in the History Database Maintenance section of System 800xA
Information Management Configuration (3BUF001092*).
3BUF001147-610 A 109
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
This section is more concerned about reducing load on the IM disks by making fewer
larger writes than more frequent smaller ones. The larger, less frequent writes are
much more efficient and are still a valid reason for reducing the OPC/HDA rate.
3BUF001147-610 A 110
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
The Log Summary Aspect can be used to quickly look for disabled Log Configuration
Aspects and activate them. The Log Summary must be placed at the root level of
all structures containing Log Configuration Aspects to see them all. Figure 2.24
indicates the Log Summary Aspect showing a disabled Log Configuration Aspect.
3BUF001147-610 A 111
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
3BUF001147-610 A 112
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
3BUF001147-610 A 113
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
6. Find the offending Log Configuration Aspects and review them for errors.
If Read Raw errors are still occurring at this point, it is possible that something is
wrong with the contents of the Log Configuration Aspect that did not cause it to be
flagged as inconsistent in the Log Summary Aspect. An example of this is having
added a Log Configuration Aspect that has logs defined on a property that does not
exist on the object and its aspects. Perform the following to find these types of
configuration errors:
a. As of SV5.0 SP2 Rev D and SV5.1, new events have been added to document
problems the IM is having collecting from OPC/HDA. The following event has
been added when a Read Raw Error has occurred.
Collection: first 5 ReadRaw failures from Objects: GUID1, GUID2, GUID3,
GUID4, GUID5
If this event occurs consistently and History Synchronization is not the cause,
indicated by a non-zero value for STILL_IN_SYNC in the Read Raw Event,
then the event warrants further investigation. The GUIDs in the event can be
used in the Plant Explorers Find Tool to locate the object. Once located, follow
the last step in this section to investigate the Log Configuration Aspect. For
systems not at the mentioned versions, continue with the remaining steps.
b. Create a History Report on the IM. The history report is created by typing
hsDBMaint -report > c:\temp\HistRep.txt at a command prompt. The command
can take a lengthy period of time for systems with large numeric log
configurations as it reads all values for every log before making an entry in the
HistRep.txt file that is created when the report is run.
c. Review the history report for active logs that have not stored data in some time.
Each line in the history report represents one log on the IM. The first character
is either an A or I and denotes active or inactive. The next two entries represent
the time range covered by all the entries in the log. The first timestamp
represents the oldest point and the second timestamp indicates the newest.
The following is an example of a portion of a history report:
A 04 Dec 09 05:44:00 15 Dec 09 13:56:01 1.00:1 -1 16333 16332 1 0 32240
$HS{log guid}-6-o
A 04 Dec 09 05:44:00 04 Dec 09 05:44:00 1.00:1 -1 1 0 1 0 32242 $HS{log
guid}-6-o
A 04 Dec 09 05:44:00 15 Dec 09 14:00:58 1.00:1 -1 16338 0 16338 0 32244
$HS{log guid}-6-o
A 04 Dec 09 05:44:00 15 Dec 09 14:00:58 1.00:1 -1 16338 0 16338 0 32246
$HS log guid}-6-o
3BUF001147-610 A 114
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
3BUF001147-610 A 115
2 History
2.35 Procedure for Finding and Removing Serious IM Read Raw Events
d. Find the Objects that contain logs that are causing Read Raw errors. If the
history report was made on a pre 800xA 5.x system, or an 800xA 5.x system
that was upgraded from 800xA 4.x, the object where the Log configuration
resides can be taken directly from the log name. That is the portion of the history
report shown as $HS{log guid} in the sample history report output used in this
topic.
If the history report was made on an 800xA 5.x system and new logs were
created at 800xA 5.x, then the object name, represented by the text {log guide}
in the sample history report output, is not discernable and another step is
needed. The Log ID, the value just to the left of the $HS, is used to look up the
800xA Item ID in Oracle as follows:
cmd> sqlplus /@localhost
SQL> select log_id, item_id from ops$ocshis.hda_table where log_id in
(32242,32246);
To the left of the > is the prompt. cmd represents a Windows command prompt
and sql represents a Sqlplus command prompt. To the right of the prompt is
what the user must enter. The command was written for the sample history
report in this topic. The Log IDs included are 32242 and 32246 for a second
log not included in the output. Any additional bad logs should be added to the
list separated by a comma. After the user runs the commands, a note of the
item_id returned for each log ID should be made. The item_id includes the
800xA path and object name.
3BUF001147-610 A 116
2 History
2.36 Incorrect network binding in Windows 2012R2
e. Inspect the Log Configuration Aspects on the objects found in previous steps.
Use the object name found in the history report and sql statements if they are
needed to find the Log Configuration Aspect in the Plant Explorer. Once found
determine the following:
i. Inspect the Log Configuration Aspects on the objects found in previous
steps.
ii. Can the user read data from the Status tab of each of the logs on the
aspect?
Given that no data was stored for the IM log, minimally the user should not
be able to see data in the IM log. Furthermore, the following can be
determined:
iii. Is there anything unusual about the object/aspect/property the log is on?
iv. Does the property exist on this object/aspect combination?
If the source of the Read Raw errors can not be determined at this point,
the user should contact ABB Technical Support to find out what other steps
can be performed. Include an attachment with the preceding information
when creating the support case.
3BUF001147-610 A 117
3BUF001147-610 A 118
3 SoftPoints, Calculations, and Open Data Access
3.1 Introduction
3.1 Introduction
This section provides guidelines for:
• SoftPoint Setup and Configuration on page 120
• Performance Statistics for Calculations on page 120
• Difficulty Modifying SoftPoint Values on page 120
• Copying Calculations to Object Instances on page 120
• Generating Events on page 121
• Deleting Calculations on page 121
• Cannot View Calculations in the Calculation Status Viewer on page 121
• Enabling Instantiated Calculations on page 121
• Calculations Update Status on page 122
• General Considerations on page 122
• Logging Status Information for Open Data Access on page 122
• Guidelines for Native Language Support on page 123
• Calculation Registry Keys on page 123
• Calculation Registry Keys on page 123
3BUF001147-610 A 119
3 SoftPoints, Calculations, and Open Data Access
3.2 SoftPoint Setup and Configuration
3BUF001147-610 A 120
3 SoftPoints, Calculations, and Open Data Access
3.6 Generating Events
3BUF001147-610 A 121
3 SoftPoints, Calculations, and Open Data Access
3.10 Calculations Update Status
3BUF001147-610 A 122
3 SoftPoints, Calculations, and Open Data Access
3.13 Guidelines for Native Language Support
Figure 3.1: SetLocale Function for Floating Point Values in Native Language
3BUF001147-610 A 123
3 SoftPoints, Calculations, and Open Data Access
3.14 Calculation Registry Keys
3BUF001147-610 A 124
4 Data Access Applications
4.1 Introduction
4.1 Introduction
This section provides guidelines for troubleshooting data access applications. This
includes DataDirect, Desktop Trends, Display Services, reports, and the Application
Scheduler. Topics covered include:
• General Troubleshooting Tips on page 126
• Exporting Problems on page 128
• Crystal Reports and ODBC on page 128
• Fixing Large Reports (Long Execution Time) on page 129
• DataDirect Add-in Not Installed for 800xA Service Account on page 129
• DataServerLogin on page 129
• DataDirect Functions Fail to Return Data on page 130
• Date Formatting Problems in DataDirect on page 130
• DataDirect Functions on page 130
• EX Automation Error on page 130
• Reading DataDirect (Excel) Reports from a FileViewer Aspect on page 131
• Scheduler Service Group on page 131
• Scheduler Service Group on page 131
• Restored Logs Not Available on page 132
• Launch Permissions on page 132
• Excel DCOM Launch Permissionson page 134
• Cannot Find XLQuery Error on page 135
• History Logs Not Available Through Network-wide EH_NET on page 135
• Saving and Printing Desktop Trends on page 135
3BUF001147-610 A 125
4 Data Access Applications
4.2 General Troubleshooting Tips
3BUF001147-610 A 126
4 Data Access Applications
4.2 General Troubleshooting Tips
• Using the Test Action on the Action Aspect (Figure 127) - This runs the report via
the interactive or workplace user, instead of the Scheduler. This will help you
determine whether or not the scheduler is having problems. If you see dialogs asking
for userid/password or data source, this indicates the report will not run when
executed by the Scheduler. Also check the ODBC source Localhost to make sure
it was not configured with a userid (should be blank).
• Macro Security and Pop-up Dialogs - Security issues often cause reports to hang
due to resulting pop-up messages. Any error causing a dialog to pop up in Excel
for a report template interactively will also do so for the 800xA service account
running the task in the background. Macro Security settings can cause this. If Visual
Basic macros are defined in a particular report, Excel Macro Security settings may
need to be set lower for the 800xA Service Account. If you are on the local computer,
listen for beeps. Beeps are an indication that a dialog is popping up in the
background.
Make sure that you are logged in with the 800xA Service Account when checking
security issues, as this is the account used for generating the report.
• Run Report Template manually in Excel - Use F9 with the Report Template opened
in Excel. Then Test functions separately. To pinpoint which function(s) are failing,
it helps to whittle the report down to individual function calls and testing individually
to identify the problematic one.
Try to run an empty report. Uncheck all Excel add-ins including DataDirect This
eliminates some situations where excel might pop up a dialog.
3BUF001147-610 A 127
4 Data Access Applications
4.3 Exporting Problems
• Test the function calls Interactively in Excel - The Microsoft Excel Function wizard
tries to execute functions each time a new parameter is entered. This may cause
Excel to crash. When using the function wizard, it is recommended that you disable
the functions from the option page.
• General support for Crystal Reports - Refer to the following web site:
http://support.businessobjects.com/search/
www.crystalkeen.com
www.crystalbook.com
www.mindconnection.com
www.tech-tips.com
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlmn/html/crsamsamples.asp
www.hammerman.com
www.kenhamady.com
www.chelseatech.co.nz
3BUF001147-610 A 128
4 Data Access Applications
4.5 Fixing Large Reports (Long Execution Time)
4.7 DataServerLogin
Check the DataServerLogin requirements for DataDirect and Crystal Reports.
DataServerLogin parameter may set improperly or not at all.
When using functions that require data providers, be sure to add the DataServerLogin
parameter to the Action aspect, and make sure that the parameters check box is checked,
(DataServerLogin=roc79,aid,aid).
3BUF001147-610 A 129
4 Data Access Applications
4.8 DataDirect Functions Fail to Return Data
3BUF001147-610 A 130
4 Data Access Applications
4.12 Reading DataDirect (Excel) Reports from a FileViewer Aspect
Increase the timeout variable on the Action aspect under the Job Description object to
resolve the problem.
3BUF001147-610 A 131
4 Data Access Applications
4.14 Restored Logs Not Available
The default Service Group for a Service is the first one listed in the Service structure
under the Scheduler category (they are listed alphabetically). You can add a character
for example - x,y,z, etc can be added to the front of the names to get them in the desired
order.
3BUF001147-610 A 132
4 Data Access Applications
4.15 Launch Permissions
3BUF001147-610 A 133
4 Data Access Applications
4.16 Excel DCOM Launch Permissions
Open Component services via Windows Run command -> MMC comexp.msc /32
Open Microsoft Excel Application properties as shown in the Figure 4.3
1. Default Setting will be The launching user,
2. Set it as The interactive user,
3. Apply the changes,
3BUF001147-610 A 134
4 Data Access Applications
4.17 Cannot Find XLQuery Error
4. Run the Job with Permission denied error manually via Scheduling Definition ->
Run Job
5. The job should complete without errors
6. Toggle the Identity Setting back to The launching user and Apply changes.
3BUF001147-610 A 135
4 Data Access Applications
4.20 Batch Reports
3BUF001147-610 A 136
4 Data Access Applications
4.22 Opening Desktop Tools with ActiveX Controls on Windows XP
To open the tool you will be required to click in the message bar, select Allow Blocked
Content from the context menu, Figure 4.5, and then respond to the security warning,
Figure 4.6.
3BUF001147-610 A 137
4 Data Access Applications
4.23 Desktop Trends ActiveX Components Not Registered During Upgrade
To avoid having to perform these steps at each instance, change the default security in
Internet Explorer, Figure 4.7. On the IE menu bar select Tools>Internet Options. Click
the Advanced tab in the Internet Options dialog, then scroll to the Security section and
check:
• Allow active content from CDs to run on My Computer.
• Allow active content to run in files on My Computer.
3BUF001147-610 A 138
4 Data Access Applications
4.24 Desktop Tools Fail to Connect to the Server
Desktop Trends\bin\RegisterTrendControls.bat
This file will properly register the controls silently (there are no confirmation dialog boxes).
This action only needs to be taken on nodes where the problem is seen and only needs
to be run once.
3BUF001147-610 A 139
4 Data Access Applications
4.25 User Tag Management
3BUF001147-610 A 140
4 Data Access Applications
4.26 Using MS Query within Excel Based Reports
3BUF001147-610 A 141
4 Data Access Applications
4.29 Entering Time Ranges in ODA Numericlog Queries from SQL or ODBC Connections
3BUF001147-610 A 142
4 Data Access Applications
4.30 Debugging Commands Sent to ODA
3. Select the Enable Logging check box in the Enable/Disable Error Logging dialog
shown in Figure 4.10.
3BUF001147-610 A 143
4 Data Access Applications
4.30 Debugging Commands Sent to ODA
5. Each request sent to ODA will cause a series of lines to be added to the log file.
The newest entries appear at the end of the file. A typical entry is shown in Figure
4.11.
6. Review the dates for accuracy. If one or both of the dates shows a? (question mark),
that indicates something from the SQL command was misinterpreted by ODA.
3BUF001147-610 A 144
4 Data Access Applications
4.31 Placing a Calculate Now Function on an Excel Spreadsheet
3BUF001147-610 A 145
4 Data Access Applications
4.31 Placing a Calculate Now Function on an Excel Spreadsheet
3BUF001147-610 A 146
5 Installation Tips
5.1 Introduction
5 Installation Tips
5.1 Introduction
The Information Management software is installed as part of the 800xA system.
.
5.2 Pre-Installation
5.2.1 Domain Setup
The 800xA system uses a Windows domain topology. Set up a dedicated domain be set
up for the 800xA system (i.e. do not add the 800xA system to an existing domain). The
domain must be set up before you install the 800xA system software. It is strongly
recommended that this be done by a qualified domain administrator. Errors in the domain
set-up will result in time-consuming problems once the software is installed, and the
system is up and running.
A good source of information regarding domain setup is available in System 800xA
Network Configuration (3BSE034463*).
Use nslookup to test your connection to the domain controller/DNS server.
3BUF001147-610 A 147
5 Installation Tips
5.2 Pre-Installation
5.2.6 Reboots
Always reboot when instructed (or prompted) to do so. Certain services (windows), and
certain service groups/providers needed to be created and started.
5.2.8 ASP.NET
For SV6.1 systems, ASP.NET is installed as part of the .NET framework software. Internet
Information Services (IIS) must be installed BEFORE ASP.NET. If you install .NET
framework before IIS is installed, then the ASP.NET does not have a way to bind to the
IIS framework in order to use it. To fix a system where ASP.NET has been installed
before IIS, re-register the asp.net after installation:
%WindowsDir%\Microsoft.NET\Framework\vx.y.zzzz\
And you should call it with the -i parameter: aspnet_regiis.exe -i
3BUF001147-610 A 148
5 Installation Tips
5.2 Pre-Installation
Once ASP.NET is installed, confirm that the ASP.NET and Active Server Pages Web
Service Extensions are enabled. To do this:
1. Right click on My Computer and choose Manage from the context menu. Refer to
Figure 5.1 for steps 2 and 3.
2. Open the Internet Information Services Manager branch in the Computer
Management window, and select Web Service Extensions.
3. Check the status of the ASP.NET and Active Server Pages extensions. The status
for both extensions should be set to Allowed. If the status for either extension is
set to Prohibited, select the extension then click Allow.
3BUF001147-610 A 149
5 Installation Tips
5.2 Pre-Installation
3BUF001147-610 A 150
5 Installation Tips
5.3 Set Up (Post Installation)
3BUF001147-610 A 151
5 Installation Tips
5.3 Set Up (Post Installation)
SQL*Plus
Refer to the guidelines for using SQL*Plus in System 800xA Information Management
Data Access and Reports (3BUF001094*). Check ORACLE_SID. Set to ADVA if not
already done.
3BUF001147-610 A 152
5 Installation Tips
5.3 Set Up (Post Installation)
Service Names
Under normal circumstances, Oracle software is installed after the Information
Management application server has been added to a domain. Oracle detects that the
PC belongs to a domain, adds a line with the domain name to the sqlnet.ora file, and
appends the domain name to all service names defined in the tnsnames.ora file.
If for some reason Oracle is installed before the node is added to a domain, the domain
name will not be entered into the sqlnet.ora file. The HSEH service name (created during
Information Management software installation), and the LOCALHOST service name
(created as a post installation step) will have the domain name appended. This will create
a mismatch between these service names and sqlnet.ora file, and cause these service
names to fail.
To rectify this condition, enter the domain name in the sqlnet.ora file and update any
names in the tnsnames.ora file that do not have the domain name extension. Refer to
the procedure as described in the section on post installation for Information Management
in System 800xA Post Installation (3BUA000156*).
3BUF001147-610 A 153
3BUF001147-610 A 154
6 Sales & Pricing Issues
6.1 Adding Scheduling, Calculations, SoftPoints, and Excel Data Access (DataDirect)
3BUF001147-610 A 155
6 Sales & Pricing Issues
6.3 What do I need to buy?
6.3.3 Options
Desktop Trends, Display Services, Excel Data Access, Open data Access support data
access on non 800xA workplaces, they work as client/server.
• Why do I need Open Data Access? Open Data Access provides a Microsoft friendly
interface for integration to applications that understand ODBC and OLE/DB Provides
access to current value and historical data. Typical uses:
– Reporting with tools such as Crystal Reports
– Integration with other applications that only understand SQL type interfaces
3BUF001147-610 A 156
6 Sales & Pricing Issues
6.3 What do I need to buy?
Open Data Access HIST_ODBC_SRVR Counts the use of the Open data Access server. A
(History ODBC Server) configuration setting is used to select what nodes
will run the ODBC server. When an ODBC server
starts up if will check out one count of the license
from the CLS.
HIST_ODBC Controls the number of clients in the system that
(History ODBC) can use the Historian ODBC Server.
3BUF001147-610 A 157
3BUF001147-610 A 158
Revision History
Revision History
Revision History
This section provides information on the revision history of this User Manual.
The revision index of this User Manual is not related to the 800xA 6.1 System Revision.
Revision History
The following table lists the revision history of this User Manual.
Revision
Description Date
Index
A Published for 800xA System 6.1 release October 2018
3BUF001147-610 A 159
3BUF001147-610 A 160
Index
Index
Numerics add-ins, 129
800xA Administration account, 148 cannot log in, 15
800xA services cannot view reports in report log, 81
events, 19 data server login, 129
date formatting, 130
A debug file, 40
ActiveX controls, 136 functions, 130
all logs need deleted, 98 missing tools on toolbar, 15
archival operation, 13 data provider
archive debug flags, 17
print flags, 84 debug file
archives, 13 DataDirect, 40
failing, 98 Excel reports, 47
ASP.NET, 74, 148 debugging commands, 143
delete objects in IM, 102
B Desktop Trends
back-ups, 151 saving, 135
bad logs or log references, 98 disk drives, 94
Display Services
trace log, 41
C
trace monitor, 43
calculate full function, 145
domain set-up, 147
calculations
copying to object instances, 120
deleting, 121
E
enabling, 121 event collection, 87
events, 121 event log collector, 100
native language support, 123 events
performance tracking, 120 for 800xA services, 19
status update, 122 event viewer, 18
status viewer, 121 EX
Cannot find XLQuery, 135 Automation error, 130
CRSingleAuto, 132 Excel
calculate full function, 145
MS query, 141
D
Excel reports debug file, 47
data access
EXSingleAuto, 132
troubleshooting tips, 126
DataDirect
3BUF001147-610 A 161
Index
H O
history ODA
bulk configuration tool, 81 debugging commands, 143
cannot access aspects, 15, 74 logging status information, 122
cannot create or restore database, 74 ODA client
CPU load spikes, 72 cannot connect, 16
CPU spikes, 72 ODA numeric log queries
database instance, 151 access name, 141
data collection fails, 71 SQL and ODBC connections, 142
data source specification, 93 timestamp, 142
EH_NET, 135 Oracle
entry tables report, 79 connections, 152
history source aspect, 71 service names, 153
logs will not activate, 73 Table spaces, 15
object naming, 92 TRC files fill C drive, 98
restored logs, 132 users, 93
SQL access, 74 ORACLE_SID, 78
staggering logs, 72
troubleshooting tips, 69 P
history data PAS
cannot access, 15 service account, 15, 27
history database PDL data
cannot create or restore, 15 cannot retrieve, 15
hsDBMaint -check DB tool, 98 PFC, 98
hsDBMaint -report tool, 98 Price Books, 155
processes, 26
I
Installing User, 148 R
Internet Explorer, 150 reports
batch, 136
L Crystal Reports, 128, 136
Licensing, 150, 156 execution time, 129
log files, 29 export problems, 128
security issues, 127
M test action, 127
max files per file type, per directory, 141 restore database fails, 15
MS query, 141
S
N Sales & Pricing Issues, 155
network, 147 scheduler
numeric log, 97 launch permissions, 132
Scheduler
3BUF001147-610 A 162
Index
3BUF001147-610 A 163
3BUF001147-610 A 164
www.abb.com/800xA 800xA is a registered or pending trademark We reserve all rights to this document
of ABB. All rights to other trademarks reside and the items and images it contains.
www.abb.com/controlsystems with their respective owners. The reproduction, disclosure to third parties
or the use of the content of this document
We reserve the right to make technical – including parts thereof – are prohibited
changes to the products or modify the without ABB’s prior written permission.
3BUF001147-610 A