Upgrading Microsoft SQL Server For HP Web Jetadmin - ENWW

2y ago
40 Views
3 Downloads
304.81 KB
9 Pages
Last View : 9d ago
Last Download : 3m ago
Upload by : Genevieve Webb
Transcription

Technical white paperUpgrade Microsoft SQLServer for HP Web JetadminTable of contentsOverview2Versions of SQL Server Express that HP Web Jetadmin uses (after a defaultinstallation)2Determine which version of SQL Server Express is installed2Method 1—Add/Remove Programs2Method 2—Error logs2Method 3—SQL Server Management Studio3Other methods3Why HP recommends upgrading to SQL Server 2012 SP2 Express3Upgrade from SQL Server 2008 Express to SQL Server 2012 SP2 Express31Back up the data and HP Web Jetadmin settings4Method A (Upgrade)4Method B (Migration)5Method C (Migration)7

OverviewBy default HP Web Jetadmin uses Microsoft SQL Server 2008 Express or SQL Server 2012 SP2 Express. Thiswhite paper explains when SQL Server 2012 SP2 Express is used and how SQL Server 2008 Express can beupgraded to SQL Server 2012 SP2 Express for HP Web Jetadmin.Versions of SQL Server Express that HP Web Jetadmin uses (after adefault installation)HP Web Jetadmin 10.3 SR8 uses SQL Server 2008 Express or SQL Server 2012 SP2 Express depending onwhether it is a new installation or an upgrade from an older version. New installations of HP Web Jetadmin10.3 SR8 and later use SQL Server 2012 Express SP2. Older installations of HP Web Jetadmin or installationsthat were upgraded from 10.3 SR7 and earlier to 10.3 SR8 and later continue to use SQL Server 2008 Express.Determine which version of SQL Server Express is installedThere are several methods to determine which version of SQL Server Express is installed.Method 1—Add/Remove ProgramsThe product version is displayed in Add/Remove Programs.The following table provides an overview of the relevant releases and product versions.ReleaseProduct versionSQL Server 2008 SP3 Express10.00.5500.00SQL Server 2008 SP2 Express10.00.4000.00SQL Server 2008 SP1 Express10.00.2531.00SQL Server 2008 Express RTM10.00.1600.22SQL Server 2012 SP2 Express11.0.5058.0SQL Server 2012 SP1 Express11.00.3000.00SQL Server 2012 Express RTM11.00.2100.60However, different versions of SQL Server Express might be listed in Add/Remove Programs. For example, ifMicrosoft SQL Server Management Studio is installed, another method must be used to find the productversion.Method 2—Error logsLook at the first few lines of any ERRORLOG.n file for the HPWJA instance. The error logs are available in alocation similar to one of the following: 2C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Log

C:\Program Files\Microsoft SQL Server\MSSQL11.HPWJA\MSSQL\LogThe version is listed in the first line of all the ERRORLOG.n files.Method 3—SQL Server Management StudioIf SQL Server Management Studio is installed, the product version for SQL Server Express is displayed afterconnecting to the instance.Other methodsFor more information about other methods, see the Microsoft support document atsupport.microsoft.com/en-us/kb/321185.Why HP recommends upgrading to SQL Server 2012 SP2 ExpressThe most noticeable difference between the two versions of SQL Server is the maximum database size. ForSQL Server 2008 Express, the maximum database size is 4 GB. For SQL Server 2012 SP2 Express, themaximum database size is 10 GB.When the maximum database size is reached, HP Web Jetadmin no longer operates correctly. To preventrunning into database size limitations, HP recommends upgrading to SQL Server 2012 SP2 Express or usingthe full version of SQL Server.Information about other changes and improvements can be found at www.microsoft.com.Upgrade from SQL Server 2008 Express to SQL Server 2012 SP2ExpressThere are several different methods to upgrade or migrate from SQL Server 2008 Express to SQL Server 2012SP2 Express. 3Method A (Upgrade)—An in-place upgrade of SQL Server Express.

