Tech Note 128 Configuring InBatch For Standalone PCs With SQL Server and IndustrialSQL Server

Similar documents
Installing the TCP/IP Network Protocol

Tech Note 53 Configuring the Siemens SINEC H1 CP1413 for Windows NT

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 213 Finding Memory Leaks in Windows 95/98/98SE Using System Monitor

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

8/23/13 Configuring the Wonderware SECS-II/GEM Host Creator (SERIAL-RS232)

8/23/13 Configuring the S7 I/O Server for Windows 95 to Access S7 PLCs Via the Profibus Network

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

CIMHT_006 How to Configure the Database Logger Proficy HMI/SCADA CIMPLICITY

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

SPECIALIST PRACTICE MANAGER

Crystal Reports Installation Guide

Installation Instruction STATISTICA Enterprise Small Business

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

Setting Up the Device and Domain Administration

Jolly Server Getting Started Guide

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

Active Directory Integration for Greentree

Introduction. Back Up the Runtime Database. Application Versions

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Migrating helpdesk to a new server

Immotec Systems, Inc. SQL Server 2005 Installation Document

BSDI Advanced Fitness & Wellness Software

Installing Cobra 4.7

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

How to install FlexiCAD 3

BSDI Advanced Fitness & Wellness Software

Migrating MSDE to Microsoft SQL 2008 R2 Express

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Installation / Migration Guide for Windows 2000/2003 Servers

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Installing SQL Express. For CribMaster 9.2 and Later

Sync your schedule and work orders with SME & Microsoft Outlook

Converting InfoPlus.21 Data to a Microsoft SQL Server 2000 Database

Server Installation, Administration and Integration Guide

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

Using Internet or Windows Explorer to Upload Your Site

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

How to Backup and FTP your SQL database using E2.

Instructions: Configuring Outlook 2003 with Exchange 2010 on the FIUMail

Define ODBC Database Library using Management Console

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

QUANTIFY INSTALLATION GUIDE

InformationNOW SQL 2008 Database Backup and Restoration

RE:Open for SQL Anywhere. Installation Guide. RE:Open for SQL Anywhere Installation Guide 1

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Working with SQL Server Integration Services

Dell Statistica Statistica Enterprise Installation Instructions

8/23/13 Configuring the S7 Server for Windows NT 4.0 to Access S7-400 PLCs via the Siemens CP1613 Card for ISO (Industrial Ethernet)

SpectraPro. SLQ Server databases

OPC Server Machine Configuration

Video Administration Backup and Restore Procedures

How to Back Up and Restore an ACT! Database Answer ID 19211

Juris Installation / Upgrade Guide

Installing Autodesk Vault Server 2012 on Small Business Server 2008

ilaw Installation Procedure

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

FAQs. OneDrive for Business?

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

How To Use Exhange On Outlook On A Pc Or Macintosh Outlook 2007 On Your Pc Or Ipad (For Windows Xp) On Your Ipad Or Ipa (For Your Windows Xp). (For A Macintosh) On A

Setting Up ALERE with Client/Server Data

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Windows 7 Hula POS Server Installation Guide

Installing the BlackBerry Enterprise Server Management Software on an administrator or remote computer

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Technical Support Set-up Procedure

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Virtual Office Remote Installation Guide

AT&T Global Network Client v6.8.0 and Passport IP Setup Instructions for Broadband VPN Access

The purpose of this document is to describe how to connect Crystal Reports with BMC Remedy AR System using ODBC.

4cast Client Specification and Installation

Installation Instruction STATISTICA Enterprise Server

SOFTWARE INSTALLATION INSTRUCTIONS CLIENT/SERVER EDITION AND WEB COMPONENT VERSION 10

FAQs. OneDrive for Business?

BioWin Network Installation

Moving the TRITON Reporting Databases

Installing the Microsoft Network Driver Interface

Jumble for Microsoft Outlook

SQL Express to SQL Server Database Migration Goliath Performance Monitor v11.5

EventTracker: Support to Non English Systems

How To Set Up Dataprotect

Defining an OLEDB Library in SAS Management Console Using Windows Authentication

