Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
256 views

DataMetrics Server Installation Guide

Uploaded by

Sergio Bueno
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
256 views

DataMetrics Server Installation Guide

Uploaded by

Sergio Bueno
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

DataMetrics

Server Installation Guide

Copyright 2013
ASI DataMyte, Inc.
All rights reserved.
95690-004
DataMetrics Server Installation Guide

© 2013 ASI DataMyte, Inc.


2800 Campus Drive, Suite 60
Plymouth, Minnesota 55441
Phone 763-553-1040 • Fax 763-553-1041

http://www.asidatamyte.com

Restricted Rights Legend – Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
Section 52.227-7013(c)(1)(ii)(May, 1987) of the U.S. Department of Defense Supplement to the Federal Acquisition
Regulations or other similar regulations of other governmental agencies.

Export Notice – These commodities are licensed by the U.S. for ultimate destination (ELS Country). Diversion
contrary to U.S. Law prohibited.

Disclaimer – In no event shall ASI DataMyte, Incorporated be liable for direct, indirect, special, incidental, or
consequential damages arising from the use or inability to use this product or documentation, even if advised of the
possibility of such damages. Information in this document is subject to change without notice and does not represent a
commitment on the part of ASI DataMyte, Inc. Because of the variety of uses for the product described in this
document, those responsible for the application and use of this hardware and software must satisfy themselves that all
necessary steps have been taken to assure that any application and use meets all performance and safety requirements,
including any applicable laws, regulations, codes and standards.

Copyright Notice – Reproduction of the contents of this copyrighted publication, in whole or in part, without written
permission of ASI DataMyte, Inc. is prohibited. Copyright © ASI DataMyte, Inc. All rights reserved. Microsoft ® and
Windows® are registered trademarks of Microsoft Corporation. The license management portion of this software
application is based on SentinelRMS®. Copyright © 1989-2006 SafeNet, Inc. All rights reserved. Sentinel is a
registered trademark of SafeNet, Inc. If this software application is licensed for use other than with a Microsoft®
database, it includes one or more of the following applications - DataDirect Connect® for ODBC, DataDirect Connect®
for ADO or DataDirect Connect® for ADO.net. Copyright © 1993-2006 DataDirect Technologies. All rights reserved.
DataDirect Connect® is a registered trademark of Progress Software Corporation in the U.S. and other countries. Other
product names mentioned in this document are trademarks or registered trademarks of their respective companies and
are hereby acknowledged.
Table of Contents

TABLE OF CONTENTS ........................................................................................................ 1

OVERVIEW ............................................................................................................................. 1

INSTALLING DATAMETRICS............................................................................................ 4
STEP 1 – PREREQUISITES INSTALLATION ................................................................................ 4
Performing the Prerequisites Installation .......................................................................... 4
STEP 2 – INSTALL THE DATAMETRICS DATABASE CONNECTIVITY KIT .................................. 5
Installing the Connectivity Kit for Microsoft SQL Express ................................................ 5
Installing the Connectivity Kit for Microsoft SQL Server .................................................. 7
Installing the Connectivity Kit for Oracle ........................................................................ 10
STEP 3 – INSTALL THE SECURITY DATABASE CONNECTIVITY KIT ........................................ 15
Security Database Connectivity for Microsoft SQL Server 2008 R2 Express .................. 15
Security Database Connectivity for Microsoft SQL Server 2008 ..................................... 16
Security Database Connectivity for Oracle ..................................................................... 16
STEP 4 – INSTALL THE SECURITY SERVICE ........................................................................... 17
STEP 5 – INSTALL THE LICENSING SERVER ........................................................................... 18
UPGRADING A PREVIOUS QUANTUM OR APPLIED STATS INSTALLATION ... 19

SUPPORT INFORMATION ................................................................................................ 20


TECHNICAL SUPPORT............................................................................................................ 20
ASI DATAMYTE CUSTOMER SERVICE .................................................................................. 20
SUPPORT AND MAINTENANCE AGREEMENTS ........................................................................ 21

Table of Contents
Overview

This document explains how to install the various server-related applications of the
DataMetrics product suite. Prior to getting started, there are several important items to point
out with respect to the DataMetrics installation.

First, the architecture of the DataMetrics product suite is very different than either the
Quantum or Applied Stats products and contains several new items that must be installed and
properly configured to ensure correct operation of the system.

