Description
- In this case we are using standalone grid infrastructure and having an ACFS file system in it.
- In Standalone, ACFS does not start automatically so create rc.local script to load the ACFS drivers well before the OHASD service starts. ACFS drivers should get loaded before ASM starts.
Sample script
cat /etc/systemd/system/oracle-acfsload.service
#
# Oracle ACFS Drivers
[Unit]Description=Load ACFS Drivers during boot
After=syslog.target oracle-ohasd.service
[Service]ExecStart=<$GRID_HOME>/bin/acfsload start -s >/dev/null 2>&1 </dev/null
Type=simple
[Install]WantedBy=multi-user.target graphical.target
- In our instance all services are running. ACFS drivers have to load before ASM starts so we shut down all the services and start the ACFS drivers
- We are using the demo instance so we shut down and started the ASM instance.
- Login to ASM instance and shut down the instance. Before that check all the databases services were down
Use the crsctl stop command to stop the Oracle High Availability Services on the local server.
Login as root user and go to $GRID_HOME/bin directory and run the crsctl stop has command
$GRID_HOME/bin/crsctl stop has
Acfsload loads or unloads the Oracle ACFS, Oracle ADVM, and Oracle Kernel Services Driver (OKS) drivers.
Start the ACFS drivers before ASM instance starts.
$GRID_HOME/bin/acfsload start
Start the Oracle High Availability Services and check the services are up and running
$GRID_HOME/bin/crsctl start has
Check the ACFS diskgroup is enabled, If not enable the diskgroup.
asmcmd acfs volinfo –all
volenable -all
Mount the the ACFS filesystem.
/bin/mount -t acfs /dev/asm/acfs-313 /acfs