How to Learn Exadata When You Don't Have an Exadata
You can learn Exadata properly without a rack at work: strong RAC, ASM and RMAN basics, the architecture in depth, and a virtual quarter rack of three cells and two database nodes built on your own laptop.
You can learn Exadata without a rack at work. Start with strong RAC, ASM and RMAN basics. Then learn the machine in depth: the hardware, the software, the networks. Then build one: a virtual quarter rack of three storage cells and two database servers on VMware on your own laptop, ending with a RAC database. That is how I teach it.
Every Exadata job asks for hands-on experience, and nobody gives you a rack to practise on. Racks live in production, and often Oracle installs them for you. So your first Exadata should not be a production one.
Step 1: get your basics strong
For anything, you need a strong foundation. Later you can polish it to any level.
Before Exadata, you should be an Oracle DBA with good working knowledge of ASM, RAC and RMAN, and basic knowledge of networking, storage and system administration. If you are a fresher, learn those DBA basics first. Exadata will make far more sense.
Step 2: get the words right
Two terms first, because people mix them up:
- An Exadata database server is one server.
- An Exadata database machine is the whole rack: database servers, storage servers, switches, PDUs, hardware, software and networking.
And a storage server, a cell, a cell server, a cell node are all the same thing.
Step 3: learn the machine, in depth
Many people describe Exadata like the blind men describing an elephant. Each one knows only one part. Learn the whole machine:
- Introduction. What a DMA does that a DBA doesn't; traditional RAC against Exadata; the problems Exadata was built to solve; the versions from V1 to today; the configurations and rack models.
- Hardware. The five components, front panel and back panel, database servers, cells and the network hardware.
- Software. What runs on the database servers and on the cells: smart flash cache, persistent memory, the cell software features.
- Networking. The management network, the ILOM network, InfiniBand or RoCE, the client network: the purpose of each, the links, the layout, the addresses, and how the components connect inside and outside the rack. This is my favourite part.
Two good places to start: Exadata vs RAC and what an Exadata DMA does.
Step 4: build a quarter rack on your laptop
Yes, you can install Exadata on your laptop. This is the toughest part of learning Exadata. Yes, it is really tough, and it needs expertise. But I will make it easy for you.
You start with nothing, empty virtual boxes, and you end with a quarter rack of five servers:
- First cell. Install Oracle Linux, then the cell software on top. Configure the storage: create the ASM disks, which in a storage cell we call grid disks.
- Second and third cells. The same.
- Two database servers. Install the operating system, the Grid Infrastructure prerequisites, the
cellip.oraandcellinit.orafiles that point the database servers at the cells, Grid Infrastructure with itsroot.sh, then the RDBMS software. - A RAC database. Create it on the two nodes, on storage served by your three cells.
In my course this lab runs on an 11.2 software stack, the version a laptop can carry. The theory applies to all versions.
# On each database server, the two files that connect it to the cells
/etc/oracle/cell/network-config/cellip.ora
/etc/oracle/cell/network-config/cellinit.oraFive virtual machines run at the same time, so memory and free disk space matter more than a fast processor. I give you the full software stack, including the cell server software, and every installation step on screen.
Go slowly. Finish one server, check it, then start the next. A step skipped on the first cell comes back to trouble you on the database servers.
Step 5: go to the real work
Once the machine is clear and your lab runs, learn what a DMA does on a real rack: deployment with OEDA, monitoring in Enterprise Manager, patching, the administration utilities, and what to do when a disk fails on a cell. That is where you stand beside Oracle's engineers and lead the work, not just follow it.
A habit that helps
Take a notebook only for Exadata. Write every doubt in it with your own hand. Before an interview, read it.
My aim
I really want everyone to install Exadata on their own laptop. No one should feel Exadata is rocket science. And at the end, I want to see a smile on your face.