MS SQL Server Database Management



Similar documents
QUANTIFY INSTALLATION GUIDE

Avatier Identity Management Suite

Training module 2 Installing VMware View

Video Administration Backup and Restore Procedures

Moving the TRITON Reporting Databases

Migrating helpdesk to a new server

Creating a New Database and a Table Owner in SQL Server 2005 for exchange@pam

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

WhatsUp Gold v16.1 Installation and Configuration Guide

How to Copy A SQL Database SQL Server Express (Making a History Company)

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

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

Moving a Romexis Database to an Existing SQL Instance

PROJECTIONS SUITE. Database Setup Utility (and Prerequisites) Installation and General Instructions. v0.9 draft prepared by David Weinstein

Migrating TimeForce To A New Server

Setup and configuration for Intelicode. SQL Server Express

NovaBACKUP xsp Version 15.0 Upgrade Guide

WhatsUp Gold v16.2 Installation and Configuration Guide

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Installing SQL Express. For CribMaster 9.2 and Later

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

4cast Server Specification and Installation

Crystal Reports Installation Guide

Using SQL-server as database engine

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

Upgrade ProTracker Advantage Access database to a SQL database

DigiVault Online Backup Manager. Microsoft SQL Server Backup/Restore Guide

Installing LearningBay Enterprise Part 2

InformationNOW SQL 2008 Database Backup and Restoration

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

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

FmPro Migrator - FileMaker to SQL Server

Restoring Sage Data Sage 200

WhatsUp Gold v16.3 Installation and Configuration Guide

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Windows Clients and GoPrint Print Queues

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

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

Moving the Web Security Log Database

Backup / migration of a Coffalyser.Net database

NSi Mobile Installation Guide. Version 6.2

Backup/Restore Microsoft SQL Server 7.0 / 2000 / 2005 / 2008

Basic SQL Server operations

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

LAE 5.1. Windows Server Installation Guide. Version 1.0

1 of 10 1/31/2014 4:08 PM

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

Migrating MSDE to Microsoft SQL 2008 R2 Express

WhatsUp Gold v16.2 Database Migration and Management Guide

SQL Server 2008 R2 Express Edition Installation Guide

Moving/Restoring the StarShip SQL database

Immotec Systems, Inc. SQL Server 2005 Installation Document

These notes are for upgrading the Linko Version 9.3 MS Access database to a SQL Express 2008 R2, 64 bit installations:

SAM Server Utility User s Guide

IIS, FTP Server and Windows

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express

E-Notebook SQL13.0 Desktop Migration and Upgrade Guide

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Installing The SysAidTM Server Locally

Table of Contents SQL Server Option

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

0651 Installing PointCentral 8.0 For the First Time

Microsoft SQLServer Restore / Redirected Restore Procedure

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

9. Database Management Utility

ilaw Installation Procedure

ecopy ShareScan 5.0 SQL installs guide

VoIPon Tel: +44 (0) Fax: +44 (0)

National Fire Incident Reporting System (NFIRS 5.0) NFIRS Data Entry/Validation Tool Users Guide

Upgrade Guide BES12. Version 12.1

Database Configuration Guide

Enterprise Server Setup Guide

Nexio Connectus Cluster Set Up with SQL Server Backend

2.3 - Installing the moveon management module - SQL version

Integrating LANGuardian with Active Directory

Linko Software Express Edition Typical Installation Guide

NovaBACKUP xsp Version 12.2 Upgrade Guide

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

SEER Enterprise Shared Database Administrator s Guide

FaxCore Ev5 Database Migration Guide :: Microsoft SQL 2008 Edition

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Password Reset Server Installation Guide Windows 8 / 8.1 Windows Server 2012 / R2

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

3 Setting up Databases on a Microsoft SQL 7.0 Server

Cloud Services ADM. Agent Deployment Guide

Installing T-HUB on multiple computers

mylittleadmin for MS SQL Server Quick Start Guide

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Installation Instruction STATISTICA Enterprise Server

Configuring the Active Directory Plug-in

Version 4.61 or Later. Copyright 2013 Interactive Financial Solutions, Inc. All Rights Reserved. ProviderPro Network Administration Guide.

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

Install MS SQL Server 2012 Express Edition

NovaBACKUP Central Management Console

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

Transcription:

MS SQL Server Database Management Contents Creating a New MS SQL Database... 2 Connecting to an Existing MS SQL Database... 3 Migrating a GoPrint MS SQL Database... 5 Troubleshooting... 11 Published April 2011 GoPrint Systems 2011 GoPrint Systems, Inc., All rights reserved. One Annabel Lane, Suite 105 San Ramon, CA 94583 (925)790-0070 Fax: (925)790-0071 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 1

