Documente Academic
Documente Profesional
Documente Cultură
OVERVIEW
1 2 3 4
SAP 2008 / Page 2
SAP Business All-in-One Installation Wizard VMware Run SAP Business All-in-One Installation Wizard under VMware NetWeaver Business Client Technical Setup
OVERVIEW
1 2 3 4
SAP 2008 / Page 3
SAP Business All-in-One Installation Wizard VMware Run SAP Business All-in-One Installation Wizard under VMware NetWeaver Business Client Technical Setup
CONTENTS
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 User Experience (NetWeaver Business Client)
MaxDB
Linux
* New tool that allows for quick and easy personalization of system demos
SAP 2008 / Page 6
YAST - Tool
Details The Export deliver the content for the SAP ERP System.
MaxDB 7.6
1
DVD 3 System Export CD 2 incl. System export of the Best practices solution
Classical installation
Required skill set for the installation Duration of Installation process (core system: ERP, OS, Database) Upgrading system according to the Quick Guide from Best Practices Installation of SAP Best Practices technical add-ons Best Practices content activation
Average 8 days
1
Productive Installation wizard
Only available for Hardware Vendors A clean system which needs to be customized by SAP VAR No Limitation
Full Best Practices scope installed Only for Demo and evaluation purposes
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
During the installation with the Installation Wizard, the following steps need to be 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 runs successfully. Customer data need to be available before the installation starts (only for productive Version).
1
These are the customer data that are to be entered during the installation process. The SAP software partner provides these data.
Summary
1
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 Reduced TCO because of very easy to handle SAP installation Always latest up to date SAP installation VAR Channel Partner No effort with time consuming SAP installation Up to date SAP installation SAPs default option for Pre-installation Large Player Ecosystem Partner Easy install of SAP stack incl. OS and DB No special SAP skills required for the installation Tested ERP SW stack SAP Reduced incidents during installation phase Reduced complexity and proved combination of SAP stack Strengthen the cooperation with the Ecosystem of the Large Players
VMware
1
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.
OVERVIEW
1 2 3 4
SAP 2008 / Page 19
SAP Business All-in-One Installation Wizard VMware Run SAP Business All-in-One Installation Wizard under VMware NetWeaver Business Client Technical Setup
CONTENTS
VMware
Details about VMware Used Technology and functions Different use cases of VMware
VMware Benefits
1. Easy to handle, even for non technicians 2. Reliable, reducing your needs for having an appropriate DEMO system 3. Fast, reducing your affords for getting up and usage of your DEMO system 4. Very affordable, free fully functional products available
SAP on VMware
SAP is going to enable its entire software stack to be supported on virtual machine/server environments. Initially, its software is being tested for use on VMware, and it's planning to enable users to do live migration this way. 451-Group, September 2006
2
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
Enterprise Workloads
2
Run the SAP resource intensive enterprise infrastructure including databases and NetWeaver etc. in virtual machines. VMware ESX Server 3.0 / 3.5
SAP NetWeaver SAP BusinessSuite SAP R/3 Enterprise SAP R/3 4.6c, 32-/64-bit 3rd generation of virtualization technology 64bit support ! Up to 4 virtual CPUs per VM / 2 for free server and workstation 16GB RAM per VM with ESX Server 3.0 64GB 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 in ESX Server 3.5 and improved I/O
2
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 specificly with VMware due to stability and performance. Server certificates are no longer necessary.
VMware Installation
2
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 (stay with the defaults) and your VMware server or workstation will become operational. After finishing the installation wizard reboot to make sure your environment as well services are set appropriate and up and running. Start the VMware Console via the Desktop Icon or path within All Programs.
VMware Installation
2
Particularities
Only Windows Vista 64 bit: Windows mandatory Kernel Mode and Driver Signing implies that all modules or drivers designed to run at kernel level have to feature digital signatures. This may make your installation fail. In case you use an actual Vista 64 bit, you will have to do a F8 start before installation. While starting Vista 64 press F8 and wait for the advanced boot prompt. You will be asked for several boot options, select Disable Driver Signature Enforcement . Remember to do a F8 start every time you boot Vista 64 in case you use the free VMware products. VMware Workstation features digital signed drivers. There are a lot of hints for avoiding the F8 boot. This is not working for an actual Vista 64 with latest patches. Save your time.
VMware Installation
2
Select your Setup.exe and make it run. You will be welcomed by the Installation wizard. Always stay with the default selection.
VMware Installation
2
Dependent on the version and configuration of your Windows you may see a warning. Feel free to ignore it and stay with the default selection OK.
VMware Installation
2
Go on with the Installation Wizard and stay with the default selection.
VMware Installation
2
The Installation will be stopped by Windows and a Warning will be generated. The appearance depends on your Version of Windows.
VMware Installation
2
Change to Install this driver software .
VMware Installation
2
You will be guided to a screen for applying your serial number:
VMware Installation
2
Enter your serial and finish your installation.
VMware Installation
2
You successfully finished. Dependent on the very installation of your OS you will be forced to reboot. Please, if you are not, dont mind, but reboot.
2
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
After successful login your VMware Console starts blanked, but ready for work.
2
Choose New machine. Virtual Machine for starting the Wizard for creating your new virtual
2
And as always you are welcome. Just accept and stay with the default Next.
2
The screens for the free server products and Workstation only differ very little.
2
Stay with the default and accept.
2
You may accept the default naming or choose a name by your own. Just leave the Location as is. The path will depend on your favorite Windows.
2
Change the Network Type to Use host-only networking as it will give as the needed functionality.
2
Change the Disk Capacity to 1 GB and leave the boxes unchecked.
2
You created a definition for your Virtual Machine.
2
Right now you created a definition for your Virtual Machine. You virtual machine mostly equals an empty machine without any software installed, but fully functional. Next we may adjust the settings of your new machine to your needs. In terms of VMware Edit virtual machine settings
2
Under Commands select Edit virtual machine settings.
2
By selecting Edit virtual machine settings you are shown several options, equal to a physical machine. If you now about them feel free to select for your needs. Otherwise, please follow the recommendations.
2
As 384 MB of RAM wont be enough, please select Memory, then adjust memory size to our recommendation on the left side.
2
Next we need more space for the file system of the virtual machine. We may do so easily by adding a new hard disk. Select Add
2
Next we need more space for the file system of the virtual machine. We may do so easily by adding a new hard disk. Select Add
2
Choose Hard Disk, follow the defaults, but adjust the size of your Hard Disk.
2
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.
VMware
2
You should now be able to
explain what VMware is. explain the benefits of VMware. create your own VMware environment.
OVERVIEW
1 2 3 4
SAP 2008 / Page 59
SAP Business All-in-One Installation Wizard VMware Run SAP Business All-in-One Installation Wizard under VMware NetWeaver Business Client Technical Setup
CONTENTS
3
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 one click. For now we should make the machine boot from its CD-Rom. Please start your VMware Console if you havent done so yet.
3
Select your virtual CD-Rom and choose Edit virtual machine or just doubleclick your selected entry and choose Use ISO Image:
3
Choose browse and navigate to the location of your ISO files:
3
Choose browse and navigate to the location of your ISO files:
You should remember this later, because we will have to change the media of the virtual CD-Rom three more times! Therefore any suggestions?
3
We are ready to start the installation. Therefore select Power On.
3
You may do as shown or use the green radio button or select Start the virtual machine under Commands. But please make sure that there is an entry stating your CD-ROM is using an image.
3
The machine will boot and the initial screen for the installation of the virtual machine will show up.
3
Logon to Linux
Use the user root with the master password (smesol01). Check IP address Start SAP system Stop SAP System enter ifconfig in the command line su - <sidadm> su - <sidadm> startsap <virtual hostname> stopsap <virtual hostname>
3
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
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 rdisp/wp_no_btc rdisp/wp_no_enq rdisp/wp_no_vb rdisp/wp_no_vb2 rdisp/wp_no_spo abap/buffersize 4 2 1 2 0 1 200000
3
VMware Snapshots are specified points in time to whom you always may go back without the procedure of a point in time recovery. Snapshots may be taken while running the machine! Go to Snapshot. Then Take snapshot.
3
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.
VMware
3
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.
OVERVIEW
1 2 3 4
SAP 2008 / Page 76
SAP Business All-in-One Installation Wizard VMware Run SAP Business All-in-One Installation Wizard under VMware NetWeaver Business Client Technical Setup
CONTENTS
Requirements
4
For legal reasons and sorry for your inconvenience: Please download an additional 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.
Requirements
4
The SAP Cryptographic Library installation package sapcrypto.car contains the following files: The SAP Cryptographic Library (sapcrypto.dll for Windows NT or libsapcrypto.<ext> for UNIX) A corresponding license ticket (ticket) The configuration tool sapgenpse.exe
Requirements
4
For your convenience, in case you dont already know the SWDC
Requirements
4
Feel free to alternatively use the Search for all Categories link, search for sapcrypto.
Installing Sapcrypto
4
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 network connections between two machines.
Installing Sapcrypto
4
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.
Installing Sapcrypto
4
Winscp will probably ask you to save a key. This is only for remembering the connection between the machines. Do so. After successful login you may copy your data to the virtual machine by browsing the windows and cut and paste.
Installing Sapcrypto
4
Please browse to your DIR_EXECUTABLE within the remote window which is /usr/sap/<SID>/SYS/exe/run. Select your sapgenpse and sapcrypto.so from your local directory and paste. Please browse to your /usr/sap/SID/<instance>/sec in the remote window. Leave your license ticket, credentials with it.
Installing Sapcrypto
4
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/<instance>/sec. In case not, create it as sidadm by typing setenv SECUDIR=/usr/sap/SID/<instance>/sec.
Adjusting SAP
4
Log on to SAP. Type rz10 for profile maintenance in your transaction window.
Adjusting SAP
4
Start the profile selection by choosing the box right to Profiles. Select Default and change checkbox to Extended maintenance.
Adjusting SAP
4
Select change.
Adjusting SAP
4
Choose New Parameter (iconified Sheet). Fill in appropriate.
Adjusting SAP
4
Go for the Back Icon. Accept.
Adjusting SAP
4
Understand the hint and do as recommended after finishing the adjustments.
Adjusting SAP
4
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.
Adjusting SAP
4
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.
Adjusting SAP
4
Check status within STRUSTSSo2.
Adjusting SAP
4
Change to transaction sicf and do F8.
Adjusting SAP
4
Open the path as shown and right click the appropriate service. Choose Activate service.
Adjusting SAP
4
Choose Activate service. Do so for: /default_host/sap /public /bc/icons /icons_rtl /pictograms /ur /webdynpro/* /webicons /bsp/sap/htmlb /public/bc /system
Adjusting SAP
4
Choose Activate service. Do so for:
Adjusting SAP
4
Choose Activate service. Do so for: /icf_info /logon_groups /urlprefix /icr_groups /icr_urlprefix /icman /myssocntl
Adjusting SAP
4
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
Adjusting SAP
4
For details apply to Note 1163891.
4
Start the NetWeaver Business Client and navigate to System Preferences.
4
In the NetWeaver Business Client Configuration screen choose Add.
4
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
Resources
4
SAP Notes
674851 Virtualization on Windows Virtualization on Windows: Enhanced Monitoring VMware ESX Server configuration guidelines Linux: VMware ESX Server 3 configuration guidelines Linux: Supported Virtualization technologies with SAP SAP support in virtualized Linux environments 1104578 1056052 1122388 1122387 895807
Thank You!
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
DBMS for SAP R/3 Acquisition by SAP AG Rebranding to MaxDB Approved name now: SAP MaxDB
Your requirements
Our vision
Our rationale
Essential, substantial Less is more Do things right Simply elegant Fight complexity Elegant simplicity
Your advantage
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 tasks like e.g.backing up log entries to ensure that the database can be restored at all times, 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
NetWeaver
SAP MaxDB
Tools
SAP MaxDBs performance is comparable to other databases SAP MaxDB is used in over 13,300 commercial installations at approximately 6,000 customer sites world-wide
With only 5% of your SAP application value, SAP MaxDB license costs are considerably lower than license costs for other databases.
SAP MaxDB
Oracle
5%
11%
8%
8%
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 used
Licenses (ERP price per user (CU), database), m aintenance fee, adm instration cost, backup space
450000 400000 350000 300000 Currency Units 250000 200000 150000 100000 50000 0 1 2 3 Year
SAP 2008 / SAP MaxDB / Page 115
Customer Example
Pharmlog: Distribution of pharmaceuticals, 250 employees Key benefits: Cost savings Ease of use Integration with other applications
Vendor
Type
Users
Configuration
HP
SD
2275
RDBMS: MaxDB 7.7 SAP ECC Release: 6.0
Configuration: Central server: HP ProLiant DL380 G5, 2 processors / 8 cores / 8 threads, QuadCore 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
SUN
SD
3550
RDBMS: MaxDB 7.6 SAP 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 and 512 KB L2 cache per core, 2 MB L3 cache per processor, 64 GB main memory
FSC
SD
2300
Configuration: Central server: Fujitsu Siemens Computers PRIMERGY Model TX300 S4 | RX300 S4, 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
5000
200 0 2000 2001 2002 2003 2004 2005 2006 2007 2008
0 2000 2001 2002 2003 2004 2005 2006 2007 2008
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 to choose the platform that suits your business needs best.
Operating System HP-UX 11.11, 11.23, 11.31 AIX 5.1, 5.2, 5.3, 6.1 SUSE Linux Enterprise Server 9, 10 Red Hat Enterprise Linux 4 Windows 2000, XP Windows Server 2003 Solaris 9, 10
Microsoft SUN
Operations
Tools
Interfaces
Database Studio
Installation Manager Database Manager
DBMGUI (Windows) DBMCLI
DBAnalyzer
Few-clicks-only installation
Mobile clients / Laptop Workstations / PC Embedded DBMS
GUI
Platform-independent
Database Studio
Database Studio Integrated Tool-Platform for SAP MaxDB Platform independent Plug-ins for Landscape management User Repositories Database management SQL-Queries, Reporting Loader Synchronization Manager DBAnalyzer
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.
Further Information
Public Web
SAP Community Network (SDN): www.sdn.sap.com Business Process Expert (BPX) Community: www.bpx.sap.com SAP MaxDB @ SDN: http://www.sdn.sap.com/irj/sdn/maxdb Partner Edge Portal: in the SAP Business All-in-One playground
http://www.sdn.sap.com/irj/sdn/maxdb
SAP 2008 / SAP MaxDB / Page 128
SAP MaxDB
Administration and Monitoring
Agenda
Software updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
Upon completion of this chapter, you will: Know how to use SDBSETUP to
Upgrade the SAP MaxDB software and the database instance
Installation Tools
Purpose Installation of an SAP system including the SAP MaxDB Software Installation of a standby instance or system copy Updating an existing database instance to a newer Build Upgrading the database instance to a new major release Removing all SAP MaxDB software from your server
Tool
SDBUNINST
Upgrade Prerequisites
Service Marketplace
maxdb-server-<OS>-<32/64-Bit>-<PA>-<Build>
Database
Complete Backup
To use SDBUPD for a database upgrade, go to the directory maxdb-all-<os>-32|64bit-<arch>-<version>_<build>, into which you unpacked the installation package. Start the SDBUPD program with the following command: UNIX/Linux:
SDBUPD performs the upgrade and displays a success message if the upgrade is completed successfully. It then flags the installation as complete.
STDOUT: starting installation Tu, Jun 06, 2006 at 17:43:04 STDOUT: operating system: Windows I386 NT 5.1 Service Pack 2 STDOUT: callers working directory: C:/temp/Install/760029001 STDOUT: installer directory: C:/temp/Install/760029001 Can't open registry key "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAP DBTech": No such file or directory STDOUT: archive directory: C:/temp/Install/760029001 STDOUT: STDOUT: existing component groups: STDOUT: 0: Server + Client STDOUT: 1: Client STDOUT: 2: Custom STDOUT: 3: none STDOUT: please enter component group id: STDIN: 0 STDOUT: STDOUT: installation of MaxDB Software finished successfully Tu, Jun 06, 2006 at 17:44:43 STDOUT: Rebooting ensures that the MaxDB software can be started from any command line window!
Summary
Agenda
Software updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
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
Add a Database
User Management
Create Login
Administration
Summary
Agenda
Software updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
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
Operational States
Summary
Agenda
Software updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
Upon completion of this chapter, you will be able to create: A complete data backup An incremental backup A log backup with Database Studio.
Backups are performed by the database process. Online backups of the volumes made with operating system tools (e.g. dd, copy) can not 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.
You should keep several generations of backups. For example tapes containing data or 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 be extracted/loaded using the SAP MaxDB loader.
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
Summary
You should now be able to create: A complete data backup An incremental backup A log backup with Database Studio.
Agenda
Software updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
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.
Snapshot
Slave
Complete Complete
Data
: : : :
Data 07.01.2006
Create Snapshot
:
Restore Snapshot
Incremental Incremental
Data 07.01.2006
: : : :
Data 14.01.2006
: : :
Restore Snapshot
Incremental Incremental
Data 14.01.2006
Taking a Snapshot
If you would like to create a snapshot, the database has to be in ADMIN mode. DBMGUI allows to create the snapshot with menu Backup -> Create Snapshot.
If you would like to revert to the snapshot, choose menu Recovery Revert to Snapshot. This can be done in ADMIN mode, only.
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 updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
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 indexes with Database Manager GUI and Database Studio
(1) Log full (2) Add log volume (3) Log backup (4) Continue log
Volume 1
Volume 1 BACKUP
Volume 1
Volume 2
I/O buffer cache accesses I/O buffer cache hit rate should be >= 98%
Catalog Cache accesses Catalog Cache hit rate should be >= 90%
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 more expensive than access to cache.
The log queue temporarily stores log entries to be written to log disk. If the log queue is full, all update transactions must wait until log pages are written to disk and space in the log queue is released. A full log queue is counted as Queue overflow
Prerequisite that SAP MaxDB collects detailed time values like I/O times is the enabling of detailed time measurement.
Collisions on SQL locks can significantly reduce the performance of update transactions. The maximum number of locks on table rows can be configured by parameter MAXLOCKS. If the application locks a large number of rows of a table, single row locks will be transferred to a full table lock. This is called lock escalation. Generally, lock escalations should be avoided, as they prohibit concurrent row locks on this table by other applications.
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 lock collisions. For each collision, the lock holder and requestor is displayed. Use H_TERMID to identify the process that holds the lock.
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 updates Introduction to Database Studio Starting and Stopping the Database Creating Backups Further Administration Monitoring and Troubleshooting Creating a Standby Instance
Objectives
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
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 MaxDB
Integration into the SAP System
Agenda
SAP AG 2008
Objectives
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
SAP AG 2008
Application Server
Application Server
Application Server
Content Server
SAP AG 2008
Central Monitoring
Application Server
Database
OLTP System
Application layer
SCM System
KW System
Content Server
Cache Server
SAP AG 2008
To be able to monitor other SAP MaxDB instances within this system, you have to integrate the corresponding database instance - i.e. you have to enter the user information to connect to this database instance.
SAP AG 2008
Database Integration
To be able to connect to the database instance you have to enter: The name of the database instance. The hostname or IP address of the server on which the database instance runs. The DBM operator and his password. This is the user used to connect to the Database Manager GUI or CLI. Default: control with password control. The Standard Database User, which for SAP applications is SAPR3 or SAP<SID> as the default. Make sure that the checkbox for the central authorization is marked, that the connect information is stored in tables DBCON and DBCONUSR of the monitoring system.
SAP AG 2008
Connection Test
SAP AG 2008
Connection Test
SAP AG 2008
SAP AG 2008
SAP AG 2008
Remote Monitoring
Transaction DB59: Central entry point to monitor SAP MaxDB & liveCache instances
Further improvement of transaction DB50 is done continuously. The tree structure in the version your are using might differ slightly from the shown screenshots.
SAP AG 2008
SAP AG 2008
SAP AG 2008
Volume Configuration
SAP AG 2008
Task Manager
SAP AG 2008
SAP AG 2008
SAP AG 2008
SAP AG 2008
Database Messages
SAP AG 2008
SAP AG 2008
Database Terminations
SAP AG 2008
SAP AG 2008
SAP AG 2008
SAP AG 2008
Parameter Settings
SAP AG 2008
Backup Media
SAP AG 2008
SAP AG 2008
SAP AG 2008
Scheduling Tasks
SAP AG 2008
SAP AG 2008
SAP AG 2008
SAP AG 2008
Data Collector
SAP AG 2008
SAP AG 2008
SAP AG 2008
Summary
Transactions DB59 and DB50 help you to monitor and administer all SAP MaxDB databases 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 for each of your databases. Transaction DB50 is the Database Assistant which allows to monitor your SAP MaxDB database. The DBA Planning Calendar enables you to schedule important database tasks like backups or consistency checks. In transaction RZ20 a special branch for the SAP MaxDB instances can be created, so that critical situations are reported using the SAP Alert concept.
SAP AG 2008
Agenda
SAP AG 2008
Objectives
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.
SAP AG 2008
SAP AG 2008
SAP AG 2008
SAP AG 2008
You should adapt the default thresholds to your needs. If you are looking for long running SQL statements, it might be good to start only with a threshold for the runtime and to leave the other input fields empty.
SAP AG 2008
SAP AG 2008
Execution Plan
SAP AG 2008
Resource Monitor
SAP AG 2008
SAP AG 2008
SAP AG 2008
Tables/Views
To determine the best optimizer strategy for an SQL statement you have to analyze all tables involved. You have to check The table definition (especially the primary key definition) The existing indexes and The optimizer statistics. To decrease the runtime of a statement it might be necessary to update the optimizer statistics or to create 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
SAP AG 2008
SAP AG 2008
SAP AG 2008
Summary
Transaction DB50 helps you to monitor and administer all SAP MaxDB database instances 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
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche Genehmigung durch SAP 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 Services sowie die dazugehrigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Lndern weltweit. Alle anderen in diesem Dokument erwhnten Namen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. 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 anderen Vereinbarung mit SAP. Dieses Dokument enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts und ist fr SAP nicht bindend, einen bestimmten Geschftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP bernimmt keine Verantwortung fr Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht die Richtigkeit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewhr, weder ausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zweck sowie 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 Verwendung dieser 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 Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen ber Internetseiten Dritter ab. Alle Rechte vorbehalten.
SAP AG 2008
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche Genehmigung durch SAP 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 die dazugehrigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Lndern weltweit. Alle anderen in diesem Dokument erwhnten Namen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen. Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. 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 anderen Vereinbarung mit SAP. Dieses Dokument enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts und ist fr SAP nicht bindend, einen bestimmten Geschftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP bernimmt keine Verantwortung fr Fehler oder Auslassungen in diesen Materialien. SAP garantiert nicht die Richtigkeit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen Elemente. Diese Publikation wird ohne jegliche Gewhr, weder ausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zweck sowie 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 Verwendung dieser 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 Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei Gewhrleistungen oder Zusagen ber Internetseiten Dritter ab. Alle Rechte vorbehalten.
SAP 2008 / Page 283