Upload
vishnu-muddasani
View
90
Download
5
Tags:
Embed Size (px)
Citation preview
Post GoingLive Sizings
Performance & Scalability
October 2011
© 2011 SAP AG. All rights reserved. 2
Different Times, Different Phases, Different Goals
of Sizing
1. Very early to plan hardware expenditures
2. A few months before live start to verify assumptions
Determine the overall performance requirements
3. During production stages to ensure operations and verify/adjust estimations made earlier. ”Trigger
events” include:
Upgrade database, operating system, SAP application
Reconfigure system landscape
Change business process
Rollouts: more users or other load
Project
Preparation
Business
Blueprint Realization
Final
Preparation
Going Live &
Support
Upgrade Migration Business Units Functional
Changes
Go Live
Sizing takes place in different phases of a project
© 2011 SAP AG. All rights reserved. 3
Introduction – Sizing Approaches on Production Data
Re-Sizing Delta Sizing Upgrade Sizing
All projects
SAP system monitors
Goal: Extend an existing
system by load
E.g. by volume
100 additional users
who'll do the same as
the current productive
ones
All projects
SAP system monitors
Goal: Extend an existing
system by functions
By different functions,
e.g. you are live with
CRM and want to add
SCM
All projects
SAP system monitors
SAP Notes
Goal:
Upgrade SAP software
Procedure
Monitor CPU utilization, table growth, and memory use
Relate it to a meaningful business entity, such as the number of concurrent users or the number of active
projects
Different procedures according to goals
Re-sizing: Add the load coming in through the additional users and projects causing the same load
structure
Delta sizing: Treat like a new sizing and add calculated load
Upgrade sizing: Determine additional requirements and add calculated load
Judge whether your current hardware is sufficient, or whether you may need to buy new hardware
© 2011 SAP AG. All rights reserved. 4
Different Procedures According to Goals
Re-Sizing: add the load coming in through the additional users and projects
causing the same load structure
Delta Sizing: treat like a new sizing and add calculated load
Upgrade Sizing: determine additional requirements and add calculated load
© 2011 SAP AG. All rights reserved. 5
Post-GoLive Sizings: General Procedure
Prerequisites The system is live
The hardware and software are scalable
Different goals – Re-Sizing: Only add volume, no modified processes
– Delta sizing: Add different functions
– Upgrade sizing: only upgrade SAP software
Procedure 1. Monitor CPU utilization, table growth, and memory use
OS monitor ST06
Database monitor DB02
Front-end network load (statistical data records, ST03)
Relate it to a meaningful business entity, such as the number of concurrent users or the number of active projects
2. Different procedures according to goals
Re-sizing: Add the load coming in through the additional users and projects causing the same load structure
Delta sizing: treat like a new sizing and add calculated load
Upgrade sizing: determine additional requirements and add calculated load
3. Judge whether your current hardware is sufficient, or whether you may need to buy new hardware
© 2011 SAP AG. All rights reserved. 6
Re-Sizing: Overview
Situation Plan to extend an existing application by volume and time periods only
Prerequisites Your system is live
The hardware and software are scalable
Only add volume, no modified processes
Procedure
1. Monitor CPU utilization, table growth, and memory usage
OS monitor ST06
Database monitor DB02
Front-end network load (statistical data records, ST03)
Relate it to a meaningful business entity, such as the number of concurrent users or the number of active projects
2. Add the load coming in through the additional users and projects causing the same load structure
3. Judge whether your current hardware is sufficient, or whether you may need to buy new one
© 2011 SAP AG. All rights reserved. 7
Example of a Re-Sizing
A company Has 50 subsidiaries
Template-based approach – Most subsidiaries will have a very similar customizing
Phased rollout First, 5 subsidiaries go live
Then the next 5-10 will follow suit, and so on
Consequence Initial sizing for first go-live
Possibly perform expert sizing on non-template-like subsidiaries
Sizing verification of first go-live
Re-sizing based on production system data (45 subsidiaries)
© 2011 SAP AG. All rights reserved. 8
Delta Sizing: Overview
Situation Plan to add new functions to an existing system, for example, you decided to add supply
chain management to your existing ERP solution
Prerequisites Your system is live
The hardware and software are scalable
Procedure
1. Monitor CPU utilization, table growth, and memory usage (as for re-sizing)
2. Obtain required additional load by applying appropriate sizing method such as Quick Sizer, expert sizing for sizing the new functions
3. Add the load coming in through the additional functions to the current requirements
4. Judge whether your current hardware is sufficient, or whether you may need to buy new one
© 2011 SAP AG. All rights reserved. 9
Example of a Delta Sizing
A company Has 50 subsidiaries live with SAP ERP
Wants to add SAP CRM functions
Phased rollout First, 5 subsidiaries go live
Then the next 5-10 will follow suit, and so on
Consequence Initial sizing for first go-live
– For example, Quick Sizer, additional guidelines
Possibly perform expert sizing on non-template-like subsidiaries
Sizing verification of first go-live
Re-sizing based on production system data (45 subsidiaries)
© 2011 SAP AG. All rights reserved. 10
Upgrade Sizing: Overview
Situation Plan to upgrade to a new SAP release
Prerequisites Your system is live, focus is only on SAP software
The hardware and software are scalable
Procedure
1. Monitor CPU utilization, table growth, and memory usage (as for re-sizing)
2. Ideally, benchmark your key transactions in both releases
I. Identify bread-and-butter transactions
II. Benchmark them in production release A and in test release B
III. Apply obtained delta
3. If the ideal situation is not possible, use SAP notes that describe the influence of the upgrade on CPU, disk, memory, and front-end network in a hardware-independent format.
4. Add the load caused by the upgrade to the current requirements
5. Judge, whether your current hardware is sufficient, or whether you may need to buy new one
© 2011 SAP AG. All rights reserved. 11
Example of an Upgrade Sizing
A company Has 50 subsidiaries live with SAP ERP 2005
Wants to upgrade to SAP ERP 6.0
Also wants to upgrade DB release
Consequence Define scope of upgrade (SAP, DB, OS, HW)
Analyze current utilization and growth
Apply notes or benchmark transactions
© 2011 SAP AG. All rights reserved. 12
How to Monitor Current Resource Utilization
Available monitors
Disk Analysis DB02, DB monitor of hardware vendor
(DB Performance Tables & Indexes)
CPU Analysis ST06, ST03N, STAD, ST03G
(Workload Analysis, Statistical Records, Global System Workload Analysis)
User Analysis STAD, ST03G
(Application Monitor, Statistical Records)
Memory Analysis SM04, STAD, GCLOG
(User List, Statistical Records)
Front-End Network Load STAD, ST03N, ST03G, httplog
(Statistical Records, Workload Analysis)
As a rule, 20% of the processes cause 80% of the load
Analyze
Growth rate of 20 largest tables
Average and peak CPU load
Average and peak memory utilization
© 2011 SAP AG. All rights reserved. 13
Determining CPU / Memory Utilization – ST06
Check
Number of CPUs/cores
CPU utilization
Current and historic
Detail Analysis Menu
Available and free memory
© 2011 SAP AG. All rights reserved. 14
Determining Disk Growth – DB02 (1/2)
Check
Total available disk size
Free space
© 2011 SAP AG. All rights reserved. 15
Determining Disk Growth (2/2)
Check
Monthly growth
Drill-down to top 20 tables
© 2011 SAP AG. All rights reserved. 16
User Analysis (ST07)
For verification/Re-Sizing
Number of active users
Think time can be modified
© 2011 SAP AG. All rights reserved. 17
Details on Re-Sizing
Examples of when re-sizing applies
The software needs to be physically moved to a different platform
Multiple Components in One Database (MCOD)
Merging different SAP systems
Increasing
– The number of users
– Throughput
Note: It is important that the business functions will remain the same
Do not use the Quick Sizer for re-sizing! Goal of Quick Sizer
– Initial sizing based on SAP standard configurations and assumptions
© 2011 SAP AG. All rights reserved. 18
Details on Delta Sizing
Examples of when delta sizing applies
Adding another solution/application/function
Modifying
– Business applications
– User mix
© 2011 SAP AG. All rights reserved. 19
Details on Upgrade Sizing
Distinguish the kind of upgrade
SAP software
Database, operating system
Hardware in general
Configuration and parameter settings may change
Very often, in an upgrade project, also business processes may be modified (delta sizing)
Upgrading may also involve
Re-design of configuration
For example
– If wait times on some work processes are long before the upgrade, they will surely take even longer after
the upgrade. In this case you must define additional work processes.
– The same applies to memory, additional memory requirements may require larger buffers
See the service "GoingLivefor Functional Upgrade" from SAP's support organization
© 2011 SAP AG. All rights reserved. 20
Potential Issues in an Upgrade Sizing Project
At some stage in the project, these effects may need to be considered
Database server is used as application server
Additional database users
Indirect effects due to buffer sizes, longer transactions
Different behavior of query optimizer
Changes of the hardware and software configuration
Some processes dominate resource consumption
© 2011 SAP AG. All rights reserved. 21
Straightforward Procedure
You have analyzed the current system resource consumption for Disk space
CPU consumption
Memory consumption
In a first step, use the SAP standard notes, which are based on weekly regression measurements of top 100 transactions
Example Current monthly disk growth = 200 GB
– Note + 5%: 200 GB * 1.05 = 210 GB growth
Current avg. CPU utilization = 54% DB, 48% App server
– Note + 5%:
o DB 54 * 1.05 = 56.7%
o App 48 * 1.05 = 50.4% App server
Current memory used = 16.4 GB
– Note: +15% : 16.4 * 1.15 = 18.9 GB
© 2011 SAP AG. All rights reserved. 22
Upgrading Over Different Releases
In the standard case, simply apply several SAP Notes
Example SAP ERP: SAP Notes 323263, 517085, 752532, 778774, 901070
To upgrade from release A to release C
Procedure: Add the notes on resource requirements
Base release A release B release C
Example: The SAP Notes say
– A B +10%
– B C + 5%
Calculate:
Utilization_A * 1.1 * 1.05 utilization_A * 1.16
Note: Ranges do
not constitute a
maximum
upper range
lower range
CPU/Memory Resource Consumption relative to 4.6C
1.00
1.10
1.20
1.30
1.40
1.50
1.60
1.70
1.80
4.6CSR1 47x110 47x200 ECC5.0 ECC6.0 4.6CSR1 47x110 47x200 ECC5.0 ECC6.0
CPU Memory
Range: approx. 15-35% Range: approx. 40-70%
© 2011 SAP AG. All rights reserved. 23
Upgrade and Unicode
Unicode requirements strongly depend on The business process setup and configuration
The platform for disk
– 30%-60%
The processor type for CPU
– 10%-30%
Memory is hardware-independent: +50%
Experience from migration projects See service.sap.com/unicode-> Media Library -> Hardware Requirements
Recommended procedure: Perform own measurements
© 2011 SAP AG. All rights reserved. 24
Conclusion for Sizing on Production System Data
If you need to extend hardware
CPU extension of application servers can be done through – Additional application servers
– Additional CPUs
– Faster CPUs
Additionally, consider OS-dependent factors
Pay attention to disk I/O
© 2011 SAP AG. All rights reserved. 25
Upgrading with the Quick Sizer
Descri
pti
on
Q
uic
k S
izer
Upgrade from one release to the next
higher release of a particular SAP solution
Significant differences with regard to
architecture are not expected
e.g. SAP R/3 Enterprise SAP ECC 6.0
Functional upgrades are upgrades with
significant changes in functionality and/or
architecture
e.g. SAP CRM 2007 SAP CRM 7.0
The Quick Sizer is not the appropriate
tool, because of the following reasons:
Sizings in the Quick Sizer are based on
specific scenarios and contain many
assumptions.
It is much more accurate to measure the
current resource requirements of the system
and adding the requirements of the new
release.
SAP provides upgrade notes with information
about additional resources for CPU, memory,
and disk when upgrading from one release to
another.
In this case, you can use the following
sizing approach using the Quick Sizer
1. Analyze your system to measure the current
resource requirements
2. Create a Quick Sizer project based on the current
(old) release (e.g. SAP CRM 2007)
3. Create a Quick Sizer project based on the new
release (e.g. SAP CRM 7.0)
4. Define the upgrade factor (result quotient between
both Quick Sizer projects)
5. Extrapolate the resource requirements of your
current system by this factor
Technical Upgrade Functional Upgrade 1 2
© 2011 SAP AG. All rights reserved. 26
Initial-Sizing
Quick Sizer
Project
Current
Workload
Current
Workload
Current
Workload
+ Quick Sizer
Project
+ Quick Sizer
Project
+ Upgrade
Increase in %
+ Upgrade
Increase in %
+ Load
Increase in %
+ Load
Increase in %
Upgrade or load
increase
New functions or
load increase Upgrade & new
functions
Standard Post Go-Live Sizing Scenarios