
Introduction
One of the main reasons to run Exadata is consolidation: many databases, often owned by different teams, sharing the same servers and storage cells. That raises a practical question every DBA and architect eventually faces: how much isolation do these databases really need from each other?
It is tempting to answer “as much as possible,” but isolation has a price. Every extra boundary adds administrative work, more things to patch, and more room for configuration drift. The better approach is to match the isolation mechanism to the actual requirement. This post walks through the options from lightest to strongest, and explains when each one is worth its cost.
1. Why Isolation Needs Deliberate Design
By default, Exadata storage uses open security: any database client can access all the grid disks. That default is convenient, and it is fine for a single trusted team. On a shared platform, though, it means that nothing at the storage layer stops one cluster or database from reaching another’s disks.
Isolation on Exadata is not one switch. It is a set of independent layers, and it helps to separate two different goals:
- Audit and accountability: knowing who did what, and limiting who can do it by convention and permissions.
- Enforcement: making it technically impossible for one party to touch another’s data.
Mixing these goals up is the most common source of wasted effort. Enforcement is expensive, and many environments only need audit.
2. Layer One: Separate the ASM and DBA Roles
The first and cheapest step is standard Oracle job role separation. Oracle provides separate operating system groups and privileges for ASM administration (SYSASM, plus SYSOPER and SYSDBA for ASM) and for database administration (SYSDBA, SYSOPER). This separates storage administration from database administration.
Recommendation: do it. On Exadata it can be configured as part of the OneCommand deployment process (install.sh with the OEDA configuration), which is the right moment: it is easy to set at deployment and painful to retrofit later.
It also matters for later decisions. As you will see in section 4, database-scoped storage security requires the Grid Infrastructure and Database software to be owned by different OS users. Role separation at deployment keeps that option open.
3. Layer Two: OS Groups, Accounts and Oracle Homes
The next level is giving each database its own OS groups and administrator accounts. This must be configured manually. What you get depends on how far you go.
Per-database OSDBA and OSOPER groups: good for audit
Separate OSDBA and OSOPER groups for each database control who can connect as SYSDBA or SYSOPER through OS authentication. They are useful for audit and for limiting casual access. They are lightweight, and I would recommend them wherever different people administer different databases.
Be clear about their limits, though. If all databases share one Oracle home and one software owner, that owner can still reach every database’s files at the OS level. Groups alone do not give you enforced isolation.
Per-database OS accounts and Oracle homes: enforced, but expensive
Real enforcement needs a separate software installation (a separate Oracle home) with its own OS owner for each database. This works, but the cost is significant:
- Every extra Oracle home is one more thing to patch, and to keep consistent across all RAC nodes.
- It runs against Oracle’s general guidance to use as few Oracle homes as possible to minimize maintenance and administration. (That specific statement appears in Oracle’s Exadata Cloud at Customer material, so check how it applies to your platform.)
- It is manual, so it needs good documentation and discipline.
Recommendation: avoid it by default. Reserve per-database accounts and homes for databases with a genuine separation-of-duties or compliance requirement, such as different teams, business units or customers who must not be able to administer each other’s data.
4. Layer Three: Storage Isolation
Disk groups alone do not isolate anything
A common assumption is that giving each database its own disk group isolates its storage. It does not. With open storage security, any database client can still access any grid disk, whatever the disk group layout. What enforces isolation is Exadata storage security, which uses security keys.
The three security modes
| Mode | What it does | When to use it |
|---|---|---|
| Open security (default) | Any database client can access all grid disks | Single trusted team; no isolation needed |
| ASM-scoped security | Only a given ASM cluster and its database clients can access the grid disks assigned to it; one key per ASM cluster | Several clusters share the same cells |
| DB-scoped security | Individual databases can access only specific grid disks; multiple keys, one cellkey.ora per database client | You need per-database enforcement |
ASM-scoped security: a cheap precaution
If several clusters share the same storage cells, ASM-scoped security is worth enabling even when you have no formal security requirement. It prevents one cluster from accidentally using another cluster’s disk groups, which is a real operational risk during provisioning and migration.
DB-scoped security: only when you need enforcement
DB-scoped security goes one level further. It uses a separate key for Oracle ASM and one for each database client, stored in cellkey.ora files. Because access to those files is controlled by OS permissions, it only isolates databases that run under different OS owners. That is why it connects back to section 3: DB-scoped security requires the Grid Infrastructure and database software to have different OS owners, and it is only meaningful when databases have their own OS accounts.
Two more points to plan for:
- Order matters. ASM-scoped security must be in place before DB-scoped security.
- It is an operational commitment. You will manage keys,
cellkey.orafiles on every database server, and theavailableToattribute on the grid disks. Oracle’s documented example for ASM-scoped security stops the cluster before the change, so plan a maintenance window and follow the current Exadata Security Guide for your software version.
A simplified view of the moving parts:
# On a storage cell: generate a key and assign it to a clientcellcli -e create keycellcli -e "assign key for '<asm_cluster_name>'='<key>'"# On each database server: /etc/oracle/cell/network-config/cellkey.orakey=<key>asm=<asm_cluster_name># On the cells: restrict the grid disks to that client, then verifycellcli -e list griddisk attributes name,availableTo
This is only an outline to show the shape of the configuration. Always follow the step-by-step procedure in the Exadata Database Machine Security Guide for your version.
Per-cluster disk groups are standard; per-database ones are not
Separate disk groups for each VM cluster is standard Oracle guidance for virtualized Exadata, with each cluster’s disk groups spread across all disks on all cells. That keeps bandwidth and resilience intact.
Separate disk groups for each database, especially ones carved out of a subset of disks or cells, is a non-standard configuration. It tends to reduce bandwidth and resilience, and it complicates capacity management. If your real goal is performance isolation rather than data isolation, the better tool is Exadata I/O Resource Management (IORM), which is designed for sharing storage fairly between databases. Check the current documentation for how to configure it for your environment.
5. Layer Four: When You Need a Stronger Boundary
Everything above isolates administrators and data access on a shared operating system. If the requirement is strong isolation between tenants, the boundary has to be lower in the stack:
- Dedicated database servers give the best isolation.
- Virtual machines give good isolation, at the cost of more management overhead and resource usage. Each VM has its own operating system, memory, CPUs and patching.
- Secure Fabric isolates the network of each VM cluster while the clusters still share the same Exadata storage.
- Separate grid disks and disk groups per VM cluster keep the storage layout aligned with the VM boundaries. Newer Exadata platforms also offer Exascale vaults as another way to organize isolated storage.
Trusted databases that need only light separation can still be consolidated together inside a VM, so you do not have to choose between “everything shared” and “one VM per database.”
6. Choosing the Right Level
| Your requirement | Suggested approach |
|---|---|
| Basic accountability, one trusted organization | Separate ASM and DBA roles; per-database OSDBA/OSOPER groups; auditing |
| Several clusters on the same cells | All of the above, plus ASM-scoped storage security |
| Different teams who must not administer each other’s databases | Per-database OS accounts and homes, plus DB-scoped storage security |
| Strict tenant or compliance boundaries | VM clusters with Secure Fabric, separate disk groups per cluster, or dedicated servers |
| Fair sharing of I/O between databases | IORM, not separate disk groups on subsets of disks |
7. Best Practices Checklist
- Separate the ASM and DBA roles at deployment time, using the OneCommand process.
- Use per-database OSDBA/OSOPER groups for audit, and combine them with auditing.
- Enable ASM-scoped security wherever clusters share storage cells.
- Add per-database OS accounts, Oracle homes and DB-scoped security only for databases with a documented isolation requirement.
- Do not rely on disk group layout as an isolation mechanism.
- Keep disk groups spread across all disks and cells; separate them per VM cluster, not per database.
- Use VMs, Secure Fabric or dedicated servers when the requirement is strong isolation between tenants.
- Document who owns which keys, accounts and homes, and review it after every change.
Conclusion
Isolation on Exadata is a menu, not a single setting. Role separation and ASM-scoped security are cheap and worth doing almost everywhere. Per-database accounts, Oracle homes and DB-scoped security give real enforcement, but at a real operational cost, so use them where you can name the requirement. And when the requirement is truly strong isolation, move the boundary down to VMs or dedicated servers rather than stacking complexity on a shared operating system. How much isolation do your consolidated environments actually need? Let me know in the comments.
References
- Oracle Exadata Database Machine Security Guide, “Configuring Data Security for Exadata Storage Servers” (docs.oracle.com)
- Oracle blog, “ASM scoped security: a realistic example” (blogs.oracle.com/solaris)
- Oracle Exadata KVM Virtualization Overview and Best Practices (oracle.com)
- Oracle Exadata Database Machine Operational Best Practices, January 2024 (oracle.com)
- Oracle blog, “Shared ORACLE_HOME with Gen 2 Exadata Cloud at Customer” (blogs.oracle.com/exadata)
- Oracle Grid Infrastructure documentation, “Standard Administration and Job Role Separation User Groups” (docs.oracle.com)
Disclaimer: Always test security and isolation changes in a non-production environment first, and verify the procedures against the Oracle documentation for your specific Exadata System Software, Grid Infrastructure and database versions.