SlideShare una empresa de Scribd logo
1 de 13
© 2013 VMware Inc. All rights reserved
Oracle on vSphere Best Practices
Filip Verloy, Sr. SE
2
Agenda
 Benefits of running Oracle on VMware
 Best practices for running Oracle on VMware
• ESXi host guidelines
• Storage guidelines
• Networking guidelines
 Troubleshooting performance issues
3
Benefits of running Oracle on VMware
 Manageability and Agility
• vMotion without downtime to the Oracle database (HW
maintenance/upgrades)
 Consolidation
• Maximum use of physical resources
 Provisioning
• VM can be rapidly moved or duplicated
 High Availability
• Protection against unplanned downtime by restarting the VM on another host
 Fault Tolerance
• Continues availability (*1 vCPU only)
 Dynamic Resource Scheduling
• vSphere/Storage DRS provides load balancing across a cluster (meet SLA’s)
4
Benefits of running Oracle on VMware cont'd
 Power Management
• Dynamic Power Management (DPM) allows for conservation of power
 Rapid Refresh
• Virtual environment can be rapidly refreshed for test/dev, training, and
QA/UAT.
 Network I/O Control
• Allows assignment of bandwidth or relative weighing between VM’s
 Storage I/O Control
• Allows a level of storage predictability and fairness to ensure Oracle databases
get what they are entitled too. (based on ‘fair’ access)
5
Best practices for running Oracle on VMware
 Careful sizing and capacity planning for a given workload is still
highly recommended – same rules as the physical world still apply
6
ESXi host guidelines
 The VMware ESXi host BIOS settings can be specifically adjusted
to maximize compute resources (such as disabling unnecessary
processes and peripherals) to Oracle databases
 Allow vSphere to choose the best VMM based on the CPU and
guest OS combination (Automatic CPU/MMU Virtualization)
 Use Hardware-Assisted Memory Management (EPT/RVI)
 Set memory reservations equal to the size of the Oracle SGA + 2
times Aggregate PGA Target + 500MB for the OS (assuming Linux)
 Use Large Memory Pages (linux hugepages)
 Do not use Oracle Automatic Memory Management (AMM)
 Do not disable balloon driver
7
ESXI host guidelines cont’d
 Use as few virtual CPUs as possible
• Match the number of vCPU’s to the number of active foreground sessions in
the database.
 Use CPU reservations when over allocation resources
 Enable hyperthreading (Intel Core i7 processors and above)
 Disable NUMA at the virtual machine layer BUT leave enabled at the
physical host BIOS and guest OS levels
 Use Virtual SMP (with moderation)
8
Guest OS guidelines
 Optimize the OS (patches, kernel settings)
• If possible use Oracle pre-install packages
• Oracle-validated RPM for OEL or Red Hat 5.x
• Oracle pre-install RPM for OEL or Red Hat 6.x
 Disable unnecessary foreground and background processes
 Install VMware Tools on all virtual machines
 Time keeping by using NTP
9
Storage guidelines
 Enable jumbo frames for IP-based storage (iSCSI/NFS)
 Create dedicated datastores to service database workloads
 Leverage SSD for indexes, redo logs, and frequently used data
 Use VMFS for single instance Oracle database deployments
 Align VMFS properly
 RDM is recommended for large partitions and heavy I/O use
databases
 Use Oracle automatic storage management (ASM)
• ASM disk groups need to be created with equal disk types (performance of an
ASM disk group is as fast as it’s slowest member)
• Create ASM disk groups based on I/O behavior characteristics (random,
sequential, log files, …)
10
Storage guidelines cont’d
 Use your storage vendor’s best practices documentation when
laying out the Oracle database
 Avoid silos when designing the storage architecture
 Use Paravirtualized SCSI adapters for Oracle data files with
demanding workloads
 Use multiple virtual SCSI controllers to increase parallelism for I/O
traffic inside the guest OS (separate redo log from data files)
 vSphere 5.5  vFRC (mainly read I/O benefits)
11
Example layout
12
Networking guidelines
 Use the VMXNET family of Paravirtualized network adapters
 Separate infrastructure traffic from virtual machine traffic for
security and isolation (performance)
 Use NIC teaming for availability and load balancing (passive
failover)
 Take advantage of NIOC to converge network and storage traffic
onto 10GbE
 RAC interconnects, NAS, Oracle Data Guard  jumbo frames
 Turn off Dynamic Coalescing on RAC interconnects
 Increase the interrupt rate (slight increase in CPU consumption)
13
Troubleshooting performance issues

Más contenido relacionado

La actualidad más candente

ovm3-server-pool-459310
ovm3-server-pool-459310ovm3-server-pool-459310
ovm3-server-pool-459310Enoch Antwi
 
VMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld
 
GAB 2016 Hybrid Storage
GAB 2016 Hybrid StorageGAB 2016 Hybrid Storage
GAB 2016 Hybrid StorageCarlos Mayol
 
Oracle database smart flash cache
Oracle database smart flash cacheOracle database smart flash cache
Oracle database smart flash cacheJohan Louwers
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practicesthephuck
 
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld
 
Uponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case StudyUponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case StudySimo Vilmunen
 
Oracle Solaris 11 Built for Clouds
Oracle Solaris 11 Built for Clouds Oracle Solaris 11 Built for Clouds
Oracle Solaris 11 Built for Clouds Orgad Kimchi
 
Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)Guy Harrison
 
Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)Guy Harrison
 
vCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionvCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionRackspace
 
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusion
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusionAdvanced caching techniques with ehcache, big memory, terracotta, and coldfusion
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusionColdFusionConference
 
Cloud-Ready, Scale-Out Storage
Cloud-Ready, Scale-Out StorageCloud-Ready, Scale-Out Storage
Cloud-Ready, Scale-Out Storageryanwakeling
 
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...Vinh Nguyen
 
Building your first sql server cluster
Building your first sql server clusterBuilding your first sql server cluster
Building your first sql server clusterJoseph D'Antoni
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3UniFabric
 
Pairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANPairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANthephuck
 
Sql Server On A Cluster
Sql Server On A ClusterSql Server On A Cluster
Sql Server On A ClusterLohit Ahuja
 

La actualidad más candente (20)

ovm3-server-pool-459310
ovm3-server-pool-459310ovm3-server-pool-459310
ovm3-server-pool-459310
 
VMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing DatabasesVMworld 2014: Virtualizing Databases
VMworld 2014: Virtualizing Databases
 
GAB 2016 Hybrid Storage
GAB 2016 Hybrid StorageGAB 2016 Hybrid Storage
GAB 2016 Hybrid Storage
 
Walla migration
Walla  migrationWalla  migration
Walla migration
 
Oracle database smart flash cache
Oracle database smart flash cacheOracle database smart flash cache
Oracle database smart flash cache
 
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
VMworld 2013: VMware vCenter Site Recovery Manager – Solution Overview and Le...
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
 
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
 
Uponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case StudyUponor Exadata e-Business Suite Migration Case Study
Uponor Exadata e-Business Suite Migration Case Study
 
Oracle Solaris 11 Built for Clouds
Oracle Solaris 11 Built for Clouds Oracle Solaris 11 Built for Clouds
Oracle Solaris 11 Built for Clouds
 
Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)Optimize Oracle On VMware (Sep 2011)
Optimize Oracle On VMware (Sep 2011)
 
Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)Optimize oracle on VMware (April 2011)
Optimize oracle on VMware (April 2011)
 
vCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionvCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR Solution
 
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusion
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusionAdvanced caching techniques with ehcache, big memory, terracotta, and coldfusion
Advanced caching techniques with ehcache, big memory, terracotta, and coldfusion
 
Cloud-Ready, Scale-Out Storage
Cloud-Ready, Scale-Out StorageCloud-Ready, Scale-Out Storage
Cloud-Ready, Scale-Out Storage
 
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...
vmware_site_recovery_manager_and_net_app_fas_v-series_se_technical_presentati...
 
Building your first sql server cluster
Building your first sql server clusterBuilding your first sql server cluster
Building your first sql server cluster
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
 
Pairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANPairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SAN
 
Sql Server On A Cluster
Sql Server On A ClusterSql Server On A Cluster
Sql Server On A Cluster
 

Similar a Oracle on vSphere best practices

Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsMarkus Michalewicz
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld
 
VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld
 
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mwareBenchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mwaresolarisyougood
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software ReleaseIsabella789
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cPete Sharman
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesSolarWinds
 
South jersey sql virtualization
South jersey sql virtualizationSouth jersey sql virtualization
South jersey sql virtualizationJoseph D'Antoni
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2Mohsen B
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmugcsharney
 

Similar a Oracle on vSphere best practices (20)

Oracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim WilliamsOracle Flex ASM - What’s New and Best Practices by Jim Williams
Oracle Flex ASM - What’s New and Best Practices by Jim Williams
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
3487570
34875703487570
3487570
 
vSphere
vSpherevSphere
vSphere
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
 
VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers VMworld 2013: How SRP Delivers More Than Power to Their Customers
VMworld 2013: How SRP Delivers More Than Power to Their Customers
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
 
Avamar-7_2010.ppt
Avamar-7_2010.pptAvamar-7_2010.ppt
Avamar-7_2010.ppt
 
Avamar 7 2010
Avamar 7 2010Avamar 7 2010
Avamar 7 2010
 
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mwareBenchmark   emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
 
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server VMworld 2013: Successfully Virtualize Microsoft Exchange Server
VMworld 2013: Successfully Virtualize Microsoft Exchange Server
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12c
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
les_01_core.ppt
les_01_core.pptles_01_core.ppt
les_01_core.ppt
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databases
 
South jersey sql virtualization
South jersey sql virtualizationSouth jersey sql virtualization
South jersey sql virtualization
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
 
Aws best practices
Aws best practicesAws best practices
Aws best practices
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmug
 

Último

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Oracle on vSphere best practices

  • 1. © 2013 VMware Inc. All rights reserved Oracle on vSphere Best Practices Filip Verloy, Sr. SE
  • 2. 2 Agenda  Benefits of running Oracle on VMware  Best practices for running Oracle on VMware • ESXi host guidelines • Storage guidelines • Networking guidelines  Troubleshooting performance issues
  • 3. 3 Benefits of running Oracle on VMware  Manageability and Agility • vMotion without downtime to the Oracle database (HW maintenance/upgrades)  Consolidation • Maximum use of physical resources  Provisioning • VM can be rapidly moved or duplicated  High Availability • Protection against unplanned downtime by restarting the VM on another host  Fault Tolerance • Continues availability (*1 vCPU only)  Dynamic Resource Scheduling • vSphere/Storage DRS provides load balancing across a cluster (meet SLA’s)
  • 4. 4 Benefits of running Oracle on VMware cont'd  Power Management • Dynamic Power Management (DPM) allows for conservation of power  Rapid Refresh • Virtual environment can be rapidly refreshed for test/dev, training, and QA/UAT.  Network I/O Control • Allows assignment of bandwidth or relative weighing between VM’s  Storage I/O Control • Allows a level of storage predictability and fairness to ensure Oracle databases get what they are entitled too. (based on ‘fair’ access)
  • 5. 5 Best practices for running Oracle on VMware  Careful sizing and capacity planning for a given workload is still highly recommended – same rules as the physical world still apply
  • 6. 6 ESXi host guidelines  The VMware ESXi host BIOS settings can be specifically adjusted to maximize compute resources (such as disabling unnecessary processes and peripherals) to Oracle databases  Allow vSphere to choose the best VMM based on the CPU and guest OS combination (Automatic CPU/MMU Virtualization)  Use Hardware-Assisted Memory Management (EPT/RVI)  Set memory reservations equal to the size of the Oracle SGA + 2 times Aggregate PGA Target + 500MB for the OS (assuming Linux)  Use Large Memory Pages (linux hugepages)  Do not use Oracle Automatic Memory Management (AMM)  Do not disable balloon driver
  • 7. 7 ESXI host guidelines cont’d  Use as few virtual CPUs as possible • Match the number of vCPU’s to the number of active foreground sessions in the database.  Use CPU reservations when over allocation resources  Enable hyperthreading (Intel Core i7 processors and above)  Disable NUMA at the virtual machine layer BUT leave enabled at the physical host BIOS and guest OS levels  Use Virtual SMP (with moderation)
  • 8. 8 Guest OS guidelines  Optimize the OS (patches, kernel settings) • If possible use Oracle pre-install packages • Oracle-validated RPM for OEL or Red Hat 5.x • Oracle pre-install RPM for OEL or Red Hat 6.x  Disable unnecessary foreground and background processes  Install VMware Tools on all virtual machines  Time keeping by using NTP
  • 9. 9 Storage guidelines  Enable jumbo frames for IP-based storage (iSCSI/NFS)  Create dedicated datastores to service database workloads  Leverage SSD for indexes, redo logs, and frequently used data  Use VMFS for single instance Oracle database deployments  Align VMFS properly  RDM is recommended for large partitions and heavy I/O use databases  Use Oracle automatic storage management (ASM) • ASM disk groups need to be created with equal disk types (performance of an ASM disk group is as fast as it’s slowest member) • Create ASM disk groups based on I/O behavior characteristics (random, sequential, log files, …)
  • 10. 10 Storage guidelines cont’d  Use your storage vendor’s best practices documentation when laying out the Oracle database  Avoid silos when designing the storage architecture  Use Paravirtualized SCSI adapters for Oracle data files with demanding workloads  Use multiple virtual SCSI controllers to increase parallelism for I/O traffic inside the guest OS (separate redo log from data files)  vSphere 5.5  vFRC (mainly read I/O benefits)
  • 12. 12 Networking guidelines  Use the VMXNET family of Paravirtualized network adapters  Separate infrastructure traffic from virtual machine traffic for security and isolation (performance)  Use NIC teaming for availability and load balancing (passive failover)  Take advantage of NIOC to converge network and storage traffic onto 10GbE  RAC interconnects, NAS, Oracle Data Guard  jumbo frames  Turn off Dynamic Coalescing on RAC interconnects  Increase the interrupt rate (slight increase in CPU consumption)