Storage Configuration Overview
Oracle Data Infrastructure Cloud@Customer uses Oracle Automatic Storage Management (Oracle ASM) to manage shared storage. Storage is configured at the following levels:
- Data Infrastructure level: Defines how the shared infrastructure storage is divided between the
+DATAand+RECOASM disk groups, and how much storage is allocated for all VM file systems. - VM Cluster level: Defines how much of the shared storage is allocated to a specific VM Cluster, including VM file system storage, database storage, and recovery area storage.
- Application VM level: Defines the storage allocated for the Application VM boot volume and block volume.
The storage configuration selected at the Data Infrastructure level affects the storage capacity available to all VM Clusters and Application VMs created on that infrastructure.
Storage Configuration at the Data Infrastructure Level
When you create a Data Infrastructure resource, you configure how the shared storage is allocated between the +DATA and +RECO ASM disk groups. After the Data Infrastructure is activated, you cannot change the storage allocation between the +DATA and +RECO disk groups.
Data Infrastructure organizes shared storage into the following ASM disk groups:
-
+DATAdisk group: Primarily intended for storing database data files. Space for VM file systems is allocated from the+DATAdisk group based on the specified storage size. VM file systems store the boot volume, software binaries, patches, and files associated with cloud-specific tooling. Database data files and backups should be stored in the+DATAand+RECOdisk groups rather than on VM file systems. -
+RECOdisk group: Primarily used to store the Fast Recovery Area (FRA), which provides local storage for files related to backup and recovery. By default, the FRA stores archived redo log files and the backup control file.
The +DATA and +RECO ASM disk groups use high redundancy. High redundancy provides triple mirroring for increased data protection. The redundancy setting is managed by the platform and cannot be changed.
VM file system storage is allocated from the +DATA disk group. The amount of storage required depends on the software that you plan to install on each VM. A minimum of 256 GB is required for each Database VM.
DATA and RECO Allocation Proportions
During Data Infrastructure creation, you select the percentage of usable storage allocated to the +DATA disk group. The remaining storage is allocated to the +RECO disk group.
Oracle recommends an 80:20 allocation, where 80 percent of storage is assigned to +DATA and 20 percent is assigned to +RECO.
The +DATA allocation can be set from 40 percent to 90 percent. As a result, the +RECO allocation ranges from 60 percent to 10 percent.
Storage Configuration at the VM Cluster Level
When you create a VM Cluster, you allocate storage from the shared storage available on the Data Infrastructure. VM Cluster storage configuration includes VM storage, database storage, and Recovery Area storage.
VM Storage
VM storage is provisioned from an Oracle ACFS volume in the +DATA disk group and is required for Database Homes. You can configure VM storage allocation by updating the /u01 capacity field in the Console.
When you create a VM Cluster, specify the amount of VM storage to allocate. The amount of VM storage required depends on the number of Database Homes and Database software versions that the VM Cluster will use.
A minimum of 100 GB /u01 space is required per VM.
Database Storage
Data Infrastructure uses Oracle ASM quota management to control the amount of storage that databases in a VM Cluster can consume from the shared infrastructure disk groups.
When creating a VM Cluster, specify storage quotas for:
- Data storage
- Recovery Area storage
A minimum of 256 GB is required for Data storage, and a minimum of 64 GB is required for Recovery Area storage.
Storage Configuration at the Application VM Level
Application VM storage consists of a boot volume and a block volume. Both volumes are provisioned from Oracle ACFS storage in the +DATA disk group on the Data Infrastructure.
Because Application VM storage shares capacity in the +DATA disk group with other resources, ensure that sufficient capacity is available before allocating storage for Application VMs.
Boot Volume
The boot volume provides the VM’s system file system. It stores the operating system and the files required for the VM to start and operate, including the boot partition, user home directories, and swap space.
Size the boot volume to accommodate the operating system, required packages, application runtime components, and future operating system updates.
Block Volume
The block volume provides additional persistent storage for applications running on the VM. Use it for application binaries, configuration files, logs, data exports, staging files, and other workload-specific files that should be stored separately from the operating system file system.
Size the block volume according to application storage requirements, expected data growth, log retention requirements, and operational processes such as backups and software updates.
Storage Planning Guidelines
Before configuring storage, review the following:
- Use the recommended 80:20
+DATAto+RECOallocation unless the workload has different recovery area requirements. - Increase the
+RECOallocation if the workload requires more recovery area capacity. - Increase the
+DATAallocation if the workload requires more database file capacity and has lower recovery area requirements. - Plan Data storage and Recovery Area storage quotas for each VM Cluster based on database size, growth, backup, and recovery requirements.
- Plan boot volume and block volume capacity for Application VMs based on operating system, application, and data storage requirements.
- The VM file system storage is allocated from the
+DATAdisk group.
VM File System Structure
VMs deployed on Data Infrastructure use the following file system organization. Review the file system structure when planning storage allocation for VMs.
| File System | Mount Point |
|---|---|
devtmpfs |
/dev |
tmpfs |
/dev/shm |
tmpfs |
/run |
tmpfs |
/sys/fs/cgroup |
tmpfs |
/run/user/0 |
/dev/mapper/VolGroupVm-LogVolRoot |
/ |
/dev/mapper/VolGroupVm-LogVolOpt |
/opt |
/dev/vdb1 |
/u01 |
/dev/vda1 |
/boot |
<IP Address>:/opt/oracle/oak/pkgrepos/orapkgs/clones/repo |
/opt/oracle/basedb/pkgrepos |
<IP Address>:/u05/app/sharedrepo/bwglxjt4aqsanjmyvgnghazfmxbcba-shfs |
/sharedfs |
oracle_clusterware |
/u01/app/grid/crsdata/<hostname>/shm |
tmpfs |
/run/user/<session> |