Oracle 12c: How to Create ASM Cluster file System (ACFS) Using ASM Configuration Assistant (ASMCA)

Oracle 12c: How to Create ASM Cluster file System (ACFS) Using ASM Configuration Assistant (ASMCA)

 

_____________________________________________________________________________________________________________________

 
Login to grid user and set ASM instance parameters.  
[grid@Rac1 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM1
The Oracle base has been set to /u01/app/grid
[grid@Rac1 ~]$ env|grep ORACLE

ORACLE_SID=+ASM1
ORACLE_BASE=/u01/app/grid
ORACLE_HOME=/u01/app/12.1.0/grid
Invoke asmca

[grid@Rac1 ~]$ asmca 
 
Click on volumes tab and click on create button
 
Provide the volume name(acfs), from which diskgroup (DATA_T2), Size (50G) and click Ok button. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Click on ASM Cluster File System Tab and click on create button
 
Provide Type of ACFS (Cluster File System), Mount point (/u02), owner/username of the file system (oracle), Group name(oninstall) and the volume name which is created in above step from the drop down (ACFS-/dev/asm/acfs-476-50G)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Execute the acfs_script.sh file as root user
[root@Rac1 install]# /u01/app/grid/cfgtoollogs/asmca/scripts/acfs_script.sh
 
ACFS file system /u02 is mounted on nodes Rac1,Rac2 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Verify the shared file system from both nodes
[root@Rac1 install]# df -h /u02
Filesystem         Size  Used Avail Use% Mounted on
/dev/asm/acfs-476   50G  178M   50G   1% /u02
 
[oracle@Rac2 admin]$ df -h /u02
Filesystem         Size  Used Avail Use% Mounted on
 
/dev/asm/acfs-476   50G  178M   50G   1% /u02
原文地址:https://www.cnblogs.com/yaoyangding/p/14942896.html