Multiple Components in One Database - Technical Implementation on Different Databases Dr. Georg Leffers SAP AG
Technical Setup The following slides show for all databases supported by SAP the technical setup of an MCOD installation containing two systems. The systems are named C11 and C12. The part of the database that is used by system C11 is marked in BLUE, parts of the system C12 are marked in RED, and commonly used parts of the database are marked in YELLOW. For more information about the actual supported mysap.com components and details about the possible combination of components visit the quicklink MCOD on the SAP Service Marketplace. http://service.sap.com/mcod SAP AG 2002, Title of Presentation, Speaker Name 2
DB2 UDB for z/os and OS/390 SAPSYSTEMNAME 1 : C11 DB Schema: SAPC11 / DB2 SAPSYSTEMNAME 2 : C12 DB Schema: SAPC12 C11 C12 Stogroup1 Stogroup<n> DB2 Catalog Stogroup<n+1> Stogroup<m> C11STD C11BTD C12STD C12BTD DB2 - Database C11/C12 SAP AG 2002, Title of Presentation, Speaker Name 3
Implementation on DB2 UDB for z/os and OS/390 Technical Implementation: One database will contain the data of all systems The first system works with the user SAPR3 (R/3 4.6) as database schema/ database user, each additional system creates its own database schema/database user SAP<SID> With the SAP Web Application Server 6.10 and higher, every system creates a schema/user SAP<SID> For each additional system an own set of Stogroups will be created (SAP will be substituted by <SID>) The VCAT identifier differs from system C11 to C12 All systems will share the DB2 catalog as common resource The R/3 specific database administration tools can be configured to work on any system, if they access the database to monitor DB2 Strong recommendation for using a data sharing system with one data sharing member handling one SAP component SAP AG 2002, Title of Presentation, Speaker Name 4
DB2/iSeries SAPSYSTEMNAME 1 : C11 SAPSYSTEMNAME 2 : C12 R3C11DATA QSQJRN R3C12DATA QSQJRN R3C11JRN R3C12JRN Operation System Database SAP AG 2002, Title of Presentation, Speaker Name 5
Implementation on DB2/iSeries Technical Implementation: All mysap components use the single integrated database DB2 UDB for iseries There is no special implementation for the Multiple Components in One Database solution Each SAP system on iseries stores tables, indexes and views in a separate library A library corresponds to a SQL schema Each SAP system has its own database journal Additional information is available with SAP note 443925 SAP AG 2002, Title of Presentation, Speaker Name 6
DB2/UDB Unix & Windows SAPSYSTEMNAME 1 : C11 DB User: sapc11 / db2 SAPSYSTEMNAME 2 : C12 DB User: sapc12 C11 C12 sapdata1 sapdata2 sapdatat sapdata1 sapdata2 sapdata<n> PSAPDDIC SYSCATSPACE PSAPTEMP C12#DDIC db2 - Database C11 SAP AG 2002, Title of Presentation, Speaker Name 7
Implementation on DB2/UDB Unix & Windows Technical Implementation: One database will contain the data of all systems The first system works with the user sapr3 as database schema/ database user, each additional system creates its own database schema/database user sap<sid> With the SAP Web Application Server 6.10 and higher, every system creates a schema/user sap<sid> For each additional system an own set of tablespaces will be created (PSAP will be substituted by <SID>#) All systems will share the tablespaces SYSCATSPACE and PSAPTEMP The R/3 specific database administration tools only works on the first system (administrative definition of leading system) SAP AG 2002, Title of Presentation, Speaker Name 8
Microsoft SQL Server SAPSYSTEMNAME 1 : C11 DB User: C11 / SAPSYSTEMNAME 2 : C12 DB User: C12 C11DATA1 C11DATA2 C11DATA<n> C11LOG1 C11LOG<m> C11 Tables C11 Tables C11 Tables C12 Tables Catalog C12 Tables Roll, Temp, C12 Tables log log SQL Database C11 SAP AG 2002, Title of Presentation, Speaker Name 9
Implementation on MS SQL Server Technical Implementation: One database will contain the data of all systems In the past, all tables were owned by a single DB user dbo Now each SAP system will create its own database schema with database user <SID> which owns all the tables and views SAP AG 2002, Title of Presentation, Speaker Name 10
Informix SAPSYSTEMNAME 1 : C11 DB User: SAPR3 / informix SAPSYSTEMNAME 2 : C12 DB User: SAPR3 C11 sapdata C12 sapdata physdev1 physdev<n> physdev<1> physdev<n> data1 data<n> data<1> data<n> PSAPSYSTEM PSAPBTAB LOGDBS / PHYSDBS / ROOTDBS * TMPDBS<j> PSAPC12 SYSTEM PSAPC12 BTAB Informix Database C11 * Separated physdev Informix Database Server Informix Database C12 SAP AG 2002, Title of Presentation, Speaker Name 11
Implementation on Informix Technical Implementation: One database server for all SAP systems Each SAP system will create its own database with own dbspaces No additional database/os users, each database will be owned by the user sapr3 SAP AG 2002, Title of Presentation, Speaker Name 12
Oracle SAPSYSTEMNAME 1 : C11 DB User: sapc11 / oracle SAPSYSTEMNAME 2 : C12 DB User: sapc12 <DB_SID> sapdata1 sapdata2 sapdata3 sapdata4 sapdata5 sapdata<n> PSAPC11 PSAPC1146D PSAPROLL PSAPTEMP PSAPC11USR PSAPC12 PSAPC1246D PSAPSYSTEM PSAPC12USR Oracle - Database <DB_SID> SAP AG 2002, Title of Presentation, Speaker Name 13
Implementation on Oracle Technical Implementation: One database will contain the data of all systems Each SAP system will create its own database schema/database user sap<sid> Each SAP system will create its own set of tablespaces The new tablespace layout is described in SAP note 490365 SAP AG 2002, Title of Presentation, Speaker Name 14
SAP DB SAPSYSTEMNAME 1 : C11 DB User: sapc11 / SAPDB <DB_SID> SAPSYSTEMNAME 2 : C12 DB User: sapc12 sapdata saplog diskd001 diskd002 diskd<n> diskl001 diskl<m> C11 Tables C12 Tables Catalog C11 Tables C12 Tables Roll, Temp C11 Tables C12 Tables log log SAPDB - Database <DB_SID> SAP AG 2002, Title of Presentation, Speaker Name 15
Implementation on SAP DB Technical Implementation: One database instance will contain the data of all systems Each SAP system will create its own database schema with database user sap<sid> all other resources within the database are shared (catalog, devspaces,caches,...) Tables of the SAP systems and database system tables are spread across all available data files without a definitive distribution. SAP AG 2002, Title of Presentation, Speaker Name 16
Appendix Installation: For mysap components that are based on SAP Web Application Server 6.20 and higher the MCOD installation option can directly be chosen during the installation process. For mysap components that are build on basis 4.6C and the SAP Web Application Server 6.10, some modifications of the setup scripts have to be done before starting the installation. These modifications are described in detail for the different database/operation system platforms in several SAP notes that can be accessed on the SAP Service Marketplace. SAP AG 2002, Title of Presentation, Speaker Name 17
Copyright 2002 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, NT, EXCEL, Word, PowerPoint and SQL Server are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix and Informix Dynamic ServerTM are trademarks of IBM Corporation in USA 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, the Citrix logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, MultiWin and other Citrix product names referenced herein are trademarks of Citrix Systems, Inc. HTML, DHTML, XML, XHTML 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. MarketSet and Enterprise Buyer are jointly owned trademarks of SAP AG and Commerce One. SAP, SAP Logo, R/2, R/3, mysap, mysap.com 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 in several other countries all over the world. All other product and service names mentioned are trademarks of their respective companies. SAP AG 2002, Title of Presentation, Speaker Name 18
Copyright 2002 SAP AG. Alle Rechte vorbehalten Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten. Microsoft, WINDOWS, NT, EXCEL, Word, PowerPoint und SQL Server sind eingetragene Marken der Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix und Informix Dynamic ServerTM sind Marken der IBM Corporation in den USA und/oder anderen Ländern. ORACLE ist eine eingetragene Marke der ORACLE Corporation. UNIX, X/Open, OSF/1 und Motif sind eingetragene Marken der Open Group. Citrix, das Citrix-Logo, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, MultiWin und andere hier erwähnte Namen von Citrix-Produkten sind Marken von Citrix Systems, Inc. HTML, DHTML, XML, XHTML sind Marken oder eingetragene Marken des W3C, World Wide Web Consortium, Massachusetts Institute of Technology. JAVA ist eine eingetragene Marke der Sun Microsystems, Inc. JAVASCRIPT ist eine eingetragene Marke der Sun Microsystems, Inc., verwendet unter der Lizenz der von Netscape entwickelten und implementierten Technologie. MarketSet und Enterprise Buyer sind gemeinsame Marken von SAP AG und Commerce One. SAP, SAP Logo, R/2, R/3, mysap, mysap.com und weitere im Text erwähnte SAP-Produkte und -Dienst-leistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Ländern weltweit. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen. SAP AG 2002, Title of Presentation, Speaker Name 19