Hello Ask-Tom-Team,
I came across this Oracle documentation „Deploying Oracle RAC on Docker“:
https://www.oracle.com/technetwork/database/options/clustering/rac-ondocker-bp-wp-5458685.pdf Specifically the sentence:
OracleRAC on Docker supports the
non-privilege mode feature. This allows Oracle RAC to safely and securely run on a single hostor
multiple hosts without interference from the other DockerContainers.
Does it mean, I could install two Oracle RAC clusters (e.g. 2 node each, 4 total) on multiple containers on the same physical host without interference between them?
Oracle RAC clusterware uses Linux-Root account taking over the entire physical host.
With Oracle RAC Docker non-privilege mode feature, I guess that wouldn't be the case.
Where do I find more information on this Oracle RAC Docker non-privilege mode feature?
Does Oracle supports / certifies "RAC on Docker" for production systems?
Thank you.
Elio
Does it mean, I could install two Oracle RAC clusters (e.g. 2 node each, 4 total) on multiple containers on the same physical host without interference between them?
I've not tried it, but that is my understanding. But generally, often it is not great to be a "pioneer" when it comes to technology :-) If you're the only person doing it, then its tough to (a) find support and (b) you're the first to find edge cases.
Where do I find more information on this Oracle RAC Docker non-privilege mode feature?This is not a RAC thing per se, just a Docker thing. Its generally considered poor practice to run things in privileged mode in Docker. As per the document you've referenced, we only need privileged mode if you're going to give full device access to the container (not recommended). Thus we can avoid privileged mode if you nominate the devices explicitly or just use shared storage from somewhere where. (I'm a fan of NFS/NAS here for simplicity)
Does Oracle supports / certifies "RAC on Docker" for production systems?
To my knowledge, we don't; support RAC on Docker for production
From MOS 2216342.1
"Oracle Database running in a Real Application Clusters (RAC) configuration in Docker containers is supported for Test and Development environments"
More good details are here
https://github.com/oracle/docker-images/blob/main/OracleDatabase/RAC/OracleRealApplicationClusters/README.md