sql server 2008 - imagine communications server 2008 adc installation reference about this document...

47
ADC Installation Reference SQL Server 2008 8-April-2014

Upload: dangdien

Post on 23-Mar-2018

233 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

ADC Installation Reference

SQL Server 2008 8-April-2014

Page 2: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference

Publication Information © 2014 Imagine Communications Corp. Proprietary and Confidential. Imagine Communications considers this document and its contents to be proprietary and confidential. Except for making a reasonable number of copies for your own internal use, you may not reproduce this publication, or any part thereof, in any form, by any method, for any purpose, or in any language other than English without the written consent of Imagine Communications. All others uses are illegal. This publication is designed to assist in the use of the product as it exists on the date of publication of this manual, and may not reflect the product at the current time or an unknown time in the future. This publication does not in any way warrant description accuracy or guarantee the use for the product to which it refers. Imagine Communications reserves the right, without notice to make such changes in equipment, design, specifications, components, or documentation as progress may warrant to improve the performance of the product.

Trademarks Product names and other brands (such as ADC™, D-Series™, Nexio®, Nexio® Insight, Nexio® Motion, PowerSmart®, Versio™) are trademarks or trade names of Imagine Communications or its subsidiaries. Microsoft® and Windows® are registered trademarks of Microsoft Corporation. All other trademarks and trade names are the property of their respective companies.

Contact Information Imagine Communications has office locations around the world. For domestic and international location and contact information see: http://www.imaginecommunications.com/contact-us/

Support Contact Information For domestic and international support contact information see: Support Contacts: http://www.imaginecommunications.com/services/technical-support/

eCustomer Portal: http://support.imaginecommunications.com

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 2 of 47

Page 3: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Contents

Contents About this Document................................................................................... 4

Summary ................................................................................................................................................... 4 Audience Assumptions ......................................................................................................................... 4

Installation Prerequisites ........................................................................................................................... 4 File Server Limitation ............................................................................................................................ 4

Hardware/Software Requirements............................................................................................................ 5 Database File Server Requirements .................................................................................................... 5

Installing SQL Server 2008 ......................................................................... 7 Before installing SQL Server 2008 ........................................................................................................... 7 Installing SQL Server 2008 ....................................................................................................................... 7

Install SQL Server 2008 ....................................................................................................................... 7 Enabling the Named Pipes Communications Protocol ........................................................................... 17 Create the SQL 2008 Database ............................................................................................................. 19

Create the Database .......................................................................................................................... 19 Create Database Users and Permissions .......................................................................................... 21 About Notification Agent ..................................................................................................................... 22 Create Notification Agent Database Permissions .............................................................................. 23 Add Content Column to ASDB ........................................................................................................... 24

Restoring an SQL Server Database Backup into SQL Server 2008 ...................................................... 25 Restoring a Database Backup file into SQL Server 2008 .................................................................. 25 Update Database Users and Permissions ......................................................................................... 29 About Notification Agent ..................................................................................................................... 30 Upgrade Notification Agent Database Permissions ........................................................................... 31

Creating an SQL Server 2000 Database Backup ................................................................................... 32 Creating a Database Backup file ........................................................................................................ 32

Creating an SQL Server 2005 Express Database Backup ..................................................................... 35 Creating a Database Backup file ........................................................................................................ 35

Configuring ODBC Data Sources ........................................................................................................... 39 Configuring ODBC Data Sources using an IP Address ..................................................................... 40

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 3 of 47

Page 4: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference About this Document

About this Document

Summary This Installation Reference was created when installing Microsoft SQL 2008 on an ADC™ Fileserver running Windows 2008 Server OS.

Audience Assumptions This document makes the following audience assumptions:

System Operator level user

Proper user access authorizations are set up.

Experience with Windows Operating systems.

Experience with broadcast operations and systems.

Experience installing Microsoft applications and database applications.

Authorized Training has been provided on this application and the user has successfully completed this training.

Installation Prerequisites The following applications are required for this installation and can be downloaded from the Microsoft web site.

