Merging SPFILEs in RAC
Hi,
I would like my two RAC nodes running on 11.1.0.7.0 to share a single SPFILE which will be stored on an ASM diskgroup.
I've merged both the global and instance-specific initialization parameters from both the instances into one file then created spfile using the syntax below:
CREATE SPFILE='+disk_group_name/db_uniquename/spfiledbname.ora'
FROM PFILE='?/dbs/initdbname.ora'
My worry is that when the instances reboot, they won't be able to 'see' the new spfile, since the order in which Oracle searches is as below:
+$ORACLE_HOME/dbs/spfilesid.ora+
+$ORACLE_HOME/dbs/spfile.ora+
+$ORACLE_HOME/dbs/initsid.ora+
There's nowhere it mentions the diskgroup. My question is will Oracle look for the spfile in the diskgroup or i have to set the location of the spfile into the pfile?
Regards,
dula
You need a 1-line pfile in $ORACLE_HOME/dbs on both systems.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
How to edit spfile in RAC with location +DATA/
Dear All,
My RAC is 2 node 11gR2 on Linux.
I need to modify my spfile since my UNDO tablespace is giving error while Oracle Starts up:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-30012: undo tablespace 'UNDOTBS2' does not exist or of wrong type
I changed UNDO TABLESPACE recently using alter system only.
Now I want to change the UNDO TABLESPACE in spfile.
When i go to dbs directory i can see the parameter file and its contents are: SPFILE='+DATA/racdb/spfileracdb.ora'
I need to edit this file, how can i edit it?
Kindly help
Regards,
Imranmrimran,
After asking an enormous amount of doc questions you should know
alter system scope=spfile
alters the spfile
You should also know how to find the documentation (searchable) at http://tahiti.oracle.com and to use it
Your abuse of this forum with doc questions is completely unacceptable.
I will, from now on, mark every further doc question from your handle as abuse of this forum. Every question, until moderators have removed you!!!
Sybrand Bakker
Senior Oracle DBA -
Hi All,
How to create spfile in clustered RAC environment.create spfile from pfile;
you can also mention the path
create spfile='+ASM_EBAO_DATA/ebaodev/spfileebaodev.ora' from pfile;
SQL> show parameter spfile
string
+ASM_EBAO_DATA/ebaodev/spfileebaodev.ora
refer the link:-
http://www.oracleracexpert.com/2009/09/create-spfile-from-pfile.html
Perform the following steps to relocate the SPFILE from the local file system to an ASM disk group.
Create a text-based initialization parameter file from the current binary SPFILE located on the local file system:
SQL> CREATE PFILE='$ORACLE_HOME/dbs/initTESTDB.ora'
2 FROM SPFILE='$ORACLE_HOME/dbs/spfileTESTDB.ora';
File created.
Create new SPFILE in an ASM disk group:
SQL> CREATE SPFILE='+TESTDB_DATA1/TESTDB/spfileTESTDB.ora'
2 FROM PFILE='$ORACLE_HOME/dbs/initTESTDB.ora';
File created.
Shutdown the Oracle database:
SQL> SHUTDOWN IMMEDIATE
Database closed.
Database dismounted.
ORACLE instance shut down.
Update the text-based init<SID>.ora file with the new location of the SPFILE in ASM:
$ echo "SPFILE='+TESTDB_DATA1/TESTDB/spfileTESTDB.ora'" > $ORACLE_HOME/dbs/initTESTDB.ora
Remove (actually rename) the old SPFILE on the local file system so that the new text-based init<SID>.ora will be used:
$ mv $ORACLE_HOME/dbs/spfileTESTDB.ora $ORACLE_HOME/dbs/BACKUP_ASM.spfileTESTDB.ora
Open the Oracle database using the new SPFILE:
SQL> STARTUP
reference:-
http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_33.shtml#Migrating Oracle Database from Local File System to ASM -
Cloning Oracle Clusterware to Create a Cluster
Hi,
I'm trying to clone my clusterware on anonther cluster (on red hat 5.6)
I've followed all the instructions, but the cloning failed when it's trying to configure asm :
Here's my log :
+[root@lora503l install]# /app/oracle/product/grid/11.2.0/perl/bin/perl -I/app/oracle/product/grid/11.2.0/perl/lib -I/app/oracle/product/grid/11.2.0/crs/install /app/oracle/product/grid/11.2.0/crs/install/rootcrs.pl+
Using configuration parameter file: /app/oracle/product/grid/11.2.0/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
Modulefile is /etc/modprobe.conf
Modulefile is /etc/modprobe.conf
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-2672: Attempting to start 'ora.mdnsd' on 'lora503l'
CRS-2676: Start of 'ora.mdnsd' on 'lora503l' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'lora503l'
CRS-2676: Start of 'ora.gpnpd' on 'lora503l' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'lora503l'
CRS-2672: Attempting to start 'ora.gipcd' on 'lora503l'
CRS-2676: Start of 'ora.cssdmonitor' on 'lora503l' succeeded
CRS-2676: Start of 'ora.gipcd' on 'lora503l' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lora503l'
CRS-2672: Attempting to start 'ora.diskmon' on 'lora503l'
CRS-2676: Start of 'ora.diskmon' on 'lora503l' succeeded
CRS-2676: Start of 'ora.cssd' on 'lora503l' succeeded
Creation of ASM spfile in disk group failed. Following error occured: ORA-00349: failure obtaining block size for 'RAC'+
ORA-01031: insufficient privileges
Configuration of ASM ... failed
see asmca logs at /app/oracle/base/grid/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /app/oracle/product/grid/11.2.0/crs/install/crsconfig_lib.pm line 6464.
Asmca log file :
[root@lora503l install]# vi /app/oracle/base/grid/cfgtoollogs/asmca/asmca-110804AM114113.log
[main] [ 2011-08-04 11:41:20.183 EDT ] [OracleHome.getVersion:953] Current Version From Inventory: 11.2.0.2.0
[main] [ 2011-08-04 11:41:20.183 EDT ] [UsmcaLogger.logInfo:142] Role SYSASM
[main] [ 2011-08-04 11:41:20.184 EDT ] [UsmcaLogger.logInfo:142] OS Auth true
[main] [ 2011-08-04 11:41:30.777 EDT ] [UsmcaLogger.logInfo:142] Instance running true
[main] [ 2011-08-04 11:41:30.778 EDT ] [UsmcaLogger.logInfo:142] Diskgroup exists, mounting..
[main] [ 2011-08-04 11:41:30.794 EDT ] [SQLEngine.doSQLSubstitution:2392] The substituted sql statement:=select state from v$asm_diskgroup where name=upper('RAC')
[main] [ 2011-08-04 11:41:30.976 EDT ] [UsmcaLogger.logInfo:142] Disk Group RAC mounted successfully.
[main] [ 2011-08-04 11:41:30.977 EDT ] [UsmcaLogger.logExit:123] Exiting oracle.sysman.assistants.usmca.backend.USMDiskGroupManager Method : mountDiskGroups
[main] [ 2011-08-04 11:41:30.980 EDT ] [UsmcaLogger.logInfo:142] Diskgroups mounted
[main] [ 2011-08-04 11:41:30.981 EDT ] [UsmcaLogger.logInfo:142] create spfile from pfile: /app/oracle/product/grid/11.2.0/dbs/init+ASM1.ora
[main] [ 2011-08-04 11:41:30.982 EDT ] [UsmcaLogger.logInfo:142] Final SPFile location +RAC
[main] [ 2011-08-04 11:41:30.983 EDT ] [UsmcaLogger.logInfo:142] create spfile='+RAC' FROM pfile='/app/oracle/product/grid/11.2.0/dbs/init+ASM1.ora'
[main] [ 2011-08-04 11:41:30.984 EDT ] [UsmcaLogger.logInfo:142] 1312472490984
[main] [ 2011-08-04 11:41:31.276 EDT ] [SQLEngine.done:2167] Done called
[main] [ 2011-08-04 11:41:31.277 EDT ] [UsmcaLogger.logException:172] SEVERE:method oracle.sysman.assistants.usmca.backend.USMInstance:configureLocalASM
[main] [ 2011-08-04 11:41:31.277 EDT ] [UsmcaLogger.logException:173] ORA-00349: failure obtaining block size for '+RAC'
ORA-01031: insufficient privileges
[main] [ 2011-08-04 11:41:31.277 EDT ] [UsmcaLogger.logException:174] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-00349: failure obtaining block size for '+RAC'
ORA-01031: insufficient privileges
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
oracle.sysman.assistants.usmca.backend.USMInstance.createSPFileInDiskGroup(USMInstance.java:3527)
oracle.sysman.assistants.usmca.backend.USMInstance.configureLocalASM(USMInstance.java:3109)
oracle.sysman.assistants.usmca.service.UsmcaService.configureLocalASM(UsmcaService.java:1047)
oracle.sysman.assistants.usmca.model.UsmcaModel.performConfigureLocalASM(UsmcaModel.java:903)
oracle.sysman.assistants.usmca.model.UsmcaModel.performOperation(UsmcaModel.java:779)
oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:171)
oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:366)
[main] [ 2011-08-04 11:41:31.278 EDT ] [UsmcaLogger.logInfo:142] Creation of ASM spfile in disk group failed. Following error occured: ORA-00349: failure obtaining block size for '+RAC'
ORA-01031: insufficient privileges
[main] [ 2011-08-04 11:41:31.278 EDT ] [OsUtilsBase.deleteFile:1838] OsUtilsBase.deleteFile: /app/oracle/product/grid/11.2.0/dbs/init+ASM1.ora
[main] [ 2011-08-04 11:41:31.279 EDT ] [UsmcaLogger.logInfo:142] deleting temp ora file. for sid: /app/oracle/product/grid/11.2.0/dbs/init+ASM1.ora
[main] [ 2011-08-04 11:41:31.279 EDT ] [UsmcaLogger.logExit:123] Exiting oracle.sysman.assistants.usmca.backend.USMInstance Method : configureLocalASM
[main] [ 2011-08-04 11:41:31.279 EDT ] [UsmcaLogger.logExit:123] Exiting oracle.sysman.assistants.usmca.model.UsmcaModel Method : performConfigureLocalASM
[main] [ 2011-08-04 11:41:31.279 EDT ] [UsmcaLogger.logExit:123] Exiting oracle.sysman.assistants.usmca.model.UsmcaModel Method : performOperation
Asmlib is OK, oracleasm listdisks, checkdisks, status, scandisk, all is OK.
Even if the process failed, The asm instance is created with one disk mounted +RAC.
With asmcmd I get :
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 9536 9484 0 9484 0 N RAC/
But my disk is Voting_files=N, is it the problem ?
Another thing is that my asm imstance is executed by root user instead of grid user.
If someone could help me ?
Regards
Edited by: 867966 on 2011-08-04 08:55
Edited by: 867966 on 2011-08-04 08:56I am facing the same issue with the same error. Did you ever figure this out?
Thanks, -
1. How to find whether my database using OMF or not
2.Is OMF is default for ASM
3.Is OMF manadatory for ASMudayjampani wrote:
1. How to find whether my database using OMF or notYou named your datafiles/redo/controlfiles manually you not have OMF...
2.Is OMF is default for ASMYes
3.Is OMF manadatory for ASMNo..but is highly recommend
For best practices using ASM, every database should implement the Oracle Managed File (OMF) feature. OMF can be enabled by setting the DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST parameters. OMF will allow simpler file naming and also provides better file handling. For example, if a tablespace is dropped, ASM will delete the file automatically only if it is an OMF datafile. If OMF is not used, then the DBA must drop the file manually by connecting to the ASM instance.
Using Aliases (i.e non OMF) are particularly useful when dealing with spfiles; e.g., an Alias ASM filename is normally used in the and SPFILE initialization parameter.
The spfile is an important alias that makes more easier the administration of the RAC Database.
eg:
In $ORACLE_HOME/dbs from both nodes you have:
initRAC1.ora and initRAC2.ora inside pointing to spfileRAC.ora
SPFILE='+DATA/rac/spfileRAC.ora'
In OCR you have PFILE pointing to spfileRAC.ora
srvctl config database -d RAC -a
PFILE: +DATA/rac/spfileRAC.ora
...Using the alias you make changes in one place.
This is reason you need it.
Regards,
Levi Pereira -
Move ora.LISTENER.lsnr
Hi gurus,
we have an Oracle RAC 11.2.0.3 (2 nodes) in RedHat 5.3.
we had an old ORACLE_BASE with the old configuration of Oracle RAC, but we migrated some months ago for some problems and we have some parameters with /u01/app/oracle (old ORACLE_BASE) instead of /u02/app/oracle (new ORACLE_BASE).
For example:
[oracle@node1~]$ srvctl config database -d RAC -a
Database unique name: rac
Database name: rac
Oracle home: /u02/app/oracle/product/11.2.0.3/dbhome_2
Oracle user: oracle
Spfile: +DATA/rac/spfilerac.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: rac
Database instances: node2,node1
Disk Groups: DATA, F_R_A
Mount point paths:
Services:
Type: RAC
Database is enabled
Database is administrator managed
[oracle@node1 ~]$ echo $ORACLE_BASE
/u02/app/oracle
but when i do
[oracle@node1~]$ /u02/app/grid/bin/crsctl stat res ora.LISTENER.lsnr -p|grep -i base
USR_ORA_ENV=ORACLE_BASE=/u01/app/oracle
[oracle@node1~]$ srvctl getenv listener
LISTENER:
ORACLE_BASE=/u01/app/oracle
so my idea is change the ORACLE_BASE doing (i look for that sentences in google and tahiti):
[oracle@node1~]$GRID_HOME/bin/crsctl modify resource ora.LISTENER.lsnr -attr USR_ORA_ENV=ORACLE_BASE=/u02/app/oracle
i saw a different form to do:
[oracle@node1~]$GRID_HOME/bin/srvctl setenv listener -l LISTENER -t "ORACLE_BASE=/u02/app/oracle"
with form is the correct, or i must do both? should i restart the listener after execute it? or restart database?
sorry for my bad english and thanks for help.Me_101 wrote:
Hi gurus,
we have an Oracle RAC 11.2.0.3 (2 nodes) in RedHat 5.3.
we had an old ORACLE_BASE with the old configuration of Oracle RAC, but we migrated some months ago for some problems and we have some parameters with /u01/app/oracle (old ORACLE_BASE) instead of /u02/app/oracle (new ORACLE_BASE).
For example:
[oracle@node1~]$ srvctl config database -d RAC -a
Database unique name: rac
Database name: rac
Oracle home: /u02/app/oracle/product/11.2.0.3/dbhome_2
Oracle user: oracle
Spfile: +DATA/rac/spfilerac.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: rac
Database instances: node2,node1
Disk Groups: DATA, F_R_A
Mount point paths:
Services:
Type: RAC
Database is enabled
Database is administrator managed
[oracle@node1 ~]$ echo $ORACLE_BASE
/u02/app/oracle
but when i do
[oracle@node1~]$ /u02/app/grid/bin/crsctl stat res ora.LISTENER.lsnr -p|grep -i base
USR_ORA_ENV=ORACLE_BASE=/u01/app/oracle
[oracle@node1~]$ srvctl getenv listener
LISTENER:
ORACLE_BASE=/u01/app/oracle
so my idea is change the ORACLE_BASE doing (i look for that sentences in google and tahiti):
[oracle@node1~]$GRID_HOME/bin/crsctl modify resource ora.LISTENER.lsnr -attr USR_ORA_ENV=ORACLE_BASE=/u02/app/oracle
i saw a different form to do:
[oracle@node1~]$GRID_HOME/bin/srvctl setenv listener -l LISTENER -t "ORACLE_BASE=/u02/app/oracle"
Both are same and cane be used, but usually we use srvctl for LOCAL resource and crsctl for GLOBAL resources.
Since LISTENER is running on both the nodes and is a LOCAL resource,so suggest to use srvctl.
Also it can be done with following:
srvctl modify listener -l LISTENER -o /u01/app/oracle/product/11.2.0/dbhome_1
Oracle_home is /u01/app/oracle/product/11.2.0/dbhome_1 in my case
with form is the correct, or i must do both? should i restart the listener after execute it? or restart database?
Both method are not required. Restart of DB is not required but listener is.
HTH -
Unable to startup 12c RAC database, can't open spfile in ASM
hello,
I'm testing 12cRAC database on RHEL5 and need your help to troubleshoot and fix the following issue -
DBCA fails at the end of the configuration to create and startup new RAC database with the following errors
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/TDB1/spfileTDB1.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/TDB1/spfileTDB1.ora
ORA-15056: additional error message
ORA-17503: ksfdopn:2 Failed to open file +DATA/TDB1/spfiletdb1.ora
ORA-01017: invalid username/password; logon denied
I also tried executing script (which was created by DBCA) to create the new DB manually and got the same results - it happens during first attempt to start it up using SPFILE after new DB was successfully created (it was started up using pfile)
Clusterware with ASM install was successful, binaries were also installed without issues,
cluster seems healthy, I see correct files within ASM using asmcmd etc ..
got stuck here and need some directions ... very confused by ORA-01017 password error
wonder if anyone had same or similar issues ?
Thank you !Fixed.
Thank you everyone for suggestions and recommendations -
ASM is accessible using asmcmd and I can see all the DB files incuding spfile, they were created by DBCA, alert log showed same information I posted
After extensive troubleshooting and testing the issue was idedntified and fixed - 'dba' group needs to be the primary group for 'oracle' user, not the secondary one. I suspected that something was not right with 'oracle' user access to asm based on that strange password error. There is more I need to check as the issue and fix with swapping groups seems strange. Secondary group is not enough ti have proper rights ??? my first reaction was - seriously ? wtf ?
Anyway - I need to move one now ...
Thank you again ! -
How to open RAC node2 usng spfile which will stay in ASM disk?
Hi,
I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
I have installed oracle11g Active Data Guard using Single alone Database.
Both RAc and Active Data Guard works fine.
I have not configure Data Guard Broker.
N.B Rac node1 is running using spfile which is in ASM disk (+DATA/spfiledcpdb.ora) but node2 is running using pfile.
Question: how to open node 2 using spfile which will stay in ASM disk like node 1?
Thanks
Solaiman
Edited by: 876149 on Apr 1, 2013 10:08 AMModify your PFILE to specify only IFILE='location_of_spfile'
OR
use STARTUP PFILE='location_of_spfile'
Ensure that the spfile does have the 2nd instance specific parameters defined correctly.
Hemant K Chitale -
Where to store the spfile in a rac?
What is the best location to store an spfile in a RAC 11g r2 database?
usersp wrote:
Sorry but I could not find it in the link.
And should I have an init.ora pointing to it?Yes
Put entry in $ORACLE_HOME/dbs/init$ORACLE_sid.ora like,
SPFILE='+disk_group_name/dbunique_name/spfiledbname.ora'
And where is our reward for giving such suggestions? :) -
We have a 9i Oracle RAC which uses init.ora files for two nodes instead of the shared spfile. The spfile is created in a shared raw device but it is not being used.
I would like to fix that. I have two possible methods I would like to confirm
Method 1:
1. Can I remove the spfile from the shared disk? It is a raw device... I have never worked with raw devices before for spfiles. Doing an "rm spfile" would work although it points to a raw?
2. Create a shared spfile that points to a raw from any of the init.ora files.
Method 2:
Or would it be better to do that in a single step:
create spfile '/oracle/oradata/spfile.ora' from pfile '/home/oracle/init1.ora';
where /oracle/oradata/spfile.ora points to a raw device then point each init.ora file to the shared spfile location?Dear Chandra Pabba,
I Successfully created shared spfile but load balance has been failed ...and all connections are being made to one instance only.....
Pfile@node1
*.aq_tm_processes=1
*.background_dump_dest='/orahome/admin/itpo/bdump'
*.cluster_database_instances=2
*.cluster_database=TRUE
*.compatible='9.2.0.0.0'
*.control_files='/dev/vx/rdsk/oradg1/itpo_raw_controlfile1_128m'
*.core_dump_dest='/orahome/admin/itpo/cdump'
*.db_block_size=8192
*.db_cache_size=745013248
*.db_domain=''
*.db_file_multiblock_read_count=32
*.db_name='itpo'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=itpoXDB)'
*.fast_start_mttr_target=300
*.hash_area_size=1048576
*.hash_join_enabled=TRUE
itpo1.instance_name='itpo1'
itpo2.instance_name='itpo2'
*.instance_name='ITPO1'
itpo1.instance_number=1
itpo2.instance_number=2
*.java_pool_size=20971520
*.job_queue_processes=10
*.large_pool_size=146800640
itpo1.local_listener='LISTENER_ITPO1'
itpo2.local_listener='LISTENER_ITPO2'
*.log_archive_dest_1='location=/orahome/oradata/itpo'
*.log_archive_format='%t_%s.dbf'
*.log_archive_start=FALSE
*.nls_length_semantics='BYTE'
*.open_cursors=300
*.pga_aggregate_target=330825728
*.processes=150
*.query_rewrite_enabled='TRUE'
*.remote_listener='LISTENER_ITPO2'
*.shared_pool_size=247988224
*.sort_area_size=2097152
*.star_transformation_enabled='TRUE'
itpo2.thread=2
itpo1.thread=1
*.timed_statistics=TRUE
*.undo_management='AUTO'
itpo1.undo_management='AUTO'
*.undo_retention=10800
itpo2.undo_tablespace='UNDOTBS2'
*.undo_tablespace='UNDOTBS1'
itpo1.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/orahome/admin/itpo/udump'
pfile@node2
*.aq_tm_processes=1
*.background_dump_dest='/orahome/admin/itpo/bdump'
*.cluster_database_instances=2
*.cluster_database=true
*.compatible='9.2.0.0.0'
*.control_files='/dev/vx/rdsk/oradg1/itpo_raw_controlfile1_128m'
*.core_dump_dest='/orahome/admin/itpo/cdump'
*.db_block_size=8192
*.db_cache_size=745013248
*.db_domain=''
*.db_file_multiblock_read_count=32
*.db_name='itpo'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=itpoXDB)'
*.fast_start_mttr_target=300
*.hash_area_size=1048576
*.hash_join_enabled=TRUE
itpo1.instance_name='itpo1'
itpo2.instance_name='itpo2'
itpo1.instance_number=1
itpo2.instance_number=2
*.java_pool_size=20971520
*.job_queue_processes=10
*.large_pool_size=146800640
itpo1.local_listener='LISTENER_ITPO1'
itpo2.local_listener='LISTENER_ITPO2'
*.log_archive_dest_1='LOCATION=/orahome/oradata/itpo/archive'
*.log_archive_format='%t_%s.dbf'
*.log_archive_start=FALSE
*.nls_length_semantics='BYTE'
*.open_cursors=300
*.pga_aggregate_target=330825728
*.processes=150
*.query_rewrite_enabled='TRUE'
itpo1.remote_listener='LISTENER_ITPO2'
itpo2.remote_listener='LISTENER_ITPO1'
*.shared_pool_size=247988224
*.sort_area_size=2097152
*.star_transformation_enabled='TRUE'
itpo2.thread=2
itpo1.thread=1
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
itpo2.undo_tablespace='UNDOTBS2'
itpo1.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/orahome/admin/itpo/udump'
Now, I created a spfile on shared storedge by using node1
sql> create spfile='/dev/vx/rdsk/oradg1/itpo_raw_spfile_10m' from
pfile='/orahome/pfile_03092009.ora';
it successfulya created
After it I escaleted the spfile from dbs to raw partition
making entry into inititpo1.ora and inititpo2.ora of each node's dbs
folder
SPFILE=/dev/vx/rdsk/oradg1/itpo_raw_spfile_10m
Now the probleme is user are connecting with only one instance........
when i checked
sql> select username,inst_id from gv$session;
it lists only connection on only one node itpo1....
If any have idea about this then suggestion will be greatly
appreciated....
Thanks in Advanced
Thanks & Regards
DILIP KUMAR (Ora-DBA)
Thanks
Edited by: Dilip Kumar (Ora DBA) on Oct 29, 2009 3:58 PM
Edited by: Dilip Kumar (Ora DBA) on Oct 29, 2009 4:02 PM -
+ASM spfile default location of Oracle 11g RAC Linux
Is anybody now the default location of +ASM spfile at Oracle 11g RAC Linux.
ITs there if you dont have the Database installed yet ! +DATA/asm/asmparameterfile/registry.253.725983597
-
Sharing spfile across all instances in RAC
I am using Oracle 10g RAC database with two instances in Linux.
Each node has local ORACLE_HOME but I have configured ASM which is shared across both the nodes.
So which I start one instance say orcl1 it is pointing to an spfile which is local to that node inside $ORACLE_HOME/dbs/spfileorcl1.ora , but when I start the other instance say orcl2 it is pointing to a spfile located in ASM ( +DG_DATA/admin/spfileorcl.ora ) .
I want both the instances to point to the same spfile ( spfileorcl.ora where orcl is the name of the database ) in ASM ( +DG_DATA/admin/spfileorcl.ora ), Can this be done ?Can this be done ?Yes. On both nodes, in $ORACLE_HOME/dbs, create an initorcl.ora file with following content :
SPFILE='+DG_DATA/admin/spfileorcl.ora' -
11gr2 RAC Upgrade-Spfile from old home.
Hi Team,
We have sucessfully upgraded database from 11.2.0.1 to 11.2.02 in RAC , But one database is coming from OLD ORACLEHOME
the spfile location is show ing as old ORALCE home ,at ASM in +DATADG spfile is there but still when we use srvctl start database database name ..
its getting statted from old oracle home and only one instance is getting started..another instance is not coming up..!
oracle@HDB1:/oracle11R2/app/11.2.2/dbs $srvctl start database -d FCTS1
PRCR-1079 : Failed to start resource ora.fcts1fcr.db
CRS-5017: The resource action "ora.fcts1fcr.db start" encountered the following error:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '/oracle/app/product/11.2.0/dbs/spfileFCTS1.ora'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
CRS-2674: Start of 'ora.fcts1fcr.db' on 'hbfcstgdb2' failed
CRS-2632: There are no more servers to try to place resource 'ora.fcts1fcr.db' on that would satisfy its placement policy
oracle@HBFC:/oracle11R2/app/11.2.2/dbs $cd /oracle/app/product/11.2.0/dbs/
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /oracle/app/product/11.2.0/dbs
/spfileFCTS1FCR.ora
SQL> show parameter database
NAME TYPE VALUE
cluster_database boolean TRUE
cluster_database_instances integer 2
Thanks
MAnohar.Hi,
can you do an
srvctl config database -d <dbname>
and print the output here.
Regards
Sebastian -
RAC Instances using different spfile
I have ASM instance is running on both the RAC servers and I am using SPFILE. I made some changes in SPFILE of the
database instances and tried to modify few parameters with scope=both and also with scope =spfile and then bounced both
the database instances.
All the changes can be seen in both the instances but when I fired:
SQL>show parameter spfile;
on one database instance the output is:
SQL> show parameter pfile
NAME TYPE VALUE
spfile string /u01/app/oracle/product/10.2/d
b_1/dbs/spfileRACDB1.ora
and on other database it is:
SQL> show parameter pfile
NAME TYPE VALUE
spfile string +DATA/racdb/spfileracdb.ora
but the changes I made in the spfile can be seen in both the instances.
I want that both the instances should use the same spfile.......
Can someone please tell me the steps to use same spfile on both the instances (i.e. +DATA/racdb/spfileracdb.ora )Create a PFILE on both nodes and that PFILE should have only 1 enty
spfile=+DATA/racdb/spfileracdb.ora
Start the instances with this pfile and drop "/u01/app/oracle/product/10.2/d
b_1/dbs/spfileRACDB1.ora", then both of the instances should be using the same spfile.
Daljit Singh -
Multiple copies of same database on a 2 node RAC server - How to merge ?
I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
The databases are copies of production for testing, development and a yearly "historical" databases .
All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
Thanks for any direction.I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
The databases are copies of production for testing, development and a yearly "historical" databases .
All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
Thanks for any direction.
Maybe you are looking for
-
Is there a way to see all photos in all subdirectories at once?
Hi all, I've been poking around and haven't been able to figure this out. Is there some way that I can set up Bridge to allow me to double click on a directory in the "Content" panel and, at once, see all of the images including those inside of sub d
-
TS1398 network problem with new upgrate
I never had any problems with my I Phone 4s until I upgraded to the new IOS6. I want to go into my banking accounts like I always did but it constantly says " Safari cannot open the page because it could not establish a secure connection to the ser
-
See above
-
Call to Web Sevice in External (non SAP) system from SAP CRM
Hi, I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate Can you please tell me: 1. What settings/object needs to be maintained in SAP in order to make t
-
AIrport express not reading my airport card suddenly..
After a short period I managed to get my airport express to work thru my laptop. Then it was on to my PC for about 5 hours. That didn't work at all and in the process now I can no longer use express on my laptop. I tried hard resetting and reinstalli