etoken Enterprise For: SSL SSL with etoken

ThinManager and Active Directory

Installing LearningBay Enterprise Part 2

BusinessObjects Enterprise XI Release 2

Transcription:

Tech Note 128 Configuring InBatch For Standalone PCs With SQL Server and IndustrialSQL Server All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 000763 C reated: November 6, 1998 This Tech Note shows how to set up Wonderware InBatch, IndustrialSQL Server and Microsoft SQL Server to run on a standalone computer. The resulting configuration will allow InBatch to log data to a SQL Server database, as well as allow you to use the InBatch reporting tools to view pre- formatted reports on various batch details that are read from the SQL Server database. Note This Tech Note can also be used when installing InBatch, IndustrialSQL Server and Microsoft SQL Server on more than one node to log InBatch History Data. Procedure Install IndustrialSQL Server and InBatch Install IndustrialSQL Server by following the instructions in the Wonderware FactorySuite System Administrator s Guide, Chapter 3 Installation, which is available on the FactorySuite CD- ROM. When prompted to select the optional components to install for IndustrialSQL Server, select the InSQL AutoStart option. Then, install InBatch by continuing to follow the instructions in the Wonderware FactorySuite System Administrator s Guide, Chapter 3 Installation. Note You must install IndustrialSQL Server first before installing InBatch and configuring InBatch History. Register the Servers on Microsoft SQL Server 1. Run the Microsoft SQL Enterprise Manager from the Microsoft SQL Server 6.5 folder and right-mouse click the SQL 6.5 icon as shown below: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 1/13

2. Select Register Server from the dropdown menu as shown above. The Register Server dialog box will appear: 3. Type in the node name of the local computer in the Server listbox. (If you do not know the node name, you can find out by selecting Network from the Control Panel.) Select Use Trusted Connection. 4. Click the Modify button to complete the registration. (If this is a new server, you will see a Register button in place of the Modify button, of which you should click instead.) 5. Register one more server by entering the name LOCAL in the Server listbox. Again, select Use Trusted Connection. Click the Register button to complete the registration. 6. Complete the configuration of InBatch History as described in Chapter 3 of the FactorySuite System Administrator s Guide. You will need to complete all six steps https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 2/13

described in the manual. (Note that the procedure assumes the Server name is called "Zeus." Substitute the name entered in step 2 above for Zeus in the Administrator s Guide.) Configure Microsoft SQL Server This section describes how to configure the various features of Microsoft SQL Server so they will work with InBatch and IndustrialSQL Server. Configure the Security for SQL Serv er 1. Start up Microsoft SQL Enterprise Manager and click on the SQL Server icon that has the same node name as your computer as shown below (example: ANDREW300). It s the one with the traffic light icon. 2. Right- mouse click the Logins folder as shown above and select New Login. The Manage Logins dialog box will appear: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 3/13

3. Enter in the Login Name listbox the name of the person that will be accessing the SQL Server database from InBatch. Enter the password for that user in the Password listbox and keep the default for the Default Language, if desired. Click the Add button when finish. 4. Go back to the Microsoft SQL Enterprise Manager window and expand the Databases folder, then the IBHistory database icon, then the Group/Users folder as shown below: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 4/13

5. Right- mouse click the IBAdmin group as shown above and select New User. The Manage Users dialog box will appear: 6. Enter the same user name in the User Name listbox that was entered in step 3. Select the correct Login and Group from the dropdown lists and click the Add button, then click the Close button to exit. The User Name should appear in the Microsoft SQL Enterprise https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 5/13

Manager window under the IBAdmin group icon as shown here: 7. Go back to the Microsoft SQL Enterprise Manager window and expand the IBArchive database icon, then the Groups/Users folder. Right- mouse click the IBAdmin group as shown in step 4 and select New User. 8. Add the same User Name to the IBAdmin group under the IBArchive database by repeating step 5. C onfigure the SQL C lient C onfiguration Utility 1. Start up the Microsoft SQL Server Client Configuration utility from the Microsoft SQL Server 6.5 folder. The SQL Server Client Configuration Utility window will appear: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 6/13

