Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System

Similar documents
Single Sign-on For SAP NetWeaver Mobile PDA Client

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

How to Enable Single Sign-On for Mobile Devices?

Configuring relay server in Sybase Control Center

How to Handle the System Message in SAP NetWeaver Mobile 7.1

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

Installing SAP NetWeaver Mobile Client (eswt) on a Storage Card

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

How to Find Suitable Enhancements in SAP Standard Applications

How to Download Software and Address Directories in SAP Service Marketplace

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

SAP BusinessObjects Predictive Analysis 1.0 Supported Platforms

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Enterprise Search Extension for SAP Master Data Governance

Quick View Insider Microblog: Why Is There No Inbox?

Visual Composer for SAP NetWeaver Composition Environment - Connectors

AC507. Additional Functions of Product Cost Planning COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

Visual Composer Modeling: Data Validation in the UI

ADM100 AS ABAP - Administration

ADM900 SAP System Security Fundamentals

BC430 ABAP Dictionary

Visual Composer Modeling: Migrating Models from 7.1.X to 7.2.0

MDG100 Master Data Governance

BOCE20. SAP Crystal Reports for Enterprise: Advanced Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

DEV523 Customizing and Extending PowerDesigner

DS50. Managing Data Quality with SAP Information Steward COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Testing Your New Generated SAP NetWeaver Gateway Service

Quick View Insider: Understanding Quick View Configuration

How to do a Manual Kernel Upgrade of an SAP Server

BC410. Programming User Dialogs with Classical Screens (Dynpros) COURSE OUTLINE. Course Version: 10 Course Duration: 3 Day(s)

Message Alerting for SAP NetWeaver PI Advanced Adapter Engine Extended

BC480 PDF-Based Print Forms

BOC320. SAP Crystal Reports - Business Reporting and Report Processing Strategies COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

How to Guide to create Sample Application in IOS using SUP ODP 2.2

Using JournalEntries and JournalVouchers Objects in SAP Business One 6.5

Using Default Values in Backend Adapter

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Set Up Data Sources for Crystal Reports Layouts in SAP Business One, Version for SAP HANA

How to reuse BRFplus Functions Similar to R/3 Function Modules using BRF+ Expression Type Function Call

ADM960. SAP NetWeaver Application Server Security COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day

EDB785 SAP IQ Administration

Manual Activities of SAP Note Globalization Services, 2012/06/05

BC405 Programming ABAP Reports

BC400 Introduction to the ABAP Workbench

LO Extraction - Part 6 Implementation Methodology

AFA461 SAP Afaria 7.0 System Administration (SP03)

TBIT44 PI Mapping and ccbpm

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BC490 ABAP Performance Tuning

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

HA150 SQL Basics for SAP HANA

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

GRC100. GRC Principles and Harmonization COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

EDB367. Powering Up with SAP Adaptative Server Enterprise 15.7 COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

ADM920 SAP Identity Management

SAP Afaria Post- Installation Part 1

BW Text Variables of Type Replacement Path

SAP ME Build Tool 6.1

Visual Composer s Control Types

Remote Monitoring User for IBM DB2 for LUW

Quick View Insider: How Do I Set Quick View as SNC s Entry Screen?

EP350. Innovated Content Management and Collaboration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EP200. SAP NetWeaver Portal: System Administration COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Integrate Microsoft Bing Maps into SAP EHS Management

How to Check or Derive an Attribute Value in MDG using BRFPlus

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

EDB116. Fast Track to SAP Adaptive Server Enterprise COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Architecture of the SAP NetWeaver Application Server

TBW30 SAP BW Modeling & Implementation

Web Dynpro: Column Coloring in ALV

OData Service in the SAP Backend System for CRUDQ Operations in Purchase Order Scenario

SAP BusinessObjects Dashboards 4.0 SAP Crystal Dashboard Design 2011 SAP Crystal Presentation Design 2011

SMP521. SAP Mobile Platform - Native and Hybrid Application Development COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EDB377. Fast Track to SAP Replication Server Administration COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Building a Real-time Dashboard using Xcelsius and Data Integrator

How to Work with Analytical Portal

Working with Data Sources in the SAP Business One UI API

BC401. ABAP Objects COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Upgrading to CR 2008 V1 / SP1

Business Objects Integration Scenario 2

SMP541. SAP Mobile Platform 3.0 Native and Hybrid Application Development COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

How to Package and Deploy SAP Business One Extensions for Lightweight Deployment

The Dbmlsync API. A whitepaper from Sybase ianywhere Author: Joshua Savill, Product Manager Date: October 30 th, 2008

Personalizing SAP BusinessObjects Explorer Information Spaces

TBIT40 SAP NetWeaver Process Integration

NET312. UI Development with Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

SQLScript Small Guide

How to Access Images of SAP Netweaver Demo Model JAVA

What are Specifics Concerning the Creation of New Master Data?

July, SAP Crystal Reports 2011 SP04 Product Availability Matrix (PAM)

