VMworld 2013
Sheldon Brown, SRP
Girish Manmadkar, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Navi Mumbai Call Girls 𼰠8617370543 Service Offer VIP Hot Model
Â
VMworld 2013: How SRP Delivers More Than Power to Their Customers
1. How SRP Delivers More Than Power to
Their Customers
Sheldon Brown, SRP
Girish Manmadkar, VMware
VAPP5105
#VAPP5105
2. 2
Agenda
ď§ Introduction
ď§ Before We Start - Homework
ď§ Figuring It All Out
ď§ What It All Looks Like Now
ď§ After the Dust Settled
ď§ Summary
ď§ Questions
4. 4
Girish Manmadkar â Consulting Architect
With VMware since 2007 in various roles, focusing on providing
VMware solutions around Business Critical Application with major
focus around SAP
More than 22+ years experience starting with SAP R4.6
Regular speaker at VMworld since 2007
Recent VMware Partner Exchange, EMCWorld events
5. 5
Sheldon Brown â Manager SAP Technology
ď§ Responsible for SAP Technology (BASIS,Development/Integration)
ď§ 21 years with SRP
ď§ 10 years with Server and Storage Team
ď§ 2 years with SAP implementation team
ď§ 9 of 10 years at VMWorld
ď§ sheldon.brown@srpnet.com
6. 6
Who We Are â Salt River Project Agricultural and Power District (SRP)
ď§ Power and Water supplier to the 1,000,000+ customers in the
Phoenix metro area
ď§ Third largest public power company in the country
ď§ 100+ years old
ď§ 5000+ employees
ď§ Slow moving, risk adverse
ď§ 70% virtualized
ď§ http://www.srpnet.com
8. 8
Best Practices
ď§ Use the latest processor generations, especially with EPT (Intel
XEON 55xx, 65xx, 75xx and newer) or RVI (AMD Opteron 83xx,
84xx, 61xx and newer) which bring performance benefits
ď§ Assigning vCPUs to virtual machines
⢠ESXi 5.1: shows scaling for virtual machines > 8 vCPUs
⢠Understand the v/NUMA architecture for larger VMs
ď§ You can overcommit CPUs, but reasonably
⢠Start with no CPU overcommitment. When the average utilization of SAP
instances and the average idle time on the host are known, accordingly raise
the number of vCPUs on the host (for example, adding virtual machines). Use
VMware vSphere Distributed Resource Scheduler (DRS) capabilities to control
and balance overall workload.
⢠If performance problems are seen, first reserve CPU to see if the performance
problems are a result of resource contention
9. 9
Best Practices (cont.)
⢠Do not overcommit memory. This is not recommended at all with SAP.
Reserve 100% of the assigned memory.
⢠Installation of VMware Tools is mandatory to avoid time conflicts and have all
necessary drivers (for example, new network cards)
⢠Timekeeping: Use NTP (Network Time Protocol) on the ESX host and guest
as per Timekeeping best practices for Windows, including NTP and
SAP Note 989963
http://kb.vmware.com/kb/1318
⢠Use multiple virtual SCSI controllers for the database virtual machine and
virtual machines with high I/O load. The use of multiple virtual SCSI controllers
allows the execution of several parallel I/O operations inside the guest OS.
⢠SAP requires the implementation of the new virtualization aware monitoring.
See SAP Note 1409604.
⢠When using VMware snapshots, follow Best practices for virtual machine
snapshots in the VMware environment. Make sure that the virtual machine has
no active snapshot before reporting performance problems.
http://kb.vmware.com/kb/1025279
10. 10
Best Practices for Linux
ď§ Disabling the Linux I/O scheduler
⢠Set kernel parameter "elevator=noop"
⢠Red Hat KB 5428 (applies to RHEL and SLES)
ď§ Choose the optimal SAP memory model
⢠MAP memory model (SAP Note 386605) for CPUs without EPT/RVI
⢠STD memory model (SAP Note 941735) for CPUs with EPT/RVI
11. 11
vSphere â ESX CPU Scheduling
ď§ Determine size of hardware NUMA nodes on the server
ď§ Size the virtual machine as small as possible
⢠Too many vCPUs creates scheduling overhead
⢠Too much RAM results in accessing RAM from a far NUMA node
ď§ Enable simultaneous multithreading
⢠More hardware execution contexts are available
ď§ Generally CPU affinity not required
12. 12
Best Practices for Databases
ď§ Oracle
⢠SAP Note 1173954 states support with minor restrictions
⢠Oracle on VMware vSphere Essential Database Deployment Tips
http://www.vmware.com/resources/techresources/10101
⢠VMware Alliances statement
http://www.vmware.com/solutions/partners/alliances/oracle-vmware-
support.html
13. 13
Best Practices for Databases â I/O Subsystem
ď§ Store data files and log files on separate physical devices and distribute
data files as per SAN Volume Controller as defined by the storage
vendorâs best practices
ď§ Quote from SAP on SQL Server best practices guide
⢠âThe number of disks is determined by the throughput in I/O operations per
seconds (IOPS). Therefore discussions around storage investments or
configurations should be driven by IOPSâ
⢠http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4ab89e84-0d01-0010-
cda2-82ddc3548c65
ď§ IOPS used by storage and OEM vendors to size SAP storage on
VMware â Similar to physical
ď§ The standard SAP rules for databases apply!
⢠SAP Note 806554 for general I/O intensive DB tasks
⢠SAP Note 592393 and 793113 for Oracle
14. 15
Best Practices for vStorage APIs (cont.)
ď§ VMware vSphereÂŽ Storage APIs â Array Integration (VAAI)
⢠Has nothing to do with backup â it is a better way of integrating storage
capabilities into vSphere
⢠vStorage APIs for Array Integration FAQ
http://kb.vmware.com/kb/1021976
⢠Follows the vSphere lifecycle
⢠Offloads specific storage operations to compliant storage hardware
⢠Write Same/Zero
⢠Eliminating redundant and repetitive write commands
⢠Fast/Full Copy
⢠Leveraging array ability to mass copy, snapshot, and move blocks
⢠Hardware Offloaded Locking (ATS)
⢠Stop locking LUNs and start locking only blocks
15. 16
Best Practices for Network
ď§ Standard vSphere networking guidelines apply
⢠Separate infrastructure traffic from virtual machine traffic: use physical NICs or VLANs
⢠Use NIC teaming for availability and load balancing (group physical NICs connected to
the same physical network)
⢠Take advantage of network I/O controls to converge network and storage I/O onto
10GbE
⢠Take advantage of the dvSwitch and/or Cisco Nexus 1000v to simplfy the architecture
and support
ď§ Use VMXNET3 adapter in guest OS
⢠Improved performance
⢠Helps with network traffic in three-tier setup between application and DB VM
⢠SAP Batch Job Performance on vSphere
http://blogs.vmware.com/performance/2010/02/sap-batch-job-performance-on-
vsphere.html
16. 17
Best Practices â Further Information
ď§ SDN Forum SAP on VMware
⢠http://forums.sdn.sap.com/forum.jspa?forumID=471
⢠Most complete link collection around SAP on VMware
ď§ SAP Notes
⢠Following the SAP Notes is mandatory!
ď§ VMworld Sessions
⢠Various documents â from high level overview to technical deep dive
ď§ Performance Tests
⢠Continuous performance measurement for databases and SAP software
19. 20
Figuring It All Out â the Team
ď§ Team Effort
ď§ Consultants
⢠Accenture
⢠SAP
⢠HP
⢠VMware
⢠NetApp
⢠Cisco
ď§ SRP Employees
⢠Server
⢠Storage
⢠Network
⢠BASIS
⢠Strategy and Planning
⢠Executive Management
20. 21
Figuring It All Out â What we needed to decide
ď§ Datacenters
ď§ Host Servers
ď§ Virtual Servers
ď§ Storage
ď§ Network
ď§ Database
ď§ Operating System
ď§ Infrastructure Security
21. 22
Figuring It All Out â SAP Environment Description
ECC, SRM, PI, BW, SolMan, BOBJ, GRC, Portal, Data Services
Bolt Ons
⢠Vertex
⢠OpenText
⢠BPC
Landscapes (Production, Quality, Test, Development, Sandbox, Training)
⢠Production
⢠Quality
⢠Test
⢠Development
⢠Sandbox (Technical and Functional)
⢠Training
5000+ users
850+ unique per day
22. 23
Figuring It All Out â Quick Sizer Results (nothing âquick about itâ)
User Based SAPs
Memory and Disk Sizing
24. 25
What It All Looks Like Now â Datacenters and Network
ď§ Two datacenters
⢠30 miles by the wire apart
⢠Connected by 20Gbps (Layer 2) 16 Gbps (Layer 3)
ď§ Network
⢠Cisco 7k series core
⢠Cisco 5k series edge
⢠10Gbps network
25. 26
What It All Looks Like Now â Physical Servers
ď§ 24 ESX Hosts (2 clusters of 12 at each data center)
⢠HP DL580 G7
⢠vSphere 5.1 U1
⢠4 proc 10 core
⢠512 GB RAM
⢠2 10GBps ports
ď§ 6 ESX Host Stretch Cluster (3 at each data center)
⢠HP DL580 G7
⢠vSphere 5.1 U1
⢠4 proc 10 core
⢠256GB RAM
⢠2 10GBps ports
26. 27
What It All Looks Like Now â Virtual Servers
ď§ Production â 76 servers
ď§ Quality â 59 servers
ď§ Test â 27 servers
ď§ Development â 32 servers
ď§ Sandbox (Technical and Functional) â 40 servers
ď§ Training â 3 servers
ď§ Administration â 3 servers
ď§ Total â 240
ď§ Operating Systems â Red Hat Enterprise Linux (RHEL) 5.x to 6.2
and Windows 2008 R2
27. 28
What It All Looks Like Now â Storage
ď§ 4 NetApp 6280âs (2 at each data center)
⢠NetApp Data ONTAP Release 8.1.2P3 7-Mode
⢠Theoretical capacity 77,000 IOPS (440 disk * 175 IOPS)
⢠Highest recorded capacity 8212 IOPS
⢠Raw Capacity:154,493GB or 150TB
⢠Consumed Capacity: 61519GB or 60TB
⢠Extensive use of Snap Shot Manager for SAP
28. 29
What It All Looks Like Now â Network Architecture
Datacenter 2Datacenter 1
29. 30
What It All Looks Like Now â SAP vSphere Host Configuration
Datacenter 1 Datacenter 2
31. 32
What It All Looks Like Now â Monitoring
ď§ SAP Solution Manager â Application
ď§ Quest vFoglight â Virtual Server Performance
ď§ Top, Satellite â Operating System
ď§ CA Wily Interscope â Java
ď§ NetApp ONCommand Unified Manager â Storage
ď§ HP SIM â Server Hardware
ď§ Q1, Cascade Shark, eHealth â Network
ď§ CA Spectrum â Operations
32. 33
What It All Looks Like Now â Database
ď§ Oracle 11g (Corporate Standard)
ď§ DataGuard for replication
ď§ One virtual server per database
ď§ Unlimited Oracle for SAP
33. 34
What It All Looks Like Now â Disaster Recovery/High Availability
ď§ Completed a Business Impact Analysis
ď§ 12 hour RTO
ď§ Close to zero RPO
ď§ Load-balanced dialog instances
ď§ Central Messaging instance at primary datacenter
ď§ Database instance at primary datacenter
ď§ Database replication happening real time
34. 35
Datacenter 1
What It All Looks Like Now â Disaster Recovery/High Availability
Replication
Log Shipping
Datacenter 1 Datacenter 2
35. 36
What It All Looks Like Now â Why We Virtualized SAP on VMware
ď§ Cost Effective
ď§ Flexibility
ď§ Higher Availability
ď§ Faster Deployment
ď§ Easier to recover in disaster
ď§ Higher Server Density = Lower Data Center Costs
ď§ Virtualization is the SRP corporate standard
ď§ VMware is the leader
ď§ Favorable license agreement with SAP
36. 37
What It All Looks Like Now â Refresh Methodology
ď§ Prepare the source and target systems
ď§ Snap Clone production using Snapshot Manager for SAP
⢠Mount cloned copies to targeted servers
⢠Changes the SID
⢠Minutes instead of hours
ď§ Post clone cleanup
ď§ Validate target systems
ď§ Scrub production data
ď§ Enjoy
38. 39
After the Dust Settled - Lessons Learned
ď§ Overbuild
ď§ Plan for disaster now
ď§ Plan out storage configuration early
ď§ Pay attention to security early
⢠Infrastructure
⢠OS and Application hardening
39. 40
After the Dust Settled - Successes
ď§ Flexibility
ď§ Speed in reaction
ď§ Environment Refresh rate
ď§ Spin up environments quickly
ď§ Saved $1,000,000 in hardware by virtualizing Oracle
40. 41
After the Dust Settled - Things to Come
ď§ Release 2
⢠Work Management?
⢠HR
⢠More Supply Chain
⢠More Finance
⢠Customer Information?
ď§ Mobility?
ď§ HANA?
41. 42
Summary
ď§ Now that we are done â donât forget your home work
ď§ Figure it all out
ď§ What It All Looks Like Now
ď§ After the Dust Settled