Some time ago I wrote an article about configuring DNS for the SCAN address in Oracle 11gR2 RAC.
Over the last couple of days one of the Oakies has given me some feedback on the article based on his experiences with Oracle Linux 5.
For my virtual RAC installations I typically do the DNS configuration on the host machine, which is running Fedora. It seems Oracle Linux 5 is a little different. Just to make sure I ran through the setup on Oracle Linux 5 and 6 to see what the score was.
Oracle Linux 6 is pretty much the same as Fedora as far as installation and configuration of BIND is concerned. Oracle Linux 5 (and also RHEL5 I assume) is a little funky in that it doesn’t create the default config files automatically. There are sample files you can use, but they contain a load of crap you don’t need and are missing some stuff you do. The easiest way to get it configured is to install the “system-config-bind” package and start the GUI. This notices you have no config and sets it up for you. You can then exit the GUI and do the manual config as described in the article. Very odd.
I’ve made a note about this in the article, so it shouldn’t trip anyone else up. I’ve also given some examples of the manually adjusted default named.conf files for each distro.