Method B (Migration)—Uninstall SQL Server 2008 Express, install SQL Server 2012 SP2 Express, and thenperform a restore. Method C (Migration—Uninstall HP Web Jetadmin and SQL Server 2008 Express, install HP Web Jetadmin10.3 SR8, and then perform a restore.Regardless of the method selected, a backup of the data and HP Web Jetadmin settings must be created. Thebackup procedure for all three methods is the same.Back up the data and HP Web Jetadmin settings1. Stop the HP Web Jetadmin service.2. Open a command prompt with administrative rights, and go to the following directory:C:\Program Files\HP Inc\Web Jetadmin 10\WJABackupRestore3. Run the backup.bat file.4. Copy the *.dat file and Settings directory that were created in the WJABackupRestore directory to adifferent location.The *.dat file contains a backup of the database. The Settings directory contains all the settings for HPWeb Jetadmin.Method A (Upgrade)SQL Server 2008 Express cannot be upgraded to SQL Express SP2 2012 in one step because the upgraderequires a minimum of SQL Server 2008 SP2 Express. The upgrade can be started only after a backup iscreated and SQL Server 2008 SP3 Express and SQL Server 2012 SP2 Express are downloaded.To download SQL Server 2008 SP3 Express, go to the following spx?id 27597To download SQL Server 2012 SP2 Express, go to the following spx?id 43351NOTE: When downloading the files, be sure to change the file names. The default file names for both versionsare the same.1. Stop the HP Web Jetadmin service.2. To upgrade SQL Server 2008 Express to SQL Server 2008 SP3 Express, launch the installer for SQL Server2008 SP3 Express, and then follow the wizard.3. After the installation is complete, verify that the database version is 10.00.2531.00.4

4. To upgrade SQL Server 2008 SP3 Express to SQL Server 2012 SP2 Express, launch the installer for SQLServer 2012 SP2 Express, and then follow the wizard.5. Select the Upgrade from SQL Server 2005, SQL Server 2008 or SQL Server 2008R2 option under theInstallation option. The Upgrade to SQL Server 2012 wizard starts.6. Follow the wizard. On the Select Instance screen, make sure that the instance to upgrade is HPWJA.7. Complete the upgrade.After the upgrade is complete, the maximum size of the HP Web Jetadmin database is still 4 GB.8. To increase the size of the database, open a command prompt with administrative rights, and go to thefollowing directory:C:\Program Files\HP Inc\Web Jetadmin 10\WJABackupRestore9. If a custom database name is used, edit the resize.bat file.10. Run the resize.bat file.11. Restart the HP Web Jetadmin service, and verify that HP Web Jetadmin is working.Method B (Migration)1. Verify that a backup has been created.2. Stop the HPWJA and SQL Server (HPWJA) services.3. Go to Control Panel Programs and Features.4. Right-click Microsoft SQL Server 2008 (64 bit), and then select Uninstall.5. In the Uninstall wizard, remove the HPWJA instance.6. On the Select features screen, select all the features to be removed.7. Launch the installer for SQL Server 2012 SP2 Express.5

8. Select the New SQL Server stand-alone installation or add features to an existing installation option.9. Follow the wizard. On the Feature Selection screen, clear the SQL Server Replication option.10. On the Instance Configuration screen, change the named instance and Instance ID to HPWJA.11. On the Server Configuration screen, use the following steps to change the Account Name for the SQLServer Database Engine to NT Authority\Network Service:a. Click the down arrow next to the Account Name box, and then select Browse .b. On the Select User or Group screen, enter network service, click Check Names, and then click OK.c. On the Server Configuration screen, click Next.12. On the Database Engine Configuration screen, verify that Windows Authentication mode is selected.13. When the installation is complete, close the wizard.14. Open a command prompt with administrative rights, and go to the following directory:C:\Program Files\HP Inc\Web Jetadmin 10\WJABackupRestore15. If the *.dat file and the Settings directory were moved to a different location, copy them to theWJABackupRestore directory.16. Run the restore.bat file.6

NOTE: Since the maximum database size of SQL Server 2008 Express is 4 GB, the maximum database sizeremains 4 GB after the restore.17. Run the resize.bat file from the command prompt that is still open.18. Restart the HP Web Jetadmin service, and verify that HP Web Jetadmin is working.Method C (Migration)1. Go to Control Panel Programs and Features.2. To uninstall HP Web Jetadmin:a. Right-click HP Web Jetadmin 10.3, and then select Change. The InstallShield Wizard starts.b. Click Next.c. On the Program Maintenance window, select the Remove option, and then click Next.d. Follow the wizard to complete the uninstallation of HP Web Jetadmin.3. To uninstall SQL Server 2008:a. Right-click Microsoft SQL Server 2008 (64 bit), and then select Uninstall/Change. The SQL Server 2012wizard starts.b. Click Remove. The Remove SQL Server 2012 wizard starts.c. On the Select Instance screen, select the HPWJA instance, and then click Next.d. On the Select Features screen, select Database Engine Services and SQL Client Connectivity SDK (if notused by other instances), and then click Next.e. Follow the wizard to complete the uninstallation of SQL Server 2008.4. Install HP Web Jetadmin 10.3 SR8 or later.5. Copy the Settings directory and HPWJA DB BACKUP.dat file to the following directory:C:\Program Files\HP Inc\Web Jetadmin 10\WJABackupRestoreFor more information, see Back up the data and HP Web Jetadmin settings on page 4.6. Open a command prompt with administrative rights, and go to the following directory:C:\Program Files\HP Inc\Web Jetadmin 10\WJABackupRestore7. Run the restore.bat file.NOTE: Since the maximum database size of SQL Server 2008 Express is 4 GB, the maximum database sizeremains 4 GB after the restore.7

8. Run the resize.bat file from the command prompt that is still open.9. Restart the HP Web Jetadmin service, and verify that HP Web Jetadmin is working.NOTE 1: Method C can also be used if you started with an installation of HP Web Jetadmin 10.3 SR7 andearlier. When HP Web Jetadmin 10.3 SR8 is started, the database is upgraded to the 10.3 SR8 functionality.NOTE 2: To upgrade only SQL Server Express on an installation of HP Web Jetadmin 10.3 SR7 and earlier,Method C can be used with some additional modifications. Executing step 7 (restore the database with therestore.bat file) will not work without the following additional steps:Note: HP has not extensively tested the following additional steps and does not support these steps.a. Install HP Web Jetadmin 10.3 SR8 on another system.b. Copy the restore.bat and backup.bat files from the 10.3 SR8 installation to the pre-10.3 SR8 installation.Reason: SQL Server 2012 has a different file location and different SQL commands. The backup.bat andrestore.bat files from 10.3 SR8 have the backup and restore commands for SQL Server 2008 Express andthe backup and restore commands for SQL Server 2012 SP2 Express. The 10.3 SR8 restore.bat filedetects the installed SQL version and uses the appropriate backup and restore commands. The pre-10.3SR8 restore.bat and backup.bat files can only restore and back up a SQL Server 2008 database, not a SQLServer 2012 database, as shown in the following graphic.8

hp.com/go/getconnectedCurrent HP driver, support, and security alertsdelivered directly to your desktop Copyright 2020 HP Inc. The information contained herein is subject to change without notice. The only warranties for HP products and servicesare set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting anadditional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.c04666651, Rev. 4, September 2020

4. To upgrade SQL Server 2008 SP3 Express to SQL Server 2012 SP2 Express, launch th e installer for SQL Server 2012 SP2 Express, and then follow the wizard. 5. Select the Upgrade from SQL Server 2005, SQL Server 2008 or SQL Server 2008R2 option under the Installation option. The Upgrade to SQL

Related Documents:

Server 2005 , SQL Server 2008 , SQL Server 2008 R2 , SQL Server 2012 , SQL Server 2014 , SQL Server 2005 Express Edition , SQL Server 2008 Express SQL Server 2008 R2 Express , SQL Server 2012 Express , SQL Server 2014 Express .NET Framework 4.0, .NET Framework 2.0,

Microsoft SQL Server OLAP Client 2000 SP4 Microsoft SQL Server Analysis Services 2005 SP11 Microsoft SQL Server OLAP Client 2005 SP1 Microsoft SQL Server Analysis Services 2005 SP21 Microsoft SQL Server OLAP Client 2005 SP2 Microsoft SQL Server Analysis Services 20082 Microsoft SQL Server 2008

4395 querying data with transact -sql (m20761) microsoft sql server 6552 querying microsoft sql server 2014 (m20461) microsoft sql server 1833 sql server performance tuning and optimization (m55144) microsoft sql server 4394 updating your skills to sql server 2016 (m10986) microsoft sql server

MS SQL Server: MS SQL Server 2017, MS SQL Server 2016, MS SQL Server 2014, MS SQL Server 2012, MS SQL Server 2008 R2, 2008, 2008 (64 bit), 2008 Express, MS SQL Server 2005, 2005 (64 bit), 2005 Express, MS SQL Server 2000, 2000 (64 bit), 7.0 and mixed formats. To install the software, follow the steps: 1. Double-click Stellar Repair for MS SQL.exe.

SQL Server 2005 SQL Server 2008 (New for V3.01) SQL Server 2008 R2 (New for V3.60) SQL Server 2012 (New for V3.80) SQL Server 2012 R2 (New for V3.95) SQL Server 2014 (New for V3.97) SQL Server 2016 (New for V3.98) SQL Server 2017 (New for V3.99) (Recommend Latest Service Pack) Note: SQL Server Express is supported for most situations. Contact .

11.4.7462.6 Microsoft SQL Server 2012 Native Client Microsoft SQL Server 2017 (64-bit) 14.0.1000.169 Microsoft SQL Server 2017 (64-bit) Microsoft SQL Server 2017 Setup (English) 14.0.1000.169 Microsoft SQL Server 2017 Setup (English) Microsoft SQL Server 2017 T-SQL Language Service 14.0.1000.169

70 Microsoft SQL Server 2008: A Beginner’s Guide SQL_2008 / Microsoft SQL Server 2008: ABG / Petkovic / 154638-3 / Chapter 4 In Transact-SQL, the use of double quotation marks is defined using the QUOTED_ IDENTIFIER option of the SET statement. If this option is set to ON, which is theFile Size: 387KBPage Count: 26Explore furtherLanguage Elements (Transact-SQL) - SQL Server Microsoft Docsdocs.microsoft.comThe 33 languages of SQL Server Joe Webb Blogweblogs.sqlteam.comThe Language of SQL Pdf - libribooklibribook.comSql And The Standard Language For Relational Database .www.bartleby.comdatabase - What are good alternatives to SQL (the language .stackoverflow.comRecommended to you based on what's popular Feedback

Jane Phillips Janice Harris John Padginton Michelle Gale Nicolle Marsh Sue Russell Wendy Cupitt Ben Lapworth Ring 10 – . Scrim - Anne Sutherland Amanda Hubbard Claire Hayes Debbie Reynolds Debbie Styles Diana Woodhouse Diane Bradley Francis Bugler Graham Avery Karen James Sue Norman Ring 8 – Jenny Slade VYNE VYNE Ring 10 – Sue Luther Little Meadows LITTLE MEADOWS Ring 12 – Sara Tuck .