This is an updated procedure to that presented in 14 Set Up DirectNFS for Example Database (11.2), for Oracle RDBMS 12.1.0.2.
Using the admin web interface on NARRABRI, I created a NFS share called COURSERA_NFS. (See 04 Setting Cloud for IaaS 3 for a similar set-up.)
On COURSERA, I created the following mount-point as the oracle
user:
mkdir -p /opt/app/oracle/oradata/coursera
On COURSERA, I created the following file system as the root
user:
cat >>/etc/fstab <<DONE narrabri.yaocm.id.au:/data/COURSERA_NFS /opt/app/oracle/oradata/coursera nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600 DONE
The procedure given in 8.4.10.7 Enabling Direct NFS Client is incomplete. The environment variable, ORACLE_HOME
, must be set prior to invoking make
.
As the oracle
user, I ran the following commands:
export ORACLE_HOME=/opt/app/oracle/product/12.1.0/dbhome_1 cd ${ORACLE_HOME}/rdbms/lib make -f ins_rdbms.mk dnfs_on
The output was:
rm -f /opt/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/odm/libnfsodm12.so; \ cp /opt/app/oracle/product/12.1.0/dbhome_1/lib/libnfsodm12.so /opt/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/odm/libnfsodm12.so