Microsoft Windows Installer 4.5 or later

.NET Framework v3.5

Microsoft SQL Server 2008 Standard Edition w/ SP2

LIMITATION: The standard version SQL2008 cannot be run on the standard version of Server2008R2.

File Server Limitation The pre-R2 MS SQL Server 2008 database and MS SQL Server 2008 R2 database can be run on the pre-R2 version of Windows Server 2008 operating system.

However, this changes when upgrading to Windows Server 2008 R2 operating system:

The pre-R2 MS SQL Server 2008 database cannot be run on Windows Server 2008 R2 operating system.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 4 of 47

Page 5: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference About this Document

MS SQL Server 2008 R2 database must be run when using Windows Server 2008 R2 operating system.

Hardware/Software Requirements The following table presents hardware and software requirements for installing SQL Server 2008 on the ADC Database File Server computer.

Database File Server Requirements Note: Customers supplying or upgrading third-party products or hardware should verify with the manufacturer the minimum required hardware and Operating System specifications. (Please note 32-bit and 64-bit versions may have different requirements.)

Note: Customers supplying or upgrading their own workstation or File Server hardware for Imagine Communications automation products must ensure they meet Imagine Communications recommended minimum hardware specifications. Please contact Automation Technical support for more information.

Type Requirements

Hardware Processor - Minimum: 1GHz (x86 processor) or 1.4GHz (x64 processor) - Recommended: 2GHz or faster - Note: An Intel Itanium 2 processor is required for Windows Server

2008 for Itanium-Based Systems Memory

- Minimum: 512MB RAM - Recommended: 2GB RAM or greater - Maximum (32-bit systems): 4GB (Standard) or 64GB (Enterprise

and Datacenter) - Maximum (64-bit systems): 32GB (Standard) or 1TB (Enterprise,

Datacenter) and 2TB (Itanium-Based Systems) Available Disk Space

- Minimum: 10GB - Recommended: 40GB or greater - Note: Computers with more than 16GB of RAM will require more

disk space for paging, hibernation, and dump files Drive

- DVD-ROM drive Display and Peripherals

- Super VGA (800 x 600) or higher-resolution monitor - Keyboard - Microsoft Mouse or compatible pointing device

Software Media Client release 3.16.3.0 or higher Air Client release 3.26.3.0 or higher

Operating System Windows Server 2008 w/SP2 - Using NetBIOS-Over-TCP/IP

Configuration Parameters

Set up the system to use ODBC

Network Interface Card

Intel NIC (82576 Gigabit Dual Port Network Connection) An Additional Intel NIC (Pro/1000 PT Desktop Adapter) may be required

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 5 of 47

Page 6: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference About this Document

Type Requirements for systems connecting to an external network. When communicating via NETBIOS over TCP/IP a Gigabit NIC and Switch is required

Network Software Stand-alone named and default instances support the following network protocols: Shared memory, TCP/IP, and Named Pipes.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 6 of 47

Page 7: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

Installing SQL Server 2008

Before installing SQL Server 2008 Windows Server 2008 should be updated to the most recent Service Pack and updated with the most recent Updates Before installing SQL Server 2008. These are available through Windows Updates.

For details on the installation of Windows Server 2008 refer to “Windows Server 2008 Install Guide”.

Installing SQL Server 2008 IMPORTANT: SQL Server 2008 will NOT install without having the .NET v3.5 installed in the computer. Ensure .NET v3.5 is installed prior to proceeding to SQL Server 2008.

Install SQL Server 2008 1. Load the Microsoft SQL Server 2008 DVD, browse to its directory, and double click on

setup.exe:

2. Wait until SQL Server 2008 R2 Setup processes the current operation:

3. When the SQL Server Installation Center opens click on Installation.

4. Click on New installation or add features to existing installation.

5. Wait until SQL Server 2008 R2 Setup processes the current operation.

6. Verify that all of the Setup Support Rules passed and click OK

7. Wait until SQL Server 2008 R2 Setup processes the current operation.

8. Enter the product key and click Next:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 7 of 47