2. Click the Net Library tab as shown above and verify that Named Pipes is selected for the Default Network. 3. Click the Advanced tab and verify that three entries are displayed in the Current Entries list: one that says "<local node name>_bd", another that says "LOCAL" and a third that says "InSQL." An example is shown here: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 7/13

4. If any of the three entries in the Current Entries list do not exist, then you will need to add them by entering the appropriate values in the Server, DLL Name and Connection String listboxes and clicking the Add/Modify button. Below are some example entries. Note that the values you enter may vary from what is listed in the examples below. C onfigure the Mic rosoft OD BC D atabase Administrator 1. Open the Control Panel window and double- click the ODBC program icon. The ODBC Data Source Administrator dialog box will appear: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 8/13

2. Click the System DSN tab as shown above. 3. Verify that the following four data sources exist in the System Data Sources list: InBatch History MDB, InBatch History Server, InSQL and LocalServer. (Note that the names for these four data sources are case sensitive.) 4. Click the Add button to add any missing data source names. Below are some example entries. Note that the values you enter may vary from what is listed below. When finished, click the Apply button, then the OK button. (If you don t need to add any missing data sources, then click the OK button.) 5. The InBatch History MDB entry provides access to the Microsoft Access database, which is a backup to Microsoft SQL Server in case the connection to the SQL server is lost. This is useful only if the InBatch History Database (that is Microsoft SQL Server) is located on a different computer. We recommend that you go ahead and configure the DSN for InBatch History MDB anyway. 6. Here are the example entries for the InBatch History MDB data source: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 9/13

7. Here are the example entries for the InBatch History Server data source: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 10/13

8. Here are the example entries for the InSQL data source: 9. And here are the example entries for the LocalServer data source: https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 11/13

Running the InBatch History Administration Utility The InBatch History Administration utility is used to record the user that will use the Batch Manager to log onto Microsoft SQL Server. Start up the InBatch History Administration utility by selecting the History Administration application from the InBatch Server program folder. The History Administration dialog box will appear: Enter the same User Name and Password that was created in step 3 under the section "Configure the Security for SQL Server." The Domain should be the node name of the local computer. Click the OK button when finished. Note For more information on the InBatch History Administration utility, see the Wonderware InBatch User s Guide, which is available on the FactorySuite CD- ROM that includes the InBatch component. https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 12/13

Testing InBatch With SQL Server and IndustrialSQL Server Microsoft SQL Server, the ODBC Data Source and IndustrialSQL Server should all now be configured to run with InBatch data logging. Follow these steps to ensure that the InBatch data is being logged correctly in Microsoft SQL Server: 1. Copy the demonstration configuration file, InBatch\cfg\ibDemoDB, to the directory InBatch\cfg\config_A and start up the InBatch Environmental Display. 2. Select Start InBatch Runtime Services from the InBatch menu. There should be no errors in the logger on failing to connect to Microsoft SQL Server. Also, you should see the Batch Manager service transitioning to the running state. 3. Schedule a batch through BatchSched and run the batch to completion through BatchDspl. 4. Clean up the schedule through BatchSched and start the ReportDispl. 5. Select Open from the File menu and select B_MatlInputs.rpt. You should see a dialog box prompting you for the Campaign ID. Keep the default "*" value and click the OK button. 6. You should see a report that displays all the manual inputs to the demonstration recipe. This report proves that Microsoft SQL Server is working properly with InBatch. If the report is missing, verify the steps shown in this Tech Note or contact your local Wonderware distributor or Wonderware Technical Support. A. Brodie and R. Ekstein The Tech Note is published occasionally by Wonderware Technical Support. Editors: Sabrina Abercromby and Kelly Hauser; Publisher: Wonderware C orporation, 100 Technology Drive, Irvine C A 92618. There is also technical information on our software products at Wonderware Technical Support, our WonderFax fax-ondemand system at (949) 450-5050, and the C omprehensive Support Knowledge Base. For technical support questions, send an e-mail to support@wonderware.com. back to top 2013 Wonderware C orporation. All rights reserved. Terms of Use. https://wdnresource.wonderware.com/support/kbcd/html/1/config37.htm 13/13