Initialization Parameter Files for an Oracle ASM Instance
初始化参数文件针对ORACLE的ASM实例
When installing Oracle ASM in an Oracle Restart (standalone) configuration, Oracle Universal Installer (OUI) creates a separate server parameter file (SPFILE) and password file for the Oracle ASM instance. The ASM SPFILE is stored in a disk group during installation.
当在单独的ORACLE RESTART配置时,OUI创建一个单独的SPFILE文件和一个密码文件对于ASM实例。ASM的SPFILE在安装时候存储在一个磁盘组。
When installing Oracle ASM in a clustered Oracle ASM environment, OUI creates a single, shared SPFILE for Oracle ASM in a disk group.
When upgrading an Oracle ASM instance, if the ASM SPFILE was originally in a shared file system, then the upgraded Oracle ASM instance retains the SPFILE in the same location. If the original Oracle ASM instance used a PFILE, after an upgrade the instance continues to use a PFILE.
在一个集群环境中安装ASM时,OUI创建一个单独,共享系统,在更新ASM实例时保留SPFILE在同一个位置上。如果使用原始的PFILE文件,在实例升级后将继续使用PFILE文件。
You can use an SPFILE or a text-based initialization parameter file (PFILE) as the Oracle ASM instance parameter file. If you use an SPFILE in a clustered Oracle ASM environment, then you must place the SPFILE in a disk group, on a shared raw device, or on a cluster file system. Oracle recommends that the Oracle ASM SPFILE is placed in a disk group. You cannot use a new alias created on an existing Oracle ASM SPFILE to start the Oracle ASM instance
If you do not use a shared Oracle Grid Infrastructure home, then the Oracle ASM instance can use a PFILE. The same rules for file name, default location, and search order that apply to database initialization parameter files also apply to Oracle ASM initialization parameter files.
你可以使用SPFILE或者基于文件的PFILE文件作为ASM的参数文件。如果在一个集群的ASM环境里,你必须将SPFILE放置在一个磁盘组,在一个共享的裸设备或者集群文件系统上。O建议ASM的SPFILE文件放置在一个磁盘组上。你不能使用一个新的别名创建在已存有的ASM的SPFILE文件去启动ASM实例。
如果你不使用一个共享的O的网络架构目录,那么O的ASM实例可以使用PFILE文件。对于文件名,默认位置,和查找顺序上,应用的O的数据库初始化参数文件和应用在ASM初始化参数文件上是相同的。
When an Oracle ASM instance searches for an initialization parameter file, the search order is:
1.The location of the initialization parameter file specified in the Grid Plug and Play (GPnP) profile
2.If the location has not been set in the GPnP profile, then the search order changes to:
a.SPFILE in the Oracle ASM instance home
For example, the SPFILE for Oracle ASM has the following default path in the Oracle Grid Infrastructure home in a Linux environment:
$ORACLE_HOME/dbs/spfile+ASM.ora
b.PFILE in the Oracle ASM instance home
当一个ASM初例查找初始化参数文件时,查找的顺序是:
1.初始化参数文件在GPNP文件中指定位置;
2.如果没有在GPNP文件中指定,那么查找顺序变为:
A.SPFILE在ASM实例的目录
比如,对于ASM的SPFILE文件有如下的默认的路径在O的网络基础架构在LINUX环境:
$ORACLE_HOME/dbs/spfile+ASM.ora
B.在ASM实例的目录中使用PFILE文件。