Page 8: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

9. Accept the license terms and click Next.

10. Click Install on the Setup Support Files screen and its Status goes to In Progress:

11. Verify that all of the Setup Support Rules passed and click Next:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 8 of 47

Page 9: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

12. On the Setup Role screen select SQL Server Feature Installation and then press Next.

13. On the Feature Selection screen Enable (check): Database Engine Services, Client Tools Connectivity, Client Tools Backwards Compatibility, Management Tools – Basic, Management Tools - Complete, and then click Next:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 9 of 47

Page 10: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

14. On the Installation Rules screen, if desired, view the result of the rules processing. When ready press Next.

15. Verify that Default Instance is selected on the Instance Configuration screen and click Next:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 10 of 47

Page 11: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

16. Click Next on the Disk Space Requirements screen:

17. On the Service Accounts tab of the Server Configuration screen set the:

• SQL Server Agent to NT AUTHORITY\SYSTEM • SQL Server Database Engine to NT AUTHORITY\SYSTEM • SQL Server Browser to NT AUTHORITY\LOCAL SERVICE • SQL Server Agent and SQL Server Browser Startup Types to Automatic

18. On the Collation tab of the Server Configuration screen, click Customize in the Database Engine area, select SQL collation, used for backwards compatibility, choose SQL_Latin1_General_CP1_CS_AS, and click OK:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 11 of 47

Page 12: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

19. On the Collation tab of the Server Configuration screen, click Customize in the Analysis Services area, select Windows collation designator and sort order, choose Latin1_General, enable (check) Case-sensitive, enable Accent-sensitive, and click OK:

20. Click Next on the Server Configuration screen:

21. On the Account Provisioning tab of the Database Engine Configuration screen:

• Select Mixed Mode. • Enter HarrisDB1 (case sensitive) in the Enter password area. • Enter HarrisDB1 (case sensitive) in the Confirm password area. • Click on Add Current User in Specify SQL Server administrator’s area. • Click Next on the Database Engine Configuration screen.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 12 of 47

Page 13: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

22. On the Data Directories tab of the Database Engine Configuration screen ensure the following are correctly specified.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 13 of 47

Page 14: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

23. Verify that the Error Reporting checkbox is not enabled and click Next.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 14 of 47

Page 15: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

24. Verify that all of the Installation Rules passed and click Next:

25. Click Install on the Ready to Install screen:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 15 of 47

Page 16: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

26. Click Next on the Installation Progress screen after the Setup Process area displays as completed:

27. Click Close on the Complete screen:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 16 of 47

Page 17: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

28. The SQL Server 2008 installation is now complete.

Enabling the Named Pipes Communications Protocol

The Named Pipes Communications Protocol is not enabled when installing SQL Server 2008. This Communications Protocol must be enabled before client computers can connect to the SQL Server 2008 Database via Named Pipes.

Enable the Named Pipes Communications Protocol 1. Select Start\All Programs\Microsoft SQL Server 2008\Configuration Tools\SQL

Configuration Manager:

2. Expand SQL Server Network Configuration, select Protocols for MSSQLSERVER, select Named Pipes, right click, and select Properties:

3. Set Enabled to Yes:

4. Click Apply, and OK the Warning:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 17 of 47

Page 18: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

5. Click OK:

6. Verify that Named Pipes is now Enabled:

7. Select SQL Server Services\SQL Server (MSSQLSERVER), right click, and select Restart:

8. This SQL Service will be Stopped:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 18 of 47

Page 19: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

9. This SQL Service will be Started again:

10. Close the SQL Configuration Manager after this Service has completely re-started.

Create the SQL 2008 Database If this is a new system it is now time to create the SQL Database.

If this is an upgrade from SQL 2000 or SQL 2005 Express please go to the section on Restoring an SQL Server Database Backup into SQL Server 2008.

The SQL script CreateDB_SQL_2008.sql is provided to create an SQL Server ODBC-compliant database. Use the CreateDB_SQL_2008.sql script to create the SQL Database.

