Академический Документы
Профессиональный Документы
Культура Документы
Overview
This document explains how to set up SQL Server 2000 in an SAP environment using the
MS SQL Server 2000 Support Shipment. This special support shipment enables
customers running SQL Server 7.0 on already delivered SAP releases to install SQL
Server 2000. Two different scenarios are described:
The installation of MS SQL Server 2000
The upgrade of an SAP System on MS SQL Server 2000
October 2000
SAP AG
Overview
Default instance
Named instance
For information on the difference between these instance types see the section Default or
Named MS SQL Server Instances later in this document.
For more information on the installation procedure, see the section Installing MS SQL
Server 2000 for a New SAP System.
Do not install SQL Server 2000 for these releases until you are certain that the
corresponding SAP database monitor is available. To find out for which SAP releases
the monitor is available, see SAP Note 139945.
If the monitors are not set up for SQL Server 2000, you cannot use transactions ST04.
DB02, DB12, DB13 and as of 4.6B, RZ20. In addition, unpredictable short dumps
may occur.
October 2000
SAP AG
A MSCS Configuration is not yet supported. For up to date information see SAP
Note 169468.
SAP only supports SQL Server 2000 on Windows 2000 Server, Windows 2000
Advanced Server or Windows 2000 Data Center Server. Service Pack 1 must be
applied to each of these versions.
SAP has only performed tests on Windows 2000. There are no plans to support
NT4.0 in the future.
BW:
Only BW1.2B and BW 2.0B are supported.
An Upgrade from BW1.2B to BW2.0B is supported on SQL Server 2000.
The installation of a of a new system with SQL Server 2000 is not yet supported.
Named Instances are only allowed for a new SAP System installation. There is no
method of migrating from an installation with a default instance to a named instance.
October 2000
SAP AG
Upgrade SQL Server 7.0 to 2000 in an existing MSCS SAP System configuration
Install a new standard SAP System with a default or named instance of SQL Server
2000
Install a new SAP System on a Microsoft Cluster Server configuration with a default
instance of the SQL Server 2000
Update of the SAP database monitors for SQL Server 2000. Depending on the SAP
release involved, this can require the import of transports, Support Packages or Hot
packages. SAP Note 139945 specifies the procedure for different SAP releases.
To install a new SAP System with SQL Server 2000 , you follow the installation
instructions in the guide R/3 Installation on Windows NT: MS SQL Server and use the
standard installation package for you particular release. However you must take into
account a number of supplementary instructions that modify the procedure for SQL
October 2000
SAP AG
Server 2000. In particular, you have to adapt the procedure and follow additional
instructions for:
The installation of the MS SQL Server software
The installation and execution of the R3SETUP tool
The configuration of the SAP Database Monitors
The sections that follow describe these steps in detail.
The guide R/3 Installation on Windows NT: MS SQL Server is available on the
SAPNet at:
http://service.sap.com/instguides
Select the category R/3 Standard and then choose the release that is relevant for your
particular installation.
The procedure to install the SQL Server 2000 database software differs depending on
whether you want to install a default or named instance.
Procedure for Default Instance
Insert the MS SQL Server 2000 RDBMS CD included in the SQL Server 2000.
Support Shipment. Depending on your SAP release, run one of the bat files that is
located in the root directory:
For SAP 4.0B SR 1, 4.5B, 4.6B, 4.6B-Basis, run SAP-46B.BAT
For SAP 4.6C and 4.6D-Basis run SAP46C-.BAT
Note that when you insert the MS SQL Server 2000 RDBMS CD the Microsoft
SQL Server 2000 Enterprise Edition installation program automatically starts. Exit
this program before you run the SAP-46B.BAT or SAP46C-.BAT file.
If you mount the CD from a remote server, it must be assigned a drive letter.
The installation writes a log file sqlstp.log to the Windows directory %windir%
Procedure for Named Instance
Insert the MS SQL Server 2000 RDBMS CD included in the SQL Server 2000
Support Shipment. The Microsoft SQL Server 2000 Enterprise Edition installation
program automatically starts. Respond to the prompts as specified in the table below.
The installation writes a log file sqlstp.log to the Windows directory %windir%
Take care when you enter the name of the instance. It must be the same as the name
of the corresponding SAP System.
October 2000
SAP AG
The table shows the input for a named instance installation. The column for a default
instance indicates when the input for a default instance is different to that of a named
instance.
Window
Microsoft SQL Server
2000 Enterprise Edition
Install Components
Microsoft SQL Server
2000 Enterprise Edition
Welcome
Choose Next
Computer Name
Installation Selection
User Information
Software License
Agreement
Choose Yes
CD-Key
Installation Definition
Instance Name
Setup Type
Select Custom
Select Components
Service Accounts
Select Default
Do not specify an instance
name.
If you run the bat file for
the installation, Default is
automatically selected.
October 2000
SAP AG
Window
Authentication mode
In releases up to 4.6B,
the sa login is
automatically created
and assigned an empty
password. After the
installation you can
assign a password.
Collation settings
Select:
SQL Collations
From the dropdown list select
Binary order for use with the 850
Multilingual Character Set.
Network Libraries
Choose Next.
When you have finished the installation you have to unpack and install Service Pack 1
for SQL Server 2000.
For a detailed description of the installation of Service Pack 1, see SAP Note 417089.
As SAP delivered two different versions of the MS SQL Server 2000 RDBMS CD
you have to distinguish between two different scenarios:
You use the MS SQL Server 2000 RDBMS CD (SAP material number: 51011908).
In this case, download the Service Pack 1 file from the FTP-Server sapserv3 in the
directory /general/3rdparty/mssql/sql2000sp1.
You use the MS SQL Server 2000 RDBMS CD (SAP material number: 51014751).
In this case, copy Service Pack 1 directly from the CD under path SP1.
October 2000
SAP AG
When you use the R3SETUP tool to install the SAP database and central instance
observe the following:
To install the R3SETUP installation tool, do not use the Kernel CD in the standard
installation package. Run the file <CD_DRIVE>:\NT\SETUP.bat on the MS SQL
2000 Tools CD included in the MS SQL Server 2000 Support Shipment.
If you mount the MS SQL 2000 Tools CD at a remote location, it must be assigned
a drive letter.
When you install the SAP central and database instance with R3SETUP, there are
additional prompts that do not appear in a standard installation:
You are asked to specify the release you want to install
You are prompted to specify the kernel version that is to be installed:
For release 4.5B, enter 4.5B
For releases 4.6x, enter 4.6D
No prompt appears for Release 4.0B.
If any R3SETUP prompts specify the Kernel CD, substitute this with the MS SQL
2000 Tools CD. For example, when you are asked to specify the location of the
Kernel CD you must enter the location of the MS SQL 2000 Tools CD.
When the installation of the SAP System has been completed, you have to set up the SAP
database monitors to enable them to function properly with SQL Server 2000. Depending
on your release this involves the import of Hot Packages, Support Packages or transports
as explained in SAP Note 139945.
If you do not import the required packages or transports, you will be unable to use the
SAP database monitors!
October 2000
SAP AG
Preparations
Cluster Conversion
The instructions below are intended as a supplement for the standard installation
guide. For detailed information on the individual steps, refer to the relevant sections
in the guide R/3 Installation on Windows NT: MS SQL Server. Also read the section
Installing a New Standard SAP System with MS SQL Server 2000 earlier in this
document.
Preparations
1. Obtain the 7 IP addresses and host names required for a cluster installation.
2. On both nodes, install the operating system components in the order listed in the
table:
Component
Windows 2000 Advanced
Server
Comment
MSCS software
October 2000
SAP AG
3. Check that the 7 IP addresses are correctly mapped to host names using the
commands:
hostname
ping <hostname>
ping -a <IP_address>
4. On both nodes, check that the network bindings order is correct.
5. Prepare MSCS groups
In the Cluster Administrator, add the qourum disk to the Cluster group
In the Cluster Administrator, create a new cluster group for the database. Move
all disks you need for the database to this group. These are the shared disks for
the SAP data and the SQL Server databases master, pubs and tempdb. The
recommended name for the group is MSSQL
SAP System Installation
After completion of the preparatory steps, you can install the SAP System. When you do
this, also take into account the instructions given earlier in the section Installing MS SQL
Server 2000 for a New SAP System.
1. On node A , install the SQL Server 2000 Enterprise Edition on a local drive.
2. On node A:
Log on as domain administrator. In the Cluster Administrator, make sure that all
existing cluster groups are online on node A.. Install the R3SETUP installation tool
by running the file R3SETUP.bat. The file is available on the MS SQL 2000
Tools CD or 4.6C SR1 kernel CD in the directory <CD_DRIVE>:\NT
After the installation, you must reboot or log off when you are prompted.
10
October 2000
SAP AG
3. On node A:
Make sure you are logged on as the domain administrator that installed the
R3SETUP tool.
Install the SAP system using R3SETUP with:
Programs SAP System Setup for <SAPSID> Install Central and Database
When you are prompted to enter information, note the following:
For SAPTRANSHOST, accept the proposed physical host name of node A
For the log files and the tempdb, master, msdb databases, specify shared
disks that are included in the MSSQL group
Conversion to MSCS
With the steps that follow, you copy the MS SQL Server software to node B and make
the database cluster-aware to enable it to make use of the cluster functionality.
You have to distinguish between two different procedures depending on the CDs you are
using for the installation of the SQL Server. For more information, refer to SAP Note
377430.
1. Depending on the versions of the MS SQL Server 2000 RDBMS CD, proceed as
follows:
For use of MS SQL Server 2000 RDBMS CD (SAP material number:
51011908):
On node A: Download and run the file SQLVERFIX.REG
The file is available in the SAPNet at:
http://service.sap.com/msplatforms under Utilities.
Select the item MS SQL 2000Cluster Version Fix SQLVERFIX.REG
2. On node A:
Insert the MS SQL Server 2000 RDBMS CD to automatically start the Microsoft
SQL Server 2000 Enterprise Edition installation program. Enter required information
as specified in the table:
October 2000
Window
MS SQL Server 2000 Enterprise
Edition
Input
Select SQL Server 2000 Components
Welcome
Click Next
Computer Name:
11
SAP AG
Installation Selection
Instance Name
Existing Installation
Failover Clustering
Window
Cluster Management
Input
Select both nodes
Remote Information
Services Accounts
Setup Complete
Click Finish
If you have to reboot, move the database group MSSQL and SAP disks back to node
A. Also redefine the shares SAPMNT and SAPLOC for the SAP directory usr/sap
3. When you have finished the installation you have to unpack and install Service Pack
1 for SQL Server 2000 on both nodes.
For a detailed description of the installation of Service Pack 1, see SAP Note
417089.
Depending on the versions of the MS SQL Server 2000 RDBMS CD, proceed as
follows:
For use of MS SQL Server 2000 RDBMS CD (SAP material number: 51011908):
Download the file from the FTP-Server sapserv3 in the directory
/general/3rdparty/mssql/sql2000sp1
12
October 2000
SAP AG
For use of MS SQL Server 2000 RDBMS CD (SAP material number: 51014751):
Copy Service Pack 1 directly from the CD under path SP1.
4. On both nodes:
Make sure you are logged on as domain administrator. Run the file NTCLUS.BAT to
install the R3SETUP files that are necessary to convert the SAP system for operation
in the cluster. The files are located on the kernel CD in the directory
<CD_DRIVE>:\NT\COMMON
Make sure you use the correct version of the CD for your SAP Release:
For 4.0B: 4.0B SR1 kernel CD
For other releases: 4.6C SR1 kernel CD
5. Configure both nodes for operation in the cluster.
Make sure that the database group MSSQL and SAP disk are online on node A.
On node A, choose Programs = SAP R3 Setup for <SAPSID> = Configuring
Node A for a MSCS
Take the SAP resource SAP-R/3 <SAPSID> offline. Move the database group
MSSQL and SAP group to node B.
On node B, choose Programs =SAP R3 Setup for <SAPSID> Configuring
Node B for a MSCS
Post-Installation Steps
Complete the cluster installation by following the post-installation steps described in the
installation manual.
October 2000
13
SAP AG
The SAP Upgrade guides for different releases are available on the SAPNet at:
http://service.sap.com/instguides. Select the category R/3 Standard
and then choose the release that is relevant for your particular upgrade.
14
October 2000
SAP AG
Default Instance
The default installation is the most common form of a SQL Server installation in an SAP
environment. One SQL Server instance is installed together with a single SAP database.
The main SQL Server components and functionality are exclusively available for the
SAP database.
In a less frequently used variant of the default installation, a single SQL Server instance
is installed together with more than one SAP database. In this type of installation, the
SQL Server components such as executables, system databases and utilities exist only
once and have to be shared by all SAP databases on the computer. All the databases on
the computer have to be managed with a single copy of the SQL Server consequently
certain administrative tasks on one database cannot be performed in isolation without
affecting the other databases.
The following graphic illustrates a default installation with two SAP databases,
<SAPSID1> and <SAPSID2> as it would appear in the MS SQL Server Enterprise
Manager.
P 45616
D a ta b a s e s
< S A P S ID > 1
< S A P S ID > 2
m a s te r
m odel
m sdb
. . . . .
D a ta T r a n s f o r m a ti o n S e r v ic e
M anagem ent
. . . . .
. . . . .
October 2000
15
SAP AG
Named Instance
The named instance installation allows the installation of multiple, separate SQL Server
instances with corresponding SAP databases on the same computer. The multiple SQL
Server instances can coexist on the same computer and function in isolation of each
other. During the installation, each instance is given a unique name that is the same as
the corresponding SAP database.
The advantage of this installation type is that you can set up more than one SAP system
on the same machine and administer each corresponding SAP database separately with
its own copy of the SQL Server. The main components of the SQL Server are available
exclusively for each database and can be used only by that database. Only a few
resources such as client utilities are installed once and have to be shared by all the
databases.
If you plan to install more than one database on the same computer, then you should
only install named instances.
The following graphic illustrates a computer where two SQL Server named instances
have been installed with two SAP databases <SAPSID1> and <SAPSID2>. The
installation is shown as it would appear in the MS SQL Server Enterprise Manager.
P45616\<SAPSID1>
Databases
Databases
<SAPSID1>
<SAPSID2>
master
master
model
model
msdb
msdb
.....
.....
Management
Management
.....
.....
16
P45616\<SAPSID2>
.....
.....
October 2000
SAP AG
October 2000
17