Last modified on 11 May 2014, at 20:20

RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/ASM Configuration


  1. From a VNC session, run the ASM Configuration Assistant:
    [oracle@collabn1 ~] . oraenv
    ORACLE_SID = [oracle] ? +ASM1
    The Oracle base has been set to /u01/app/oracle
    [oracle@collabn1 ~]$ asmca
    


  2. The asmca opens on the Disk Groups tab, showing the DATA diskgroup created by the installer. Click on Create.

    RA-Oracle_GI_12101-asmca-diskgroups


  3. Enter FRA as the disk group name.

    Choose external (none) redundancy.

    Check one disk to create a 5Gb diskgroup.

    Click OK.

    RA-Oracle_GI_12101-asmca-add_diskgroups


  4. The diskgroup is being created.

    RA-Oracle_GI_12101-asmca-Creating diskgroup


  5. The diskgroup is created.

    RA-Oracle_GI_12101-asmca-Diskgroup created


  6. Click on the Volumes tab, then on Create.

    EnterSHARED as the volume name.

    Choose the diskgroup DATA.

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

    Click OK.

    RA-Oracle_GI_12101-asmca-Creating volume


  7. The volume is created.

    RA-Oracle GI 12101-asmca-Volume created


  8. Select the ASM Cluster File Systems tab.

    Click Create.

    RA-Oracle_GI_12101-asmca-Filesystems


  9. Select Cluster File System.

    Mountpoint: /shared

    Check Automount.

    User Name: oracle

    Group Name: dba

    Volume: SHARED

    Click OK.

    RA-Oracle_GI_12101-asmca-Creating Filesystem


  10. To complete the filesystem creation, run this script as root.

    RA-Oracle_GI_12101-asmca-Creating Filesystem acfs script


    [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
    


  11. Finally, the filesystem is mounted on both nodes.


    [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