Note: Database Servers can have single or multiple partitions. Database Servers are shipped with two partitions (\C: and \D:). If required, change the following section (Global variables: @PathName) in the create database script to C:\DATABASE, D:\DATABASE, or whatever is needed. -- Global variables

declare @PathName varchar(132) set @PathName = N'C:\DATABASE'

declare @DatabaseName varchar(132) set @DatabaseName = N'ASDB'

declare @SpotTableName varchar(132) set @SpotTableName = N'ASDB'

declare @SegmentTableName varchar(132) set @SegmentTableName = N'ASSEG'

declare @AdditionalTableName varchar(132) set @AdditionalTableName = N'ASEXT'

Create the Database 1. Create a Folder on the D: Drive named Database.

2. Select Start\Programs\Microsoft SQL Server 2008\SQL Server Management Studio:

3. Click Connect: Note: Your Server Name might be different than the one shown in the image.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 19 of 47

Page 20: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

4. Select File\Open File…:

5. Browse to the directory containing the SQL Scripts, highlight CreateDB_SQL_2008.sql, and then click Open.

6. Click Execute:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 20 of 47

Page 21: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

7. Verify in the Messages area that the Command (s) completed successfully:

Create Database Users and Permissions The SQL script CreateUser_SQL_2008.sql is provided to create Users and Permissions for an SQL Server ODBC-compliant database. Use the CreateUser_SQL_2008.sql script to create Users and Permissions.

IMPORTANT: If Notification Agent will be used with this ADC System then an additional script, CreatePermissions_NA_SQL_2008.sql, will need to be executed to create NA Permissions after Notification Agent has been installed.

1. Select File\Open\File…:

2. Browse to the directory containing the SQL Scripts, highlight CreateUser_SQL_2008.sql, and click Open:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 21 of 47

Page 22: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

3. Click Execute:

4. Verify in the Messages area that the Command (s) completed successfully:

5. Close the SQL Server Management Studio.

About Notification Agent Note: If Notification Agent will be not used with this ADC System then you may skip the Create Notification Agent Database Permissions section and proceed to Configuring ODBC Data Sources.

IMPORTANT: If Notification Agent will be used with this ADC System, then NA should be installed now on the File Server. Notification Agent must be installed prior to Creating Notification Agent Database Permissions. For instructions on installing Notification Agent, please the Notification Agent Installation and Operations Guide. If additional assistance is required, please contact Automation Support.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 22 of 47

Page 23: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

Create Notification Agent Database Permissions The SQL script CreatePermissions_NA_SQL_2008.sql is provided to create Notification Agent Permissions for an SQL Server ODBC-compliant database. Use the CreatePermissions_NA_SQL_2008.sql script to create NA Permissions.

1. Select File\Open File…:

2. Browse to the directory containing the SQL Scripts, highlight CreatePermissions_NA_SQL_2008.sql, and click Open:

3. Click Execute:

4. Verify in the Messages area that the Command (s) completed successfully:

5. Close the SQL Server Management Studio. © 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 23 of 47

Page 24: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

Add Content Column to ASDB For ADC v12.18 and higher the SQL script ASDB_Add_Column.sql is provided to add a new field into the database that is used to carry the additional descriptor about the material.

For example: If it was a single spot this descriptor could define if the material was a commercial, promo, PSA, etc.. If it was a multi-spot, it could define if it was a movie, sports, news, etc.

IMPORTANT: This new field is used in conjunction with Media Client’s Properties > Content Menu configuration, the Media tab Content name field, and Air Client’s ability to set color states that can be displayed for events.

1. If not already done, copy the new .sql script to the directory containing the other SQL Scripts.

2. Select File\Open\File…:

3. Browse to the directory containing the SQL Scripts, highlight ASDB_Add_Column.sql, and click Open:

4. Click Execute:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 24 of 47

Page 25: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

5. Verify in the Messages area that the Command (s) completed successfully:

6. Close the SQL Server Management Studio.

Restoring an SQL Server Database Backup into SQL Server 2008