In DataMetrics, we have incorporated a number of services to provide a more flexible and


efficient method of deploying standard functionality, such as security, licensing, and e-mail
notification. This requires that these services be properly deployed and installed to make them
available across the network for the DataMetrics client applications.

For reference, a diagram of the overall DataMetrics architecture is shown below:

DataMetrics System Overview


Client Workstations:

` ` `

Configuration Data Collector Data Collector


DSE DC Advanced DC Pro

Analysis & Reporting Portable Data Collectors


DAR 501,30XX,9XX

Database / Application Server Utilities


Services ` `
DB Tools FMT
Notification

Licensing
Security

` `
DataMetrics DMT Audit Log
Security Database ` `
Database
RCSL Bridge

Database Server Application Server


Services
Notification

Licensing
Security

DataMetrics
Security Database
Database

Installation Instructions  1
DataMetrics Server Installation Guide

As noted in the previous diagram, the Server components can be located on a single server, or
on a separate database server and application server. The decision on how to deploy is up to
the needs and system requirements of each end user.

A few additional important points to be aware of:

1) The installation of the server components will require a minimum of one reboot of the
server, possibly two, depending on the database engine that is being implemented.

2) If you install the DataMetrics MS SQL 2008 R2 Express database engine on a server that is
currently running MSDE, all attached MSDE databases will automatically update to SQL
2008 R2 Express. If you do not want this to occur, then you should install DataMetrics
on a separate server.

3) Always back up your databases prior to migrating or installing the DataMetrics database
connectivity kit.

NOTE: The server installation procedures are essentially identical whether you are installing
a brand new installation of DataMetrics or you are migrating an existing Quantum or Applied
Stats installation. Customers that are migrating from Quantum or Applied Stats will follow
the basic installation instructions presented in this document to install the core components of
the DataMetrics software suite. Once this is completed, please refer to the Quantum &
Applied Stats Migration Guide to migrate your existing database.

The following installation procedures are covered in this document:

 Step 1 – Install Prerequisites

 Step 2 – Install the DataMetrics Database Connectivity Kit

 Step 3 – Install the Security Database Connectivity Kit

 Step 4 – Install the Security Service

 Step 5 – Install the Licensing Server


The diagrams on the following page show the difference between using a single server for the
database and service applications versus using one server for the database and a separate one
for the service applications.
Please refer to the section Installing DataMetrics beginning on page 4 for full information on
the installation of the various server components.

Installation Instructions  2
DataMetrics Server Installation Guide

DataMetrics System Overview


Server Components – Combined Server

Database / Application Server


Services

Notification

Licensing
Security
DataMetrics
Security Database
Database

Required Installation:
1. Install Prerequisites
2. DataMetrics Database Connectivity Kit
3. Security DB Connectivity kit
4. Licensing Service
5. Security Service

Server Components – Separate Application and Database Servers

Database Server Application Server


Services

Notification

Licensing
Security
DataMetrics
Security Database
Database

Required Installation: Required Installation:


1. Install Prerequisites – SQL Server and 1. Install Prerequisites
SQL Express only 2. Licensing Service
2. DataMetrics Database Connectivity Kit 3. Security Service
3. Security DB Connectivity Kit – if Note: The Security database may be loaded
desired on either server as desired.

Installation Instructions  3
Installing DataMetrics

This section covers the steps necessary to install the DataMetrics suite. As noted previously,
these same steps apply whether you are installing a brand new installation of DataMetrics or
you are upgrading a previous Quantum or Applied Stats installation.

Step 1 – Prerequisites Installation


The Prerequisite install is used to verify that the workstation or server has a specific set of
required components available and should be run on each workstation where a DataMetrics
component is going to be installed. If a required component does not exist, it will be installed
by the Prerequisite installation process.

On the server side the DataMetrics Services for Licensing and Security require the installation
of the prerequisites. The prerequisite installation is also required for customers that run
DataMetrics using the SQL Server 2008 R2 Express database engine.

The components contained in the Prerequisite installation are ones that are required across the
entire DataMetrics suite. If an individual DataMetrics application has a specific required
component for itself, it will need to be installed separately.

Refer to the DataMetrics System Requirements PDF. See the Operating System and Other
Required Components section.

Performing the Prerequisites Installation


Follow these steps to install the prerequisite software.

1. Insert the installation DVD into the database host computer's DVD drive.

If the computer does not automatically start the setup program, click Run from the Start Menu
and specify e:setup, where 'e' is the letter of the DVD drive.

2. Select the Installation > Prerequisites > Install Prerequisites button.

3. At the Welcome Screen, click the Next Button.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button.

5. Click the Next Button. The installation begins searching for the required components listed
previously. Only those components that do not already exist on the workstation will be
installed.

6. At the Start Copying Files screen, you may either click the Install button to begin copying
files or click the Back button to return to previous screens and make changes. This screen lists
the components that will be installed.

7. Several of the prerequisite components require that the workstation be restarted as part of the
installation. When prompted to do so, leave the installation DVD in the DVD drive and restart
the computer. After the restart, ensure that you log in as the same user.

Installation Instructions  4
DataMetrics Server Installation Guide

8. When the installation is complete, you may either continue to install other DataMetrics
applications as needed or remove the installation DVD and store it in a safe place.

Step 2 – Install the DataMetrics Database Connectivity Kit


DataMetrics can be used with three different database types: Microsoft SQL Express,
Microsoft SQL Server, and Oracle. When you perform the installation procedure below, the
DVD key you provide determines which files are installed. If you provide the Microsoft SQL
Express key, for example, the Microsoft SQL Express database and related files will be
installed.

Installing the Connectivity Kit for Microsoft SQL Express


If you have questions on the system requirements for installing and running the Microsoft
SQL Express connectivity kit please see the System Requirements document contained in the
Documentation section of the DVD prior to installation of the connectivity kit.

You do not need to uninstall the previous Microsoft SQL Express engine installation before
beginning these procedures. You may simply perform this installation on top of the previous
one.

NOTE: If you will be using both DataMetrics and EnGage! software in the same
environment, ASI DataMyte recommends that you first install EnGage! and then DataMetrics.

1. As noted previously, when installing the DataMetrics SQL 2008 R2 Express database engine
on a server that is already running MSDE, all attached databases will automatically be
upgraded to SQL Express. It is always highly recommended that you back up all databases
prior to installing the DataMetrics connectivity kit.

2. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your
DVD drive.

3. Click Installation > Applications > Database Connectivity Kit Service.

4. Click Next to move through the installation procedure.

5. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

6. Enter the DVD key for Express exactly as it appears on the DVD case and then click Next.
(Note that Windows XP users may see a dialog box warning them to perform additional
procedures to allow users to connect to the Microsoft SQL Express database.)

7. The screen that appears and the steps you should perform next depend on what type of
installation you are performing:

 If you are performing a brand new installation of Microsoft SQL Express, the Choose
Destination Location screen appears. You can continue to Step 8.

 If you are performing an upgrade of an existing Microsoft SQL Express installation, but
have for any reason uninstalled the Microsoft SQL Express engine, you will be prompted
whether to use a new DataMetrics database (which will overwrite your existing database)
or use your existing one. If you choose to use a new database, you can skip to Step 9 at
this point. If you choose to keep your existing database, you can skip to Step 10.

Installation Instructions  5
DataMetrics Server Installation Guide

 If you are performing an upgrade of an existing Microsoft SQL Express installation and
still have the Microsoft SQL Express engine installed, you will see the Start Copying Files
screen. You may skip ahead to Step 10 at this point.
8. Click Next to accept the default directory C:\Program Files\ASI DataMyte) or use the Change
button to browse to and select the desired location.

9. Select Yes or No to specify whether or not to include demo data during the database
installation.

10. At the Start Copying Files screen, review the current settings displayed and verify they are
correct. If satisfied, click Next to begin the actual file installation. If you want to change any
of the settings, use the Back button to return to previous screens and make changes.

11. A message prompt appears advising you that a reboot will be required during the installation.
Click OK to this message prompt and then, when prompted, reboot your computer.

12. When logging back in, be sure to login as the same user currently running the installation, and
do not remove the installation DVD. After the computer has been restarted, the installation
continues automatically.

13. Once the installation is completed, remove the installation DVD and store it in a safe place.

The following information, which cannot be changed through the installation user interface, is
loaded during the installation process:

Database Name: DataMetrics


User Name: spc
Password: spc

Default Microsoft SQL Express Database Jobs


The Microsoft SQL Express database installation process automatically creates a Windows
Schedule Task to check, shrink and backup the database daily.

The backups are online backups and should not impact users connected to the database. It is
recommended that the backup files be copied to a network drive or a different machine to
reduce downtime in case of a database server failure. The backup files are located in the same
directory as the database files (DATAMETRICS_DATA.MDF and DATAMETRICS
_LOG.LDF).

Installation Instructions  6
DataMetrics Server Installation Guide

Installing the Connectivity Kit for Microsoft SQL Server


The procedures given in this section will install the DataMetrics Database Connectivity Kit
for use with Microsoft SQL Server.

NOTE: The Microsoft SQL Server database build procedures are intended for the Microsoft
SQL Server database administrator to build the DataMetrics database structure. Specific
database build procedures vary, depending on the tools used by the database administrator.
This documentation provides only general procedures.

1. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your DVD
drive.

2. Click Installation > Applications > Database Connectivity Kit Service.

3. Click Next to move through the installation procedure.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

5. Enter the DVD key for SQL Server exactly as it appears on the DVD case and then click
Next.

6. Click Next to accept the default directory C:\Program Files\ASI DataMyte) or use the Change
button to browse to and select the desired location.

7. At the Start Copying Files screen, review the current settings displayed and verify they are
correct. If satisfied, click Next to begin the actual file installation. If you want to change any
of the settings, use the Back button to return to previous screens and make changes.

The appropriate files are copied to the computer and then an Installation Complete screen
appears.

8. Click Finish, remove the installation DVD from the DVD drive, and store it in a safe place.

The following list shows the default values of the script files:

Database Name: DATAMETRICS


User Name: DATAMETRICS
Password: DATAMETRICS

This information can be changed when you build the database.

Installation Instructions  7
DataMetrics Server Installation Guide

Creating a New DataMetrics Database Structure


This section provides the steps necessary to create a new DataMetrics database structure,
schema 500.

Building a DataMetrics database creates tables, indexes, and constraints that make up the
DataMetrics database schema.

The following list outlines the required steps for the update:

 Copy the contents of the build directory

 Login to the server

 Create the database, add a login, and make the new login owner of the database

 Edit and execute the DMBuild.CMD script

 Check for errors in the log files in the \logs subdirectory

 Verify the database object counts in the dbverify.out file

Step 1 – Copy the Contents of the Build Directory


The files included in the \BUILD directory are used to create an entirely new Microsoft SQL
Server/DataMetrics database. Copy these files to the server before beginning the procedure.

Step 2 – Login to the Database Server


Login to the database server as a System Administrator or as an sa_role user.

Step 3 – Create the DataMetrics Database


1. Create a database. The default name is DataMetrics. Use these initial build recommendations:

Data Filegroup = 500 MB


Log Filegroup = 100 MB

2. If possible, create the Data and Log Filegroups on separate hard disks or stripe-sets. Increase
the size of TEMPDB to 30 MB.

Create a login that will own the DataMetrics database. The default login is DATAMETRICS
with a password of DATAMETRICS.

3. Change the owner of the DataMetrics database to the login created in Step 2. The default
login is DATAMETRICS.

All of the above steps can be accomplished using either Microsoft SQL Server's Management
Studio or by executing SQL statements through the OSQL interface. Examples of SQL
statements to accomplish the above tasks are provided in the CREATEDB.SQL file.

Installation Instructions  8
DataMetrics Server Installation Guide

Step 4 – Edit and Run the Database Build Script


Use a text editor like Notepad to edit the DMBuild.CMD script. Modify and verify the
following information as needed.

1. By default, the login name/password is DATAMTERICS/ DATAMTERICS. If a different


login/password was created above, replace DATAMTERICS/DATAMTERICS with the new
login/password.

2. By default, the database name is DATAMTERICS. If the database name created above is
different from DATAMTERICS, replace it with the new database name.

3. If not using the default instance name, add the ‘-S’ option with the instance name to each
statement.

4. After all the information has been modified, verified, and saved, change the directory to the
directory where all the build files were copied previously.

5. Execute the script by typing DMBuild.CMD at the command prompt.

The DMBuild.CMD script does the following:

 Creates a subdirectory logs. If a logs directory exists, it deletes all old *.err and *.out files
from the logs subdirectory.

 Retrieves the version number of the database and the time from the database.

 Creates tables.

 Creates triggers and stored procedures.

 Inserts default data and manages permission on all tables.

 Loads lookup tables.

 Creates indexes.

 Runs the database verification script.

Step 5 – Verify the Build Process


1. Change the directory to the logs directory and make sure that there are no *.err files.

2. Compare the DBVERIFY.OUT counts and make sure they match.

Installation Instructions  9
DataMetrics Server Installation Guide

Recommended Administrative Tasks


It is highly recommended that the following administrative tasks be implemented before and
during use of the database:

 Implement a backup and recovery strategy

 Optimize the database on a regular basis

Backup and Recovery


Please refer to your Microsoft SQL Server documentation for the best backup and recovery
model for your environment. It is important to test the backup and recovery model to make
sure that it meets your requirements.

Optimization of the Database


You need to optimize your database on a regular basis. It is recommended that the database be
optimized at least once a week, though the actual frequency will depend on the amount of data
being changed in the database.

For example, if you are using the DB Tools application to archive/delete large amounts of
data, then the optimization process should be executed right after the DB Tools application
has completed the delete operation. The DB Tools application provides the mechanism to
optimize the database.

Installing the Connectivity Kit for Oracle


The procedures given in this section will install the DataMetrics Database Connectivity Kit
for use with Oracle.

NOTE: The Oracle database build procedures are intended for the Oracle database
administrator to build the DataMetrics database structure using Oracle SQL. Specific database
build procedures vary, depending on the tools used by the database administrator. This
documentation provides only general procedures.

1. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your DVD
drive.

2. Click Installation > Applications > Database Connectivity Kit Service.

3. Click Next to move through the installation procedure.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

5. Enter the DVD key Oracle exactly as it appears on the DVD case and then click Next.

6. Click Next to accept the default directory C:\Program Files\ASI DataMyte) or use the Change
button to browse to and select the desired location.

7. At the Start Copying Files screen, review the current settings displayed and verify they are
correct. If satisfied, click Next to begin the actual file installation. If you want to change any

Installation Instructions  10
DataMetrics Server Installation Guide

of the settings, use the Back button to return to previous screens and make changes.

The appropriate files are copied to the computer and then an Installation Complete screen
appears.

8. Click Finish, remove the installation DVD from the DVD drive, and store it in a safe place.

The following list shows the default values of the script files:

Database Name: DATAMETRICS


User Name: DATAMETRICS
Password: DATAMETRICS

This information can be changed when you build the database.

Creating a New DataMetrics Database Structure


This section provides the steps necessary to create a new DataMetrics database structure,
schema 500.

Building a DataMetrics database creates tables, synonyms, indexes, and constraints that make
up the DataMetrics database schema.

CAUTION: If there is an Oracle database instance already running, refer to the Oracle
documentation for information about running multiple Oracle instances before starting this
build process. If not done correctly, the existing databases could be corrupted.

The following list outlines the required steps for the update:

 Copy the contents of the Build directory

 Determine the database size

 Build the database (run scripts, load lookup tables)

 Create database users

Step 1 – Copy the Contents of the Build Directory


The files included in the \BUILD directory are used to create an entirely new
Oracle/DataMetrics database. Copy these files to the server before beginning the procedure.

Installation Instructions  11
DataMetrics Server Installation Guide

Step 2 – Determine the Database Size


Before building a database, you must first determine the amount of data to store. Either use
the size provided, or modify the prep and build scripts to your actual needs.

Estimates for the scripts in this installation are based on one year's worth of data and a 2048
Oracle block size. Your operating system and platform may change these estimates. Space
may be more efficiently utilized using a larger Oracle block size.

Assuming the following build assumptions are made:

 50 stations collecting data twice per hour for two shifts per day

 380,000 subgroups storage capacity in database

 400 products, each having 15 measurable variable characteristics, 2 batch attributes and 5
piece attributes per product

 5 setups per product with 5 labels associated with each setup


This database requires a minimum of 1500 MB of disk space. The build uses the
DMPrep.SQL script file.

Step 3 – Build the Database


Edit the DMPREP.SQL File and CREATEDB_10g.SQL File

1. Edit the CREATEDB_10g.SQL and DMPREP.SQL files to configure your path to the
tablespaces (i.e., substitute the desired pathname for the path placeholder in the file).

2. Create the directories for the tablespaces. Placement of the most active tablespaces
(DMDATA, DMINDEX) on separate disk drives is recommended for performance. Refer to
the Oracle manuals for more information.

The tablespaces relate to the database as follows:

 temp – temporary tables created by Oracle during user query processing

 dmdata – collected data; data stored by subgroup

 dmindex – indices on both setup and data elements

 dmundo – undo tablespace

 sysaux – system auxilliary tablespace

Copy the Database Parameter File

Copy the database parameter file (INITORCL.ORA) to DATAMETRICS.ORA.

Installation Instructions  12
DataMetrics Server Installation Guide

Edit the DATAMETRICS.ORA File

1. Add an initial control file (control_files=path\DMctrl1.ora).

2. Change the database name to DATAMETRICS (db_name=DataMetrics).

3. Modify the other parameters as needed for your environment. See the Oracle manuals for
more information.

Create the Database for an Oracle Instance

1. Create an Oracle Instance using the Oradim Utility.

2. Start the instance.

3. Enter the following commands.

NOTE: The number and size of the log files is set by default. Refer to the Oracle manuals for
information on how to create a more robust architecture for the log files.

sqlplus /nolog
connect sys/***** as sysdba (where ***** is the password for sys user)
startup nomount pfile=path\DATAMETRICS.ora
@path\build\createdb_10g.sql
@path\build\dmprep.sql
shutdown
exit

Edit the DATAMETRICS.ora file and add the following line:

UNDO_MANAGEMENT=AUTO

sqlplus /nolog
connect sys/***** as sysdba (where ***** is the password for sys user)
startup pfile=path\DATAMETRICS.ora
@path\catalog.sql
@path\catproc.sql
connect system/***** (where ***** is the password for system user)
@path\pupbld.sql
connect DATAMETRICS/DATAMETRICS (where DATAMETRICS/DATAMETRICS is
the database owner name/password, created in dmprep.sql)
spool dmlog.log
@path\DMBuild.sql
@path\DM_GlobalTempTables.sql
@path\sequence_creation.sql
@path\insert.sql
@path\Oracle_update_500_to_550_0_2.sql
@path\update_550_0_1_values.sql
@path\update_WE_ALARM_550_0_1.sql
@path\Oracle_update_DAR_3_8.sql
@path\DMTriggers_Sps_ora.sql
spool off
exit

Installation Instructions  13
DataMetrics Server Installation Guide

Step 4 – Create Database Users


Enter the following commands for each user:

sqlplus /nolog
Connect DATAMETRICS/DATAMETRICS
create user user name identified by user password;
grant connect to user name;
alter user user name identified by user password
default tablespace temp
default role connect;
commit;
exit

The database is now ready for use by DataMetrics applications.

Recommended Administrative Tasks


It is highly recommended that the following administrative tasks be implemented before and
during use of the database:

 Implement a backup and recovery strategy

 Optimize the database on a regular basis

Backup and Recovery


Please refer to your Oracle documentation for the best backup and recovery model for your
environment. It is important to test the backup and recovery model to make sure that it meets
your requirements.

Optimization of the Database


You need to optimize your database on a regular basis. It is recommended that the database be
optimized at least once a week, though the actual frequency will depend on the amount of data
being changed in the database.

For example, if you are using the DB Tools application to archive/delete large amounts of
data, then the optimization process should be executed right after the DB Tools application
has completed the delete operation. The DB Tools application provides the mechanism to
optimize the database.

Installation Instructions  14
DataMetrics Server Installation Guide

Step 3 – Install the Security Database Connectivity Kit


Once the DataMetrics Database Connectivity Kit has been installed for your database type,
the next step is to run the connectivity kit installation for the Security database. The default
DataMetrics Security Database is a SQL 2008 R2 Express database. DataMetrics security
requires the use of SQL Server 2008 R2 Express or SQL Server 2008 for the database engine.

Security Database Connectivity for Microsoft SQL Server 2008 R2 Express


Customers that run the DataMetrics applications from a SQL Server 2008 R2 Express or
Oracle database will use the connectivity kit instructions below. For customers that use SQL
Server 2008, please refer to the SQL Server section that follows the steps for SQL Express.

To create the security database follow the steps outlined as follows:

1. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your DVD
drive.

2. Click Installation > Applications > Database Connectivity Kit Service.

3. Click Next to move through the installation procedure.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

5. Enter the DSS DVD key exactly as it appears on the DVD case and then click Next. (Note
that Windows XP users may see a dialog box warning them to perform additional procedures
to allow users to connect to the Microsoft SQL Express database.)

6. If presented with the Destination Location screen, click Next to accept the default directory
C:\Program Files\ASI DataMyte) or use the Change button to browse to and select the desired
location.

7. At the Start Copying Files screen, review the current settings displayed and verify they are
correct. If satisfied, click Next to begin the actual file installation. If you want to change any
of the settings, use the Back button to return to previous screens and make changes.

8. If you are installing the SQL Express 2008 R2 engine for the first time a message prompt
appears advising you that a reboot will be required during the installation. Click OK to this
message prompt and then, when prompted, reboot your computer.

9. When logging back in, be sure to login as the same user currently running the installation, and
do not remove the installation DVD. After the computer has been restarted, the installation
continues automatically.

10. Once the installation is completed, remove the installation DVD and store it in a safe place.

Installation Instructions  15
DataMetrics Server Installation Guide

Security Database Connectivity for Microsoft SQL Server 2008


When running a full SQL Server 2008 database environment please follow the steps listed
below to create the Security database:

1. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your DVD
drive.

2. Click Installation > Applications > Database Connectivity Kit Service.

3. Click Next to move through the installation procedure.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

5. Enter the DSS DVD key exactly as it appears on the DVD case and then click Next. (Note
that Windows XP users may see a dialog box warning them to perform additional procedures
to allow users to connect to the Microsoft SQL Express database.)

6. If presented with the Destination Location screen, click Next to accept the default directory
C:\Program Files\ASI DataMyte) or use the Change button to browse to and select the desired
location.

7. At the Start Copying Files screen, review the current settings displayed and verify they are
correct. If satisfied, click Next to begin the actual file installation. If you want to change any
of the settings, use the Back button to return to previous screens and make changes.

8. Open Windows Explorer and browse to the DSS directory. The default path is C:\Program
Files\ASI DataMyte\DBCK\DataMetrics_MSSQL\DSS.

9. Copy the ASIDataMyteAdmin_log.ldf and ASIDataMyteAdmin_data.mdf files to the


drive and directory on the network where the Security database is to be stored.

10. Open the SQL Server Management Studio.

11. Attach the database files to the SQL Server database engine.

12. If the default database name and logon user name/password are not used when attaching the
Security database, make a note of these items as you will need this information when the
Security Service is installed. Defaults are noted below:

Database name: ASIDataMyteAdmin


User name (dbo): sec
Password: sec

13. Once the database files are copied and attached to the SQL Server database engine remove the
installation DVD and store it in a safe place.

Security Database Connectivity for Oracle


The DataMetrics Security database has been designed to run in a Microsoft SQL Server 2008
R2 Express database environment. Please follow the instructions for the SQL Server 2008 R2
Express Security database installation. The Security Connectivity kit must be installed on a
Server or PC that is capable of operating this database platform.

Installation Instructions  16
DataMetrics Server Installation Guide

Step 4 – Install the Security Service


If you are using DataMetrics Security in a MSSQL Server 2008 R2 Express database engine,
you must have run the Security Database Connectivity Kit prior to installing the Security
service. If using MSSQL Server 2008, the ASIDataMyteAdmin database files must be
attached to the database server prior to running this installation. If you have not yet performed
these steps, please refer to the previous sections of this document for information on installing
the Security database.

NOTE: The installation steps below are applicable whether the Security Service is installed
on the same PC that is running the Security database or the service is installed on a remote
PC.

1. Insert the installation DVD into the DVD drive. If the setup program does not automatically
start, click Run from the Start button and specify e:\launch, where 'e' is the letter of your DVD
drive.

2. Click Installation > Applications > Security Service.

3. Follow the prompts on screen to proceed through the installation process.

4. Read the ASI DataMyte, Inc., Software License Agreement and, if you agree with the terms
(and warranty information), select the "I accept…" radio button and click Next.

5. Click the Next button to accept the default Destination Location (i.e. C:\Program Files\ASI
DataMyte) or click the Change button to specify a different directory.

6. Select the Security Database Server. You can use either the default of ‘localhost’ or specify a
custom server name.

 Select localhost when the Security Service is installed on the same PC / Server as the
Security database. When localhost is selected, you may skip to Step 8.

 Select custom when the Security Service is installed on a PC that is remote from the
Security database. When custom is selected, continue to Step 7.
7. Verify that the Security database Server Name and user name and password information is
correct. Make changes as needed to match the database name and login user name and
password for the Security database.

8. A series of Security Policy screens will appear. Fill in the requested information at each.

 Specify the minimum required password length.

 Specify the minimum number of non-alphanumeric characters that must be present in a


password.

 Specify the maximum number of allowed password entry attempts.


9. At the Installation Summary screen, you may either click the Next button to begin copying
files or click the Back button to return to the previous screens and make changes.

10. A message prompt stating "Installation Setup Complete" appears when the installation has
been finished. Click Finish to complete the installation.

11. If not using the default instance, two configuration files will need to be edited. Please contact
ASI DataMyte Technical Support for instructions.

Installation Instructions  17
DataMetrics Server Installation Guide

Step 5 – Install the Licensing Server


After installing the Prerequisites, the Connectivity Kits, and the Security Service, the last step
is to install the server portion of the Licensing component.

Please see the Licensing Installation Guide, accessible from the Documentation menu of the
Installation DVD, for complete information on installing the Licensing component.

Installation Instructions  18
Upgrading a Previous Quantum
or Applied Stats Installation

If you are upgrading a previous installation of Quantum or Applied Stats, there are one or two
additional steps you still need to perform.

 If you are upgrading a Quantum installation, you will need to migrate your database to the
DataMetrics version using the Database Migration Tool (DMT).

 If you are upgrading an Applied Stats installation, you will need to migrate your database
using DMT and then also migrate your existing Applied Stats .app files into the database
using the File Migration tool (FMT).
Please refer to the Quantum & Applied Stats Migration Guide, accessible from the
Documentation menu of the Installation DVD, for complete information on using both of
these tools.

Installation Instructions  19
Support Information

This section contains information on ASI DataMyte maintenance agreements and technical
support.

Technical Support
ASI DataMyte Technical Support experts are only a phone call away. Contact Technical
Support for the following reasons:

 To assist in installing and configuring ASI DataMyte equipment

 To help implement data collection applications

 To help setup and configure gauges, multiplexers and accessories

 To troubleshoot ASI DataMyte equipment or support software


Technical Support is available free of charge during the initial warranty period and to current
SMA customers.

 Phone: 800-207-5631 or 763-553-0455


Call Monday through Friday between 7:30 AM and 4:30 PM Central Standard Time.

 Fax: 763-553-1041
Fax your questions to ASI DataMyte Technical Support at any time. Please include in the
email your name, phone number, the hours you can be reached, and a detailed description
of the problem.

 Email: techsupport@asidatamyte.com
Email your questions to ASI DataMyte Technical Support at any time.

 24/7 Help Desk: http://www.asidatamyte.com


Connect to the 24/7 Help Desk via the ASI DataMyte, Inc. web page.

ASI DataMyte Customer Service


ASI DataMyte Customer Service can be reached at 763-553-1040 Monday through Friday
between 7:30 a.m. and 4:30 p.m. Central Standard Time. Call ASI DataMyte Customer
Service to perform any of the following tasks.

 Place orders

 Return ASI DataMyte equipment for service

 Upgrade ASI DataMyte equipment

 Inquire about the status of an order or repair


To expedite your service, be sure to have your ASI DataMyte customer number and, if
applicable, your SMA contract number ready.

Installation Instructions  20
DataMetrics Server Installation Guide

Support and Maintenance Agreements


Support and Maintenance Agreements (SMA) are available for the full line of ASI DataMyte
hardware and software products. Benefits of an SMA contract include:

 Toll free number for Technical Support and Customer Service, which automatically
prioritizes your call

 Free software/firmware updates/accessories coverage as specified by seller

 Free repair of your ASI DataMyte hardware products

 Free calibration service with certificate, starting the day after we receive the ASI
DataMyte Data Collectors (exception: consult ASI DataMyte for Torque Wrenches, a
NON-ASI DataMyte product)

 Free return shipping on repairs and calibration

 Repair turnaround is three-days, starting the day after we receive the product (exceptions:
multiple Data Collectors of five or more and Torque Wrenches - consult ASI DataMyte for
turnaround time)

 Accessories coverage as specified by seller

 Upgrades at reduced rates and service fee waived

 Increased trade-in values

 Special discounts on training and field service

 Free loaner data collectors if needed during repairs (5xx, 9xx, 3xxx only), subject to
availability
If you have already purchased an SMA contract for this product, this warranty is extended for
the duration expressed in the contract. Please call 763-553-1040 for more information about
ASI DataMyte SMA contracts.

Installation Instructions  21

You might also like