Database Reference
In-Depth Information
When the ADVM volume is created, you need to create a file system. ADVM supports ext3, but, since this file
system will be concurrently mounted on both cluster nodes, it must be a cluster file system. The cluster file system
is also provided by Oracle in the form of ACFS—the ASM Cluster File System. First, you need to create the ASM Disk
Group for the ASM Cluster File System. Note that you need to set a number of compatibility attributes on the disk
group to allow for the creation of an ACFS:
SQL> create diskgroup acfs external redundancy
2 disk 'ORCL:ACFS_001'
3 attribute 'compatible.asm'='12.1', 'compatible.advm'='12.1';
Diskgroup created.
Mount this disk group in all cluster nodes. The easiest way to do so is to use srvctl to start the diskgroup:
[grid@rac12node1 ~]$ srvctl start diskgroup -g ACFS
Next, create an ACFS volume that will later contain the file system. You can use either the graphical user
interface—ASM Configuration Assistant or ASMCA—or the command line. It is easier to use the latter in scripts, so it
was chosen here. Instead of asmcmd , the primary tool used in Oracle 11g, you can now make use of ASMCA in silent
mode to create the ACFS volume and file system. The command options used are silent and createVolume:
[grid@rac12node1 ~]$ asmca -silent -createVolume -volumeName orahomevol \
> -volumeDiskGroup ACFS -volumeSizeGB 8
Volume orahomevol created successfully.
The syntax is self-explanatory. ASMCA has been instructed to create a volume with the name “orahomevol” on
disk group ACFS with a size of 8 GB. This operation completes quickly. The venerable asmcmd command proves that
the volume was indeed created:
[grid@rac12node1 ~]$ asmcmd volinfo -G ACFS -a
Diskgroup Name: ACFS
Volume Name: ORAHOMEVOL
Volume Device: /dev/asm/orahomevol-137
State: ENABLED
Size (MB): 8192
Resize Unit (MB): 32
Redundancy: UNPROT
Stripe Columns: 4
Stripe Width (K): 128
Usage:
Mountpath:
With the volume in place, you can create the file system on top. Again, ASMCA is used to perform this task:
[grid@rac12node1 ~]$ asmca -silent -createACFS -acfsVolumeDevice /dev/asm/orahomevol-137 \
> -acfsMountPoint /u01/app/oracle
Search WWH ::




Custom Search