Error ‘resource ora.driver.afd does not exist’

Hi guys! Recently I’ve being through an issue after a recently PSU has being applied on an environment that has AFD configured and working. The error that is being experienced when you are trying to check the state or configure the AFD which is ASMCMD-9527: AFD is loaded, but resource ora.driver.afd does not exist. So the point is that I didn’t find any official document that address this issue so what I’m doing here is that I’m following the same steps when you applied a PSU on a grid infrastructure that has ACFS drivers loaded (you need first to remove ACFS drivers and after that PSU has being applied, you can load the ACFS drivers back againd). There is a picture bellow that shows the error when you try to configure/deconfigure AFD after you applied the PSU.

AFD_01

So as you can see from the error message, the ACFS driver is the one that is preventing you from configure/deconfigure the AFD on the server, now lets go into the simple steps to fix it. Bring the Oracle Restart down, in order to uninstall the ACFS and AFD drivers, then just re-install them:

AFD_02AFD_05

All the steps were performed using a privileged user (root), after that you can check that the AFD was configured correctly.

AFD_06

So that’s it guys, I hope it helps you! See ya!

Configure AFD on a new server

Hi guys, I’ve seen some fellows complaining about how to configure AFD on a new server. Well, actually Oracle doesn’t mention no way how to do this, but I’ll show you bellow the way to go. There are simple tasks to perform but the most important of them is to apply PSU 1 or later on it, cause AFD may cause your system to crash MOS: 12.1.0.2 Minimum PSU Level to Configure ASM Filter Driver (AFD) (Doc ID 1943048.1). There are two ways of doing this, the first one would be to deploy a Stand-alone Grid Infrastructure as usual and them migrate the disks to AFD and the second one is to perform a software only install and configure it from the begging. On this post, I’ll mention about the second choice which is the one that Oracle doesn’t mention about it.

First thing, perform a software only install on your server. After the installation has finished you need to configure the grid infrastructure as a Stand-alone, so pick the first option and run it as root:

standalone.start

Then start the ora.cssd resource, after that add and start both listener and the ASM instance:

cssd.listener.asm

Now you are good to go to configure the ASM Filter Driver and label the devices which you want to use, but before first you need to stop the Oracle Restart. Also, you need to use root user in order to configure AFD (it gives you an error but you can ignore it):

afd_configure

And for the end, apply the last PSU in order to avoid your system from crashing:

afd_configure

That’s it, now you have a fresh new server configured with AFD. See you!!