At first, the Oracle Database Appliance is a very nice machine in my opinion. It is easy to operate and performs very very well. But since the complete stack is set up to work as good and fast as possible, there are restrictions especially in the OS layer. The ODA is running Enterprise Linux, but one is not allowed to use yum repositories to install additional packages.
In a current ODA migration project we needed to mount a Windows DFS share for backup and restore purposes. This requires to install the “keyutils” RPM package. So, how do I do that on the ODA? My Oracle Support 1461798.1 has the answer. Just follow these simple steps:
- download ODARPM_Config.zip from MOS
- copy ODARPM_Config.zip to ODA:/opt/oracle/oak/odarpm
- extract ODARPM_Config.zip
- set environment variable “http_proxy” if neccessary
- run “./yumsetup” which can take a while, 2.5 hours in my case
- get the RPM you want, e.g. “./rpmget keyutils”
- install the RPM “rpm -ivh /opt/oracle/oak/pkgrepos/rpms/keyutils-1.2-1.el5.x86_64.rpm”
- configure keyutils to enable DFS mounts, add these two lines
- create cifs.spnego * * /usr/sbin/cifs.upcall -c %k
- create dns_resolver * * /usr/sbin/cifs.upcall %k
- mount your DFS share: mount -t cifs //mydomain.net/dfs /mnt -o username=myuser,domain=mydomain.net
That’s it. Enjoy your data transfers.