Sql4sap Docu - baixardoc

10
Installation Guide Customized Installation of SQL Server 2008 R2 for an SAP System with SQL4SAP.VBS Target Audience Technology Consultants System Administrators CUSTOMER Document version: 1.20 – 2013-01-11

Transcript of Sql4sap Docu - baixardoc

Installation GuideCustomized Installation of SQL Server 2008 R2 for an SAP System with SQL4SAP.VBS

Target Audience ■ Technology Consultants ■ System Administrators

CUSTOMERDocument version: 1.20 – 2013-01-11

Document History

The following table provides an overview on the most important document changes:

Version Date Description

1.20 2013-01-11 Updated VersionContains Windows Server 2012 information

1.10 2011-08-19 Updated VersionContains SQL Server 2008 R2 SP1 incl. CU1 (10.50.2769) (SQL Server RDBMS DVD (#51041678))

1.00 2010-07-12 Initial Version

2/18 CUSTOMER 2013-01-11

Table of Contents

Chapter 1 Customized Installation of SQL Server 2008R2 for an SAP System with

SQL4SAP.VBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.1 Installing or Updating the Microsoft Installer with the SQL4SAP.VBS

Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.2 Installing SQL Server 2008 R2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Chapter 2 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.1 Changing the Windows Authentication Mode into SQL Server and Windows

Authentication Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.2 Setting and Enabling the Password for the SQL Server Login sa . . . . . . . . . . . . 12

2013-01-11 CUSTOMER 3/18

This page is left blank for documents that are printed on both sides.

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

This documentation explains how to use the SQL4SAP.VBS script to install SQL Server 2008 R2 for your

SAP system. For up-to-date information on the installation of SQL Server 2008 R2 with SQL4SAP, see

SAP Note 1144459.

CAUTION

■ The SQL4SAP.VBS script does not support high availability on Windows with failover

clustering. For more information about how to install your SQL Server database software for

a high-availability system, see the installation guide for MS SQL Server.

■ The SQL4SAP DVD contains a slipstreamed version of SQL Setup. If you install SQL Server

manually with this SQL4SAP DVD it automatically installs SQL Server 2008 R2 SP1 including

CU1 (10.50.2769).

Features

■ With the SQL4SAP.VBS script you can install:

● One of the following SQL Server 2008 R2 editions:

◆ 32-bit SQL Server 2008 R2 Enterprise Edition on x86 systems (not supported by SAP)

◆ 64-bit SQL Server 2008 R2 Enterprise Edition on x64 systems

◆ 64-bit SQL Server 2008 R2 Enterprise Edition on IA64 systems

CAUTION

◆ SAP does not support the 32-bit edition of SQL Server 2008 R2.

◆ SAP does not support SQL Server 2008 R2 on all SAP products. For more information,

see the Product Availability Matrix (PAM) at:

http://service.sap.com/platforms Product Availability Matrix . ● The latest SQL Server 2008 R2 service pack, or cumulative update (if available)

CAUTION

You cannot use the SQL4SAP.VBS script to upgrade SQL Server 2000, SQL Server 2005

or SQL Server 2008 to SQL Server 2008 R2.

● Default Instances, Named Instances, or SQL Server Client Tools only

■ During the installation an output console window appears that shows all installation steps at all

times.

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

2013-01-11 CUSTOMER 5/18

■ If you have UAC enabled on your operating system, the following User Account Control window might

appear:

Figure 1: User Account Control Window

Requirements

If you use SQL4SAP, you require:

■ One of the following 64-bit Windows operating systems:

● Windows Server 2003 Editions

◆ Windows Server 2003 Standard Edition, SP2 or higher

◆ Windows Server 2003 Enterprise Edition, SP2 or higher

◆ Windows Server 2003 Datacenter Edition, SP2 or higher

◆ Windows Server 2003 for Itanium-Based Systems Edition, SP2 or higher

● Windows Server 2008 Editions:

◆ Windows Server 2008 Standard Edition

◆ Windows Server 2008 Enterprise Edition

◆ Windows Server 2008 Datacenter Edition

◆ Windows Server 2008 for Itanium-Based Systems Edition

● Windows Server 2008 R2 Editions:

◆ Windows Server 2008 R2 Standard Edition

◆ Windows Server 2008 R2 Enterprise Edition

◆ Windows Server 2008 R2 Datacenter Edition

◆ Windows Server 2008 R2 for Itanium-Based Systems Edition

● Windows Server 2012 Editions:

◆ Windows Server 2012 Standard Edition

◆ Windows Server 2012 Datacenter Edition

■ Microsoft Installer (MSI) 4.5 or higher

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

6/18 CUSTOMER 2013-01-11

1.1 Installing or Updating the Microsoft Installer with the SQL4SAP.VBS Script

To install SQL Server 2008 R2, you require an up-to-date version of the Microsoft Installer (MSI). If

required, you can install or update the MSI using the SQL4SAP.VBS script.

Procedure

1. Double-click the SQL4SAP.VBS script located in the root directory of your SQL Server 2008 R2

RDBMS DVD.

A pop-up might appear, informing you that SQL Server 2008 R2 requires an updated MSI.

Figure 2: Update MSI Window

2. Close the pop-up window and install or update the MSI.

The installer directly takes you to the directory where you can find the program file for the MSI

package.

3. Install the MSI by double-clicking one of the following files:

■ For Windows Server 2003, double-click INSTMSI45.EXE

■ For Windows Server 2008 or Windows Server 2008 R2, double-click INSTMSI45.MSU.

4. If required, reboot your system after the installation has finished.

1.2 Installing SQL Server 2008 R2

This procedure describes how to install SQL Server 2008 R2.

Procedure

1. Double-click the SQL4SAP.VBS script located in the root directory of your SQL Server 2008 R2

RDBMS DVD.

The Select SQL Server 2008 R2 instance window appears.

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

1.1 Installing or Updating the Microsoft Installer with the SQL4SAP.VBS Script

2013-01-11 CUSTOMER 7/18

NOTE

If you do not have an installed an up-to-date MSI, you are asked to install or update it. We

recommend that you do so as described above.

2. Provide the required information in the Select SQL Server 2008 R2 instance window:

Figure 3: Select SQL Server 2008 R2 Instance Window

■ To install a Default Instance (default), choose OK.

We recommend that you install a default instance.

■ To install a Named Instance, enter the <SID> and choose OK.

■ To install the SQL Server Client Tools only software for monitoring your SAP system, choose

Cancel.

This option is not available if the SQL Server Client Tools software is already installed and is up-

to-date.

NOTE

If you install an SAP application server, you can also install the SQL Server Native Client

(SNAC) instead of the SQL Server Client Tools. You find the SNAC files on the SQL Server

2008 R2 RDBMS DVD in the directory: <RDBMS_DVD>:\SqlNativeClient\<platform>\

For more information, see SAP Note 1144459.

■ To install the latest service pack, or cumulative update (if available) for an already existing

SQL Server instance, enter the SQL Server instance name and choose OK.

■ To install the latest service pack, or cumulative update for already installed SQL Server Client

Tools, or for an already installed SNAC, choose Cancel.

The Confirmation window appears.

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

1.2 Installing SQL Server 2008 R2

8/18 CUSTOMER 2013-01-11

Figure 4: Confirmation Window

3. Check your entries and choose OK to start the SQL Server installation.

The output console window appears, which shows all installation steps at all times.

CAUTION

Do not close the output console window.

Figure 5: Output Console Window

NOTE

If you are running on Windows Server 2012 and you do not have .NET 3.5.1 enabled, the

output console window does not appear. Instead, you get an error popup. Enable .NET 3.5

manually as described at http://technet.microsoft.com/en-us/library/

hh831809.aspx#BKMK_FoD and restart SQL4SAP.VBS.

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

1.2 Installing SQL Server 2008 R2

2013-01-11 CUSTOMER 9/18

Figure 6: .NET 3.5 Not Installed

4. After the SQL4SAP window has closed, check the SQL4SAP.log file, which is located in the

WINDOWS directory. The log file contains all installation steps, return codes, and SQL commands.

When the installation is finished, the Installation finished successfully window appears.

Figure 7: Installation Finished Successfully Window

1 Customized Installation of SQL Server 2008R2 for an SAP System with SQL4SAP.VBS

1.2 Installing SQL Server 2008 R2

10/18 CUSTOMER 2013-01-11