Emonitor Gupta Single User Install Guide
Emonitor Gupta Single User Install Guide
INSTALLATION MANUAL
INSTALLING EMONITOR SOFTWARE WITH A GUPTA SINGLE USER DATABASE
PUBLICATION EMONTR-IN001F-EN-E–March, 2013
Supersedes Publication EMONTR-IN001E-EN-E
Contact Rockwell Customer Support Telephone — 1.440.646.3434
Online Support — http://www.rockwellautomation.com/support/
Copyright Notice © 2013 Rockwell Automation Technologies, Inc. All rights reserved.
This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation, Inc. Any
reproduction and/or distribution without prior written consent from Rockwell Automation, Inc. is strictly prohibited.
Please refer to the license agreement for details.
Trademark Notices Allen-Bradley, ControlLogix, Datapac, Emonitor, Enwatch, eProcedure, FactoryTalk, Logix5000, Logix5550,
MicroLogix, MotorMonitor, PlantLink, PLC-2, PLC-3, PLC-5, Rockwell, Rockwell Automation, Rockwell Software,
RSLinx, RSLogix, RSMACC, RSNetWorx, RSView, Studio 5000, and XM are trademarks of Rockwell Automation,
Inc.
Any Rockwell Automation software or hardware not mentioned here is also a trademark, registered or otherwise, of
Rockwell Automation, Inc.
Other Trademarks ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows
ME, Windows NT, Windows 2000, Windows Server-, Windows XP, Windows 7, and Vista 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.
Oracle is a registered trademarks of Oracle Corporation.
ControlNet is a registered trademark of ControlNet International.
DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA)
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.
1 • Introduction 1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Emonitor system requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Database system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Planning for the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Upgrading from a previous version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
What to read next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Statement of Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Phone Support Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 • Installing Emonitor 7
Installing FactoryTalk Activation Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Installing RSLinx Classic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing the software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing SQLBase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Getting information from Gupta's website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installing the software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installing the XML Gateway prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing Emonitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing the EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Installing online components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting up Scheduler to automate tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 • Database maintenance 25
Using SQLTalk Interactive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Checking the integrity of your database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Speeding up database access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
iii
• • • • •
5 • Troubleshooting 35
Troubleshooting database connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
What version ODBC driver should I use? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Why am I getting a configuration file error? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Why can’t I connect to the database? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Why can’t it find the ERROR.SQL file? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
My other SQLBase programs cannot find the SQL.INI file. . . . . . . . . . . . . . . . . 36
Do I add DBNTSRV to the Windows Firewall exceptions? . . . . . . . . . . . . . . . . 36
Troubleshooting during the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Do I have to install certain online components to certain computers? . . . . . . . . . 36
Why can’t I run the Emonitor installation program on Windows 2000, XP, or
Windows 7? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
What happens if the computer gets turned off in the middle of an installation? . 37
Troubleshooting FactoryTalk Activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Index 39
iv
1 Introduction
This chapter introduces you to the Emonitor® software, and gives an overview of the
installation process.
Overview
This installation guide offers information on the entire installation process, including
software installation, database server and client installation, database maintenance, and
database connection information.
This installation guide is intended for first-time installations or upgrades 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.
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
• • • • •
You must have Adobe Reader installed on your computer to read the documentation
(documents are in PDF format). To install Adobe Reader, click Extras on the Emonitor Install
screen, and then click Adobe Reader.
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 Manager to request one or more license files from the Rockwell software
licensing website. If the computer running Emonitor does not have Internet access, you
must contact Rockwell Automation Technical Support to get the activation file by phone.
Refer to the FactoryTalk Activation document for more information.
Disk space requirements vary depending on which components you need to install. For a
guideline, the Emonitor software requires about 170 megabytes (MB) of disk space. There
are additional disk space requirements depending on your database setup. Be sure to
check with your database administrator about these requirements and about backing up
your database.
2
• • • • •
1 • INTRODUCTION
Before installing Emonitor, you need to have the Windows 7 Professional, Enterprise, or
Ultimate operating system installed on your computer. Emonitor version 3.60 is supported
on the 32-bit versions of Microsoft Windows 7 Professional, Enterprise and Ultimate.
Emonitor version 3.60 is not supported on the Windows NT, Windows Vista, Windows
2000 Pro, Windows 2000 Server, Windows XP, Windows Server 2008 or 64-bit versions
of Windows 7 operating systems.
3
• • • • •
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 in Emonitor.
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, read the Emonitor Online Getting Results Guide and the Emonitor Enterprise
Online Condition Monitor Getting Results Guide (on the Emonitor Install DVD and in the
Emonitor program directory). You may receive additional manuals for the hardware you
use for data collection. These manuals are delivered as PDF files on the CD that comes
with the data collector or other hardware. You can also reference the data collector online
help files installed with Emonitor from the Help menu in Emonitor.
TELEPHONE SUPPORT
1-440-646-3434
Support staff are available Monday through Friday from 8 AM to 7 PM Eastern Standard
Time (North America only), except during holidays.
When you call, please be at your computer and be prepared to give the following
information:
The product serial number - you can find this number in the Help About dialog box.
The product version number
The type of hardware you are using
The exact wording of any messages that appeared on your screen
A description of what happened, and what you were doing when the problem occurred
A description of how you tried to solve the problem
You might also be required to provide information about any product updates that are
installed on your computer.
4
• • • • •
1 • INTRODUCTION
The Rockwell Automation support web site includes comprehensive searchable databases
of support information for all Rockwell Automation products. It also includes online
support, software utilities and downloads, case studies, and literature.
The support web site is located at:
http://support.rockwellautomation.com/support
The Rockwell Automation Knowledgebase is a searchable database of technical notes and
frequently asked questions updated daily by our support specialists. The Knowledgebase
is available from the Rockwell Automation support page.
To open the Knowledgebase:
On the Rockwell Automation support page, click Knowledgebase or go to
http://rockwellautomation.custhelp.com/.
5
• • • • •
6
2 Installing Emonitor
This chapter guides you through the installation process for Emonitor. If you are
upgrading from an existing version, refer to Chapter 3, Upgrading from a previous
version.
When you upgrade from an earlier version of the Emonitor software (version 2.3 and earlier), the
Process data type is replaced with the new Numeric data type for existing measurement
definitions.
If you are running the DVD from another computer, you must map the DVD to a drive on your
local computer.
7
• • • • •
2. After the Autorun screen appears, click Documentation. The list of available
documentation appears in your default HTML browser.
3. Click FactoryTalk Activation.
4. After reviewing the FactoryTalk Activation documentation, return to the Autorun
screen.
5. From the Autorun screen, click FactoryTalk Activation to install the FactoryTalk
Activation Manager from the DVD drive.
6. When finished, click Back to return to the main Autorun screen.
You must install RSLinx Classic before you install Emonitor. RSLinx Classic installs the
FactoryTalk Services Platform, which includes the latest Windows Firewall Configuration
Utility. This utility configures the Windows firewall to work with Rockwell Automation products.
8
• • • • •
2 • INSTALLING EMONITOR
Installing SQLBase
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 must be
installed before you can install Emonitor.
Gupta SQLBase is the new name for the Centura database software.
As always, if you are upgrading, back up your database directories to ensure that you have
a backup copy (see Backing up your data on page 28). Then go to Chapter 3, Upgrading
from a previous version.
9
• • • • •
7. Select No when prompted to restart your computer, and then click Finish. Rebooting
your computer at this time is not required.
8. After the computer restarts, start the Emonitor Installation program again, and
continue with the installation process as described below.
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 an
Emonitor program or service starts. For more information, see Running the Gupta SQLBase
Server as a program on page 27.
Installing Emonitor
This installation is intended for first-time installations. If you are upgrading from a
previous version of Emonitor, see the chapter Upgrading from a previous version.
10
• • • • •
2 • INSTALLING EMONITOR
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.00 and
earlier versions has been replaced by FactoryTalk Activation described in Installing FactoryTalk
Activation Manager 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 Emonitor can be installed on different computers to increase
efficiency. You may also use a combination of portable and online systems, and use
different computers for each part.
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.
Exit any running applications before starting the Emonitor installation program.
The Emonitor installation program requires that you reboot your computer after installing the
software.
1. From the main Autorun screen click Emonitor. Follow the instructions on the screen.
2. Select your database type at the Database Selection dialog, and then click Next.
3. Some database types ask you to confirm or select your database version. Click Next to
continue.
4. Select the XML Gateway if you want to install the Emonitor CMMS XML Gateway,
and then click Next.
5. The next dialog shows the system requirements. If your system passes, click Next. See
Emonitor system requirements on page 1 for more information.
6. Choose the directory where you want to install Emonitor. Click Browse to change the
destination directory.
7. Select the program folder on the Start menu for Emonitor, then click Next.
8. Click Next to accept the configuration. The installation program begins copying files
to your computer.
9. The installation program installs the Windows Firewall Configuration Utility. The
Firewall Configuration program then runs to automatically modify the Windows
Firewall settings to allow the following Emonitor components to operate: Emonitor
OPC Enumerator, SQL Server, DCOM, Enlive, and the Emonitor Online programs
11
• • • • •
(Enwatch/6600 Setup, Online Data Console, Create Loadfile, Load and Unload). Then
the DCOM Security configuration program runs to complete the modifications.
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.
10. The installation is nearly complete. Select Yes, I want to restart my computer now
and click OK to restart your computer. The Emonitor installation is now complete.
You must install RSLinx Classic 2.58 or later before you can install EDS files.
1. Start the EDS Hardware Installation Tool. Click Start > Program Files > Rockwell
Software > RSLinx > Tools > EDS Hardware Installation Tool.
2. In the EDS Hardware Installation Tool, click Add.
3. Select Register a directory of EDS files.
4. Click Browse, and navigate to the Emonitor program directory and click OK. The
default directory is C:\Program Files\Rockwell Software\Emonitor.
5. Click Next. The Tool installs all the EDS files in the Emonitor program directory.
Some EDS files may show minor errors that do not have any functional impact, such
as “The help string has exceeded the maximum length.” Click Next.
6. Continue to click Next to complete the EDS Wizard, and finally click Finish.
You can run 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
12
• • • • •
2 • INSTALLING EMONITOR
this diagram. For Emonitor with a single-user database, the Viewing Station, Database
Server, and Unload Station are all on the same computer.
For more information on the Emonitor Online system, please refer to the Emonitor Online
Getting Results Guide, and the help for the Online Data Management Console (Click
Start > Programs > Rockwell Software > Emonitor > Help > Online Data
Management Console).
13
• • • • •
We strongly recommend that you leave the Startup Type for the SchedulrSvc as “Automatic”
in the Services console. This starts the Scheduler service automatically when Windows
starts.
After you have enabled the Scheduler service, it starts when you start Windows.
Scheduled events are executed only when the Scheduler service is running. You can use
the Scheduler on any computer in an Emonitor Online system (both Viewing station and
Unload station computers).
The Emonitor Scheduler is installed as part of the Emonitor software. Since Scheduler profiles
are stored in the central Emonitor database, all scheduler profiles are launched on all computers
in an Emonitor Online system that are running the Scheduler service. This may not be a problem
if you are using Scheduler only for data import tasks on one or two computers. If you are using
Scheduler for additional kinds of tasks, such as Emonitor database maintenance, running the
same scheduled task from multiple computers can place a significant load on the Database
Server computer. Refer to the Scheduler help for more information (Start > Programs >
Rockwell Software > Emonitor > Help > Scheduler).
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 (a database maintenance task). Follow these steps to set up online profiles using
Scheduler.
For more information on setting up different kinds of Scheduler profiles, refer to the Scheduler
online help.
14
• • • • •
2 • INSTALLING EMONITOR
1. Start Scheduler (Start > Programs > Rockwell Software > Emonitor > Utilities >
Scheduler) and click Add.
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 then 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 appear in the Monitored Files list. Click OK to continue.
6. Click Next on the Response dialog.
7. On the Events dialog, click Add Event.
8. Enter the Executable file and the Command line using the following guidelines, then
click OK. This example used the default Emonitor installation directory. If you
installed Emonitor in a different directory, use the path to your Emonitor program
directory.
For Online Import Event:
Executable file: C:\Program Files\Rockwell Software\
Emonitor\didaemon.exe
Command line: C:\Program Files\Rockwell Software\
Emonitor\odonline.edi
15
• • • • •
16
3 Upgrading from a previous version
This chapter guides you through the process of upgrading from an earlier version of the
Emonitor software.
Emonitor version 3.6 has been tested on, and is supported on, Windows 7 Professional,
Enterprise, and Ultimate (32-bit versions only). Emonitor 3.6 is not supported, and may not install
or run as expected, on any other Windows operating system.
If you have a version of Emonitor earlier than version 3.20 (some earlier versions were called
Emonitor for Windows - EFW - or Odyssey), please contact Customer Support for assistance.
You must perform several additional steps to upgrade to the current Gupta SQLBase database
software (see Statement of Technical Support on page 4).
When you upgrade from a previous version of the Emonitor software that uses the Process data
type, the Process data type is replaced with the new Numeric data type for existing
measurement definitions.
Emonitor 3.6 runs only on the Windows 7 operating system. This means that you cannot
upgrade your previous version of Emonitor (3.5 and earlier); instead, you must install
Emonitor 3.6 on the computer running Windows 7. As part of this process, you must
move your Emonitor database and Emonitor configuration files from the computer with
the earlier version of Emonitor to the computer where you will install Emonitor version
3.6.
Your Scheduler, Emonitor Online Hardware Setup, XM Emonitor Gateway, Enterprise
Online Configuration Utility, and Emonitor OPC Client configuration files from previous
versions of Emonitor should work with the new version of Emonitor. You will need to
move these configurations to the new computer. You will also need to create new data
sources in the Online Data Management Console after you install Emonitor 3.6. For more
information, refer to the Online Data Management Console help after you complete the
upgrade (click Start > Programs > Rockwell Software > Emonitor > Help > Online
Data Management Console).
17
• • • • •
The default directories for the configuration files are listed below. If you have stored
configuration files in different directories, make sure that you back up the files from those
directories as well.
If you are backing up configuration files for RSMACC EOL, make sure that the .DCF and .EOL
file names do not conflict with the same file types from Emonitor Online. If necessary, rename the
.DCF and .EOL files from RSMACC EOL.
18
• • • • •
3 • UPGRADING FROM A PREVIOUS VERSION
Make sure you shut down Emonitor before restoring your database files.
Copy the database files to the computer where you installed Emonitor version 3.6. The
default database directories are:
C:\Program Files\Gupta>SQLBase901\Econfig
C:\Program Files\Gupta>SQLBase901\Entek
Make sure you follow these steps before restructuring your database.
1. Back up your databases before upgrading to the latest version (see Backing up your data on
page 28).
2. Make sure no users are connected to the database.
1. Start your Emonitor software from the Start menu on any client computer (Start >
Programs > Rockwell Software > Emonitor > 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”.
19
• • • • •
3. Make sure you have backed up your database, then click OK to continue.
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.
20
• • • • •
3 • UPGRADING FROM A PREVIOUS VERSION
Note that the default directories for Emonitor version 3.6 configuration files on Windows 7 are
different than they were on previous versions.
If you are restoring configuration files from RSMACC EOL version 2.50, make sure that the .DCF
and .EOL file names do not conflict with the same file types from Emonitor Online. If necessary,
rename the .DCF and .EOL files from RSMACC EOL. We recommend using different .DCF and
.EOL files for Emonitor EOL version 3.60 and Emonitor Online version 3.60.
The default directories for the Emonitor 3.6 configuration files are listed below.
DCF Files (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\[PROFILE_NAME].DCF
EOL Files (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\[PROFILE_NAME].EOL
OnlineDataConsole.xml (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\OnlineDataConsole.xml
Edit the XML files and change all instances in the document from:
<XMProfile>C:\Program Files\Rockwell Software\Emonitor\
to:
<XMProfile>C:\Users\Public\Documents\Rockwell Software\Emonitor\
Templates (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\Templates\English
C:\Users\Public\Documents\Rockwell Software\Emonitor\Templates\Metric
Load and Unload directories (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\UD
C:\Users\Public\Documents\Rockwell Software\Emonitor\ld
Online directory (Windows 7)
C:\Users\Public\Documents\Rockwell Software\Emonitor\Online
EDS files are installed with Emonitor 3.60. If you backed up any custom EDS files,
restore them to:
C:\Program Files\Rockwell Software\Emonitor\
21
• • • • •
22
• • • • •
3 • UPGRADING FROM A PREVIOUS VERSION
23
• • • • •
24
4 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.
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. The name and password are not case-sensitive. Passwords are encrypted.
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, and then click
Close.
25
• • • • •
26
• • • • •
4 • DATABASE MAINTENANCE
This command may take some time depending on the size of your database, so please
be patient. Run this command on both the Entek and the Econfig databases.
4. Right-click the database server name. The default name is Server1. Select Stop to
stop the database server.
5. Right-click Service Properties. Select Startup Type > Disabled. This means the
database server will only start when you start Emonitor.
You can also run the SQLBase Server as a service without displaying the Server
Console. Right-click Service Properties, and then select Server Console > Off.
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.
27
• • • • •
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 (copy both the .dbs file and any other files that are in the
directory).
You also need to back up the Econfig directory containing the Econfig database.
28
• • • • •
4 • DATABASE MAINTENANCE
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
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 backup 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 backup set aside. This will help prevent the accidental
overwriting of the previous good backup 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 backups.
29
• • • • •
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.
5. Click Yes at the next dialog to use the default database name (SQLSCRVR), and leave
the password blank.
30
• • • • •
4 • DATABASE MAINTENANCE
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).
31
• • • • •
32
• • • • •
4 • DATABASE MAINTENANCE
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.
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.
33
• • • • •
34
5 Troubleshooting
This chapter offers troubleshooting information for Emonitor installations.
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.
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.
35
• • • • •
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 SQLBase program directory, Emonitor cannot find the
needed database files. Also, check to make sure error.sql is in the SQLBase directory and
has not been renamed.
36
• • • • •
5 • TROUBLESHOOTING
37
• • • • •
38
Index
A troubleshooting 35
unable to connect 35
activation
versions 3
see FactoryTalk Activation database software, installing 9
activation key
DBNTSRV message 36
see CD Activation Key disk space requirements 2
adding a new database 32
documentation, Emonitor 3
Adobe Reader, installing 2
B E
Econfig database 28, 30
backing up
ECONFIG.DBS 28
configuration files 17
EDS files, installing 12
data 28
Emonitor
databases 28
configuration files, backing up 17
configuration files, restoring 21
C documentation 3
CD Activation Key 2 installing 10
checking database files 26 online components 12
configuration file error 35 upgrading 3, 17
configuration files Emonitor Scheduler
backing up 17 service, starting 13
restoring 21 starting 13
corrupted database file 26 Entek database 28, 30
ENTEK.DBS 28, 32
D ERROR.SQL 36
damaged database file 26
data collectors 11 F
database FactoryTalk Activation
adding new 32 installing 7
backing up 28 troubleshooting 38
checking 26 files
damaged 26 configuration 17, 21
directory 28 database (.dbs, .dbu) 26
Econfig 28, 30 ECONFIG.DBS 28
Entek 28, 30 ENTEK.DBS 28, 32
files 28 ERROR.SQL 36
restoring 19 MESSAGE.SQL 36
restructure 19 SQL.INI 35
speeding up access 26 firewall exceptions 12, 36
39
• • • • •
G profile 13
Gupta website 9
R
I reading Emonitor documentation 2, 3
restoring
installation program
configuration files 21
starting 11
database 19
unable to run 37
restructure database 19
installing
running 19
Adobe Reader 2
time required 20
database software 9
RSLinx, installing 8
EDS files 12
RSMACC EOL
Emonitor 7, 10
configuration files, backing up 17
FactoryTalk Activation 7
running
online components 12
installation program 11
planning for install 2
restructure 19
RSLinx 8
XML Gateway prerequisites 10
S
M Scheduler
online import event 13
measurement definitions, numeric data type
profile 13
17
setting up 13
MESSAGE.SQL 36
Storage Limit Updater 13
speeding up database access 26
N SQL.INI
numeric data type, changed 17 connecting to database 35
multiple copies 35
O other SQLBase-based programs 36
SQLBase software 9
ODBC driver version 35
installing 9
online help 4
SQLTalk Interactive 25
Online Import Event 14
starting
command line 15
Emonitor Scheduler 13
executable file 15
Emonitor Scheduler service 13
Scheduler profile 15
Storage Limit Updater
online system, installing components 12
command line 16
executable file 16
P Scheduler profile 16
portable systems 11 setting up 14
process data type 17 storage media 29
40
• • • • •
INDEX
T V
Technical Support version
Technical Phone Support 4 database servers 3
Technical Support Website 5 ODBC driver 35
telephone support 4
troubleshooting W
database 35
walk-around systems 11
FactoryTalk Activation 38
Windows Firewall Configuration Utility 11
installation 36
Windows Firewall exceptions 12, 36
SQL.INI File Error 35
U X
XML gateway 10
unable to run installation program 37
unload files 15
upgrading Emonitor 3
41
• • • • •
42