Installing Emonitor Software with a Centura Single

Installing Emonitor Software with a Centura Single
EMONTR-IN001C-EN-E _Ttlpg.qxd
6/16/06
1:30 PM
Page 1
Emonitor
®
Installing Emonitor Software with
a Gupta Single-User Database
Publication EMONTR-IN001C-EN-E–September 2006
Supersedes Publication EMONTR-IN001B-EN-E
Contact Rockwell
Copyright Notice
Trademark Notices
Other Trademarks
ii
Technical Support Telephone — 1-800-368-3547
Technical Support Fax — 1-513-576-4213
World Wide Web — www.rockwellautomation.com
© 2006 Rockwell Automation Technologies, Inc. All rights reserved. Printed in USA.
This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation
Technologies, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation
Technologies, IncGupta. is strictly prohibited. Please refer to the license agreement for details.
Allen-Bradley, Arena, ControlLogix, Datapac, Emonitor, Emonitor Odyssey, Enlab, Enlube, Enpac, Enshare, Entek,
Entrx, Enwatch, eProcedure, FactoryTalk, MotorMonitor, PlantLink, PLC-2, PLC-3, PLC-5, Rockwell Automation,
Rockwell Software, RSLinx, RSView, the Rockwell Software logo, SIMAN, RSTune, VersaView, and XM are
registered trademarks of Rockwell Automation, Inc.
The following logos and products are trademarks of Rockwell Automation, Inc.:
RSBizWare, the RSBizWare logo, RSBizWare Batch, FactoryTalk Batch, RSBizWare BatchCampaign, RSBizWare
BatchHistorian, FactoryTalk Historian for Batch, RSBizWare Historian, FactoryTalk Historian, RSBizWare
MaterialTrack, RSBizWare Scheduler, FactoryTalk Scheduler, and RSLoop Optimizer
RSMACC, FactoryTalk AssetCentre, ProcessLogix, RSLogix, PhaseManager, RSLogix Emulate, RSLogix Guard,
RSOPC Gateway, and FactoryTalk Gateway
Advanced Interface (A.I.) Series, A.I. Series, AdvanceDDE, ControlView, Data Highway Plus, DH+, RSView,
FactoryTalk View, RSView Studio, FactoryTalk View Studio, MobileView, PanelBuilder, PanelView, RSView Machine
Edition, RSView ME Station, RSView32, RSView32 Resource Kit, and WINtelligent
FactoryTalk Activation, FactoryTalk Administration Console, FactoryTalk Alarms and Events, FactoryTalk Automation
Platform, FactoryTalk Services Platform, FactoryTalk Audit, FactoryTalk Data Model, FactoryTalk Diagnostics,
FactoryTalk Directory, FactoryTalk Live Data, FactoryTalk Messenger, RSAssetSecurity, FactoryTalk Security,
RSBizWare PlantMetrics, FactoryTalk Metrics, RSSql, FactoryTalk Transaction Manager, FactoryTalk Integrator EE,
FactoryTalk Portal, and FactoryTalk Unified Plant Model
Intelligent Advisory, GuardLogix, GuardPLC, MicroLogix, PanelView, RSLinx Classic, RSLinx Enterprise,
RSNetWorx, RSNetWorx for ControlNet, RSNetWorx for DeviceNet, RSNetWorx for EtherNet, RSNetWorx for
EtherNet/IP, SLC 5, SLC 500, and SoftLogix
Propack Data, Propack Data PMX CTM, Propack Data PMX Dispense RDM, Propack Data PMX EBR RDM, Propack
Data PMX Equipment CTM, Propack Data PMX Equipment Management CTM, Propack Data PMX Equipment
Management MES, Propack Data PMX Formulation RDM, Propack Data PMX MES, Propack Data PMX Plan RDM,
Propack Data PMX RDM, Propack Data PMX Warehouse RDM, and Propack Data VISION
Analytical Datamart, Application Solutions, CAPA,Complaint Handling, Dashboard Administrator, Datamart
Administrator, DsShopLib, ECO Manager, Enterprise Administrator, Feeder Verification, ICAPA, Integrate, Integrate
SDK, Integrate Web Service, IntegrateWS, Inventory Control, Knowledge, Knowledge Administrator, Knowledge
Datamart, Line Manager, Manufacturing Dashboard, Operational Data Store, ODS, Plant Operations, Plant Scheduler,
Process Designer, Quality Assurance, RMA Management and Repair, RSAdvantage, Shop Operations, Supplier
Management, Universe Manager, Web-based Reporting Portal, WRP, and WRP Reports
ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows
ME, Windows NT, Windows 2000, Windows Server 2003, and Windows XP are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other countries.
Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the
United States and/or other countries.
ControlNet is a registered trademark of ControlNet International.
DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA)
Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation
OLE for Process Control (OPC) is a registered trademark of the OPC Foundation.
Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation.
All other trademarks are the property of their respective holders and are hereby acknowledged.
Warranty
This product is warranted in accordance with the product license. The product’s performance may be affected by system
configuration, the application being performed, operator control, maintenance and other related factors. Rockwell
Automation is not responsible for these intervening factors. The instructions in this document do not cover all the
details or variations in the equipment, procedure, or process described, nor do they provide directions for meeting every
possible contingency during installation, operation, or maintenance. This product’s implementation may vary among
users.
This document is current as of the time of release of the product; however, the accompanying software may have
changed since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this
document or the software at anytime without prior notice. It is your responsibility to obtain the most current information
available from Rockwell when installing or using this product.
iv
Contents
1 • Introduction
1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Emonitor system requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Database system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Planning for the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Updating or upgrading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What to read next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Technical support services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
When you call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 • Installing Emonitor
1
1
1
2
3
3
4
4
7
FactoryTalk Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing the XML Gateway Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing the Java Virtual Machine (with MAXIMO only) . . . . . . . . . . . . . . . . . . . . . 8
Installing Emonitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installing Online Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Setting up Scheduler for online events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Making the Emonitor installation available over a network . . . . . . . . . . . . . . . . . . . . 16
Installing on a remote computer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 • Installing the database components
19
Installing the Gupta SQLBase single-user software . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Getting information from Gupta's website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Installing the Gupta SQLBase software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4 • Updating from a previous version
23
Running the update program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Restructuring the database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 • Database maintenance
Using SQLTalk Interactive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Checking the integrity of your database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Speeding up database access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Running the Gupta SQLBase Server as a program . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
29
30
30
31
v
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
Backing up your data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How often should I back up my data? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What files and directories do I need to back up? . . . . . . . . . . . . . . . . . . . . . . . . .
What is the correct back up procedure for SQLBase databases? . . . . . . . . . . . . .
Using the correct storage media for your data . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adding a new database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Add the SQLBase server to the SQLConsole display . . . . . . . . . . . . . . . . . . . . .
Add the new database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 • Troubleshooting
32
32
32
32
33
33
34
36
39
Troubleshooting database connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
What version ODBC driver should I use? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
What is this error message about a DLL conflict when I start the program? . . . 39
Why am I getting a configuration file error? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Why can’t I connect to the database? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Why can’t it find the ERROR.SQL file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
My other Centura-based programs cannot find the SQL.INI file. . . . . . . . . . . . . 40
Troubleshooting during the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Do I have to install certain online components to certain computers? . . . . . . . . . 41
Why do Unload Station Manager and Scheduler start when I restart my computer?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
Why can’t I run the Emonitor installation program on Windows 2000, or XP? . 41
What happens if the computer gets turned off in the middle of an installation? . 41
Troubleshooting FactoryTalk Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Index
vi
43
1
Introduction
This chapter introduces you to the Emonitor® software, offering an overview of the
installation process.
Overview
Emonitor is used with a database server and client, offering access to the databases that
store vibration, oil, image, and other types of data.
This installation guide offers information on the entire installation process, including
database server installation, client installation, connection information, and database
maintenance.
This installation guide is intended for first-time installations or updates from earlier
versions of Emonitor software. It also contains reference information for later use.
Your satisfaction with the products we provide is our highest priority. Thank you for
letting us help you with your machinery information needs.
Emonitor system requirements
„
an Intel Pentium™ 4, Pentium 4-compatible, or greater microprocessor
„
512 MB of RAM (more is better)
„
a CD-ROM drive
„
20 GB of space available on the hard drive, or more depending on the size of your
database
„
VGA or SVGA graphics card
„
17 inch or larger computer monitor (screen)
„
Microsoft® Windows® 2000 Pro service pack 4, Windows 2000 Server service pack 4,
or Windows XP Pro service pack 2 operating system.
Database system requirements
Gupta SQLBase is the new name for the Centura database software.
The requirements for the computer running the Gupta SQLBase single-user database are
the same as those for Emonitor (listed above).
1
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
Planning for the installation
Be sure to perform the following tasks before installing Emonitor for the first time.
SELECT
THE
FACTORYTALK ACTIVATION
SERVER COMPUTER
Emonitor uses a new, streamlined process to activate your software using license files. As
part of the Emonitor installation process, you must install the FactoryTalk Activation
software. If you are using a single-user version of Emonitor on a single computer, you do
not need to install the FactoryTalk Activation Server.
If your system will use shared (concurrent) activation, you must select one computer to
host the FactoryTalk Activation Server. All other computers hosting Emonitor must be
able to communicate with the FactoryTalk Activation Server.
Emonitor does not have to be installed on the computer hosting the FactoryTalk Activation
Server.
For more information on FactoryTalk Activation, refer to the FactoryTalk Activation
document.
1. Insert the Emonitor Install CD-ROM into your computer.
2. After the Autorun screen appears, click Read Documentation. The list of available
documentation appears in your default HTML browser.
3. Click FactoryTalk Activation, located under Release Notes.
FIND THE SERIAL
CERTIFICATE.
NUMBER AND PRODUCT KEY ON THE
ACTIVATION
The new streamlined FactoryTalk® Activation process replaces the old parallel port
security keys and the CD Activation Key. The FactoryTalk Activation is installed with
Emonitor, and requires the Serial number and Product Key to activate your software. The
Activation Certificate is included with your Emonitor Installation CD-ROM.
MAKE
SURE A COMPUTER CAN ACCESS THE INTERNET.
FactoryTalk Activation requires an activation file, also called a license file. Unless you are
using a hardware dongle (usually a USB key), you must use the FactoryTalk Activation
Tool to request one or more license files from the Rockwell software licensing website. If
the computer running Emonitor does not have Internet access, you can use the
FactoryTalk Transfer Tool to get the activation file using a different computer that has
Internet access. You can also get the activation file by phone or fax. Refer to the
FactoryTalk Activation document for more information.
2
CHECK
YOUR AVAILABLE DISK SPACE.
Disk space requirements vary depending on which components you need to install. The
installation program shows you exactly how much space is needed for each component.
For a guideline, Emonitor software with two data collector interfaces requires about 50
megabytes (MB) of disk space. Emonitor with all Online components requires an
additional 18 MB of disk space, for a total of 73 MB needed on the client computer. There
are additional disk space requirements depending on your database setup. Be sure to
check with your database administrator about these requirements and backing up your
database.
BE
SURE YOU HAVE THE CORRECT VERSION OF THE DATABASE SOFTWARE
INSTALLED.
Before installing Emonitor, make sure the database server version is compatible. You
might need to consult with your database administrator to verify which version of the
database server you are using. The Gupta SQLBase database version supported by
Emonitor is SQLBase version 9.0.1. If you need to install a new version, ask your
database administrator.
Emonitor has not been tested on the Microsoft Vista operating system.
BE
SURE YOU HAVE
WINDOWS 2000/XP PRO
INSTALLED.
Before installing Emonitor, you need to have the Windows 2000 or Windows XP Pro
operating systems installed on your computer. Emonitor can not be installed on Windows
98 or Windows NT.
Updating or upgrading
If you are updating or upgrading from an earlier version of Emonitor, refer to the chapter
titled Updating from a previous version.
If you are updating or upgrading from Emonitor for Windows (EFW) or IQ 2000 (earlier
versions of the software prior to Odyssey 1.0), please contact Customer Support for
assistance. Additional steps are required to upgrade from the 16-bit to 32-bit software. See
Technical support services on page 4 for contact information.
What to read next
To learn about new features and improvements in Emonitor, read the Emonitor Product
Release Notes.
3
• • • • •
1 • INTRODUCTION
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
To get started quickly, read the Emonitor Getting Results Guide. The Emonitor Getting
Results Guide introduces you to the software, and shows you how to use the online help
included with the software.
Refer to the online help for detailed instructions on using all the functions of the software.
The online help system also includes explanations for all the commands and controls. Just
press F1 to access the online help at any time.
If you are using data collectors with a walk-around system, you may receive an additional
Data Collector User’s Guide for each of those interfaces. If you are using an online
system, you may receive additional manuals for the hardware you use for data collection,
and you receive the Emonitor Online Getting Results Guide.
Technical support services
If you are under warranty or have an active ESAFE contract, Rockwell Automation
Technical Support provides a variety of technical support services for your products. In
the United States you can reach the Technical Support Hotline by dialing 1-800-368-3547
Monday through Friday 8:00 a.m. – 7:00 p.m. eastern standard time. You can send a fax
detailing your questions or comments 24 hours a day by dialing 513-576-4213. Please
address the fax to the Technical Support department. You can also reach Technical
Support from your computer.
„
„
Send questions and comments to [email protected]
Visit our web site at
http://www.rockwellautomation.com/services/conditionmonitoring/
For support outside of the United States, please contact your local Rockwell Automation
office. You can find worldwide contact information at
http://www.rockwellautomation.com. If your local support representative is not available,
please contact the U.S. Technical Support department.
When you call
When you call, you should be at your computer and prepared to give the following
information:
„
„
„
4
product serial number and product version number. The product serial numbers and
version number can be found in the software by selecting Help > About Emonitor
hardware you are using, including the Allen-Bradley® XM® module firmware version
(with the XM Emonitor Gateway)
operating system plus service packs, and version of Internet Explorer (if any) installed
„
„
exact wording of any errors or messages that appeared on your screen description of
what happened and what you were doing when the problem occurred
description of how you attempted to solve the problem
5
• • • • •
1 • INTRODUCTION
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
6
2
Installing Emonitor
This chapter guides you through the installation process for Emonitor. If you are updating
from an existing version, refer to Chapter 4, Updating from a previous version.
When you upgrade from a previous version of the Emonitor software, the Process data type is
replaced with the new Numeric data type for existing measurement definitions.
FactoryTalk Activation
Emonitor uses a new, streamlined process to activate your software using license files. As
part of the Emonitor installation process, you must install the FactoryTalk Activation
software. For more information on FactoryTalk Activation, refer to the FactoryTalk
Activation file. To display the file, follow these steps:
1. Insert the Emonitor Install CD-ROM into your computer.
2. After the Autorun screen appears, click Read Documentation. The list of available
documentation appears in your default HTML browser.
3. Click FactoryTalk Activation, located under Release Notes.
Installing the XML Gateway Prerequisites
If you are using the XML gateway with your Emonitor system, you must install the
necessary software.
You must install the required software for the XML Gateway before running the Emonitor
installation.
To install the XML Gateway prerequisites, follow these steps. This program must be
installed on each client computer where Emonitor will communicate through the XML
gateway.
1. Put the Emonitor CD into the drive. When the Autorun screen appears, click Install
XML Prerequisites.
If the Autorun screen does not appear, start the Windows Explorer and navigate to
your CD-ROM drive. Double-click autorun.exe on the Emonitor CD-ROM to run the
install program.
2. Click Install Windows Installer v3.1. This is required to install the MSXML 6.0
software.
7
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
3. If the installation program reports that the software is already installed on your
computer, you do not need to reinstall it. Otherwise, follow the instructions on screen
to install the Windows Installer.
4. If necessary, from Emonitor Autorun screen, click Install XML Prerequisites.
5. Click Install MSXML 6.0.
6. Follow the instructions on the screen to install the MSXML software.
7. Continue with the installation process as described below.
Installing the Java Virtual Machine (with MAXIMO only)
If you are using the MAXIMO gateway with your Emonitor system, you must install the
Java Virtual Machine.
You must install the Java Virtual Machine BEFORE running the Emonitor installation.
To install the Java Virtual Machine, follow these steps. This program must be installed on
each client computer where Emonitor will communicate with MAXIMO. Note that
installing the Java Virtual Machine may take up to 2 hours.
1. Put the Emonitor CD into the drive. When the Autorun screen appears, click Browse
CD.
If the Autorun screen does not appear, start the Windows Explorer and navigate to
your CD-ROM drive. Double-click autorun.exe on the Emonitor CD-ROM to run the
install program.
2. Go to the extras\Java directory.
3. Double-click MSJavx86.exe.
4. Follow the instructions on screen. Click Yes for the first dialog, then click Yes for the
license agreement. The installation program copies the correct files.
5. You must restart your computer at the end of the installation. After restarting, continue
with Installing Emonitor on page 9.
The following dialog appears is you attempt to install Emonitor with the MAXIMO
Gateway if you did not install the Java Virtual Machine before the Emonitor installation.
8
The setup program will quit and you must install the Java Virtual Machine before trying
again.
Installing Emonitor
This installation procedure is intended for first-time installations.
The installation program installs all Emonitor components by default. You can, however,
customize your selections during the installation.
The CD Activation Key that was used to define the available features in Emonitor 3.0 and earlier
versions has been replaced by FactoryTalk Activation described in FactoryTalk Activation on
page 7.
Portable systems use walk-around data collectors for collecting data, and all Emonitor
components can be installed on one computer. Online systems use networked systems that
monitor and collect data, and some components can be installed on different computers to
increase efficiency. You may also use a combination of portable and online systems, and
use selected computers for each component.
This section walks you through the installation step-by-step with specific information
available when needed. This section goes through a typical installation for a portable
system.
Quit any running applications before starting the Emonitor installation program.
1. Insert the Emonitor Installation CD-ROM into the CD-ROM drive of your computer.
It should auto-start and display the Autorun screen. If the Autorun screen does not
9
• • • • •
2 • INSTALLING EMONITOR
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
appear, start the Windows Explorer and navigate to your CD-ROM drive. Doubleclick autorun.exe on the Emonitor CD-ROM to run the installation program.
If you are running the CD from another computer, you must map the CD to a drive on your
local computer.
2. Click Install FactoryTalk Activation to install the FactoryTalk Activation software
from the CD-ROM drive.
3. Install either the FactoryTalk Activation Server or the Client. In general, the following
types of software activations are available:
„
local “node-locked” activation (locked to a stand-alone computer)
„
mobile “node-locked” activation (locked to a hardware dongle)
„
10
shared “concurrent” activation (locked to a networked activation server computer,
but shared by client computers on the network). There are two types of shared
activation: floating activation and borrowed activation, both checked out from a
networked activation server.
If you are using concurrent (floating or borrowed) activation, install the FactoryTalk
Activation Server on one computer. For all other computers hosting Emonitor, install
the FactoryTalk Activation Client.
Emonitor does not have to be installed on the computer hosting the FactoryTalk Activation
Server.
4. When finished, click Back to return to the main Autorun screen, and then click Install
Emonitor. Follow the instructions on the screen.
5. Select your database type at the Database Selection dialog, and then click Next.
6. The Product Installation Availability List tells you which components will be installed
by default. Your FactoryTalk Activation license file controls which features are
available. Click Next to continue.
7. The Available Product Selections dialog allows you to select which components to
install on the computer. Select the checkbox to select or clear each component. Click
on the component name to read a description below. All Emonitor components are
installed by default, so you can simply click Next if you want to install all
components.
The XM Emonitor Gateway requires the RSLinx® software. You can install RSLinx later, after
you install Emonitor (step 19 on page 14).
If you want to pick and choose different sub-components, highlight a component and
click Change. Select the sub-components you want to install or deselect those you do
not want to install. The data collector drivers are part of the sub-components list. You
can scroll down to see more selections. For portable systems, the default settings
should work well for your system. For an online system with a single-user database,
the components for the Unload Station and Viewing Station must all be installed on
the same computer. (See Installing Online Components on page 14.) Highlight
Online, click Change, and select the following sub-components:
„
„
„
„
„
„
„
Storage Limit Updater
Hardware Setup
Severity Updater
Data Import Processor
Unload Station Manager
Intelligent Advisory Evaluator
Calculated Points Updater
Click Continue on the Select Sub-components dialog, then Next to continue.
8. The Gateway Setup dialog allows you to select which CMMS/EAM gateway you
want to install.
11
• • • • •
2 • INSTALLING EMONITOR
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
9. Some database types ask you to confirm or select your database version. Click Next to
continue.
10. The next dialog shows the system requirements. If your system passes, click Next. See
Emonitor system requirements on page 1 for more information.
11. Choose the directory where you want to install the selected Emonitor components.
Click Browse to change the destination directory.
12. The Gupta SQLBase Installation Option screen appears next.
12
To install the SQLBase components, click Yes and see Installing the Gupta SQLBase
single-user software on page 19. The following warning message appears:
DO NOT click OK on the message above. Wait for the InstallShield Wizard for Gupta
SQLBase dialog to appear. You will click OK to close this warning message AFTER the
Gupta SQLBase installation is complete.
When finished installing the Gupta SQLBase database software, click OK on the
warning dialog, and then return to the Emonitor Setup program. Continue with step 13
below.
13. Select the program folder on the Start menu for Emonitor, then click Next.
14. If you are installing the MAXIMO Gateway, Setup asks for the version of your
MAXIMO system. This installs the Java classes required for MAXIMO. Setup does
not overwrite existing Java classes for MAXIMO if they already exist on your
computer. Select your version and click Next.
15. Click Next to accept the configuration. Setup begins copying files to the appropriate
destinations.
16. The Setup Type dialog lets you choose additional options (add an Emonitor icon to the
Windows desktop, add Emonitor components to the Startup folder so they run
automatically when you start up your computer (for example, the Scheduler). We
recommend that you accept the default selections in this dialog. Click Next.
17. If your computer is running Windows XP, the installation program installs the
Windows Firewall Configuration Utility. If you have installed Windows XP Serivce
Pack 2, the Firewall Configurarion program runs to automatically modify the
Windows Firewall settings to allow the following Emonitor components to operate:
Emonitor OPC server and OPC enumerator, SQL Server, DCOM, Enlive, and the
Emonitor Online programs (Hardware Setup, Unload Station Manager, Create
Loadfile, Load and Unload).
The message “The Windows Firewall configuration interface is unavailable” may appear if
the Windows Firewall is disabled. If you are using some other software or hardware firewall,
you may need to manually configure it to allow the Emonitor programs to communicate.
13
• • • • •
2 • INSTALLING EMONITOR
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
18. The installation is nearly complete.
„
„
If you did not install the XM Emonitor Gateway with Emonitor, select Yes, I want
to restart my computer now and click Finish to restart your computer. The
Emonitor installation is now complete.
If you installed the XM Emonitor Gateway with Emonitor, select No, I will
restart my computer later and click Finish. Go to the next step to install
RSLinx®.
19. When the Autorun screen appears, click Install RSLinx and follow the directions that
appear on the screen.
20. When the RSLinx installation is complete, exit the Installation program and restart
your computer.
Installing Online Components
This section only applies to Emonitor Online systems. If you do not have Emonitor Online, you
can skip this section and go to Setting up Scheduler for online events on page 14.
You can install all the components of the online system onto a single computer or you can
use several computers for an online system. If you are using a multi-user database, you
can designate certain computers as Unload Stations and Viewing Stations, as illustrated in
this diagram. For Emonitor with a single-user database, the Viewing Station, Database
Server, and Unload Station are all on the same computer.
V
ie
w
in
g
S
t
a
t
io
n
c
o
m
p
u
t
e
r
D
a
t
a
b
a
s
e
S
e
r
v
e
r
c
o
m
p
u
t
e
r
U
n
lo
a
d
S
t
a
t
io
n
c
o
m
p
u
t
e
r
S
N
E
T
R
S
4
8
5
V
IM
P
s
6
6
0
0
P
r
o
t
e
c
t
io
n
M
o
n
it
o
r
s
E
t
h
e
r
n
e
t
E
t
h
e
r
n
e
t
T
r
a
n
s
d
u
c
e
r
s
Setting up Scheduler for online events
The Scheduler program can be used to automate many data retrieval tasks. A task
automated in Scheduler is called an event. A profile defines not only the event, but also
when and how often the event should occur. By default, Scheduler starts when you start
Windows. Scheduler must be running at all times if you want the scheduled events to
occur. Events only occur when Scheduler is running.
14
These steps show you how to set up two different online profiles. The first is the Online
Import Event, which looks for unload files (containing data from the data collection
instruments) in the unload directory and sends the information to the Emonitor database.
The second is the Storage Limit Updater, which allows you to limit data storage to
specific parameters and specify a time during low database usage, saving disk space and
time. Follow these steps to set up online profiles using Scheduler.
1. Start Scheduler and click Add.
Scheduler starts up when you restart Windows because it is added to your Startup directory.
If it does not automatically, select Start > Programs > Rockwell Software > Emonitor >
Scheduler.
2. On the Profile dialog, enter the Profile Name, such as Storage Limit Updater or
Online Import Event. You can enter notes about the profile as well. Select Enable
profile for scheduling. Click Next to continue.
3. On the Response dialog, select Scheduled time/date/frequency.
„
For the Storage Limit Updater, click Next and skip to step 7.
„
For the Online Import Event, select File change notification and click Settings.
4. Click Add File. Select the UD directory under your Emonitor program directory. In
the File name box, enter *.ulf. This tells Scheduler to look for unload files in the
unload directory. Click Open.
5. The unload files show in the Monitored Files list. Click OK to continue.
6. Click Next on the Response dialog.
7. On the Events dialog, click Add Event.
15
• • • • •
2 • INSTALLING EMONITOR
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
8. Enter the Executable file and the Command line using the following guidelines, then
click OK. The files below will be on your system drive although we have referred to
drive C for simplicity.
For Online Import Event:
Executable file: C:\Program Files\Rockwell Software\
Emonitor\didaemon.exe
Command line: C:\Program Files\Rockwell Software\
Emonitor\odonline.edi
For Storage Limit Updater:
Executable file: C:\Program Files\Rockwell Software\
Emonitor\stglimit.exe
Command line:
„
/all - This informs the Storage Limit Updater to remove all measurement data,
system event log data and alarm event log data outside the storage limits.
„
„
“/list:list name” - This informs the Storage Limit Updater to remove
measurement data which are saved to a list with “list name” and are outside the
storage limits. Note: “list name” is case sensitive, and must be enclosed in quotes
if the list name contains a space.
/alarm - This informs the Storage Limit Updater to remove alarm event log data
outside the storage limits.
„
/system - This informs the Storage Limit Updater to remove system event log
data outside the storage limits.
9. Click Next to continue.
10. On the Frequency dialog, set the Date and Time you want to launch the profile. Click
Finish.
The profile is now added to Scheduler.
The executable file and command line information for the various Updater/Evaluator
programs is also included in the online help for the Scheduler program.
Making the Emonitor installation available over a network
The Network Administration installation allows you to run the Emonitor installation from
a networked computer. This lets you install Emonitor to any networked computer, so you
don't have to carry the CD to different sites.
16
1. Insert the Emonitor Installation CD-ROM into the CD-ROM drive of a networked
computer and perform the installation just as described in Installing Emonitor on
page 9.
2. Select the check box next to Administrator Installation.
3. Click Next to continue through the rest of the installation.
4. At the Destination Folder choice, choose a shared directory to access the Setup.exe
file later from other computers.
5. Finish the installation and restart the computer.
6. From a client computer, map a network drive to the location of the Destination Folder.
You must map the drive or the Emonitor installation program will not run.
7. You can now run Setup.exe from a client computer with a mapped drive to install
Emonitor.
Installing on a remote computer
This installation allows you to run Emonitor using only minimum components on a
networked computer. This lets you install the program files to a computer that may not
have much hard drive space. The program runs on a separate computer, which may slow
down the process.
To accomplish this, follow these steps.
17
• • • • •
2 • INSTALLING EMONITOR
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
1. Insert the Emonitor Installation CD-ROM into the CD-ROM drive of a networked
computer and perform the installation just as described in Installing Emonitor on
page 9.
2. Select the check box next to Remote User Installation.
3. Click Next to continue.
4. Click Next to continue through the rest of the installation. At the Destination Folder
choice, choose the directory that contains the epm.exe program on the computer with
the full installation.
5. Finish the installation and restart the computer when asked. You can now run
Emonitor from a remote computer.
18
3
Installing the database components
This chapter guides you through the database installation process.
Installing the Gupta SQLBase single-user software
With the Gupta SQLBase single-user version of Emonitor, all of the database software
(server and client) resides on the same machine. The Gupta SQLBase software is installed
during the Emonitor installation process.
Gupta SQLBase is the new name for the Centura database software.
As always, if you are updating, back up your database directories to ensure that you have
a backup copy (see Backing up your data on page 32). Then go to Chapter 4, Updating
from a previous version.
The Gupta SQLBase server runs as a Windows service, and automatically starts when you
start Windows. You can change this so the Gupta SQLBase server only starts when you
start Emonitor. For more information, see Running the Gupta SQLBase Server as a
program on page 31.
Getting information from Gupta's website
You can obtain helpful information from Gupta's website at
http://www.guptaworldwide.com/.
Installing the Gupta SQLBase software
The Gupta SQLBase software is installed during the Emonitor installation process. If you
already have the Gupta SQLBase software 6.1.2 or later installed, you do not have to
perform these steps. If you chose Yes on the screen below during the Emonitor installation
(page 12), follow the steps below to install the Gupta SQLBase single-user software.
19
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
1. The Gupta SQLBase installation program starts. After reading the message on the
Necessary File Renaming dialog, click Next to continue.
2. Verify the path to the Gupta SQLBase folder on the Emonitor CD and click Next.
DO NOT click OK on the message above. Wait for the Welcome to the SQLBase Desktop
dialog to appear. You will click OK on this warning message AFTER the Gupta SQLBase
installation is complete.
The Gupta SQLBase installation program may take some time to initialize, and it may appear
that the intstallation has stopped. Please wait for the installation process to continue.
Click Next on the Welcome dialog.
3. Accept the license agreement, and then click Next.
4. Enter the Product Media Code:
132C8A2B-C296EAD6-3D4F990E-B7D930F7
and then click Next.
20
5. Select the directory for the Gupta SQLBase database software, and then click Next.
6. Select the installation type, and then click Next.
7. Enter the name of the database server, and then click Next. The installation program
copies the database files to your computer.
Select No when prompted to restart your computer in the next step. Do not do anything else
in the Restart dialog.
8. Select No when prompted to restart your computer, and then click Finish.
Click OK on the warning dialog shown below to close the dialog.
21
• • • • •
3 • INSTALLING THE DATABASE COMPONENTS
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
If you ran this installation from within the Emonitor installation, return to step 13 on
page 13.
22
4
Updating from a previous version
This chapter guides you through the process of updating from an earlier version of the
Emonitor software.
If you have a version of Emonitor earlier than Odyssey version 1.0 (the software was called
Emonitor for Windows - EFW - at that time), please contact Customer Support for assistance.
You must perform several additional steps to upgrade to the current Gupta SQLBase database
software. (see Technical support services on page 4)
When you upgrade from a previous version of the Emonitor software, the Process data type is
replaced with the new Numeric data type for existing measurement definitions.
Do not remove your existing version of the Centura SQLBase database software before installing
the new Gupta SQLBase 9.0.1 software.
Running the update program
Use the installation program to update your Emonitor software.
Make sure you follow these steps before updating.
1. Unload all data collectors before updating. You will not be able to unload them after the
update.
2. Back up your databases before updating to the latest version (see Backing up your data on
page 32).
1. Insert the Emonitor Installation CD-ROM into the CD-ROM drive of your computer.
Click Install FactoryTalk Activation to install the new FactoryTalk Activation
software from the CD-ROM drive.
Emonitor uses a new, streamlined process to activate your software using license files.
As part of the Emonitor installation process, you must install the FactoryTalk
Activation software. For more information on FactoryTalk Activation, refer to the
FactoryTalk Activation file. To display the file, follow these steps:
a. Insert the Emonitor Install CD-ROM into your computer.
b. After the Autorun screen appears, click Read Documentation. The list of
available documentation appears in your default HTML browser.
c. Click FactoryTalk Activation, located under Release Notes.
2. When finished, click Back to return to the main Autorun screen, and then click Install
Emonitor. Follow the instructions on the screen.
23
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
3. The installation program detects that installed Emonitor components are not up to
date. Click one of the three options.
„
„
„
Update all components installed by the previous setup. Select this option to
install the updated version with the same configuration as your existing
installation. The installation program has all the information it needs, so it updates
the software when you click the button. You can the skip to step 13 on page 26. If
you see a message about a read-only file having been detected, click Yes to
continue.
Add or reinstall components. Select this option if you want to upgrade with
different components than your original installation. Continue with step 4 below.
Remove all installed components. Select this option to remove Emonitor
software from your computer. Follow the instructions that appear on the screen.
You will not be able to run Emonitor after you remove the software; however, the
Emonitor database and other data files remain on your computer.
4. Select your database type at the Database Selection dialog, and then click Next.
5. The Product Installation Availability List tells you which components will be installed
by default. Your FactoryTalk Activation license file controls which features are
available. Click Next to continue.
6. The next dialog allows you to select which components to install on the computer.
Select the checkbox to select or clear each component. Click on the component name
to read a description below. All components are installed by default, so you can
24
simply click Next if you want to install all components. Click Change if you want to
pick and choose different components.
7. Choosing Change opens a dialog that allows you to select sub-components. Select the
sub-components you want to install, or deselect those you do not want to install. The
data collector drivers are part of the sub-components list. You can scroll down to see
more selections. For portable systems, the default settings should work well for your
system.
8. The next dialog shows the system requirements. If your system passes, click Next.
9. Choose the directory where you want to install the selected components. Click
Browse to change the installation directory.
You can choose a different directory in which to install the selected Emonitor components,
but the previous installation will no longer work. The installation program will not update your
previous installation or install a new database.
10. The SQLBase Installation Option screen appears next.
Do not remove your existing version of the Centura SQLBase database software before
installing the new Gupta SQLBase 9.0.1 software. If you want to remove the Centura
SQLBase software, you can uninstall it after you verify that the Emonitor update completed
properly.
25
• • • • •
4 • UPDATING FROM A PREVIOUS VERSION
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
To install the SQLBase components, click Yes and see Installing the Gupta SQLBase
single-user software on page 19. The following warning message appears:
DO NOT click OK on the message above. Wait for the InstallShield Wizard for Gupta
SQLBase dialog to appear. You will click OK to close this warning message AFTER the
Gupta SQLBase installation is complete.
When finished installing the Gupta SQLBase database software, click OK on the
warning dialog, and then return to the Setup program. Continue with step 11 below.
11. Click Next to add the Emonitor folder to your Start menu.
12. Click Next to accept the configuration. Setup begins copying files to the appropriate
destinations.
13. The installation is nearly complete.
„
„
If you did not install the XM Emonitor Gateway with Emonitor, select Yes, I want
to restart my computer now and click Finish to restart your computer. The
Emonitor installation is now complete.
If you installed the XM Emonitor Gateway with Emonitor, select No, I will
restart my computer later and click Finish. Go to the next step to install
RSLinx® if it is not already on your computer.
14. When the Autorun screen appears, click Install RSLinx and follow the directions that
appear on the screen.
15. When the RSLinx installation is complete, exit the Installation program and restart
your computer.
16. When upgrading from Centura 6 to Gupta SQLBase 9, the update program copies the
default databases (Entek and Econfig are the default names) from their respective
Centura 6 working folders (\Centura\Entek and \Centura\Econfig) into corresponding
Gupta SQLBase 9 working folders (\Program Files\Gupta\SQLBase901\Entek and
\Program Files\Gupta\SQLBase901\Econfig). The Gupta SQLBase 9 database engine
then automatically converts them to work with SQLBase 9. You must manually copy
any other Centura 6 databases that you want to convert to SQLBase 9 from their
26
Centura 6 working folders to corresponding SQLBase 9 working folders. After you
copy the database files, you must then add the new databases to SQLBase 9. You can
find specific details for adding new databases in Adding a new database on page 33.
Restructuring the database
After any update, you must restructure the database. This adds necessary data and
structure information to your current database, allowing you to run the new version of the
program. When you start Emonitor, the restructure program automatically starts if it is
needed. Follow these steps the first time you start Emonitor after performing an update.
Make sure you follow these steps before restructuring your database.
1. Back up your databases before updating to the latest version (see Backing up your data on
page 32).
2. Make sure no users are connected to the database.
1. Start your Emonitor software from the Start menu (Start > Programs > Rockwell
Software > Emonitor). Click Yes to update your database. After you enter the Admin
user name and password, the restructure program automatically starts. The default
Admin username and password are “admin” and “password”.
2. Click Restructure to begin the update process.
3. Make sure you have backed up your database, then click OK to continue.
27
• • • • •
4 • UPDATING FROM A PREVIOUS VERSION
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
4. Make sure that no users are still attached to the database, then click OK to continue.
Allow plenty of time to restructure your database. It may appear to stop or be locked up, and
stay at 99% for a long time. Do not try to restart your computer during restructure–just be
patient and let the program finish.
5. When the process is finished, click Close. You can now run the new version of
Emonitor.
The amount of time needed for this process depends on your processor speed and the
amount of RAM available.
28
5
Database maintenance
This chapter describes specific procedures for maintaining your database. These steps will
help your database speed and efficiency. Note that the procedures in this document apply
to Emonitor installations using the single-user or network (multi-user) versions of the
Gupta SQLBase database software.
Using SQLTalk Interactive
SQLTalk is the Gupta SQLBase program that allows you to communicate directly with
your database. Some of the procedures in this document require that you use SQLTalk.
1. Make sure that all users are logged out of Emonitor, and that no one is accessing the
database with SQLTalk or another utility.
2. From the Start menu, point to Programs, then to Gupta, then to SQLBase 9.0.1, then
click SQLTalk Interactive SQL.
3. From the Session menu, click Connect, or press F2. The Connect dialog appears.
4. Enter the database name, username, and password for your database. For the Entek
database, the default user name is ENTEK, and the default password is EUSER. For
the EConfig database, the default username is also ENTEK, and the default password
is also EUSER.
5. Click Connect to connect to the database. Your database name should appear in the
Current Connections box.
6. Select the database in the Current Connections box and click Use, or simply click
Close.
29
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
Checking the integrity of your database
A database is a file, or set of files, stored on your computer. In rare instances, a database
can be damaged or corrupted. If this happens, you may not know about it until you
attempt to recall information from the damaged part of the database. In some cases, you
may not discover the damage for days, weeks, or months.
For this reason, it is important that you regularly check the integrity of your databases, for
both the Entek and the Econfig files.
1. If you are using a network version of Emonitor, make sure that all users are logged out
of Emonitor, and that no one is accessing the database with SQLTalk or another utility.
2. Start SQLTalk as described in Using SQLTalk Interactive on page 29.
3. In the Input Window (the top pane), type the following, including the semicolon:
check database;
4. Press Shift+F2 to execute the command, or click Execute Command from the
Session menu. If the check is successful, SQLTalk displays the message:
DATABASE CHECKED
If any other message appears, your database may be corrupt. Contact Customer
Support immediately for assistance. Run this command on both the Entek and the
Econfig databases.
Speeding up database access
You can also use SQLTalk Interactive to speed up database access by optimizing the
database. To do so, follow these steps.
1. If you are using a network version of Emonitor, make sure that all users are logged out
of Emonitor, and that no one is accessing the database with SQLTalk or another utility.
2. Start SQLTalk and connect to the Entek database. See Using SQLTalk Interactive on
page 29.
3. In the Input Window (the top pane), type the following, including the semicolon:
update statistics on database;
4. Press Shift+F2 to execute the command, or click Execute Command from the
Session menu. If the check is successful, SQLTalk displays a message similar to this
one depending on the number of rows in your database:
STATISTICS UPDATED ON 44,410 ROWS
30
This command may take a while depending on the size of your database, so please be
patient. Run this command on both the Entek and the Econfig databases.
Running the Gupta SQLBase Server as a program
By default, the Gupta SQLBase Server runs as a Windows service. This means the Server
starts when you start Windows, and you cannot close the SQLBase Server program (the
Exit button is disabled). You can change the way the Server starts, so that it only starts
when it is needed by Emonitor.
1. If you are using a network version of Emonitor, make sure that all users are logged out
of Emonitor, and that no one is accessing the database with SQLTalk or another utility.
2. Start the Gupta SQLBase Management Console. Select Start > Program Files >
Gupta > SQLBase 9.0.1 > SQLBase Management Console.
3. Expand the Console Root by double clicking on it.
4. Right-click the database server name. The default name is Server1. Select Stop to
stop the database server.
5. Right-click the database server name again. Select Startup Type > Disabled. This
means the database server will only start when you start Emonitor.
6. Close the SQLBase Management Console. The next time you start Windows, the
SQLBase Server will not automatically start. It will only start when you start
Emonitor, or manually start the server by selecting Start > Program Files > Gupta >
SQLBase 9.0.1 > SQLBase Database Engine.
31
• • • • •
5 • DATABASE MAINTENANCE
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
Backing up your data
How often should I back up my data?
You should back up as often as you can afford to lose data. If you can lose a week’s worth
of data, back up once a week. If you need to have all of your data from each day, back up
daily.
What files and directories do I need to back up?
The name of the company that makes the SQLTalk database has changed from Centura to
Gupta. The database directory for Gupta SQLBase 9.0.1 is \Program Files\Gupta\SQLBase901.
The Gupta SQLBase database directories should be backed up. These database directories
contain the individual Gupta SQLBase database files (.dbs). Typically the database
directories are stored in subdirectories of the main Gupta SQLBase directory. Simply
copy the directories and files within the directories.
For example, to back up the Entek database, you would copy the Entek directory which
contains the entek.dbs file.
You also need to back up the Econfig directory containing the Econfig database.
What is the correct back up procedure for SQLBase
databases?
1. Shut down Emonitor.
2. From the Start menu, point to Programs, then to Gupta, then to SQLBase 9.0.1, then
click SQLTalk Interactive SQL.
3. From the Session menu, click Connect, or press F2.
4. Enter the database name, username and password for your database. The default user
name is ENTEK, and the default password is EUSER.
5. Click Connect. Your database name should appear in the Current Connections box.
6. Click Close to close the Connect dialog.
7. In the Input Window (top pane), type the following, including the semicolon:
check database;
8. Press Shift+F2 to execute the command. If the check is successful, SQLTalk displays
the message:
DATABASE CHECKED
32
If any other message appears, your database may be corrupt. Contact Customer
Support immediately for assistance. Repeat these steps for the Econfig database.
9. Type the following in the Input window (top pane), including the semicolon:
Update statistics on database;
10. Press Shift+F2 to execute the command. After SQLTalk executes the command, it
displays a message similar to this one depending on the number of rows in your
database:
STATISTICS UPDATED ON 13,443 ROWS
11. Repeat this command on the Econfig database. After the Update Statistics command is
finished, select File > Exit to exit SQLTalk.
12. Shut down the SQLBase engine (locally for single-user systems and at the server for
multi-user systems).
13. Back up the database subdirectories with your own back up software, or copy the
subdirectories to a network drive that is backed up. After backing up the database
directories, simply restart Emonitor (on single-user installations). For multi-user
installations, you must restart the database engine software before launching
Emonitor.
14. Remember to rotate the storage media (tapes or disks) in order to ensure that you have
at least one good previous back up set aside. This will help prevent the accidental
overwriting of the previous good back up with a bad one. A recommended back up
strategy would be to create separate tapes or disks that are used for annual, quarterly,
monthly and weekly back ups.
Using the correct storage media for your data
To help prevent database corruption, do not run your database from removable storage
media such as Zip, JAZZ, Bernoulli, SyQuest, or SuperDISK drives. These removable
storage devices are excellent for backing up or copying databases, but are not suited to the
consistent I/O requirements of the database engine.
Adding a new database
You may want to add another database to your system. You can use one Econfig database
for your configuration data and have multiple other databases for storing data similar to
the Entek database.
Before you add a new database, you must restart your computer at least once since you installed
Emonitor, in order to restart the Gupta SQLBase server.
33
• • • • •
5 • DATABASE MAINTENANCE
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
Add the SQLBase server to the SQLConsole display
You only have to follow this procedure once to add the server to the SQLConsole display.
If the server name appears in the SQLConsole display, you can skip these steps. The
default server name is SERVER1.
1. If it is not running, start the Gupta SQLBase server. Select Start > Programs > Gupta
> SQLBase 9.0.1 > SQLBase Database Engine.
2. Start the SQLConsole by selecting it from Start > Programs > Gupta > SQLBase
9.0.1 > SQLConsole DBA Utility.
3. The first time you run the SQLConsole, a message appears:
Select No to run in Enhanced mode.
4. Click Yes at the next dialog to create a local SQLConsole database.
5. Click Yes at the next dialog to use the default database name (SQLSCRVR), and leave
the password blank.
34
6. The SQLConsole appears. Double click Tools, and then double-click Connection
Manager.
7. In the Connection Manager dialog, enter the SQLBase server name, and then click
OK. The default server name is Server1 (“server”, followed by the number 1).
8. Exit and then restart SQLConsole.
35
• • • • •
5 • DATABASE MAINTENANCE
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
9. The name of the SQLBase server appears in the tree below Tools.
Add the new database
If the SQLBase server name appears in the SQLConsole display, you can add a new
database to the server.
1. Create a directory in the \Program Files\Gupta\SQLBase901 folder with the name for
your database. You have to have a separate directory for each database.
2. Copy entek.dbs from the product directory (\extras\emonitor) on the Emonitor CDROM into the new directory. The product directories are located in the Extras folder
on the CD-ROM.
3. Right-click on the entek.dbs file on your computer and click Properties. Change the
Attributes by clearing the Read-only checkbox. Click OK.
36
4. Rename the entek.dbs file to the name of the directory. In this picture, the new
database and directory are named Newtest.
5. Start the SQLConsole if it is not running (select Start > Programs > Gupta >
SQLBase 9.0.1 > SQLConsole DBA Utility).
6. Right-click the server name in the SQLConsole display, and then select Manage
Database > Install.
37
• • • • •
5 • DATABASE MAINTENANCE
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
7. Enter the name of the new database that you created steps 1-4, and then click Install.
The new database appears in the tree under the database server name.
38
6
Troubleshooting
This chapter offers troubleshooting information for Emonitor installations.
Troubleshooting database connections
What version ODBC driver should I use?
Use Gupta SQLBase ODBC driver version 9.00.01 or later. The previous version does not
work.
What is this error message about a DLL conflict when I start
the program?
ODBC, the database driver, gives an error message when certain files are newer than
others. If you get an error message about a DLL conflict, you can click OK and run
Emonitor anyway without any problem. However, you probably want to fix it.
To reinstall ODBC components, you must re-install them from the operating system
service pack (XP SP2, for example) or an MDAC (MS Data Access Components) update,
depending upon what was used initially to install the components. Go to
http://msdn.microsoft.com/data/ref/mdac/ for additional information.
Why am I getting a configuration file error?
There could be several reasons for this type of error. Here is a list of potential fixes.
„
Make sure that you have only one copy of SQL.INI on your computer.
39
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
„
„
Make sure that the SQL.INI file has not been renamed or deleted.
If you log in to your computer, make sure that you used the correct login name and
password.
Why can’t I connect to the database?
If you cannot connect to databases after installing, ensure that your databases have been
added to the server configuration and that they are enabled. See Adding a new database on
page 33 for more information. See Setting up the server on page 8 for more information
(for a Multi-User installation).
If you still can't connect to the database, check the SQL.INI file to make sure the line that
says DBDIR=C:\Program Files\SQLBase901 actually points to the installed location of
the Gupta SQLBase database.
Why can’t it find the ERROR.SQL file?
If you get an error like this, check your path by typing PATH at an MS-DOS prompt. If
your path does not contain the Centura program directory, Emonitor cannot find the
needed database files. Also, check to make sure error.sql is in the Centura directory and
has not been renamed.
My other Centura-based programs cannot find the SQL.INI file.
The Emonitor installation program renames any SQL.INI, MESSAGE.SQL, or
ERROR.SQL file that it finds in your path. If other Centura programs are affected by this,
you must rename these other files before attempting to run the other Centura-based
program.
40
Troubleshooting during the installation
Client-server applications like Emonitor can be complicated. This section is provided to
give you a guide if things don't go quite right the first time.
Do I have to install certain online components to certain
computers?
If you are using a multi-user version of Centura, you can install any component of an
online system to any computer in the system, whether it's an Unload Station or a Viewing
Station or a combination of the two. The single-user version of Centura must have all
components on the same computer.
Why do Unload Station Manager and Scheduler start when I
restart my computer?
When you restart your computer after installing, Unload Station Manager and Scheduler
automatically start because they are in your Startup folder. To remove an item from your
Startup folder, point to Start > Programs > Startup. Right-click the item you want to
remove and select Delete. This removes the item from your Startup folder, but not from
your computer.
Why can’t I run the Emonitor installation program on Windows
2000, or XP?
In order to install the program on a computer running Windows 2000 or XP, you have to
have administrator rights. You might have to ask your computer staff to give you
administrator rights in order to install Emonitor.
What happens if the computer gets turned off in the middle of
an installation?
If your computer crashes or gets turned off in the middle of the installation, the uninstall
procedure will not work. Use these steps to complete the installation.
1. Remove the Emonitor CD-ROM and reboot your computer.
2. After the computer reboots, insert the Emonitor CD-ROM back in the CD-ROM
drive.
41
• • • • •
6 • TROUBLESHOOTING
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
3. Begin the installation process again. When you see a dialog similar to the following,
select Add or reinstall components.
4. Follow the installation process as described in Chapter 3, Installing Emonitor.
Troubleshooting FactoryTalk Activation
If you experience any problems with the FactoryTalk Activation, refer to the FactoryTalk
Activation online help file, installed when you installed FactoryTalk Activation. Click the
Windows Start button, then select Programs > Rockwell Software > FactoryTalk
Activation > FactoryTalk Activation Help.
42
Index
A
activation key
see CD Activation Key
adding a new database „ 36
B
backing up data „ 32
backing up databases „ 32
C
Calculated Points Updater „ 11
CD Activation Key „ 2
Centura SQLBase sofware
removing „ 23, 25
Centura website „ 19
checking database files „ 30
configuration file error „ 39
corrupted database file „ 30
Customer Support „ 4
D
damaged database file „ 30
data collector installs „ 9
data collectors „ 23
Data Import Processor „ 11
database
adding new „ 36
backing up „ 32
checking „ 30
directory „ 32
Econfig „ 32, 33
Entek „ 32, 33
files „ 32
restructure „ 27
speeding up access „ 30
troubleshooting „ 39
unable to connect „ 40
versions „ 3
database software, installing
disk space requirements „ 3
DLL conflict errors „ 39
„
19
E
Econfig database „ 32, 33
ECONFIG.DBS „ 32
Emonitor
installing „ 9
updating „ 23
Entek database „ 32, 33
ENTEK.DBS „ 32, 36
ERROR.SQL „ 40
F
FactoryTalk Activation
installing „ 7
troubleshooting „ 42
fax, Technical Support „ 4
files
database (.dbs, .dbu) „ 30
ECONFIG.DBS „ 32
ENTEK.DBS „ 32, 36
ERROR.SQL „ 40
MESSAGE.SQL „ 40
MSJAVX86.EXE „ 8
SQL.INI „ 39, 40
G
Gupta website
„
19
H
Hardware Setup program
„
11
I
installation program
starting „ 9
unable to run „ 41
43
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
R
installing
database software „ 19
Emonitor „ 7, 9
FactoryTalk Activation „ 7
Java Virtual Machine „ 8
MSXML 6.0 „ 8
on remote computer „ 17
online components „ 14
over network „ 16
prior to „ 2
RSLinx „ 14, 26
Viewing Station „ 11
Windows Installer v3.1 „ 7
XML Gateway prerequisites „ 7
Intelligent Advisory Evaluator „ 11
remote computer installation
remove software „ 24
restructure database „ 27
running „ 27
time required „ 28
RSLinx, installing „ 14, 26
running
installation program „ 9
restructure „ 27
„
8
M
MAXIMO system version „ 13
measurement definitions „ 23
MESSAGE.SQL „ 40
MSJAVX86.EXE file „ 8
MSXML 6.0 „ 8
N
Network Administration installation
O
ODBC driver version „ 39
ODBC update „ 39
online help „ 4
Online Import Event „ 15
online system
installing „ 11
installing components „ 14
P
portable systems
profile „ 14
44
„
9
17
S
J
Java Virtual Machine, installing
„
„
16
Scheduler
setting up „ 14
troubleshooting „ 41
Severity Updater „ 11
speeding up database access „ 30
SQL.INI
connecting to database „ 40
multiple copies „ 39
other Centura-based programs „ 40
SQLTalk Interactive „ 29
Startup folder „ 41
Storage Limit Updater
command lines „ 16
installing „ 11
setting up „ 15
storage media „ 33
system requirements „ 1
T
Technical Support
fax „ 4
Technical Support Hotline „ 4
warranty service „ 4
troubleshooting
database „ 39, 40
DLL conflict „ 39
FactoryTalk Activation „ 42
installation „ 41
ODBC Driver Manager error „ 39
SQL.INI File Error „ 39
U
V
unable to run
installation program „ 41
uninstall „ 24
uninstalling
Centura SQLBase software „ 23, 25
unload files „ 15
Unload Station Manager
installing „ 11
troubleshooting „ 41
Unload Station, installing „ 11
update program „ 23
version
database servers „ 3
MAXIMO system „ 13
ODBC driver „ 39
Viewing Station, installing
„
11
W
walk-around systems „ 9
warranty service „ 4
Windows Installer v3.1 „ 7
X
XML gateway
„
7
45
• • • • •
INDEX
• • • • •
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SQLBASE SINGLE-USER DATABASE
46
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement