Oracle Exadata Database Machine

KVM Virtualization Overview and Best Practices for On-Premises RoCE-Based Systems

Exadata Development

June 2023

Topics Covered

Exadata Virtualization

High-Performance Virtualized Database Platform Using KVM

A visual representation shows three clusters (Finance, Sales, Marketing) stacked vertically, with an 'X' at the bottom, symbolizing the Exadata architecture.

Exadata Consolidation Options

This section outlines different consolidation strategies, from dedicated servers to multitenant databases, with a focus on balancing isolation and efficiency.

The diagram illustrates a spectrum from 'More Isolation' (Dedicated DB Servers) to 'More Efficient' (Database Multitenant), with Virtual Machines and Many DBs in one Server in between.

Software Architecture Comparison

Database Server: Bare Metal / Physical versus Virtualized

The architecture comparison shows a physical database server with Oracle GI/DB homes and Exadata (Linux, firmware) versus a virtualized database server. The virtualized server has a Host (Exadata Linux w/ KVM, firmware) running multiple Guests (Guest-1, Guest-2, Guest-n), each with Oracle GI/DB homes and Exadata (Linux).

There is no change to Storage Grid, Networking, or Other components.

Differences Between Physical and Virtual

Topic How Virtual differs from Physical
Reduced Licensing Option Use Trusted Partitions to allocate OCPUs for Database License
Cluster configuration System has one or more VM clusters, each with own Grid Infrastructure / Database software install
Network Isolation Use Secure Fabric to isolate clusters while sharing underlying Exadata Storage
Exadata storage configuration Separate grid disks and ASM disk groups (DATA,RECO) for each cluster
Database server disk configuration Default file system sizes are small. Grid Infrastructure and Database software homes attached as separate file systems.
Software Updates Database servers require separate KVM host (Linux, firmware) and KVM Guest (Linux) updates.
EXAchk Run once for KVM host + storage servers + switches, run once for each VM Cluster
Enterprise Manager Enterprise Manager + Oracle Virtual Infrastructure plug-in + Exadata plug-in

Details are expanded throughout the remaining slides.

Exadata KVM Requirements

Hardware

Software

Exadata KVM Interoperability

Exadata KVM Security Isolation Recommendations

Exadata Secure RDMA Fabric Isolation for RoCE

A diagram illustrates two database servers, each with a Sales VM and an HR VM. These VMs connect to storage servers via a storage network. The Sales VMs are on a Sales Cluster Network, and HR VMs are on an HR Cluster Network.

Exadata KVM Sizing Recommendations

Memory Sizing Recommendations

Memory Sizing Recommendations

Memory Config Supported Platforms Installed Memory (GB) VM Memory (GB)
24 x 128 GB X10M 3072 2800
24 x 96 GB X10M 2304 2090
32 x 64 GB X9M 2048 1870
24 x 64 GB X10M, X9M, X8M 1536 1390
16 x 64 GB X9M 1024 920
12 x 64 GB X10M, X8M 768 660
16 x 32 GB X10M, X9M 512 440
12 x 32 GB X9M, X8M 384 328

CPU Sizing Recommendations

Note: 1 vCPU == 1 hyper-thread; 1 core == 2 hyper-threads == 2 vCPUs.

CPU Sizing Recommendations

Guest CPU sizing (X10M 2x96-core CPUs)

Hardware Min vCPU per guest Max vCPU per guest Max over-provision vCPU all guests
X10M 4 380 7601,2
X9M-2 4 124 248
X9M-2 Eighth 4 62 124
X8M-2 4 92 184
X8M-2 Eighth 4 46 92

1 No CPU over-provisioning when Capacity-on-Demand is used.
2 No CPU over-provisioning on systems with 512GB memory.

Local Disk Space Sizing Recommendations

Local Disk Space Sizing Recommendations

Exadata Storage Recommendation

VM Cluster Cluster Nodes Grid Disks (DATA/RECO for all clusters on all disks in all cells)
clu1 db01vm01
db02vm01
DATAC1_CD_{00..11}_cel01 RECOC1_CD_{00..11}_cel01
DATAC1_CD_{00..11}_cel02 RECOC1_CD_{00..11}_cel02
DATAC1_CD_{00..11}_cel03 RECOC1_CD_{00..11}_cel03
clu2 db01vm02
db02vm02
DATAC2_CD_{00..11}_cel01 RECOC2_CD_{00..11}_cel01
DATAC2_CD_{00..11}_cel02 RECOC2_CD_{00..11}_cel02
DATAC2_CD_{00..11}_cel03 RECOC2_CD_{00..11}_cel03

Deployment Specifications and Limits

Category X8M-2 X9M-2 X10M
VMs Max guests per database server: 12 (41) Max guests per database server: 12 (41) Max guests per database server: 12
Memory Min GB per guest: 16 Min GB per guest: 16 Min GB per guest: 16
Memory Max GB per guest / all guests: 13902 Max GB per guest / all guests: 18702 Max GB per guest / all guests: 28002
CPU/vCPU Min vCPU per guest: 4 Min vCPU per guest: 4 Min vCPU per guest: 4
CPU/vCPU Max vCPU per guest: 92 Max vCPU per guest: 124 Max vCPU per guest: 380
CPU/vCPU Max over-provisioned vCPU all guests: 184 Max over-provisioned vCPU all guests: 248 Max over-provisioned vCPU all guests: 7603,4
Disk space Usable TiB per DB server for all guests: 3.15 Usable TiB per DB server for all guests: 3.40/6.975 Usable TiB per DB server for all guests: 3.40/6.975
Disk space Used GiB per guest at deployment: 141 Used GiB per guest at deployment: 228 Used GiB per guest at deployment: 228

1 Eighth Rack systems maximum number of guests is 4.
2 Using maximum memory configuration.
3 No CPU over-provisioning when Capacity-on-Demand is used.
4 No CPU over-provisioning on systems with 512GB memory.
5 When local disk expanded to 4 drives.

Deployment Overview

Oracle Exadata Deployment Assistant

The Oracle Exadata Deployment Assistant, also known as OEDA, is the tool used to create VMs on Exadata.

  1. Create configuration with OEDA Configuration Tool.
  2. Prepare customer environment for OEDA deployment
    • Configure DNS, configure switches for VLANs (if necessary).
  3. Prepare Exadata system for OEDA deployment
    • # switch_to_ovm.sh; applyElasticConfig.sh
  4. Deploy system with OEDA Deployment Tool.

OEDA Configuration Tool

Decide Virtual or Physical

The Oracle Engineered System Configurator interface is shown, allowing selection of Hardware, Operating System (with choices like Linux VM or Linux Physical), and Rack Networks.

OEDA Configuration Tool

Define Clusters

Decide:

  1. Number of VM clusters to create.
  2. Database servers and Cells that will make up those VM clusters. Recommend using all cells for each cluster.

What is a "VM cluster?"

The interface shows options to define clusters, with Cluster-c1 and Cluster-c2 as examples. Available machines are listed, showing cell nodes and their associated Exadata models.

OEDA Configuration Tool

Cluster Configuration

OEDA Configuration Tool

Advanced Network Configuration

A warning dialog box indicates that to implement VLANs on the Admin network, one must either reconfigure the Ethernet switch or directly cable links from the corporate network to the Admin network interfaces. Options to enable VLAN and Secure Fabric are available.

OEDA Configuration Tool

Advanced Network Configuration

The interface shows settings for Cluster-c1, including Cluster VLAN, Start IP Address, Name Mask, and Storage VLAN. Options to enable VLAN and Enable Secure Fabric are present.

OEDA Configuration Tool

Installation Template

An "Installation Template" section displays cluster information, including version, name, customer name, application, home directories, inventory location, base directory, client domain, and database details like version, name, home, inventory, block size, template, type, and character sets.

OEDA Configuration Tool

Network Requirements

Component Domain Network Example hostname
Database servers KVM host (one per database server) Mgmt eth0
Mgmt ILOM
dm01dbadm01
dm01dbadm01-ilom
KVM guest (one or more per database server) Mgmt eth0
Client bondeth0
Client VIP
Client SCAN
Private RoCE
dm01dbadm01vm01
dm01client01vm01
dm01client01vm01-vip
dm01vm01-scan
dm01dbadm01vm01-priv
Storage servers (same as physical) Mgmt eth0
Mgmt ILOM
Private RoCE
dm01celadm01
dm01celadm01-ilom
dm01celadm01-priv
Switches (same as physical) Mgmt and Private dm01sw-adm, dm01sw-roce

Guest Disk Layout

File system Size Use
/ (root) 15G Root file system
/u01 20G Oracle BASE
/u01/app/<ver>/grid 50G Grid infrastructure software home
/u01/app/oracle/product/<ver>/dbhome_1 50G Database software home
/tmp 3G /tmp
/home 4G User home directories
/var 2G /var
/var/log 18G System logs
/var/log/audit 1G System audit logs
/crashfiles 20G System kdump kernel crash vmcore
/boot 512M System boot
Other LVM space 44G LVDbSwap1, LVDbSys2, LVDbVar2, LVDoNotRemoveOrUse
TOTAL 228G

Exadata KVM Basic Maintenance

Exadata KVM Migration

Backup/Restore of Virtualized Environment

Updating Software

Component to update Method
Storage servers Same as physical - run patchmgr from any server with ssh access to all storage servers or use Storage Server Cloud Scale Software Update feature.
RDMA Network Fabric switches Same as physical - run patchmgr from any server with ssh access to all switches.
Database server – KVM host
  • Run patchmgr from any server with ssh access to all KVM hosts.
  • KVM host update upgrades database server firmware.
  • KVM host reboot requires restart of all local VMs.
  • KVM guest software is not updated during KVM host update.
  • KVM host/guest do not have to run the same version, although specific update ordering may be required (see MOS 888828.1).
Database server – KVM guest Run patchmgr from any server with ssh access to all KVM guests. Typically done on a per-VM cluster basis (e.g., vm01 on all nodes, then vm02, etc.), or update all VMs on a KVM host before moving to the next.
Grid Infrastructure / Database Use Fleet Patching and Provisioning (FPP), OEDACLI, or standard upgrade and patching methods apply, maintained on a per-VM cluster scope. GI/DB homes should be mounted disk images, like initial deployment.

Health Checks and Monitoring

Exadata MAA/HA

Resource Management

Exadata KVM / Xen Comparison

Category KVM-based Xen-based
Terminology kvmhost, guest dom0, domU
Hardware support X8M-2 through X10M (using RoCE switches) X2-2 through X8-2 (using InfiniBand switches)
Hypervisor KVM (built in to UEK) Xen
VM management vm_maker, OEDACLI xm, OEDACLI, domu_maker
Database server software update patchmgr using same ISO/yum repo for KVM host and guests patchmgr using different ISO/yum repo for dom0 and domUs
File system configuration xfs ext4, and ocfs2 for EXAVMIMAGES

PDF preview unavailable. Download the PDF instead.

exadata-kvm-overview Microsoft PowerPoint for Microsoft 365

Related Documents

Preview Oracle MICROS Workstation 6 Family: Flexible Engagement Terminals for Hospitality and Retail
Explore the Oracle MICROS Workstation 6 Family, a series of versatile engagement terminals designed for the demanding hospitality and retail sectors. This document details key benefits, model options, and technical specifications for enhanced guest experiences and operational efficiency.
Preview Deploying Oracle Enterprise Session Router SIP Proxy in Cisco Contact Center Enterprise
Comprehensive guide for installing, configuring, and deploying the Oracle Enterprise Session Router SIP Proxy within Cisco's Packaged CCE and Unified CCE environments. Covers system requirements, setup, HA, load balancing, and troubleshooting.
Preview Oracle MICROS Workstation 8 POS Terminal Basic Operation Guide
A comprehensive guide to the basic operation, hardware specifications, and setup of the Oracle MICROS Workstation 8 Point of Sale (POS) terminal, including regulatory information.
Preview ORACLE Headlight Halo Installation Guide for Ford Mustang (2005-2014)
Detailed, step-by-step installation instructions for ORACLE Headlight Halo Kits on 2005-2014 Ford Mustang models. Covers opening headlights, installing halo rings, sealing, and wiring options.
Preview Sun StorageTek SAS RAID Host Bus Adapter, External - Data Sheet
Oracle's Sun StorageTek SAS RAID Host Bus Adapter (HBA), External provides cost-effective enterprise-class RAID functionality for performance-optimized data storage. Key features include support for RAID levels 0, 1, 10, 1E, 5, 6, 50, 5EE, 60, connectivity to SAS, SATA, and SATA II drives, 3 Gb/sec throughput per port, and compatibility with Solaris, Linux, and Windows operating systems.