Transcription:

Upgrade MS SQL 2005 to MS SQL 2008 (R2) for Non-High-Availability NW Mobile ABAP System Applies to: SAP Netweaver Mobile 710/711 systems. For more information, visit the Mobile homepage. Summary This document serves as a guide which describes the necessary steps to upgrade a MS SQL Server 2005 to MS SQL Server 2008 (R2). Author: Abhishek Joshi Company: SAP Labs India Pvt. Ltd. Created on: 16 December 2010 Author Bio Abhishek Joshi is working in the Netweaver Mobile Engineering Services team as Senior Software Enggineer (Build and Production team ). 2010 SAP AG 1

Table of Contents Introduction... 3 Pre-requisites... 4 Pre-Upgrade steps... 6 Stopping ABAP engine... 6 Stopping engine service... 6 Backup of <SAPSID> DB Instance... 7 Upgrading MS SQL 2005 to 2008 (R2) for Non-High-Availability SAP NW Mobile System... 8 Post installation steps... 16 Setting MS SQL Server 2008 (R2)... 16 Run the SAP tools for MS SQL Server... 17 Related Content... 18 Copyright... 19 2010 SAP AG 2

Introduction This document serves as a guide which describes the necessary steps to upgrade a MS SQL Server 2005 to MS SQL Server 2008 (R2) on Non-High-Availability Netweaver Mobile 710/711 system. An upgrade to MS SQL Server 2008 (R2) includes following steps. 1. Pre-requisites 2. Pre-installation steps 2.1. Stopping ABAP engine 2.2. Stopping engine service 2.3. Taking back-up of instance DB 3. Upgrading MS SQL 2005 to 2008 (R2) for Non-High-Availability SAP NW Mobile System 4. Post installation steps 4.1. Setting MS SQL Server 2008 (R2) 4.2. Run the SAP tools for MS SQL Server We will look at each step in more detail below. 2010 SAP AG 3

Pre-requisites If you want to upgrade MS SQL Server 2005 for an existing SAP system, you must meet the following prerequisites: 1. You use Windows Server 2003 SP2 or higher. 2. You use an SAP system based on SAP NetWeaver 7.0 SR3, SAP NetWeaver 7.0 EHP1 SR1, or SAP NetWeaver 7.1, and higher with the minimum recommended support package level for SQL Server 2008 (R2). 3. You have imported the latest SAP kernel patches, dbsl library, and support packages, making sure that you apply at least the minimum level mentioned above. 4. You can find these patches on SAP Service Marketplace. 5. If your SQL Server release is SQL Server 2005, make sure that you have applied SP2 to your system before you upgrade your system to SQL Server 2008 (R2). 6. If you installed the SQL Server 2005 database software with the SQL4SAP.VBS script or manually, only the SQL Server features that are required for the operation of the SAP application were installed. 7. If you installed additional SQL Server features, for example, Analysis Services, Report Services, Integration Services and SQL Server Replication, check the SQL Server Books Online for any upgrade restrictions and steps. 8. You have backed up your SQL Server database. 9. You have shut down the SAP system. 10. SQL Server 2008 (R2) requires Microsoft.NET Framework 3.5 (x64) or Microsoft.NET Framework 2.0 (IA64, Windows Server 2003). 10.1. Windows Server 2008 R2: 10.1.1. Add the.net Framework 3.5 SP1 feature as follows: 10.1.2. Log on as local administrator. 10.1.3. Open an elevated command prompt. 10.1.4. Enter the following command: servermanagercmd install NET-Framework-Core 10.1.5. Reboot your system. 10.2. Windows Server 2008 (or lower): 10.2.1. Install or update the Microsoft.Net Frameworks as follows: 10.2.2. Log on as a local administrator. 10.2.3. Insert the SQL Server 2008 RDBMS DVD or SQL Server 2008 R2 RDBMS DVD in your DVD drive or copy it locally. 10.2.4. Run one of the following.net Frameworks executables: 10.2.4.1. For x64, run the executable dotnetfx35setup.exe, which is located in the following directory: 2010 SAP AG 4

10.2.4.1.1. SQL Server 2008: x86-x64-ia64\enterpriseedition\<platform>\redist\dotnetframeworks 10.2.4.1.2. SQL Server 2008 R2: x86-x64- IA64\EnterpriseEdition\redist\DotNetFrameworks\dotNetFX35\<platform> 10.2.4.1.3. For IA64, Windows Server 2003, run the executable NetFx20SP2_ia64.exe, which is located in the directory: x86-x64-ia64\enterpriseedition\ia64\redist\2.0 10.2.4.1.4. Accept the licensing terms for the.net Frameworks and choose Install. 10.2.4.1.5. After the installation of the.net Frameworks has finished, reboot your system. 2010 SAP AG 5