A backup of the current SQL Server 2000 or SQL Server 2005 Express Database is needed for migration into the new SQL Server. See the Creating an SQL Server 2000 Database Backup or Creating an SQL Server 2005 Database Backup section if you do not have a current Database backup file.

This section describes how to restore an ASDB.bak Database backup file into SQL Server 2008.

Restoring a Database Backup file into SQL Server 2008 1. Create a Folder on the D: Drive named Database.

2. Select Start\Programs\Microsoft SQL Server 2008\SQL Server Management Studio Express:

3. On the ‘Connect to Server’ dialog, click Connect:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 25 of 47

Page 26: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

4. Expand the SQL Server, highlight Databases, right click, and select Restore Database…:

5. In the Destination to Restore area of the Restore Database - ASDB window enter ASDB in the To database field:

6. In the Source for restore area of the Restore Database - ASDB window select From device, and click on the ellipsis, (…):

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 26 of 47

Page 27: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

7. In the Specify Backup window click Add, browse to the location of the ASDB.bak Database backup file, highlight it, and click OK:

8. Click OK in the Specify Backup window:

9. Enable, (check), Restore for the ASDB-Full Database Backup in the Select the backup sets to restore area and then click on Options:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 27 of 47

Page 28: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

10. Enable (check) “Overwrite the existing database” and verify in the Restore the database files area that the ASDB_dat and ASDB _log files are configured to the D:\DATABASE directory. If they are not set there by default, manually configure the files to this directory. When finished, click OK:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 28 of 47

Page 29: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

11. Click OK in the confirmation window:

Update Database Users and Permissions The SQL script UpgradePermissions_ADC_SQL_2008.sql is provided to update Users and Permissions for an SQL Server ODBC-compliant database. Use the UpgradePermissions_ADC_SQL_2008.sql script to update Users and Permissions.

IMPORTANT: If Notification Agent was installed and used with this ADC System then an additional script, UpgradePermissions_NA_SQL_2008.sql, will also need to be executed to update Notification Agent Permissions.

1. Select File\Open\File…:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 29 of 47

Page 30: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

2. Browse to the directory containing the SQL Scripts, highlight UpgradePermissions_ADC_SQL_2008.sql, and click Open:

3. Click Execute:

4. Verify in the Messages area that the Command (s) completed successfully:

5. Close the SQL Server Management Studio.

About Notification Agent Note: If Notification Agent was not installed and used with this ADC System then you do not need to perform the operations described in the Upgrade Notification Agent Database Permissions section.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 30 of 47

Page 31: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

IMPORTANT: If Notification Agent was installed and used with this ADC System then NA should be installed now on the File Server. Notification Agent must be installed prior to Upgrading Notification Agent Database Permissions. For instructions on installing Notification Agent, please the Notification Agent Installation and Operations Guide. If additional assistance is required, please contact Automation Support.

Upgrade Notification Agent Database Permissions The SQL script UpgradePermissions_NA_SQL_2008.sql is provided to upgrade Notification Agent Permissions for an SQL Server ODBC-compliant database. Use the UpgradePermissions_NA_SQL_2008.sql script to upgrade Notification Agent Permissions.

1. Select File\Open File…:

2. Browse to the directory containing the SQL Scripts, highlight UpgradePermissions_NA_SQL_2008.sql, and click Open:

3. Click Execute:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 31 of 47

Page 32: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

4. Verify in the Messages area that the Command (s) completed successfully:

5. Close the SQL Server Management Studio.

Creating an SQL Server 2000 Database Backup A backup of the current SQL Server 2000 Database must be created for migration into the new SQL Server 2008 Database. This section describes how to create an ASDB.bak Database backup file.

Creating a Database Backup file 1. Select Start\Programs\Microsoft SQL Server\Enterprise Manager:

2. Expand Microsoft SQL Servers, expand Databases, highlight ASDB, right click, select All Tasks, and select Backup Database…:

3. In the SQL Server Backup - ASDB window verify that ASDB is entered for Database and ASDB backup is entered for Name:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 32 of 47

Page 33: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

