SAP on windows server 2012 hyper-v documentation
description
Transcript of SAP on windows server 2012 hyper-v documentation
SAP ON WINDOWS SERVER 2012 HYPER-VDOCUMENTATIONJune 2013
SUMMARY1. This documentation is applicable to Windows Server 2012
Hyper-V 3.0 and SQL 2012. Hyper-V 2.0 is not covered2. Proposed documentation is targeted to small and medium
SAP on SQL Server customers only. Very large complex landscapes tend to be “custom” solutions
3. H/W platform documented is 2 socket SandyBridge or IvyBridge ranging from 8-15 core.
4. Documentation provides customers a “cookbook” to deploy SAP on Win/SQL on Hyper-V 3.0
1. DOCUMENTATION MODEL 1. 4 deployment scenarios are documented2. Common SAP specific topics are documented across
scenarios Private Cloud SAP Landscape Virtualization Manager (LVM)
Scen
ari
o I
Scen
ari
o II
Scen
ari
o III
Scen
ari
o IV
Hard
war
e co
nfig
+ Ne
twor
k+d
isk
Whi
tepa
per
on H
yper
-V
3.0
Benc
hmar
k
Scen
ari
o III
Scen
ari
o IV
HW+N
et+
SAN
P2V
vs.
sys
copy
Hype
r-V 3
.0
SD
benc
hmar
k wh
itepa
per
Secu
rity
& Pa
tchi
ng
Mon
itorin
g
Confi
g of
CS
V, v
hd,
data
files
HA
/DR
conc
ept
sSy
stem
Cop
y +
Back
up/R
esto
re
Sizin
g
2. SCENARIO I – CONFIGURATION 1. Simple implementation suitable for smaller customers or
Dev/QAS2. All components are consolidated as 2 tier DB/CI on a single
Hyper-V cluster comprised of n nodes. 3. 1:1 mapping between SAP system and VM
CSV Volumes Mounted on all Cluster Nodes – FCoE, FC or 10G iSCSI
Development Systems
VM1 Dev ECC DB/CI
VM2 Dev BW DB/CI
VM3 Dev EP DB/CI
Test Systems
VM4 QAS ECC DB/CI
VM5 QAS BW DB/CI
VM6 QAS EP DB/CI
Production Systems
VM7 PRD ECC DB/CI
VM8 PRD BW DB/CI
VM9 PRD EP DB/CI
Hyper-V Hosts in Single Cluster
2Tier VMs running DB+CI Development QAS and Production share the same Windows Hyper-V Cluster
3. SCENARIO II – SEPARATE PROD & NON-PROD 1. Simple design – suitable for medium size customers2. All components are consolidated as 2 tier DB/CI on a non-
production and separate Production Hyper-V cluster comprised of n nodes.
3. 1:1 mapping between SAP system and VM4. Separate Hyper-V cluster for non-prod and production
CSV Volumes Mounted on all Cluster Nodes – FCoE, FC or 10G iSCSI
Development Systems
VM1 Dev ECC DB/CI
VM2 Dev BW DB/CI
VM3 Dev EP DB/CI
Test Systems
VM4 QAS ECC DB/CI
VM5 QAS BW DB/CI
VM6 QAS EP DB/CI
Production Systems
VM7 PRD ECC DB/CI
VM8 PRD BW DB/CI
VM9 PRD EP DB/CI
Hyper-V cluster for non-prod
2Tier VMs running DB+CI Development and QAS running on dedicated Windows Hyper-V Cluster for non-production
Hyper-V cluster for Production
2Tier VMs running DB+CI Production Windows Hyper-V Cluster
4. SCENARIO III – SCALABLE 1. suitable for medium to large size customers2. All components are consolidated on a non-production and
separate Production Hyper-V cluster comprised of n nodes 3. Multi-SID (A)SCS Windows Cluster is implemented4. Application server stacking is implemented5. 3 Tier concept provides much more scalable than 2 tier
solutions6. AlwaysOn used to provide SQL Server HA7. More complex configuration but suitable for large systems
CSV Volumes Mounted on all Cluster Nodes – FCoE, FC or 10G iSCSI
Development Systems
VM1 Dev ECC DB/
CI
VM2 Dev BW DB/
CI
VM3 Dev EP DB/CI
Test Systems
VM4 QAS ECC DB/
CI
VM5 QAS BW DB/
CI
VM6 QAS EP DB/CI
Production Systems
VM7 SQL Server
Node A (ECC + EP)
VM11 SAP App Server
ECC 00BW 01EP 02
Hyper-V cluster for non-prod Hyper-V cluster for Production
3 Tier VMs with DB, ASCS and App Server Production Windows Hyper-V Cluster
VM8 SQL Server
Node B (BW)
VM12 SAP App Server
ECC 00BW 01EP 02
VM13 SAP App Server
ECC 00BW 01EP 02
VM14 SAP App Server
ECC 00BW 01EP 02
VM15 SAP App Server
ECC 00BW 01EP 02
VM9 SAP (A)SCS Node A
ASCS ECC 00ASCS BW 01 SCS EP 02
VM10 SAP (A)SCS ERS
Node B
Multi-SID SAP ASCS Windows Cluster with ERS
SQL AlwaysOn SyncReplica BW
SQL AlwaysOn SyncReplica ECC + EP
5. SCENARIO IV – GEOCLUSTER HA/DR1. suitable for medium to large size customers2. Provides HA/DR “in a box”3. All components are consolidated on a non-production and
separate Production Hyper-V cluster comprised of n nodes 4. Multi-SID (A)SCS Windows Cluster is implemented5. Application server stacking is implemented6. 3 Tier concept provides much more scalable than 2 tier
solutions7. AlwaysOn used to provide SQL Server HA8. More complex configuration but suitable for large systems9. Hyper-V Replica use to synchronize VMs between data
centers (if required). SAN storage replication also supported
CSV Volumes Mounted – Storage Data Center 1
Development Systems
Test Systems
Production Systems
VM7 SQL Server
Node A (ECC + EP)
Windows 2012 Hyper-V Geocluster
3 Tier VMs with DB, ASCS and App Servers – Geographically Dispersed
VM8 SQL Server
Node B (BW)
VM13 SAP App Server
ECC 00BW 01EP 02
VM14 SAP App Server
ECC 00BW 01EP 02
VM15 SAP App Server
ECC 00BW 01EP 02
VM9 SAP (A)SCS Node A
ASCS ECC 00ASCS BW 01 SCS EP 02
VM10 SAP (A)SCS ERS
Node B
Multi-SID SAP ASCS Windows Cluster with ERS
SQL AlwaysOn SyncReplica BW
SQL AlwaysOn SyncReplica ECC + EP
CSV Volumes Mounted – Storage Data Center 2
DWDM Dark Fibre between DC1 and DC2
VM13 SAP App Server
ECC 00BW 01EP 02
VM14 SAP App Server
ECC 00BW 01EP 02
VM15 SAP App Server
ECC 00BW 01EP 02
6. VIRTUAL MACHINE CONFIGURATION1. Use only the following 4 predefined virtual machine sizes2. SAP application servers should only use virtual machine sizes
1 + 23. SQL Server can run on all 4 VM sizes4. Use the Virtual Machine landscape calculator Excel
spreadsheet to design the VMs and landscape5. Review SAP on Microsoft Private Cloud chapter 9
6. VM STANDARD CONFIG: SMALL 1. Target use: Development systems, Solution Manager and
very small test and production systems. Small config can also be used for ASCS clusters. DB size up to 320GB with full PAGE compression
2. VM Properties: Single 10G network, 32GB RAM, 4 vCPU3. SAP DB Layout: 4 datafiles, 1x 5GB Log 4. Tempdb Layout: 4 x 1GB datafiles, 1x 1GB Log 5. VHDX: 4 x 20-100GB for SQL Datafiles + 10GB for Log file6. OS = Windows Server 2012 Standard Edition or higher7. DB = SQL Server 2012 SP1 or higher8. Note: when used as SAP application server only storage is 1 x
100GB VHDX for OS + SAP
7. VM STANDARD CONFIG: MEDIUM 1. Target use: medium test and production systems. Medium
VM can be used for both SQL Server and SAP application servers. Typically less than 500 users. DB size up to 640GB with full PAGE compression
2. VM Properties: Dual 10G network, 128GB RAM, 8 vCPU3. SAP DB Layout: 8 datafiles, 1x 40GB Log 4. VHDX: 4 x 50-200GB for SQL Datafiles + 50GB for Log file5. OS = Windows Server 2012 Standard Edition or higher6. DB = SQL Server 2012 SP1 or higher7. Note: when used as SAP application server only storage is 1 x
100GB VHDX for OS + SAP
8. VM STANDARD CONFIG: LARGE (SQL ONLY)1. Target use: Large production SQL Server databases. DB size
up to 2TB with full PAGE compression 2. VM Properties: >2 10G network, 192GB RAM, 16vCPU3. SAP DB Layout: 16 datafiles, 1x 200GB Log 4. Tempdb Layout: 4 x 1GB datafiles, 1x 1GB Log 5. VHDX: 4 x 100-400GB for SQL Datafiles + 400GB for Log file6. OS = Windows Server 2012 or higher7. DB = SQL Server 2012 SP1 or higher
9. VM STD CONFIG: EXTRA LARGE (SQL ONLY)1. Target use: Extra large SQL Server use only. Not for SAP
application servers. DB size up to >3TB with full PAGE compression
2. VM Properties: >2 10G network, HW max GB RAM, HW max vCPU
3. SAP DB Layout: 16 datafiles, 1x 600GB Log 4. Tempdb Layout: 4 x 1GB datafiles, 1x 1GB Log 5. VHDX: 4 x 100-1000GB for SQL Datafiles + 1TB for Log file6. OS = Windows Server 2012 Standard Edition or higher7. DB = SQL Server 2012 SP1 or higher
APPENDIX I – SQL 2012 NOTES • 1651862 - Release planning for Microsoft SQL Server 2012• 1721480 - MSS: Support for system copy to SQL Server 2012• 1676665 - Setting up Microsoft SQL Server 2012• 1702408 - Configuration Parameters for SQL Server 2012• 1684545 - SAP Installation Media and SQL4SAP for SQL Server
2012Blogs:Windows Server 2012 Generally Available for SAP NetWeaver – April 2013SAP on SQL General Update for Customers & Partners January 2013SQL Server Column-Store available for all major SAP BW releasesSAP High Availability in virtualized Environments running on Windows Server 2012 Hyper-V Part 1: Overview
APPENDIX II – GENERAL NOTES• 1294762 - SCHEMA4SAP.VBS• 1649078 - Disabling autostats for certain tables with Microsoft SQL Server• 1565347 - SAP Systems Based on SAP NetWeaver 7.0 EHP3: SQL Server• 1648817 - Disallow Page Level Locks for Microsoft SQL Server• 62988 - Service Packs for Microsoft SQL Server• 1609057 - SQL Server Setup Check Overview and Explanation• 1238993 - Proportional File Auto-Growth with SQL Server 2008• 1645041 - Changing the password of a MS SQL Server Login in SAP environment• 1476928 - System copy of SAP systems on Windows 2008 (R2): SQL Server• 1482275 - Setting Traceflags for SQL Server• 133381 - Database-Hints in Open SQL for MS SQL Server• 1581700 - PAGE compression support for DDIC & Hom./Het. System Copy• 683447 - SAP Tools for MS SQL Server• 151603 - Copying an SQL Server database• 159316 - Reorganizing tables on SQL Server• 1459005 - Enabling index compression for SQL Server• 1006887 - Online index creation with SQL Server 2005, 2008 and 2008 R2• 1145221 - JDBC driver exchange to Microsoft JDBC Driver
APPENDIX III: SAP ON SQL SERVER SECURITY
1. The patching requirement for SAP on SQL is the same or less than that of UNIX/Oracle
2. A maximum of 2 patching cycles per 12 month period is the target
3. The total downtime per SAP system per year due to schedule patching is 10 minutes
4. The total man-hours spent on patching the entire infrastructure is ~10 hours per year
5. Please review the “Securing SAP on SQL 2012” Whitepaper http://blogs.msdn.com/b/saponsqlserver/archive/2012/05/28/sap-on-sql-server-security-whitepaper-released.aspx