Pre-Upgrade steps Before starting upgrade of MS SQL Server 2005 to 2008 (R2), please do below mentioned steps. These steps are necessary to be executed. Stopping ABAP engine You need to login to system where you have ABAP serer installed as an Administrator. Start SAP MMC. Right click on ABAP Server Instance (In this document, we are working on J10 instance) and select Stop. It will ask you user name and password, please provide Administrator credentials. Stopping engine service It s very important to stop running ABAP engine services because ABAP engine will be accessible database and due to this you may encounter some issue during your DB Server upgrade. For this, open service manager (Start -> Run -> services.msc). Stop all running SAP<SAPSID>_* services. If we don t stop these services then in between upgrade of DB, engine will try to start by itself. 2010 SAP AG 6

Backup of <SAPSID> DB Instance It s very important to take backup before we start our upgrade of DB to 2008 (R2). To do this follow below steps: 1. Start SQL Server Management studio (Start -> Programs -> Microsoft SQL Server 2005 -> SQL Server Management Studio). 2. Connect to SQL server by providing credentials. 3. Right click on <SAPSID> DB, go to Tasks and select Back Up 4. Take Full Backup of <SAPSID> DB and provide location to keep it and click on OK. 2010 SAP AG 7

It will take some time to finish the backup. Once done, you will get prompt message. Make sure that your Backup is successful and then only proceed with next steps. Upgrading MS SQL 2005 to 2008 (R2) for Non-High-Availability SAP NW Mobile System Before starting upgrade of MS SQL Server 2005, make sure that you completed pre-requisites and preupgrade successfully. Please follow below steps to perform upgrade of SQL server 2005 to 2008 R2. Start x86-x64-ia64\enterpriseedition\setup.exe. Select Installation -> Upgrade from SQL server 2000, SQL Server 2005 or SQL Server 2008. Installer will run Setup Support Rules. In case some rule fails then please fix them before going ahead. 2010 SAP AG 8

Click OK, if all rule passed. Provide product key and click on Next. 2010 SAP AG 9

Accept the license terms and click on Next. Click on Install so that installer will install support files, which is needed during upgrade of server. 2010 SAP AG 10

Setup will check pre-requisites by running some rules. Click on Next only if there are no failed rules. Select your existing MS SQL server instance, which will be upgraded to NW SWL 2008 (R2). 2010 SAP AG 11

Setup will provide you list of features which will be upgraded to SQL Server (R2) release. Click on Next. Specify the name and instance ID for the instance of SQL Server. Instance ID becomes part of the installation path. Click on Next. 2010 SAP AG 12

Setup will check the Disk space needed for upgrade. If it s OK then click on Next or if Disk space is less then free some space and Click on Back and come to this screen by pressing Next. If you want to user SQL Full-text Filter Daemon Launcher then provide your credentials and click Next. 2010 SAP AG 13

Please select needed option (By default Import) and click on Next. Select Error Reporting information you want to send to Microsoft or your corporate report server. Click on Next. 2010 SAP AG 14

Setup will run Upgrade rules and in case some rule fails then fix them before clicking on Next. If all rules are executed successfully, then click on Next. Setup will provide you all the options you have selected, in case you want to change something then please click on Back or if everything is fine and you want to start upgrade then click on Next. Once you click on Next button Upgrade will start and at the end you will get confirmation message of upgrade. 2010 SAP AG 15

Post installation steps Setting MS SQL Server 2008 (R2) When you have finished the upgrade, check that the Named Pipes and TCP/IP protocol in the SQL Server Configuration Manager are enabled. If required, enable them as follows: 1. Choose Start -> All Programs -> Microsoft SQL Server 2008 (R2) -> Configuration -> Tools -> SQL Server Configuration Manager. 2. Expand SQL Server Network Configuration and select one of the following 2.1. For a default instance, select Protocols for MSSQLServer 2.2. For a named instance, select Protocols for <SAPSID> 3. In the right-hand pane, under Protocol Name, right-click Named Pipes and TCP/IP, and select Enable. 4. Restart SQL Server. 2010 SAP AG 16

Run the SAP tools for MS SQL Server This program performs the post-upgrade steps that are required for SAP ABAP products running on SQL Server 2008 (R2). For more information, see SAP Note 683447. Proceed as follows: 1. Download the zip file that includes the SAP tools for MS SQL Server from http://service.sap.com/msplatforms -> SQL Server 2. Extract it to an empty local directory on the database server. 3. Run sapinst.exe, and choose Upgrade to MS SQL Server 2005 or higher. 4. Start SAP<SID>_* services in services.msc. 5. Start the SAP system. 6. Connect with a database administrator logon to the SQL Server 2008 (R2) Management Studio and execute the following commands: use <SID> where <SID> is your SAP database go EXEC sp_updatestats go 7. It takes some time to replace the old SQL Server index statistics with new SQL Server 2008 (R2) statistics. You can execute this while the SAP system is online. 2010 SAP AG 17

Related Content https://websmp203.sap-ag.de/~sapidb/011000358700001997202008e For more information, visit the Mobile Homepage. 2010 SAP AG 18

Copyright Copyright 2010 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. 2010 SAP AG 19