Configuring Oracle ASM on the first node of the cluster

If you want to use ASM feature of Oracle 10g or Oracle 11g R1, then configure the Oracle ASM using the Database Configuration Assistant.

You need to configure the ASM only once, from the node on which you installed Oracle first.

Review the procedure to configure ASM for Oracle database.

To configure ASM for the Oracle 10g or Oracle 11g R1 database

  1. Set the DISPLAY variable and start the Oracle Database Configuration Assistant as Oracle User.
    # dbca
  2. Read the Welcome screen, click Next.
  3. In the Operations dialog box, select the Configure Automatic Storage Management option and click Next.
  4. In the Database Templates dialog box, select a template to create the database and click Next.
  5. In the Database Identification dialog box, enter or select a unique name and SID for the global database and click Next.
  6. Follow the wizard instructions and select other options.
  7. In the Storage Options dialog box, select the Automatic Storage Option and click Next.
  8. Review the warning message and click OK. Make sure that the Oracle clustering daemon is running.

  9. In the Create ASM Instance dialog box, specify the ASM SYS user password and click Next.
  10. Click OK in the message box that appears.
  11. In the ASM Disk Groups dialog box, choose to create a new disk group or add disks to an existing disk group.
  12. In the Change Disk Discovery Path dialog box, enter the path name.

    Depending on the disk device you want to use for ASM, enter the disk discovery path.

  13. In the Create Disk Group dialog box, do the following:

    • Choose one of the Redundancy options.

    • In the Select Member Disks area, choose the Show Candidates option.

    • Select the disks against the Disk Path from the list to create the ASM disk group.

    • Click OK.

  14. Follow the wizard instructions and complete configuring the Oracle ASM.

To configure ASM for the Oracle 11gR2 or 12c database

Note:

Create disk groups using Oracle ASM Configuration Assistant only on one server in the VCS cluster. These disk groups will be available on the remaining servers in the VCS cluster because it hosts the database of the disk groups.

  1. Set the DISPLAY variable and start the Oracle ASM Configuration Assistant as Oracle User.
    # asmca
  2. In the Create ASM Instance dialog box, specify the password for ASM administrator and click Specify Disk Group button.
  3. In the Create Disk Group dialog box, choose to create a new disk group or add disks to an existing disk group.
  4. In the Change Disk Discovery Path dialog box, enter the path name.

    Depending on the disk device you want to use for ASM, enter the disk discovery path.

  5. In the Create Disk Group dialog box, do the following:

    • Choose one of the Redundancy options.

    • In the Select Member Disks area, choose the Show Candidates option.

    • Select the disks against the Disk Path from the list to create the ASM disk group.

    • Click OK.

  6. Follow the wizard instructions and complete configuring the Oracle ASM.

    Note:

    After you successfully run Oracle ASM Configuration Assistant, run the $GRID_HOME/bin/crsctl stat res -t -init command to check if ora.<DGname>.dg, a new Oracle resource(s), is created.

  7. For Oracle 11g R2 or 12c, copy the PFILE or the SPFILE for ASM instances from the ASM disk group to the local file system.

    With Oracle 11g R2 or 12c, the VCS agent for ASMInst agent does not support PFILE or SPFILE for ASM instances on the ASM diskgroups.

More Information

Enabling the clustering daemon for ASM-managed database