4. In the Backup area of the SQL Server Backup - ASDB window verify that Database - complete is selected:

5. Click Add… in the Destination area of the SQL Server Backup - ASDB window:

6. Select File name in the Select Backup Destination window and click on its ellipsis, (…):

7. Browse to the Database Backup directory, enter ASDB.bak, and click OK:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 33 of 47

Page 34: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

8. Click OK in the Select Backup Destination window:

9. Click OK in the SQL Server Backup - ASDB window:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 34 of 47

Page 35: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

10. Click OK in the SQL Server Enterprise Manager window:

11. Close the SQL Server Enterprise Manager.

Creating an SQL Server 2005 Express Database Backup

A backup of the current SQL Server 2005 Express Database must be created for migration into the new SQL Server 2008 Database. This section describes how to create an ASDB.bak Database backup file.

Creating a Database Backup file 1. Select Start\Programs\Microsoft SQL Server 2005\SQL Server Management Studio

Express:

2. Enter the Server name and then click Connect:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 35 of 47

Page 36: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

3. Expand the SQL Server, expand Databases, highlight ASDB, right click, select Tasks, select Back Up…:

4. In the Source area of the Back Up Database - ASDB window verify that ASDB is entered for Database, Full is entered for Backup type, and that Database is selected for the Backup component:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 36 of 47

Page 37: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

5. In the Backup set area of the Back Up Database - ASDB window verify that ASDB-Full Database Backup is entered for Name, After is selected for Backup set will expire, and that 0 is entered for After:

6. In the Destination area of the Back Up Database - ASDB window click on Add…, in the Select Backup Destination window click on the ellipsis, (…), browse to and select the Destination directory for the Backup, enter ASDB.bak as the File name, and click OK:

7. Click OK in the Select Backup Destination window:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 37 of 47

Page 38: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 38 of 47

Page 39: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

8. Click OK in the Back Up Database - ASDB window:

9. Click OK in the Backup confirmation window:

10. Close SQL Server Management Studio Express.

Configuring ODBC Data Sources This section describes how to configure Client Computers for ODBC connectivity to SQL Server 2008. TCP/IP or Named Pipes ODBC connectivity can be configured using the IP Address or the Computer Name of the File Server. The Windows Firewall must be disabled for Automation ODBC connectivity.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 39 of 47

Page 40: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

Configuring ODBC Data Sources using an IP Address 1. Select Start\Settings\Control Panel\Administrative Tools\Data Sources (ODBC):

2. Select the System DSN tab and click Add:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 40 of 47

Page 41: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

3. Scroll down and select SQL Server:

4. Click Finish:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 41 of 47

Page 42: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

5. Enter ASDB in the Name field, the File Server IP Address in the Server field, then click Next: Note: The IP address can be replaced with the computer name.

6. Click Client Configuration:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 42 of 47

Page 43: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

7. Select TCP/IP, verify that the File Server IP Address is in the Server alias and Server name fields, and then click OK: Note: The IP address can be replaced with the computer name.

8. Or select Named Pipes, verify that the File Server IP Address is in the Server alias and Server name fields, and then click OK: Note: The IP address can be replaced with the computer name.

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 43 of 47

Page 44: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

9. Select “With SQL Server authentication using a login ID and password entered by the user”, enter HarrisDB (this is case sensitive) into the Login ID and Password fields, and then click Next: IMPORTANT: The Login ID and Password are case sensitive.

10. Check “Change the default database to:”, ensure ASDB is selected, and then click Next:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 44 of 47

Page 45: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

11. Click Finish:

12. Click Test Data Source:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 45 of 47

Page 46: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

13. Verify that the Tests Completed Successfully, then click OK:

14. Click OK:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 46 of 47

Page 47: SQL Server 2008 - Imagine Communications Server 2008 ADC Installation Reference About this Document About this Document Summary This Installation Reference was created when installing

SQL Server 2008

ADC Installation Reference Installing SQL Server 2008

15. Click OK:

© 2014 Imagine Communications Corp. Proprietary and Confidential 8-April-2014 | Page 47 of 47