< RAC Attack - Oracle Cluster Database at Home < RAC Attack 12c
  1. From a VNC session, run the ASM Configuration Assistant:
  2. [oracle@collabn1 ~] . oraenv ORACLE_SID = [oracle] ? +ASM1 The Oracle base has been set to /u01/app/oracle [oracle@collabn1 ~]$ asmca
  3. The asmca opens on the Disk Groups tab, showing the DATA diskgroup created by the installer. Click on Create.
  4. Enter FRA as the disk group name.
  5. Choose external (none) redundancy. Check one disk to create a 5Gb diskgroup. Click OK.
  6. The diskgroup is being created.
  7. The diskgroup is created.
  8. Click on the Volumes tab, then on Create.
  9. Enter SHARED as the volume name.

    Choose the diskgroup DATA.

    The size will be irrelevant in our labs, so enter 1.

    Click OK.


  10. The volume is created.
  11. Select the ASM Cluster File Systems tab.
  12. Click Create.
  13. Select Cluster File System.
  14. Mountpoint: /shared Check Automount. User Name: oracle Group Name: dba Volume: SHARED Click OK.
  15. To complete the filesystem creation, run this script as root.
  16. [root@collabn1 ~]# /u01/app/oracle/cfgtoollogs/asmca/scripts/acfs_script.sh ACFS file system /shared is mounted on nodes collabn1 ACFS file system /shared is mounted on nodes collabn2
  17. Finally, the filesystem is mounted on both nodes.
  18. [root@collabn1 ~]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_collabn1-lv_root 27407400 8778184 17236988 34% / tmpfs 1544640 653576 891064 43% /dev/shm /dev/sda1 495844 55641 414603 12% /boot 12cR1 976728060 863308972 113419088 89% /media/sf_12cR1 /dev/asm/shared-336 1048576 80176 968400 8% /shared [root@collabn2 ~]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_collabn1-lv_root 27407400 8883544 17131628 35% / tmpfs 1544640 653576 891064 43% /dev/shm /dev/sda1 495844 55641 414603 12% /boot /dev/asm/shared-336 1048576 80176 968400 8% /shared
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.