Technical
description
Transcript of Technical
-
Fast Start WorkshopTechnical Consultants
Dirk Biehler, SME Solution Center EMEAMelanie Handreck, MaxDB
-
SAP 2008 / Page 2
NetWeaver Business Client Technical Setup
Run SAP Business All-in-OneInstallation Wizard under VMware
VMware
SAP BusinessAll-in-One Installation Wizard1
2
3
4
OVERVIEW
-
SAP 2008 / Page 3
NetWeaver Business Client Technical Setup
Run SAP Business All-in-OneInstallation Wizard under VMware
VMware
1
2
3
4
OVERVIEW
SAP BusinessAll-in-One Installation Wizard
-
SAP 2008 / Page 4
CONTENTS
? Details about the SAP Business All-in-OneInstallation Wizard
? Used Technology and functions? Used Software releases
1 SAP BusinessAll-in-One Installation Wizard
-
SAP 2008 / Page 5
SAP Business All-in-One Installation Wizard Unit Objectives
After completing this unit, you will be able to? explain what the SAP Business All-in-One Installation wizard is and which technology is used.
? describe the benefits of the SAP Business All-in-One Installation wizard.
? differentiate between the different versions of the SAP Business All-in-One Installation wizard.
? use SAP Business All-in-One Installation wizard for setting up your own System.
1
-
SAP 2008 / Page 6
Activated Best Practices Solution
SAP Best Practices Demo assistant*
SAP ERP 6.0(test/productive)
MaxDB
Linux
SAP BAiO installation wizard? Linux and MaxDB as preferred
combination for SME
? Based on SAP EPR 6.0
? Full Best Practices scope activated
? Downloadable via service market place
? Flexible installation on different Platforms(Laptop or Server) through T-shirt sizing
? Enabled for the usage of Enhanced UserExperience (NetWeaver Business Client)
SAP BAiO Installation Wizard High Level Overview
* New tool that allows for quick and easy personalization of system demos
SAP BAiO installation wizard
1
-
SAP 2008 / Page 7
What is the SAP BAIO Installation Wizard High Level Overview
Installs all necessarySAP components
DetailsThe Exportdeliver thecontent forthe SAP ERPSystem.
YAST - Tool
SUSE Linux ES 10 (Operating System)
Installation Master SAP ERP 6.0
SAP Kernel 7.0
MaxDB 7.6
Export DVDs include SAP BestPractices technical add-ons
1
-
SAP 2008 / Page 8
Deliverables of the SAP BAIO InstallationWizard
DVD 0 CD 1 DVD 2 DVD 3
Linux Installation CD SAP Installation Master System Export CD 1 System Export CD 2
incl. Suse Linux Sles 10 SP 1 incl. all SAP installation CDs? Kernel? SAP master? MaxDB?.
incl. System export of theBest practices solution
incl. System export of theBest practices solution
Installation is possible native on a empty PC or server as well under VMware.
1
-
SAP 2008 / Page 9
SAP Business All-in-One Installation Wizard Benefits
The SAP Business All-in-One installation wizard reduces the installation effort by 90%and requires a significantly lower skill level.
Classical installation Installation wizard forSAP BAiO solutions
Required skill set for the installation Technical Consultant (Expert) No explicit SAP skills e.g.Hardware Technician
Duration of Installation process (core system:ERP, OS, Database) Average 5 days
- 1 day(depending of the hardware)
Upgrading system according to the Quick Guidefrom Best Practices Average 8 days
Installation of SAP Best Practices technicaladd-ons 30 minutes
Best Practices content activation Average 2 - 5 days Included
1
-
SAP 2008 / Page 10
Different Types of theSAP BAIO Installation Wizard
DemoInstallation Wizard
ProductiveInstallation wizard
Who can get it ? Every Partner can order it via Note Only available for HardwareVendors
Difference between the two version Full Best Practices scope installed A clean system which needs to becustomized by SAP VAR
Usage of the system Only for Demo and evaluation purposes No Limitation
1
-
SAP 2008 / Page 11
Demo Installation Wizard for SAP BAiOSolutions Ordering Process
SAP Business All-in-One installation wizard can be ordered via SAP message.All necessary informations can be found in the SAP note 1161734.?SAP medias will be delivered via DVDs.
? Linux media can be downloaded from Novell Homepage.
1
-
SAP 2008 / Page 12
During the installation with the Installation Wizard, the following steps need tobe executed? Installation of Linux SUSE Enterprise
? Installation of SAP MaxDB and SAP Best Practices
? During the installation, some customer data need to be entered so that the installation runssuccessfully.
? Customer data need to be available before the installation starts (only for productive Version).
1Installation Wizard Steps Overview
-
SAP 2008 / Page 13
Installation Wizard Customer Data Overview
These are the customer data that are to be entered duringthe installation process.
The SAP software partner provides these data.
1
-
SAP 2008 / Page 14
Installation Wizard Customer Data Explanation
Further details are available about the customer data.
1
-
SAP 2008 / Page 15
Installation Wizard Steps 1-81
-
SAP 2008 / Page 16
Installation Wizard Steps 9-141
-
SAP 2008 / Page 17
Summary
Description
? A pre-tested, auto-installable stack that includes Linux, SAP MaxDB, a tested ERP system instance and SAP Best Practices? Stack ownership and responsibilities clearly defined between SAP and infrastructure partner.? Two different version one for Productive use and one for Demo Usage
General Value Statement
? 6-10 days of less efforts to install complete SAP system.? As it is pre-tested customer gets highest quality at lower price.? SAP can position and deliver strategic assets as MaxDB or push Novell Linux to lower TCO and reduce royalties to 3rd party
DB vendors.
Influencer Prospect / Customers VAR Channel Partner Large PlayerEcosystem Partner SAP
? Reduced TCObecause of veryeasy to handle SAPinstallation
? Always latest up todate SAP installation
? No effort with timeconsuming SAPinstallation
? Up to date SAPinstallation
? SAPs default optionfor Pre-installation
? Easy install of SAPstack incl. OS andDB
? No special SAPskills required for theinstallation
? Tested ERP SWstack
? Reduced incidentsduring installationphase
? Reduced complexityand provedcombination of SAPstack
? Strengthen thecooperation with theEcosystem of theLarge Players
1
-
SAP 2008 / Page 18
VMware
You should now be able to? explain what the Sap Business All-In-One installation Wizard is.? explain the two different types of the SAP Business All-in-one installation wizard.? understand the process and steps that are executed with the Installation Wizard.? execute the installation with the Installation Wizard.? understand how to order your own Demo version.
1
-
SAP 2008 / Page 19
NetWeaver Business Client Technical Setup
Run SAP Business All-in-OneInstallation Wizard under VMware
VMware
SAP BusinessAll-in-One Installation Wizard1
2
3
4
OVERVIEW
-
SAP 2008 / Page 20
CONTENTS
? Details about VMware? Used Technology and functions? Different use cases of VMware
2 VMware
-
SAP 2008 / Page 21
SAP Business All-in-One Installation Wizard:Unit Objectives
After completing this unit, you will be able to? explain what VMware is.
? describe the benefits and the different use cases of VMware.
? use VMware together with the SAB Business All-in-One Installation wizard.
? use VMware for setting up your demo Laptop.
2
-
SAP 2008 / Page 22
1. Easy to handle, even for non technicians
2. Reliable, reducing your needs for having anappropriate DEMO system
3. Fast, reducing your affords for getting up andusage of your DEMO system
4. Very affordable, free fully functional productsavailable
VMware Benefits2
-
SAP 2008 / Page 23
SAP is going to enable its entire software stack to besupported on virtual machine/server environments.
Initially, its software is being tested for use onVMware, and it's planning to enable users to do live
migration this way.
451-Group, September 2006
SAP on VMware2
-
SAP 2008 / Page 24
Full support for all production environments? Windows
? SAP NetWeaver 7.1 (SAP Kernel 7.10)? SAP NetWeaver 7.0 (SAP Kernel 7.00)? SAP NetWeaver 2004 (SAP Kernel 6.40)? Lower SAP versions supportable during an SAP upgrade
? Linux? SAP NetWeaver 7.1 (SAP Kernel 7.10)? SAP NetWeaver 7.0 (SAP Kernel 7.00)? SAP NetWeaver 2004 (SAP Kernel 6.40)? Lower SAP versions supportable during an SAP upgrade
? 32- / 64-bit SAP Systems? 64-bit SAP systems are fully supported? 32-bit SAP systems are supportable during an SAP upgrade
SAP & VMware Support Status2
-
SAP 2008 / Page 25
Enterprise Workloads
Run the SAP resource intensive enterprise infrastructureincluding databases and NetWeaver etc. in virtual machines.
SAP NetWeaverSAP BusinessSuiteSAP R/3 Enterprise
SAP R/3 4.6c, 32-/64-bit
VMware ESX Server 3.0 / 3.5? 3rd generation of virtualization technology
? 64bit support !
? Up to 4 virtual CPUs per VM / 2 for free serverand workstation
? 16GB RAM per VM with ESX Server 3.064GB RAM per VM with ESX Server 3.5
? 8GB RAM for free server (up to)
? Support for powerful physical servers with up to? 64GB RAM / 32 cores with ESX Server 3.0? 256GB RAM / 32 cores with ESX Server 3.5
? Support for large memory tables inESX Server 3.5 and improved I/O
2
-
SAP 2008 / Page 26
All SAP certified Hardware is supported? SAP SD Standard Application Benchmark Certificates for
? Windows Dell on AMD and Intel FSC on AMD and Intel HP on Intel IBM on AMD and Intel Sun on AMD
? (Linux) HP FSC IBM Sun
? SAP removed requirement to certify servers specificlywith VMware due to stability and performance.
? Server certificates are no longer necessary.
SAP & VMware Hardware Support Status2
-
SAP 2008 / Page 27
SAP Certificates for SAP SD Benchmark onVMware
? SAP SD Standard Application Benchmark used forhardware certification
? Quality of benchmark strongly depends on time andeffort spent ~ 1.200 SAPS / core
2
-
SAP 2008 / Page 28
VMware Installation
VMware installation in short terms? Windows: start setup, follow the assistant
? Linux: start install script, follow the assistant.
? Answer all questions with yes or next (staywith the defaults) and your VMware server orworkstation will become operational.
? After finishing the installation wizard reboot tomake sure your environment as well servicesare set appropriate and up and running.
? Start the VMware Console via the Desktop Iconor path within All Programs.
2
-
SAP 2008 / Page 29
VMware Installation
Particularities? Only Windows Vista 64 bit: Windows mandatory Kernel
Mode and Driver Signing implies that all modules ordrivers designed to run at kernel level have to featuredigital signatures. This may make your installation fail.
? In case you use an actual Vista 64 bit, you will have todo a F8 start before installation.
? While starting Vista 64 press F8 and wait for theadvanced boot prompt.
? You will be asked for several boot options, selectDisable Driver Signature Enforcement .
? Remember to do a F8 start every time you boot Vista 64in case you use the free VMware products. VMwareWorkstation features digital signed drivers.
? There are a lot of hints for avoiding the F8 boot. This isnot working for an actual Vista 64 with latest patches.Save your time.
2
-
SAP 2008 / Page 30
VMware Installation
? Select your Setup.exe and make it run. You will be welcomed by the Installation wizard.Always stay with the default selection.
2
-
SAP 2008 / Page 31
VMware Installation
? Dependent on the version and configuration of your Windows you may see a warning. Feelfree to ignore it and stay with the default selection OK.
2
-
SAP 2008 / Page 32
VMware Installation
? Go on with the Installation Wizard and stay with the default selection.
2
-
SAP 2008 / Page 33
VMware Installation
? The Installation will be stopped by Windows and a Warning will be generated.The appearance depends on your Version of Windows.
2
-
SAP 2008 / Page 34
VMware Installation
? Change to Install this driver software .
2
-
SAP 2008 / Page 35
VMware Installation
? You will be guided to a screen for applying your serial number:
2
-
SAP 2008 / Page 36
VMware Installation
? Enter your serial and finish your installation.
2
-
SAP 2008 / Page 37
VMware Installation
? You successfully finished. Dependent on the very installation of your OS you will be forced toreboot.
? Please, if you are not, dont mind, but reboot.
2
-
SAP 2008 / Page 38
VMware Preparing Your Virtual Machine
Preparing your virtual machine? You did reboot.
? Start your Virtual Machine Console via the Desktop Icon or the path under programs.You will be welcomed by your login.
2
-
SAP 2008 / Page 39
VMware Preparing Your Virtual Machine(Server Installation) 2
-
SAP 2008 / Page 40
VMware Preparing Your Virtual Machine(Server Installation)
Preparing your virtual machine? No further information is required, just stay with the default and accept.
2
-
SAP 2008 / Page 41
VMware Preparing Your Virtual Machine
? After successful login your VMware Console starts blanked, but ready for work.
2
-
SAP 2008 / Page 42
VMware Preparing Your Virtual Machine
? Choose New ? Virtual Machine for starting the Wizard for creating your new virtualmachine.
2
-
SAP 2008 / Page 43
VMware Preparing Your Virtual Machine
? And as always you are welcome. Just accept and stay with the default Next.
2
-
SAP 2008 / Page 44
VMware Preparing Your Virtual Machine
? The screens for the free server products and Workstation only differ very little.
2
-
SAP 2008 / Page 45
VMware Preparing Your Virtual Machine
? Stay with the default and accept.
2
-
SAP 2008 / Page 46
VMware Preparing Your Virtual Machine
? You may accept the default naming or choose a name by your own. Just leave the Locationas is. The path will depend on your favorite Windows.
2
-
SAP 2008 / Page 47
VMware Preparing Your Virtual Machine
? Change the Network Type to Use host-only networking as it will give as the neededfunctionality.
2
-
SAP 2008 / Page 48
VMware Preparing Your Virtual Machine
? Change the Disk Capacity to 1 GB and leave the boxes unchecked.
2
-
SAP 2008 / Page 49
VMware Preparing Your Virtual Machine
? You created a definition for your Virtual Machine.
2
-
SAP 2008 / Page 50
VMware Preparing Your Virtual Machine
? Right now you created a definition for your Virtual Machine.
? You virtual machine mostly equals an empty machine without any software installed, but fullyfunctional.
? Next we may adjust the settings of your new machine to your needs.
? In terms of VMware Edit virtual machine settings
2
-
SAP 2008 / Page 51
VMware Preparing Your Virtual Machine
? Under Commands select Edit virtual machine settings.
2
-
SAP 2008 / Page 52
VMware Preparing Your Virtual Machine
? By selecting Edit virtual machine settings you are shown several options, equal to a physicalmachine. If you now about them feel free to select for your needs. Otherwise, please followthe recommendations.
2
-
SAP 2008 / Page 53
VMware Preparing Your Virtual Machine
? As 384 MB of RAM wont be enough, please select Memory, then adjust memory size to ourrecommendation on the left side.
2
-
SAP 2008 / Page 54
VMware Preparing Your Virtual Machine
? Next we need more space for the file system of the virtual machine. We may do so easily byadding a new hard disk. Select Add
2
-
SAP 2008 / Page 55
VMware Preparing Your Virtual Machine
? Next we need more space for the file system of the virtual machine. We may do so easily byadding a new hard disk. Select Add
2
-
SAP 2008 / Page 56
VMware Preparing Your Virtual Machine
? Choose Hard Disk, follow the defaults, but adjust the size of your Hard Disk.
2
-
SAP 2008 / Page 57
VMware Preparing Your Virtual Machine
? You finished!
? Great, isnt it.
? Your virtual machine equals a machine as recommended for our purposes.
? We now may go for the installation of the OS and SAP.
2
-
SAP 2008 / Page 58
VMware
You should now be able to? explain what VMware is.
? explain the benefits of VMware.
? create your own VMware environment.
2
-
SAP 2008 / Page 59
NetWeaver Business Client Technical Setup
Run SAP Business All-in-OneInstallation Wizard under VMware
VMware
SAP BusinessAll-in-One Installation Wizard1
2
3
4
OVERVIEW
-
SAP 2008 / Page 60
CONTENTS
? Setup your own Demo Laptop? Combine VMware and SAP Business
All-in-One installation Wizard? Linux Handling? VMware handling for your Demo proposes
3 Run SAP Business All-in-OneInstallation Wizard under VMware
-
SAP 2008 / Page 61
SAP Business All-in-One Installation Wizard Unit Objectives
After completing this unit, you will be able to? install a Demo Laptop.
? use the SAP Business All-in-One installation Wizard under VMware.
? use SAP within a Linux environment.
? make use of the Benefits of VMWare for Demo proposes.
3
-
SAP 2008 / Page 62
VMware Software Installation
? As the machine has no initial OS loaded, we will have to help the machine booting.
? Only once, after the installation went through you will start and stop the machine with oneclick.
? For now we should make the machine boot from its CD-Rom.
? Please start your VMware Console if you havent done so yet.
3
-
SAP 2008 / Page 63
VMware Software Installation
? Select your virtual CD-Rom and choose Edit virtual machine or just doubleclick yourselected entry and choose Use ISO Image:
3
-
SAP 2008 / Page 64
VMware Software Installation
? Choose browse and navigate to the location of your ISO files:
3
-
SAP 2008 / Page 65
VMware Software Installation
? Choose browse and navigate to the location of your ISO files:
3
-
SAP 2008 / Page 66
VMware Software Installation
You should remember this later, because we will have to change the media ofthe virtual CD-Rom three more times!
Therefore any suggestions?
3
-
SAP 2008 / Page 67
VMware Software Installation
? We are ready to start the installation. Therefore select Power On.
3
-
SAP 2008 / Page 68
VMware Software Installation
? You may do as shown or use the green radio button or select Start the virtual machineunder Commands.
? But please make sure that there is an entry stating your CD-ROM is using an image.
3
-
SAP 2008 / Page 69
VMware Software Installation
? The machine will boot and the initial screen for the installation of the virtual machine will showup.
3
-
SAP 2008 / Page 70
How to Work With Linux
Logon to Linux? Use the user root with the master password (smesol01).
? Check IP address ? enter ifconfig in the command line? Start SAP system ? su - ? startsap ? Stop SAP System ? su - ? stopsap
3
-
SAP 2008 / Page 71
VMware Handling and Optimization
VMware handling? Flexible session creation (please refer to the document BP_Demo_Image_Inst_PartCust_V1.pdf)
? VMware session started and you want to go out of the session to open the GUI? press strg + alt
? Turn off the session? use suspend mode for the session
3
-
SAP 2008 / Page 72
VMware Handling and Optimization
VMware optimization
VMware? After successful installation and startup of the system you should shutdown the whole
VMware Instance? use sleep mode
R/3? Check the instance profile of the system and change the following parameters:
rdisp/wp_no_dia 4rdisp/wp_no_btc 2rdisp/wp_no_enq 1rdisp/wp_no_vb 2rdisp/wp_no_vb2 0rdisp/wp_no_spo 1abap/buffersize 200000
? Check with st02 to get an overview what you should change.
3
-
SAP 2008 / Page 73
VMware Handling and Optimization
? VMware Snapshots are specified points in time to whom you always may go back without theprocedure of a point in time recovery.
? Snapshots may be taken while running the machine!
? Go to Snapshot. Then Take snapshot.
3
-
SAP 2008 / Page 74
VMware Handling and Optimization
? While taking the snapshot, the machine is slowing down, but functional.
? You may go back to the taken snapshot by choosing Snapshot, then Revert to Snapshot.
3
-
SAP 2008 / Page 75
VMware
You should now be able to? explain how to use Sap Business All-in-One installation Wizard under VMware.
? install a SAP system on a Demo Laptop.
? start and stop R/3 system under Linux.
? make the best use of VMware for Demo proposes.
3
-
SAP 2008 / Page 76
NetWeaver Business Client Technical Setup
Run SAP Business All-in-OneInstallation Wizard under VMware
VMware
SAP BusinessAll-in-One Installation Wizard1
2
3
4
OVERVIEW
-
SAP 2008 / Page 77
CONTENTS
? Details about the technical setup ofNetWeaver Business Client
? Used Software releases
4 NetWeaver Business Client Technical Setup
-
SAP 2008 / Page 78
NetWeaver Business Client Technical SetupUnit Objectives
After completing this unit, you will be able to? install the NetWeaver Business Client.
? configure the NetWeaver Business Client.
? configure the backend System for the usage of NetWeaver Business Client.
4
-
SAP 2008 / Page 79
Requirements
For legal reasons and sorry for your inconvenience: Please download anadditional component for your system.
Please go to the Software Distribution Center, you will find it under:? https://service.sap.com/swdc
? then Download
? then SAP Crypthographic Software
? or choose Search for all Categories
? You want the sapcrypto.car.
4
-
SAP 2008 / Page 80
Requirements
? The SAP Cryptographic Library installation package sapcrypto.car contains the following files:? The SAP Cryptographic Library (sapcrypto.dll for Windows NT or libsapcrypto. for
UNIX)? A corresponding license ticket (ticket)? The configuration tool sapgenpse.exe
4
-
SAP 2008 / Page 81
Requirements
? For your convenience, in case you dont already know the SWDC
4
-
SAP 2008 / Page 82
Requirements
? Feel free to alternatively use the Search for all Categories link, search for sapcrypto.
4
-
SAP 2008 / Page 83
Installing Sapcrypto
? After successfully downloading the sapcrypto.lib has to be copied to your virtual machine.
? This may be easily done by using winscp an explorer like tool for secure networkconnections between two machines.
4
-
SAP 2008 / Page 84
Installing Sapcrypto
? As winscp doesnt have to be installed, just start it by a double-click.
? You are welcomed by a login.
? Please give the IP of your virtual machine to it and login as root.
4
-
SAP 2008 / Page 85
Installing Sapcrypto
? Winscp will probably ask you to save a key. This is only for remembering the connectionbetween the machines.
? Do so.
? After successful login you may copy your data to the virtual machine by browsing the windowsand cut and paste.
4
-
SAP 2008 / Page 86
Installing Sapcrypto
? Please browse to your DIR_EXECUTABLE within the remote window which is/usr/sap//SYS/exe/run.
? Select your sapgenpse and sapcrypto.so from your local directory and paste.
? Please browse to your /usr/sap/SID//sec in the remote window.
? Leave your license ticket, credentials with it.
4
-
SAP 2008 / Page 87
Installing Sapcrypto
? After copying the files you will have to do some additional preparations.
? There should be a environment variable SECUDIR set to the sec subdir/usr/sap/SID//sec.
? In case not, create it as sidadm by typing setenv SECUDIR=/usr/sap/SID//sec.
4
-
SAP 2008 / Page 88
Adjusting SAP
? Log on to SAP.
? Type rz10 for profile maintenance in your transaction window.
4
-
SAP 2008 / Page 89
Adjusting SAP
? Start the profile selection by choosing the box right to Profiles.
? Select Default and change checkbox to Extended maintenance.
4
-
SAP 2008 / Page 90
Adjusting SAP
? Select change.
4
-
SAP 2008 / Page 91
Adjusting SAP
? Choose New Parameter (iconified Sheet).
? Fill in appropriate.
4
-
SAP 2008 / Page 92
Adjusting SAP
? Go for the Back Icon.
? Accept.
4
-
SAP 2008 / Page 93
Adjusting SAP
? Understand the hint and do as recommended after finishing the adjustments.
4
-
SAP 2008 / Page 94
Adjusting SAP
? Repeat for profile parameter login/accept_sso2_ticket.
? Set the field value to 1.
? Change to your Instance Profile.
? Add profile parameter icm/server_port_0.
? Add the values PROCTIMEOUT=300,TIMEOUT=900 to the standard.
4
-
SAP 2008 / Page 95
Adjusting SAP
? Change to STRUSTSSO2.
? System PSE, SAP CryptoLib, SSL Server, SSL Client (Standard)must be implemented.
? The System Personal Security Environment is created during installation.
? SAP CryptoLib, SSL Server, SSL Client (Standard) must be implemented.
4
-
SAP 2008 / Page 96
Adjusting SAP
? Check status within STRUSTSSo2.
4
-
SAP 2008 / Page 97
Adjusting SAP
? Change to transaction sicf and do F8.
4
-
SAP 2008 / Page 98
Adjusting SAP
? Open the path as shown and right click the appropriate service.
? Choose Activate service.
4
-
SAP 2008 / Page 99
Adjusting SAP
? Choose Activate service.
? Do so for:/default_host/sap
/public/bc/icons
/icons_rtl/pictograms/ur/webdynpro/*/webicons
/bsp/sap/htmlb/public/bc/system
4
-
SAP 2008 / Page 100
Adjusting SAP
? Choose Activate service.
? Do so for:
4
-
SAP 2008 / Page 101
Adjusting SAP
? Choose Activate service.
? Do so for:/icf_info
/logon_groups/urlprefix/icr_groups/icr_urlprefix
/icman/myssocntl
4
-
SAP 2008 / Page 102
Adjusting SAP
? Choose Activate service.
? Do so for:/bc
/bsp/kyk/dal_home/sap/public/bc
/system/dal/demoa
/demob
/igs_data/print/*/smart_forms/webdynpro/kyk/*
/sap/lord*/powl*/wdk*/wdhc_application
4
-
SAP 2008 / Page 103
Adjusting SAP
For details apply to Note 1163891.
4
-
SAP 2008 / Page 104
Configure Your NetWeaver Business Client
? Start the NetWeaver Business Client and navigate to System ? Preferences.
4
-
SAP 2008 / Page 105
Configure Your NetWeaver Business Client
? In the NetWeaver Business Client Configuration screen choose Add.
4
-
SAP 2008 / Page 106
Configure Your NetWeaver Business Client
? Please enter the data for your System:
Name: System Name
Type: SAP All-In-One
Protocol: HTTP
Host: Full qualified hostname
Port: Use Transaction SMICM
Path: Always the same
4
-
SAP 2008 / Page 107
Resources
SAP Notes? 674851 Virtualization on Windows
? 1104578 Virtualization on Windows: Enhanced Monitoring
? 1056052 VMware ESX Server configuration guidelines
? 1122388 Linux: VMware ESX Server 3 configuration guidelines
? 1122387 Linux: Supported Virtualization technologies with SAP
? 895807 SAP support in virtualized Linux environments
SAP VMware (and other) benchmarks? http://www.sap.com/solutions/benchmark/sd2tier.epx
? Your DEMO Cookbook
4
-
SAP 2008 / Page 108
Thank You!
-
Overview
SAP MaxDBThe SAP database
-
SAP 2008 / SAP MaxDB / Page 110
15 years of experience in the SAP database scenario
SAP MaxDB
1977-1997 Start as a research project at the Technical University of Berlin,subsequently owned by Nixdorf Computer AG,Siemens-Nixdorf Informationssysteme AG, Software AG
1993 DBMS for SAP R/3
1997 Acquisition by SAP AG
2003 Rebranding to MaxDB
2007 Approved name now: SAP MaxDB
-
SAP 2008 / SAP MaxDB / Page 111
SAP MaxDB - Development Rationale
Your requirements Safety, availability, scalability, performance,Ease of use, automatic administration, adaptiveness
Our vision The invisible database Self-maintenance is best
Our rationale Essential, substantial Less is moreDo things right Simply elegantFight complexity Elegant simplicity
Your advantage Lowest cost of ownershipHigh level of comfortSimplicity
-
SAP 2008 / SAP MaxDB / Page 112
SAP MaxDB is Affordable, Simple and Reliable
Is affordable (lower cost of ownership)
? Lower license costs: as much as 50% of other databases
? Lower maintenance costs: works out of the box and is optimized for SAP solutions
Is simple to use
? Easy-to-use tools: for minimal administration
? Standards-based: provides familiar SQL92, JDBC and ODBC interfaces
? Completely integrated: DBA Planning Calendar, Alert Monitor
? Strongly automated: Important administration taskslike e.g.backing up log entries to ensure that the database can be restored at alltimes, collecting and managing statistics for future analysis
Is reliable
? By SAP, for SAP: rigorously tested with and fully integrated into SAP applications
? Scalable: works invisibly from desktop to very large servers
-
SAP 2008 / SAP MaxDB / Page 113
SAP MaxDB is SAP's own database -specifically designed to have lower TCO forSAP applications
SAP is investing in the development of SAPMaxDB, a strategic and safe alternative foryou
SAP MaxDB is a robust and reliabletechnology, optimized to run on all majorSAP solutions
SAP MaxDB is SAPs preferred choice forSAP Business All-in-One fast-start program
SAP MaxDBs performance is comparable toother databases
SAP MaxDB is used in over 13,300commercial installations at approximately6,000 customer sites world-wide
Application, platform andDBMS integrated and delivered
by SAP
SAP MaxDB is Owned, Developed andSupported by SAP
SAPBusiness
Suite
SAPBusiness
All-in-One
SAPBusinessByDesign
NetWeaver
SAP MaxDB ToolsODBC, JDBC, SQL-92
-
SAP 2008 / SAP MaxDB / Page 114
Low License Costs
With only 5% of your SAP application value, SAP MaxDB license costs areconsiderably lower than license costs for other databases.
* according to SAP Master Pricelist Direct Sales
SAP MaxDB Oracle IBM DB/2LUWMicrosoft SQL
Server
License Costs*(Percentage of SAPApplication Value)
5% 11% 8% 8%
-
SAP 2008 / SAP MaxDB / Page 115
Save up to 60% With SAP MaxDB
SAP MaxDB is considerably cheaper in comparison to other available databases(5 year cost estimate for databases as part of SAP Business All-in-One).
Overall system costs on a 5 year line with regards to database usedLicenses (ERP price per user (CU), database), maintenance fee, adminstration cost, backup space
0
50000
100000
150000
200000
250000
300000
350000
400000
450000
1 2 3 4 5
Year
Cur
renc
y U
nits
SAP MaxDBDB Option4DB Option 2DB Option 3
-
SAP 2008 / SAP MaxDB / Page 116
Customer Example
? Affordable: With only5% of your SAPapplication value, SAPMaxDB license costs areconsiderably lower thanlicense costs for otherdatabases.
SAP MaxDB helps you reduceyour database-related IT costs by up to 60%.
? Litef GmbH:Navigation systems,700 employees
? Key benefits:? Cost savings? Ease of use? Integrated SAP solution
? Reduction in IT costs: 40% in 5 yearscompared to other databases
? Pharmlog:Distribution of pharmaceuticals,250 employees
? Key benefits:? Cost savings? Ease of use? Integration with other applications
? Simple: SAP MaxDBonly requires minimaladministration andprovides easy-to-useadministration tools,resulting in low trainingand DBA staffing costs.
? Reliable: As SAPs owndatabase product, SAPMaxDB is optimized forSAP solutions and fullyintegrated into SAPsmaintenance andsupport infrastructure.
-
SAP 2008 / SAP MaxDB / Page 117
SAP MaxDB Customers (OLTP and BI)
-
SAP 2008 / SAP MaxDB / Page 118
Recent SAP MaxDB Benchmarks
Visit www.sap.com/benchmark
Vendor Type UsersOperating System,Database,SAP Version
Configuration
HP SD 2275
Operating System central server:SuSE Linux Enterprise Server 10
RDBMS: MaxDB 7.7SAP ECC Release: 6.0
Configuration:Central server: HP ProLiant DL380 G5, 2 processors / 8 cores / 8 threads, Quad-Core Intel Xeon Processor X5460, 3.16 GHz, 64 KB L1 cache per core and 6 MBL2 cache per 2 cores, 32 GB main memory
SUN SD 3550
Operating System central server:Solaris 10
RDBMS: MaxDB 7.6SAP ECC Release: 6.0 (Unicode)
Configuration:Central server: Sun Blade Model X8440, 4 processors / 16 cores / 16 threads,Quad-Core AMD Opteron processor Model 8356, 2.3 GHz, 128 KB L1 cache and512 KB L2 cache per core, 2 MB L3 cache per processor, 64 GB main memory
FSC SD 2300
Operating System central server:SuSE Linux Enterprise Server 10
RDBMS: MaxDB 7.7SAP ECC Release: 6.0
Configuration:Central server: Fujitsu Siemens Computers PRIMERGY Model TX300 S4 | RX300S4, 2 processors / 8 cores / 8 threads, Quad-Core Intel Xeon Processor X5460,3.16 GHz, 64 KB L1 cache per core and 6 MB L2 cache per 2 cores,32 GB main memory
-
SAP 2008 / SAP MaxDB / Page 119
SAP MaxDB on Linux since 2000
Customer Installations on Linux/MaxDB 2000-2008/5
0
200
400
600
800
1000
1200
1400
1600
1800
2000
2001
2002
2003
2004
2005
2006
2007
2008
liveCache and Content Serverinstallations (KM) not included
MaxDB Customer Installations 2000-2008/05 (all HW/OS platforms)
0
1000
2000
3000
4000
5000
6000
2000
2001
2002
2003
2004
2005
2006
2007
2008
Linux by Database (May 2008)
MaxDB26%
DB/2 LUW7%
Oracle67%
Other0%
-
SAP 2008 / SAP MaxDB / Page 120
Beside Fast Start, You Have the Choice:Broad Platform Support, Low Hardware Costs
Hardware is an important cost factor, and it comes with vastly different price tags.
SAP MaxDB runs on all major operating systems. This means that you are free tochoose the platform that suits your business needs best.
Vendor Operating System Architectures
Hewlett Packard HP-UX 11.11, 11.23, 11.31 PA-RISC, IA64
IBM AIX 5.1, 5.2, 5.3, 6.1 Power
Linux (Novell, Red Hat)SUSE Linux EnterpriseServer 9, 10Red Hat Enterprise Linux 4
IA32, IA64, X64, Power
MicrosoftWindows 2000, XPWindows Server 2003
IA32, IA64, X64
SUN Solaris 9, 10 Sparc, X64
-
SAP 2008 / SAP MaxDB / Page 121
LogVolume
DataVolumeData
VolumeDataVolume
SAP MaxDBKernel
Simple Anatomy of a SAP MaxDB Instance
LogVolume
DataVolume
ApplicationSAP MaxDB Instance
One pool of DB objects
-
SAP 2008 / SAP MaxDB / Page 122
SAP MaxDB Component Portfolio
SAP MaxDB Kernel
Installation Manager
Database ManagerDBMGUI (Windows)DBMCLI
DBAnalyzer
SQL Studio (Windows)
LoaderSync Manager
WebDAV
SQLCLI
SQLDBC
ODBC 3.5JDBC 3.0
PerlPythonPHP
Operations Tools Interfaces
Database Studio
-
SAP 2008 / SAP MaxDB / Page 123
SAP MaxDB Installation Manager
Few-clicks-only installation? Mobile clients / Laptop? Workstations / PC? Embedded DBMS
Template-based installation & configuration? Silent mode? Template selection? Optional demo data
Automatic operation option? Restart, shutdown? Backup, recovery? Database extension
GUI? Platform-independent
-
SAP 2008 / SAP MaxDB / Page 124
Database Studio
Database Studio Integrated Tool-Platformfor SAP MaxDB
? Platform independent? Plug-ins for
? Landscape management User Repositories
? Database management? SQL-Queries, Reporting? Loader? Synchronization Manager? DBAnalyzer
-
SAP 2008 / SAP MaxDB / Page 125
Integration Into the SAP System
Central Monitoring (DB59),Integrating Systems
-
SAP 2008 / SAP MaxDB / Page 126
Enterprise Class Database Technology from SAP for SAP
Summary
SAP MaxDB is
a low-cost enterprise-class DBMS,
developed intensively,
fit for the job and tuned for SAP applications,
and means one-stop-shopping.
Supportability SIMPLE
Self-Tuning ROBUST
Adaptiveness FLEXIBLE
-
SAP 2008 / SAP MaxDB / Page 127
? Public WebSAP Community Network (SDN): www.sdn.sap.comBusiness Process Expert (BPX) Community: www.bpx.sap.comSAP MaxDB @ SDN: http://www.sdn.sap.com/irj/sdn/maxdbPartner Edge Portal: in the SAP Business All-in-One playground
? Related SAP Education Training Opportunitieshttp://www.sap.com/education/ADM515, Database Administration MaxDBUMEW50, MaxDB Empowering Workshop AdministrationUMEW60, MaxDB Empowering Workshop Performance Monitoring and
OptimizationWB550, MaxDB Internals Workshop
Further Information
-
SAP 2008 / SAP MaxDB / Page 128
SAP MaxDB @ SAP Community NetworkOur Information Pool
http://www.sdn.sap.com/irj/sdn/maxdb
-
SAP 2008 / SAP MaxDB / Page 129
SAP Partner Edge: Channel Partner PortalSAP MaxDB & Fast Start
-
SAP MaxDBAdministration and Monitoring
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will:? Know how to use SDBSETUP to
? Upgrade the SAP MaxDB software and the database instance? Know how to use SDBUPD to
? Upgrade the SAP MaxDB software and the database instance
Objectives
-
Installation Tools
Purpose Tool
Installation of an SAP system includingthe SAP MaxDB Software SAPINST
Installation of a standby instance orsystem copy
SDBSETUP orSDBINST
Updating an existing database instanceto a newer Build SDBUPD
Upgrading the database instance to anew major release see upgrade guide
Removing all SAP MaxDB software from yourserver SDBUNINST
-
Upgrade Prerequisites
Administrator/root
Service MarketplaceDownload SAP MaxDBsoftware
maxdb-server----Extract SAP MaxDB software
Database Complete Backup
C:\>dbmcli db_enumOKMIDB C:\sdb\MIDB\dbMYDB2 C:\sdb\MYDB2\dbMYDB C:\sdb\MYDB\db
C:\>dbmcli db_enumOKMIDB C:\sdb\MIDB\dbMYDB2 C:\sdb\MIDB\dbMYDB C:\sdb\MIDB\db
-
Upgrade Procedure with SDBSETUP
-
Upgrade Procedure with SDBUPD
To use SDBUPD for a database upgrade, go to the directorymaxdb-all--32|64bit--_,into which you unpacked the installation package.
Start the SDBUPD program with the following command:
UNIX/Linux:
./SDBUPD d -u ,
Microsoft Windows:
sdbupd d -u ,
SDBUPD performs the upgrade and displays a success message if the upgrade iscompleted successfully. It then flags the installation as complete.
-
Installation Log Files
CALL: SDBINSTSTDOUT:
Installation of MaxDB SoftwareSTDOUT: *******************************
STDOUT: starting installation Tu, Jun 06, 2006 at 17:43:04STDOUT: operating system: Windows I386 NT 5.1 Service Pack 2STDOUT: callers working directory: C:/temp/Install/760029001STDOUT: installer directory: C:/temp/Install/760029001Can't open registry key "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAP
DBTech": No such file or directorySTDOUT: archive directory: C:/temp/Install/760029001STDOUT:
STDOUT: existing component groups:STDOUT: 0: Server + ClientSTDOUT: 1: ClientSTDOUT: 2: CustomSTDOUT: 3: noneSTDOUT: please enter component group id:STDIN: 0STDOUT:STDOUT: installation of MaxDB Software finished successfully
Tu, Jun 06, 2006 at 17:44:43STDOUT: Rebooting ensures that the MaxDB software can be
started from any command line window!
-
Summary
You should now be able to understand:
? How the SAP MaxDB software and the database instance can be upgraded withSDBSETUP
? How the SAP MaxDB software and the database instance can be upgraded usingSDBUPD
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will be able to explain:? How to integrate a database into the Database Studio? How to add users to connect to the database? How to use the administration section? How to execute SQL statements
Objectives
-
Database Studio Welcome Page
-
Add a Database
-
User Management
-
Create Login
-
Administration
-
SQL SQL Editor
-
Summary
You should now be able to understand:
? How a database can be integrated into the Database Studio
? How users are added to connect to the database
? How the administration section can be used
? How SQL statements can be executed
-
Agenda
Software updatesIntroduction to Database StudioStarting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will know:? Which are the three operational states of SAP MaxDB? How to start and stop the database with Database Studio
Objectives
-
Operational States
There are three possible operational states of SAP MaxDB:
OFFLINE:SAP MaxDB kernel processes and caches do not exist.No user can use the database.
ADMIN:The SAP MaxDB kernel is active (processes are started,caches are initialized). Users cannot connect to thedatabase. Only the DBM operator can connect andperform administrative tasks.
ONLINE:The SAP MaxDB kernel is active and ready to work. Userscan connect to the database.
-
Startup and Shutdown with Database Studio
-
Startup and Shutdown with Database Studio
-
Startup and Shutdown with Database Studio
-
Startup and Shutdown with Database Studio
-
Startup and Shutdown with Database Studio
-
Summary
You should now be able to understand:
? The three operational states of SAP MaxDB,
? And how the database can be started and stopped with Database Studio
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will be able to create:? A complete data backup? An incremental backup? A log backup
with Database Studio.
Objectives
-
Backup Basics 1/2
Backups are performed by the database process.
Online backups of the volumes made with operating system tools (e.g. dd, copy) cannot be used.
There are three backup types :? Complete Data Backup: All data pages, configuration and parameter information.? Incremental Data Backup: Backs up all data pages changed since the last complete data
backup.? Log Backup: All pages of log (in units of log segments) that have not already been backed up.? Additionally Set AutoLog On automatically backs up the log as soon as a log segment is
completed.
-
Backup Basics 2/2
You should keep several generations of backups. For example tapes containing dataor log backups should not be directly overwritten with the next backup.
The automatic log backup (autosave log mechanism) should always be active.? If automatic log backup is not active, you must regularly check whether there is enough
storage space available in the log area.? You should regularly archive the version files written during a log backup to a medium of your
choice.
Due to the database converter concept, SAP MaxDB does not support backup /restore of single tables/schemas. However, single tables/schemas can beextracted/loaded using the SAP MaxDB loader.
-
External Backup Tools
SAP MaxDB supports three kinds of external backup tools:? Tivoli Storage Manager?Networker? Tools which support the Interface BackInt for Oracle or Backint for SAP MaxDB
-
Creating Backups with Database Studio 1/4
-
Creating Backups with Database Studio 2/4
-
Creating Backups with Database Studio 3/4
-
Creating Backups with Database Studio 4/4
-
Summary
You should now be able to create:? A complete data backup? An incremental backup? A log backup
with Database Studio.
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will be able to:? Check the database structure? Add volumes? Alter the log settings? Create and use database snapshots
with Database Studio.
Objectives
-
Checking the Database Structure withDatabase Studio
-
Check Backup with Database Studio
-
Adding Data Space with Database Studio
-
Alter Log Settings with Database Studio
-
Snapshot
Freezing a database image? Create Snapshot (ADMIN)? Revert to Snapshot (ADMIN)? Drop Snapshot (ADMIN)
? Ideas of use:? Very fast point in time resetting (e.g. during upgrades)? Restoring training-systems to a defined status
-
Master Slave Support with Snapshots
Data 01.01.2006
Master
Data
Slave
Complete
Data 07.01.2006
::::
Create Snapshot
Incremental
Complete
Incremental
Restore Snapshot
Data 07.01.2006
::::
Data 14.01.2006 IncrementalIncremental
Restore Snapshot
Data 14.01.2006
:
:::
-
Snapshots: Database after Setup
-
Taking a Snapshot
If you would like to create a snapshot, the database has to be in ADMIN mode. DBMGUIallows to create the snapshot with menu Backup -> Create Snapshot.
-
Some Data Has Been Loaded
-
Checking Data in SQL Studio
-
Admin Mode: Revert to Snapshot
If you would like to revert to the snapshot, choose menu Recovery? Revert to Snapshot. This can be done in ADMIN mode, only.
-
After Reverting to Initial State
-
Handling Snapshots in Database Studio
-
Summary
You should now be able to:? Check the database structure? Add volumes? Alter the log settings? Create and use database snapshots
with Database Manager GUI, Database Studio and Database Manager CLI.
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther AdministrationMonitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will know how to:? Detect a database full or log full situation? Monitor the data cache hitrate? Detect lock collisions? Detect and rebuild corrupted indexeswith Database Manager GUI and Database Studio
Objectives
-
Monitoring the Database Filling Level inDBMGUI
-
Monitoring the Database Filling Level inDatabase Studio
-
Detecting a Full Data Area 1/3
-
Detecting a Full Data Area 2/3
-
Detecting a Full Data Area 3/3
-
Resolving a Database Full Situation
-
Monitoring the Log Filling Level
-
Detecting a Full Log Area
-
Resolving a Log Full Situation
last unsaved log entrycurrent log write position
(1) Log full
(4) Continuelog
Volume 1 Volume 2
Volume 1
(2) Add logvolume
Volume 1 Volume 2
BACKUP
Volume 1(3) Logbackup
Logwriter isstill waiting
-
Cache Accesses in DBMGUI
Note: Each Unsuccessful access to the I/O buffer cache (Data Cache)results in a physical I/O. Access to disk is at least 1000 times moreexpensive than access to cache.
I/O buffer cacheaccessesI/O buffer cache hitrate should be >= 98%
Catalog CacheaccessesCatalog Cache hit rateshould be >= 90%
-
Cache Accesses in Database Studio
-
Log Queue in DBMGUI
The Log queue may fill up due to Many log entries written Slow log disks Misconfigured log queue
(parameter LOG_IO_QUEUE)
The log queuetemporarily stores logentries to be written tolog disk. If the logqueue is full, all updatetransactions must waituntil log pages arewritten to disk andspace in the log queueis released.
A full log queue iscounted as Queueoverflow
-
Log Queue in Database Studio
-
Enable Detailed Time Measurement
C:\WINNT>dbmcli -d MYDB -u dbm,dbm
dbmcli on MYDB>db_cons time enable
OK
---
dbmcli on MYDB>
Prerequisite that SAP MaxDB collects detailed time values likeI/O times is the enabling of detailed time measurement.
-
Log I/O Time in DBMGUI
real average:(rel_dev_wr_tm * dev_write_io + avg_self_wr_tm * self_write_io) / (dev_write_io + self_write_io)
rel_dev_wr_tm = write time of I/O performed by the Dev Thread (not including wait times caused by internal tasking)abs_dev_wr_tm = write time of I/O performed by the Dev Thread (including wait times caused by internal tasking)dev_write_io = number of I/O operations performed by the Dev Threadavg_self_wr_tm = write time of I/O performed by the Log Writer taskself_write_io = number of I/O operations performed by the Log Writer task
Average log I/O time should be well below 20ms
-
Log I/O Time in Database Studio
-
Lock Collisions and Lock Escalations
Collisions on SQL locks can significantly reduce the performance of updatetransactions.
The maximum number of locks on table rows can be configured byparameter MAXLOCKS.
If the application locks a large number of rows of a table, single row locks will betransferred to a full table lock. This is called lock escalation. Generally, lockescalations should be avoided, as they prohibit concurrent row locks on this tableby other applications.
-
Identify the Locking Process
If a lock situation occurs, the process holding the lock can be identified.
Use the SQL statement SELECT * FROM lock_waits to display a list of all lockcollisions.
For each collision, the lock holder and requestor is displayed.
Use H_TERMID to identify the process that holds the lock.
-
Monitoring Active Task Status
-
Corrupted Indexes 1/3
-
Corrupted Indexes 2/3
-
Corrupted Indexes 3/3
-
Disabled Indexes in DBMGUI
-
Disabled Indexes in Database Studio
-
Summary
You should now be able to understand:
? How a database full or log full situation can be detected and resolved
? How to monitor the data cache hitrate
? How lock collisions can be detected
? How corrupted indexes can be detected and rebuilt
with Database Manager GUI and Database Studio
-
Agenda
Software updatesIntroduction to Database Studio
Starting and Stopping the DatabaseCreating BackupsFurther Administration
Monitoring and TroubleshootingCreating a Standby Instance
-
Upon completion of this chapter, you will know:? Know how to set up a standby database with DBMGUI. This includes
? Changing parameters? Changing the volume configuration? Creating backup templates? Restoring data, incremental and log backups? Interrupting and resuming the log recovery
Objectives
-
Standby Database: Installing DatabaseInstance I
-
Standby Database: Installing DatabaseInstance II
-
Standby Database: Installing DatabaseInstance III
-
Standby Database: Installing DatabaseInstance IV
-
Standby Database: Installing DatabaseInstance V
-
Standby Database: Restoring the InitialBackup
-
Standby Database: Restoring an IncrementalBackup
-
Standby Database: Restoring Log Backups I
-
Standby Database: Restoring Log Backups II
-
Standby Database: Restoring Log Backups III
-
Standby Database: Restoring Log Backups IV
-
Standby Database: ONLINE
-
Summary
Now you know how to set up a standby database with DBMGUI.
You should also be able to:
? Change database parameters
? Change the volume configuration
? Create backup templates
? Restore data, incremental and log backups
? Interrupt and resume the log recovery
-
SAP MaxDBIntegration into the SAP System
Suitable for SAP environments
-
SAP AG 2008
Agenda
Introduction to Transaction DB59 and DB50SQL Performance Analysis
-
SAP AG 2008
Upon completion of this chapter, you will be able to:? Integrate your SAP MaxDB databases into your monitoring landscape in
transaction DB59? Use transaction DB50 to monitor your SAP MaxDB database? Schedule backups and other administrative tasks using the DBA Planning
Calendar? Use the Alert Monitor for your SAP MaxDB instances
Objectives
-
SAP AG 2008
Which Instances Can Be Monitored?
OLTPSystem
KWSystem
SCMSystem
ApplicationServer
OLTPDatabase
SCMDatabase
ApplicationServer
ApplicationServer
KPRODatabase
CacheServer
ContentServer
-
SAP AG 2008
Central Monitoring
OLTPSystem
Applicationlayer
SAP MaxDBOLTP
Database
KWSystem
SAP MaxDBKPRO
Database
CacheServer
ContentServer
ApplicationServer
Database
SCMSystem
SAP MaxDBSCM
Database
-
SAP AG 2008
Central Monitoring Transaction DB59
To be able to monitor other SAP MaxDB instances within thissystem, you have to integrate the corresponding databaseinstance - i.e. you have to enter the user information toconnect to this database instance.
-
SAP AG 2008
Database Integration
To be able to connect to thedatabase instance you have toenter:? The name of the database instance.? The hostname or IP address of the
server on which the databaseinstance runs.
? The DBM operator and his password.This is the user used to connect tothe Database Manager GUI or CLI.Default: control with passwordcontrol.
? The Standard Database User, whichfor SAP applications is SAPR3 orSAP as the default.
Make sure that the checkbox for thecentral authorization is marked, thatthe connect information is stored intables DBCON and DBCONUSR ofthe monitoring system.
-
SAP AG 2008
Connection Test
-
SAP AG 2008
Connection Test
-
SAP AG 2008
X-Server not Running
-
SAP AG 2008
Wrong Standard Database User Password
-
SAP AG 2008
Remote Monitoring
SAP MaxDBMonitoring
DB50
liveCacheMonitoring
LC10
Transaction DB59:Central entry point to monitor SAP MaxDB & liveCache instances
Monitoring ofremote instancesis possible. Even
stand-alonedatabases like
small testdatabases can bemonitored in the
SAP system.
-
SAP AG 2008
Transaction DB50 Properties
Further improvement of transaction DB50 is done continuously. The tree structurein the version your are using might differ slightly from the shown screenshots.
-
SAP AG 2008
SAP MaxDB and liveCache Directory Structure
Database Software and Configuration Data
bin pgm env etc lib miscincl sap
binpgm
programs
config
/sapdb
wrk
data
Temporarydata db
-
SAP AG 2008
SAP MaxDB Status and Log Files
-
SAP AG 2008
Volume Configuration
-
SAP AG 2008
Task Manager
-
SAP AG 2008
Memory Areas: Caches
-
SAP AG 2008
Memory Areas: Data Area
-
SAP AG 2008
Memory Areas: Log Area
-
SAP AG 2008
Database Messages
-
SAP AG 2008
Database Error Messages
-
SAP AG 2008
Database Terminations
-
SAP AG 2008
DBA History: Backup/Restore (DBMServer)
-
SAP AG 2008
DBA History: Backup/Restore Log File
-
SAP AG 2008
DBA History: Backup/Restore (Kernel)
-
SAP AG 2008
Parameter Settings
-
SAP AG 2008
Backup Media
-
SAP AG 2008
Database Manager (CLI)
-
SAP AG 2008
DBA Planning Calendar
-
SAP AG 2008
Scheduling Tasks
-
SAP AG 2008
DBA Planning Calendar
-
SAP AG 2008
Alert Monitor RZ20
-
SAP AG 2008
Creating a Complete Backup
-
SAP AG 2008
Data Collector
-
SAP AG 2008
Manual Start of Data Collection for Alert Monitor
-
SAP AG 2008
Start Data Collection Method
-
SAP AG 2008
Summary
Transactions DB59 and DB50 help you to monitor and administer all SAP MaxDBdatabases in your system landscape.? Transaction DB59 is the central entry point where the databases can be integrated into the
monitoring system. Using this transaction you can easily switch to the Database Assistant foreach of your databases.
? Transaction DB50 is the Database Assistant which allows to monitor your SAP MaxDBdatabase.
? The DBA Planning Calendar enables you to schedule important database tasks like backupsor consistency checks.
? In transaction RZ20 a special branch for the SAP MaxDB instances can be created, so thatcritical situations are reported using the SAP Alert concept.
-
SAP AG 2008
Agenda
Introduction to Transaction DB59 and DB50SQL Performance Analysis
-
SAP AG 2008
Upon completion of this chapter, you will be able to:? Use the SAP MaxDB performance analysis tools
? Database Analyzer? Command Monitor and? Resource Monitor
to determine performance bottlenecks.
Objectives
-
SAP AG 2008
Starting the Database Analyzer
-
SAP AG 2008
Database Analyzer Status
-
SAP AG 2008
Database Analyzer Output
-
SAP AG 2008
Starting the Command Monitor
You should adapt thedefault thresholds to yourneeds.
If you are looking for longrunning SQL statements,it might be good to startonly with a threshold forthe runtime and to leavethe other input fieldsempty.
-
SAP AG 2008
Command Monitor Output
-
SAP AG 2008
Execution Plan
-
SAP AG 2008
Resource Monitor
-
SAP AG 2008
Starting the Resource Monitor
-
SAP AG 2008
Resource Monitor Output
-
SAP AG 2008
Tables/Views
To determine the bestoptimizer strategy for anSQL statement you haveto analyze all tablesinvolved.
You have to check
? The table definition(especially theprimary keydefinition)
? The existing indexesand
? The optimizerstatistics.
To decrease the runtimeof a statement it might benecessary to update theoptimizer statistics or tocreate a new index.
-
SAP AG 2008
Tables/Views: Properties
For large tables the sample value for optimizer statistics should be set to 10% -for smaller tables a sample value of 20000 rows is sufficient (note #808060).
-
SAP AG 2008
Tables/Views: Definition
-
SAP AG 2008
Tables/Views: Indexes
-
SAP AG 2008
Tables/Views: Restore Index
-
SAP AG 2008
Showing the Execution Plan
-
SAP AG 2008
Tables/Views: Optimizer Statistics
-
SAP AG 2008
Summary
Transaction DB50 helps you to monitor and administer all SAP MaxDB databaseinstances in your system landscape.
Performance problems can be analyzed and solved using the Database Analyzer,Command Monitor and Resource Monitor in this transaction.
-
SAP AG 2008
Copyright 2008 SAP AGAll 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 changedwithout prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge and other SAP products and services mentioned herein as well as theirrespective 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 andassociated logos displayed are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This documentcontains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy,and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, orother items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties ofmerchantability, fitness for a particular purpose, or non-infringement.SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitationshall not apply in cases of intent or gross negligence.The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in thesematerials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche Genehmigung durchSAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige Ankndigung gendert werden.Einige von der SAP AG und deren Vertriebspartnern vertriebene Softwareprodukte knnen Softwarekomponenten umfassen, die Eigentum anderer Softwarehersteller sind.SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge und andere in diesem Dokument erwhnte SAP-Produkte und Servicessowie die dazugehrigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Lndern weltweit. Alle anderen in diesem Dokument erwhntenNamen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zuInformationszwecken. Produkte knnen lnderspezifische Unterschiede aufweisen.
Die in diesem Dokument enthaltenen Informationen sind Eigentum von SAP. Dieses Dokument ist eine Vorabversion und unterliegt nicht Ihrer Lizenzvereinbarung oder einer anderenVereinbarung mit SAP. Dieses Dokument enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts und ist fr SAP nicht bindend, einen bestimmtenGeschftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP bernimmt keine Verantwortung fr Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht dieRichtigkeit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewhr, wederausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zwecksowie fr die Gewhrleistung der Nichtverletzung geltenden Rechts.SAP bernimmt keine Haftung fr Schden jeglicher Art, einschlielich und ohne Einschrnkung fr direkte, spezielle, indirekte oder Folgeschden im Zusammenhang mit der Verwendungdieser Unterlagen. Diese Einschrnkung gilt nicht bei Vorsatz oder grober Fahrlssigkeit.Die gesetzliche Haftung bei Personenschden oder die Produkthaftung bleibt unberhrt. Die Informationen, auf die Sie mglicherweise ber die in diesem Material enthaltenen Hotlinkszugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen berInternetseiten Dritter ab.Alle Rechte vorbehalten.
-
SAP 2008 / Page 283
Copyright 2008 SAP AGAll 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 changedwithout prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, SAP Business ByDesign, ByDesign, PartnerEdge and other SAP products and services mentioned herein as well as their respective logos aretrademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned and associated logos displayedare the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This documentcontains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy,and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, orother items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties ofmerchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitationshall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in thesematerials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche Genehmigung durchSAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige Ankndigung gendert werden.
Einige von der SAP AG und deren Vertriebspartnern vertriebene Softwareprodukte knnen Softwarekomponenten umfassen, die Eigentum anderer Softwarehersteller sind.
SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, SAP Business ByDesign, ByDesign, PartnerEdge und andere in diesem Dokument erwhnte SAP-Produkte und Services sowie diedazugehrigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Lndern weltweit. Alle anderen in diesem Dokument erwhnten Namenvon Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zuInformationszwecken. Produkte knnen lnderspezifische Unterschiede aufweisen.
Die in diesem Dokument enthaltenen Informationen sind Eigentum von SAP. Dieses Dokument ist eine Vorabversion und unterliegt nicht Ihrer Lizenzvereinbarung oder einer anderenVereinbarung mit SAP. Dieses Dokument enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts und ist fr SAP nicht bindend, einen bestimmtenGeschftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP bernimmt keine Verantwortung fr Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht dieRichtigkeit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewhr, wederausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zwecksowie fr die Gewhrleistung der Nichtverletzung geltenden Rechts.
SAP bernimmt keine Haftung fr Schden jeglicher Art, einschlielich und ohne Einschrnkung fr direkte, spezielle, indirekte oder Folgeschden im Zusammenhang mit der Verwendungdieser Unterlagen. Diese Einschrnkung gilt nicht bei Vorsatz oder grober Fahrlssigkeit.
Die gesetzliche Haftung bei Personenschden oder die Produkthaftung bleibt unberhrt. Die Informationen, auf die Sie mglicherweise ber die in diesem Material enthaltenen Hotlinkszugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen berInternetseiten Dritter ab.
Alle Rechte vorbehalten.