MS SQL Server 2005/2008 Database Important: Currently GoPrint supports SQL Authentication Two methods are available when creating a new database. The first method involves using the GoPrint Control Node to create a new MS SQL database. The second is connecting to an existing MS SQL Database. The GoPrint Node Control Center is a web-based administrative feature used to create and manage database connections. To create a new GoPrint database, from the server open a browser and enter: https://localhost:7767 This will bring up the GoPrint Node Control Center: Click Configure Database Step 1 Create Database Make the necessary changes: ODBC Driver: Select JDBC: SQL Server (JTDS) Server: enter hostname Database Name: goprint User ID: sa Password: xxx123 Click: Create Database Note: If using virtual SQL Server instances, add ';instance=xxx' to the Database setting where xxx is an instance name. If using a non-standard port then add a colon and the port number on the end of the server name field: jdbc:sqlserver://server:9999/dbname 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 2

Step 2 - Start the GTX Services To start the GTX service click Services then press the Start button Connecting to an existing MS SQL Database When it s necessary to create and connect to a MS SQL database using some other SQL user account instead of the built-in sa account, then the following steps must be performed: Step 1 - Create a new database in MS SQL Server Step 2 Create the SQL user account 1. Check SQL Server Authentication 2. Uncheck Enforce password expiration and User must change password at next login 3. Set the users Default database to the newly created goprint database 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 3

Step 3 Set the appropriate User Mapping 1. Map the user login to the goprint database 2. Grant the dbo_owner role for the user Step 4 Set the database connection Note: Since the database has previously been created in MS SQL Server the Create a Database option is skipped in favor of simply testing the connection. Make the necessary changes: JDBC Driver: JDBC:SQL Server (jtds) Server: Remote DB Server name Database Name: Goprint DB User ID: SQL username Password: Password Click Test Connection A Connection Successfully Made! message should appear 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 4

Step 5 Populate the Database Tables At this point, it s necessary to populate the empty database with the GoPrint tables. To do so, navigate to the Services section and start the GTX Service. Doing so, will run the database creation scripts in the background and therefore create the required tables. Migrating a GoPrint database to a new SQL Server Version: MS SQL Server 2005-2008 Overview: The task involves backing up the existing database, moving it to the new server, then creating a new database and restoring the contents of the back up to the newly created database. Step 1: Open Microsoft SQL Server Management Studio Step 2 Back up the existing database Right- click the database and select: Tasks- Back Up 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 5

The Back up Database Dialog box appears: Select: 1 Backup type: Full 2 Destination: Backup to: Disk Click the Add button Select the path and file name for the database back up file. Navigate to the directory where the database is saved and copy and paste to the new server. 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 6

Step 3 - Create a new database on the new server using the SAME exact database name as used on the current server. Step 4 - Use the Restore option to restore the back up to the new database 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 7

Press the Add button to locate the path to the back up file. Select the From Device radio button then check the Restore checkbox 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 8

Important: it s required to check: Overwrite the existing database checkbox Step 4 - Make note of the sa or MS SQL user s account and password The DBO account granted Rights to manage the GoPrint database 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 9

GoPrint Configuration Overview: The task involves applying the necessary MS SQL Server hostname, updating corresponding SQL User ID s and passwords, and restarting the GTX services. Step 1 - From the GoPrint server, open a browser to: https://localhost:7767 Step 2 - Click on Configure database Make the necessary changes: JDBC Driver: SQL SERVER (JTDS) Server: Enter the hostname of the new MS SQL server Database Name: should be the same! User ID: sa or goprint Password: an updated password! Important: If a MS SQL user account other than the built-in sa account is being used, the account will need to be created and granted DBO rights to manage the GoPrint database. Step 3 Press Apply Step 4 Press Test Connection A Connection successfully made message appears! 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 10

Step 5 - Click on Services from the Node navigation menu 1. Stop the GTX service 2. Start the GTX service Once the GTX service appears as running, press the GoPrint Control Center option to bring up the admin login page. Once logged in, review the system configuration to ensure all items have been restored from back up. Connection fails Troubleshooting 1. Ensure the MS SQL server s hostname is resolvable from the GoPrint server. 2. If login failure, check the sa password. If the sa account isn t being used, check to ensure the assigned SQL DBO account has been created and granted Rights to manage the GoPrint database. 3. If another port other than the default MS SQL port (1433) is used, then the port and Instance must be entered under the Node server path. Example: Servername;databaseName=goprintgs5;instanceName=GoPrint;<port> 4. A Firewall is blocking the MS SQL port either under the Windows Firewall or over the network or the port is in use by another application. How do I open the firewall port for SQL Server on Windows Server 2008? http://support.microsoft.com/kb/968872 2011 GoPrint Systems, Inc. All rights reserved. MS SQL Database Management 11