Helpful tips

Where is Spfile in ASM?

Where is Spfile in ASM?

Starting with ASM version 11.2, the ASM spfile can be stored in an ASM disk group. Indeed, during a new ASM installation, the Oracle Universal Installer (OUI) will place the ASM spfile in the disk group that gets created during the installation.

How do I use Spfile in ASM?

Steps to Recreate spfile from pfile in ASM

  1. STEP 1: Shut down the database cluster.
  2. STEP 2: Start only one instance using existing pfile in nomount state.
  3. STEP 3: Create spfile on ASM from existing pfile.
  4. STEP 4: Shutdown and start the database.
  5. STEP 5: Check the status of the database.

How do I read ASM Spfile?

Overview – steps to read an ASM Spfile

  1. Use Pnp play tool: gpnptool getpval -asm_dis to read ASM disk discovery path.
  2. Scan all available ASM disk header to find ASM disks having a spfile reference.
  3. Read the related block and dump the SPfile entries.

How do I start an ASM instance with Spfile?

Starting Up an Oracle ASM instance with an Incorrect SPFILE Path

  1. Create a PFILE with one line in it that identifies the path to the SPFILE.
  2. Start up the instance using the initialization parameter file.
  3. After the instance is running, use the ASMCMD spset command to update the SPFILE path in the GPnP profile.

How do I transfer Spfile to ASM?

Moving SPFILE from file system to ASM (ORACLE RAC11g)

  1. Create spfile in ASM “+RACDB_DATA” disk group.
  2. New spfile has been created in ASM.
  3. Modify initracdb11.ora on rac1 and initracdb12.ora on rac2 files to point to location in ASM.
  4. Update OCR with new SPFILE location.
  5. Rename any existing spfiles in $ORACLE_HOME/dbs.

How do I find my Pfile ASM?

But if ASM instance is not up, let’s see where we can find its location.

  1. From GPnP tool.
  2. From alert.log.
  3. $ORACLE_HOME/dbs.
  4. Backup the ASM SPFILE.

How do I change the ASM Spfile?

Logical steps to change the ASM spfile

  1. Create intermediate pfile from the current spfile or pfile.
  2. Create spfile in a new disk group from the intermediate pfile.
  3. Restart the HA stack to verify that ASM starts up fine with moved spfile.
  4. Remove the original spfile.

How do I copy an ASM file system?

Method 1 : Using ASMCMD Utility In this method, we are copying the datafile “TS1. 256.739191187” in diskgroup DG1 from ASM to “ts2. dbf” on to the file system.

How do I create a pfile in ASM?

How to move spfile from ASM to filesystem

  1. Create pfile from the spfile. First, we will create pfile in filesystem from the existing spfile in ASM.
  2. Remove the spfile from ASM. We can now connect the the ASM instance and remove the spfile residing in ASM disk group.
  3. Recreate the spfile.
  4. Start the database using new spfile.

How do I change my Spfile name?

In order to modify the spfile in oracle database, do one of the following:

  1. Use the ALTER SYSTEM command to modify the SPFILE currently in use. To determine if an spfile is being used: SQL> select value from v$parameter where name=’spfile’
  2. Use the export method. Export the SPFILE to a PFILE.

Where to create database spfile under ASM-Oracle?

Information in this document applies to any platform. On 10.2.0.1 in Production: File created. Under ASM , the spileosmdr.ora is link to the wrong location under ASM Q. Why it will create +DATA/DB_UNKNOWN instead of +DATA/osmdr ? Q. Why does the spfile get created in the directory DB_UNKNOWN?

Where is the ASM spfile stored on the disk?

Starting with ASM version 11.2, the ASM spfile can be stored in an ASM disk group. Indeed, during a new ASM installation, the Oracle Universal Installer (OUI) will place the ASM spfile in the disk group that gets created during the installation. This is true for both Oracle Restart (single instance environments) and Cluster installations.

How to create spfile from pfile in Oracle RAC?

In Oracle RAC database spfile must be created on shared ASM storage. Few days back I was changing some memory parameters and was unable to start the database. Because database was not accepting the parameter values. After few changes I started the database using pfile and recreated the spfile.

How to modify an existing ASM spfile in a RAC environment?

This post provides an example on how to modify an existing Automatic Storage Management (ASM) spfile in a two-node Real Application Clusters (RAC) Environment. These steps can be applied to a multiple node Real Application Clusters (RAC) Environment. Oracle Database – Enterprise Edition – Version 10.2.0.1 to 11.1.0.7 [Release 10.2 to 11.1]

https://www.youtube.com/watch?v=wnRsPsaZAsI