Creating and Managing ACFS filesystems in Linux !!!

Home »  12c »  Creating and Managing ACFS filesystems in Linux !!!

On November 5, 2016, Posted by , In 12c,LINUX, By ,, , With No Comments

In this article, We will see the different commands for Creating and Managing ACFS filesystems in Linux. But before proceeding below are some features of ASM Cluster File System (ACFS).

An Oracle ACFS file system communicates with Oracle ASM and is configured with Oracle ASM storage. Oracle ACFS supports Oracle Database files and application files, including executables, database data files, database trace files, database alert logs, application reports, BFILEs, and configuration files.

Oracle ACFS benefit from all the Oracle ASM functionality such as striping, mirroring, rebalancing and dynamic capacity management, scalable and highly available platforms.

For Creating ACFS mount points, we need to perform below steps:
– Create DiskGroup
– Create Volume
– Create ACFS mount point

You can create ACFS mount points either through commands or through GUI. We will be creating ACFS mount points using the GUI method. We assume that you have already configured ASMLIB and the required disks.

Below are details of the ASMLIB disks configured for this article.

======================================================================================================

 

Once the disks are configured using ASMLIB, you can proceed with below steps.

• Create Diskgroups

We have only one diskgroup as shown in below image which was created during Grid installation. Login as grid user and run “asmca” utility.

ASMCA Disk Groups

 

To create new diskgroups, click on “Create” button. Below is an example of RECO diskgroup creation, you can create diskgroups as per your requirements.

ASMCA Create DG

Enter “DiskGroup Name”.
Select “Redundancy”.
Select appropriate Disk(s).
Click on OK to create the diskgroup. You will get a popup showing DG creation is completed.

ASMCA Create DG Completed

 

Similarly we have created the below diskgroups.

ASMCA DG Details

======================================================================================================

 

• Create Volumes

Now next step is to create Volumes. Select the “Volumes” tab and click on “Create” button. You will get a window similar to below.

ASMCA Create Volumes

Enter “Volume Name”.
Select corresponding diskgroup for the volume you are creating.
Specify the size and click on OK to create the Volume. You should see a window showing Volume created successfully.

ASMCA Create Volume Completed

 

Below are the volumes created for each diskgroups.

ASMCA Volumes Details

======================================================================================================

 

• Create ACFS mount points

Now that the required Volumes are created, the next step is to create the ACFS mount points.
Click on “ASM Cluster File Systems” tab and click on “Create” button. You will get a window similar to below.

ASMCA Cluster FS

Enter path of directory where you want the ACFS to be mounted in the field “Mount Point”. Make sure the directory is created on all the nodes.
Enter user name and group name who will be the owner of ACFS mount point.
Select the corresponding Volume name from the “Select Volume” drop down list.
Click on OK to proceed. If all the information provided is correct then another window will be displayed as shown below which contains the script to be executed.

ASMCA Cluster FS Script Execution

Copy the whole path and execute the script from any one nodes in the cluster.

ASMCA Cluster FS Script Output

You can also check the contents of script using “vi” command or any other editor. The script registers the ACFS mount point in cluster and will change the ownership and permission of the mentioned directory where ACFS mount point will be mounted.

 

You can see the status as below in ASMCA gui screen.

ASMCA ACFS status

You can create other ACFS mount points as well similar to above.

 

Once all the ACFS file systems are created, you can check using “df” command at the OS level.

 

You can also check the status using “crsctl” command as shown below.

Now that the ACFS file systems are created, we can use them to store database data files, control files, redo log files, etc.

 

This completes the creation of ACFS file systems on Linux.

======================================================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">