ASM, RAC instance cloning
Hi,
Can you advice for cloning ASM, RAC EBS R12 instance , For lesser cloning time, is Snapshot mirroring or BCV copy of ASM, RAC instance of 20 TB in size is recommended?
Can we have BCV copy of it's replication used for faster RAPID cloning..Is there any white paper available for same.
Regards,
Pl continue the discussion in your original post - EBS Cloning methods
Similar Messages
-
Db context file creation for rac to single instance cloning
DOC ID: 559518.1 Section 6: RAC to Single Instance Cloning mentions that the context file creation should be done as in the case of Single Instance cloning
what would be the command syntax?Thanks Hussein. However, section 6 of doc 559518.1 mentions that part 5.1.3 when cloning from rac to single node should be done as in the case of Single Instance cloning.
the syntax for rac to rac cloning (which is in 5.1.3) is
perl adclonectx.pl \
contextfile=[PATH to OLD Source RAC contextfile.xml] \
template=[NEW ORACLE_HOME]/appsutil/template/adxdbctx.tmp \
pairsfile=[NEW ORACLE_HOME]/appsutil/clone/pairsfile.txt \
initialnode
so what is the syntax for rac to single instance? I reckon I will still use adclonectx.pl, but now what would be the complete sysntax for single instance cloning? -
How to clone a 2-node ASM RAC db to a 3-node ASM RAC db by RMAN?
We need to clone a 2-node ASM RAC db to a 3-node ASM RAC db by RMAN. I would think this will be about the same as a regular single db procedure by RMAN mostly. However, in 3 node RAC, there will be additional instance thread in redo (thread 1,2, and 3). Questions will be
1. Should I use CRSCTL to add new instance (3rd)? -- I guess yes
2. Should I create additional online redo group for thread 3? -- I guess yes
3. Should I create addition undo tablespace? -- I guess yes
Can any body provide a procedure of cloning the DB?
Thanks!Not just easy as next, next, next
version depenedencies and etc.
[from Oracle DOC|http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/adddelunix.htm#BEICADHD]
AND
[Doc ID: 270512.1: Adding a Node to a 10g RAC Cluster|https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&id=%28%29%29,%28page=KBNavigator&id=%28bmDocID=270512.1&from=BOOKMARK&bmDocType=BULLETIN&bmDocDsrc=KB&bmDocTitle=%3Cb%3EAdding%3C/b%3E%20a%20%3Cb%3ENode%3C/b%3E%20to%20a%2010g%20%3Cb%3ERAC%3C/b%3E%20Cluster&viewingMode=1143%29%29] -
Mapping PROD RAC Disk Groups to Three RAC Instances on SIngle TEST Server ?
Hi,
None of the books or papers describe one critical design. Assuming we are using EMC's BCV volume's or HDS's ShadowImage Software, we need the following.
Server 1-
- Production has 2 node RAC with 3 DG's under ASM, PROD_DATA, PROD_FLASH and PROD_ARCHIVE - Each are 64GB, each has one RAW device externally managed, Servers are PROD1 and PROD2
Server 2-
- Test, Conv, Dev are three RAC instances on RAC instances, on TEST1 and
TEST2 Server
Now we have 9 DG;s under ASM control , ASM1, ASM2
- TEST_DATA, TEST_FLASH, TEST_ARCHIVE
- DEV_DATA, DEV_FLASH, DEV_ARCHIVE
- CONV_DATA, CONV_FLASH, CONV_ARCHIVE
Now Issue is this - CLONING
- We BCV clones from PROD to TEST or PROD to CONV or PROD to DEV
- When the RAW files are SYNC from PROD, the ASM disk header gets to migrate as well, so the ASM DG names we have in TEST do not match what came from PROD, for simplicity
PROD_DATA cloned over RAW divice that MAPS to TEST_DATA
and the others as well. Now ASM DG we have for test is TEST_DATA afterthe clone the RAW header is PROD_DATA, there is a mismatch, for us to fix that we change our DG names for test to PROD_DATA etc and fix the control file.
Now what do we do for DEV and CONV? Same things will happen to those BCV volumes as well after block level copy is done...
If all these instances were on seperate boxes we could have fixed the issue or lived with same DG names as PROD...
We do not want to move database from ASM to FS and then to ASM or do ASM to ASM RMAN duplication, we want to do BCV or HDS shadow copy..If we did we could have same DG names in test server and have 3 times more storage than PROD and do all things manually without BCV or HDS's shadowclone..
How do we handle this situation? Please suggest... ASM dg rename is not fixed, that could have helpes until 11g R2...
I am not able to see any paper on this... I read the ASM book as well no such discussion.do not really understand all your config but here is what i can tell you
imho the solution is to copy the datafile (not the disks/raw devices) from one diskgroup to the other ; and indeed best way to do it is to use RMAN
note that in 11g, ASMCMD implements the cp command , so it is more easy.
It enables you to copy files between ASM disk groups on local instances to and from remote instances. The file copy cannot be between remote instances. The local ASM instance must be either the source or the target of the operation. You can also use this command to copy files from ASM disk groups to the operating system. -
Oracle 10g R2 installation with ASM+RAC
Gurus,
Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
1) Install CRS
2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
4) Create ASM database using DBCA -
5) Use dbca to create database.Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm -
How to change an ASM single-instance into a clustered ASM ?
Hi,
I have a node#1 with Oracle10gR2 installed (standard installation, not RAC).
Everything is in the ORACLE_HOME.
A unique single-instance database DB1 uses ASM#1 to access a diskgroup on a SAN.
I'd like to install Clusterware in a separate CRS_HOME (within the oracle account), and protect ASM#1 and the database DB1 using an application VIP.
The things is: I want to create another single-instance database DB2 on another node#2, with another ASM#2 instance.
I need a clustered ASM (with Clusterware) installation to do that because ASM#1 and ASM#2 need to access the same diskgroup.
I don't want to lose the existing data & configuration of the ASM#1 instance.
What modifications I need to do in the current ASM#1 instance on node#1 to make it Clusterware-aware ?
(Again, it's not a RAC installation...)
ThanksHi,
I finally found this Metalink Note 452758.1, which describe the procedure....
Any feedback about this ? -
We have Oracle Databases 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production running on Linux x86 64-bit
It is a two instance RAC running on servers, let's say - node1 and node2 . We are using ASM
Node 1 has an ASM instance ASM1 and Node 2 has an ASM instance ASM2.
There are 3 11g rdbms databases running on these nodes.
Instances db11,db21,db31 are running on node 1 and corresponding RAC instances db12,db22,db32 are running on node 2
The listeners are configured exactly the same on both nodes.
On Node 2, when I do
[oracle@node2 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 14:34:34
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 15-NOV-2010 13:33:49
Uptime 4 days 1 hr. 0 min. 44 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/node2/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.42)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.52)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "db1" has 2 instance(s).
Instance "db11", status READY, has 1 handler(s) for this service...
Instance "db12", status READY, has 2 handler(s) for this service...
Service "db2" has 2 instance(s).
Instance "db21", status READY, has 1 handler(s) for this service...
Instance "db22", status READY, has 2 handler(s) for this service...
Service "db3" has 2 instance(s).
Instance "db31", status READY, has 1 handler(s) for this service...
Instance "db32", status READY, has 2 handler(s) for this service...
The command completed successfullyThe above looks good which is what should be the case.
Now, if I try doing the same on node 1 (and this is where I am concerned)
[oracle@node1 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 14:41:45
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-NOV-2010 03:20:44
Uptime 0 days 11 hr. 21 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/node1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.41)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.51)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "db1" has 1 instance(s).
Instance "db11", status READY, has 2 handler(s) for this service...
Service "db2" has 1 instance(s).
Instance "db21", status READY, has 2 handler(s) for this service...
Service "db3" has 1 instance(s).
Instance "db31", status READY, has 2 handler(s) for this service...
The command completed successfullyThe node 1 does not seem to report the fact that each of these 3 databases have 2 instances and also does not list its other instances besides the ones running on it. Any ideas or suggestions as to where to look?One problem is here
The listeners are configured exactly the same on both nodes.This is incorrect, as the listeners need to have different names.
They need to have different names as listener_node1 is the remote_listener for node 2 and vice versa.
The correct set up is:
The listener name is node dependent.
The listener definition
listener_<node>=(host=)(protocol=)(port=)
is included in tnsnames.ora
the remote_listener parameter is set to the listener of the other node.
Using hardcoded IPs in listener.ora and tnsnames.ora is a bad idea.
Not sure why you don't ask this question in the RAC forum.
Sybrand Bakker
Senior Oracle DBA -
RAC instance, trying to recover UNDO datafile, RMAN gives RMAN-06054
Hello all,
This has been a troublesome instance..a quick bit of background. This was created awhile back by someone else, I inherited this 3 mode RAC clusterof instance1.
I'm exporting out of one database (10G) into this instance1 (11G). When I was about to start the import..I found this instance wouldn't start. Turned out no backup had been going on of this empty instance. I backed up the archive logs to tape to free up the FRA..and things fired up.
I began the import, and found a bunch of errors...basically tellling me that I couldn't access one of the undo tablespaces...datafile problems.
I went to look and saw:
SQL> select a.file_name, a.file_id, b.status, a.tablespace_name
2 from dba_data_files a, v$datafile b
3 where a.file_id = b.file#
4 order by a.file_name;
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+DATADG/instance1/datafile/sysaux.270.696702269 2 ONLINE SYSAUX
+DATADG/instance1/datafile/system.263.696702253 1 SYSTEM SYSTEM
+DATADG/instance1/datafile/undotbs1.257.696702279 3 ONLINE UNDOTBS1
+DATADG/instance1/datafile/undotbs2.266.696702305 4 ONLINE UNDOTBS2
+DATADG/instance1/datafile/undotbs3.269.696702313 5 RECOVER UNDOTBS3
+DATADG/instance1/datafile/users.268.696702321 6 ONLINE USERS
+DATADG/instance1/l_data_01_01 11 ONLINE L_DATA_01
+DATADG/instance1/s_data_01_01 7 ONLINE S_DATA_01
+DATADG/instance1/s_data_01_02 8 ONLINE S_DATA_01
+INDEXDG/instance1/l_index_01_01 12 ONLINE L_INDEX_01
+INDEXDG/instance1/s_index_01_01 9 ONLINE S_INDEX_01
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+INDEXDG/instance1/s_index_01_02 10 ONLINE S_INDEX_01
There is is, file #5.
So, I went into RMAN to try to restore/recover:
RMAN> restore datafile 5;
Starting restore at 06-APR-10
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=222 instance=instance1 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: NMO v4.5.0.0
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=222 instance=instance1 device type=DISK
creating datafile file number=5 name=+DATADG/instance1/datafile/undotbs3.269.696702313
restore not done; all files read only, offline, or already restored
Finished restore at 06-APR-10
RMAN> recover datafile 5;
Starting recover at 06-APR-10
using channel ORA_SBT_TAPE_1
using channel ORA_DISK_1
starting media recovery
RMAN-06560: WARNING: backup set with key 343546 will be read 2 times
available space of 8315779 kb needed to avoid reading the backup set multiple times
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/06/2010 14:33:07
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 16016
This is all on ASM, and am a bit of a newb with that. I bascially have no data I'm worried about losing, I just need to get everything 'on the air' so I can import successfully, and let users on this instance. I've set up the backups in GRID now....so, it will be backed up on the future, but what is the quickest, most efficient way to get this UNDO tablespace datafile recovered?
Thank you,
cayenneHemant K Chitale wrote:
SET UNTIL SEQUENCE 27wouldn't work if the Recovery requires Sequence 1 and it is missing.
Hemant K ChitaleOops...meant to have start and set until both to "1"
However, I see what you mean. It seems I cannot find the file on tape.
Since the RAC instance hasn't yet had any data put into it, I'm thinking it might be best to just blow it away, and recreate everything.
Trouble is, I'm a bit new at RAC and ASM. I was thinking the best route might be to use DBCA to remove the database...? Would this not take care of removing all the datafiles from all the ASM instances on the RAC..as well as all the other directories, etc on all 3x nodes?
I've already used the dbca to create templates of this instance, so recreation shouldn't be too difficult (although it will be my first RAC creation)...
Thank you in advance for the advice so far,
cayenne -
Getting error while starting the RAC instance through SRVCTL utility
Hi DBA's,
We are getting the below error while starting the Orcale 10g RAC instance on one of the node thru SRVCTL:
oracle:/home/oracle]>srvctl start instance -d SQLTSTM2 -i SQLTSTM21
PRKP-1001 : Error starting instance SQLTSTM21 on node r1racd
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.SQLTSTM2.SQLTSTM21.inst' has placement error.
:oracle:/home/oracle]>
srvctl status database -d SQLTSTM2
PRKO-2015 : Error in checking condition of instance on node: r1racd
Instance SQLTSTM22 is running on node r2racd
oracle:/opt/oracle/product/10.2.0/db]>
NOTE: but i am able to start the instance thru SQLPLUS.
After starting the instance thru SQLPLUS i checked the CRS_STAT -t . It shows the status offline... Please find the details below:
Name Type Target State Host
ora....21.inst application OFFLINE OFFLINE
ora....22.inst application ONLINE ONLINE r2racd
ora....VLM2.db application ONLINE ONLINE r2racd
ora....21.inst application ONLINE ONLINE r1racd
ora....22.inst application ONLINE ONLINE r2racd
ora....STM2.db application ONLINE ONLINE r2racd
ora....SM1.asm application ONLINE ONLINE r1racd
ora....CD.lsnr application ONLINE ONLINE r1racd
ora.r1racd.gsd application ONLINE ONLINE r1racd
ora.r1racd.ons application ONLINE ONLINE r1racd
ora.r1racd.vip application ONLINE ONLINE r1racd
ora....SM2.asm application ONLINE ONLINE r2racd
ora....CD.lsnr application ONLINE ONLINE r2racd
ora.r2racd.gsd application ONLINE ONLINE r2racd
ora.r2racd.ons application ONLINE ONLINE r2racd
ora.r2racd.vip application ONLINE ONLINE r2racd
Thanks in advance...
AnilUse the 'srvctl config database -d ' command to check if the instance has been configured in the Oracle Cluster Registry; make sure that the GSDs are running on each node in the cluster.
Also refere to Metalink note 295328.1 -
Rconfig: converting a single instance to RAC instance
Hi,
I am trying to use the "rconfig" utility to convert a single instance to a RAC instance in an existing RAC cluster.
I have modified the .xml file, and am trying to run the conversion from the 1st node in the 2 node cluster (where the single instance resides).
The only error message i seem to be getting is below:
<Response>
<Result code="1" >
Operation Failed
</Result>
<ErrorDetails>
ORCL_DATA_ORCLCLN The specified diskgroup is not mounted.
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
Now I dont really understand why I would be getting that message as the instance is up and running and ASM disk group is mounted on node1 at the time i run the rconfig command, though its not clear to me if I also need to somehow mount the ASM disk group on the second node prior to running the rconfig command??
node1:
bash-3.00$ asmcmd -p
ASMCMD [+] > lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED EXTERN N N 512 4096 1048576 10181 7442 0 7442 0 ORCL_DATA_ORCLCLN/
node2:
ASMCMD [+] > lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
I have attached the output of the alert log during the rconfig conversion of the target database, but it all looks pretty standard to me (keep in mind i am an oracle novice!).
alert.log
Completed: ALTER DATABASE OPEN
Thu Jul 23 13:51:55 2009
Shutting down instance (abort)
License high water mark = 2
Instance terminated by USER, pid = 15030
Thu Jul 23 13:51:57 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 e1000g1 10.128.113.0 configured from OCR for use as a cluster interconnect
Interface type 1 e1000g0 10.128.113.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/10.2.0/db_1/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.2.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 121634816
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 440401920
control_files = +ORCL_DATA_ORCLCLN/control01.ctl
db_block_size = 8192
__db_cache_size = 306184192
compatible = 10.2.0.2.0
log_archive_format = %t_%s_%r.dbf
db_file_multiblock_read_count= 16
cluster_database = FALSE
cluster_database_instances= 1
db_recovery_file_dest_size= 2147483648
norecovery_through_resetlogs= TRUE
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain = netapp.com
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/orcldb/bdump/ORCLCLN
user_dump_dest = /u01/app/oracle/admin/orcldb/udump/ORCLCLN
core_dump_dest = /u01/app/oracle/admin/orcldb/cdump/ORCLCLN
db_name = ORCLCLN
open_cursors = 300
pga_aggregate_target = 145752064
Cluster communication is configured to use the following interface(s) for this instance
10.128.113.200
Thu Jul 23 13:51:59 2009
cluster interconnect IPC version:Oracle UDP/IP (generic)
IPC Vendor 1 proto 2
PMON started with pid=2, OS id=15085
DIAG started with pid=3, OS id=15091
PSP0 started with pid=4, OS id=15094
LMON started with pid=5, OS id=15097
LMD0 started with pid=6, OS id=15102
MMAN started with pid=7, OS id=15112
DBW0 started with pid=8, OS id=15114
LGWR started with pid=9, OS id=15116
CKPT started with pid=10, OS id=15125
SMON started with pid=11, OS id=15128
RECO started with pid=12, OS id=15130
CJQ0 started with pid=13, OS id=15134
MMON started with pid=14, OS id=15143
MMNL started with pid=15, OS id=15146
Thu Jul 23 13:52:03 2009
lmon registered with NM - instance id 1 (internal mem no 0)
Thu Jul 23 13:52:04 2009
Reconfiguration started (old inc 0, new inc 2)
List of nodes:
0
Global Resource Directory frozen
* allocate domain 0, invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Resources and enqueues cleaned out
Resources remastered 0
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Post SMON to start 1st pass IR
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Reconfiguration complete
Thu Jul 23 13:52:04 2009
ALTER DATABASE MOUNT
Thu Jul 23 13:52:04 2009
Starting background process ASMB
ASMB started with pid=17, OS id=15157
Starting background process RBAL
RBAL started with pid=18, OS id=15169
Thu Jul 23 13:52:09 2009
SUCCESS: diskgroup ORCL_DATA_ORCLCLN was mounted
Thu Jul 23 13:52:13 2009
Setting recovery target incarnation to 2
Thu Jul 23 13:52:13 2009
Successful mount of redo thread 1, with mount id 4437636
Thu Jul 23 13:52:13 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Thu Jul 23 13:52:14 2009
ALTER DATABASE OPEN
Thu Jul 23 13:52:14 2009
Beginning crash recovery of 1 threads
Thu Jul 23 13:52:14 2009
Started redo scan
Thu Jul 23 13:52:14 2009
Completed redo scan
105 redo blocks read, 32 data blocks need recovery
Thu Jul 23 13:52:14 2009
Started redo application at
Thread 1: logseq 2, block 929
Thu Jul 23 13:52:15 2009
Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0
Mem# 0 errs 0: +ORCL_DATA_ORCLCLN/redo_2_1.log
Mem# 1 errs 0: +ORCL_DATA_ORCLCLN/redo_2_0.log
Thu Jul 23 13:52:15 2009
Completed redo application
Thu Jul 23 13:52:15 2009
Completed crash recovery at
Thread 1: logseq 2, block 1034, scn 613579
32 data blocks read, 25 data blocks written, 105 redo blocks read
Thu Jul 23 13:52:15 2009
Thread 1 advanced to log sequence 3
Thread 1 opened at log sequence 3
Current log# 1 seq# 3 mem# 0: +ORCL_DATA_ORCLCLN/redo_1_1.log
Current log# 1 seq# 3 mem# 1: +ORCL_DATA_ORCLCLN/redo_1_0.log
Successful open of redo thread 1
Thu Jul 23 13:52:15 2009
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Thu Jul 23 13:52:15 2009
SMON: enabling cache recovery
Thu Jul 23 13:52:17 2009
Successfully onlined Undo Tablespace 1.
Thu Jul 23 13:52:17 2009
SMON: enabling tx recovery
Thu Jul 23 13:52:17 2009
Database Characterset is WE8ISO8859P1
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=21, OS id=15328
Thu Jul 23 13:52:23 2009
Completed: ALTER DATABASE OPEN
Any help would be greatly appreciated!!!!Ok,
So I managed to get the disk group mounted on the second node, and re-ran the rconfig process.
I got a little further, but encountered another error which is displayed below:
-bash-3.00$ rconfig racconv.xml
<?xml version="1.0" ?>
<RConfig>
<ConvertToRAC>
<Convert>
<Response>
<Result code="1" >
Operation Failed
</Result>
<ErrorDetails>
/u01/app/oracle/product/10.2.0/db_1/dbs Data File is not shared across all nodes in the cluster
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
I am not using a shared oracle home, each node in the cluster has its own oracle installation residing on local disk. Is a shared oracle home a pre-requisite for usin rconfig?
I have provided the .xml file I am using below:
-bash-3.00$ cat racconv.xml
<?xml version="1.0" encoding="UTF-8"?>
<n:RConfig xmlns:n="http://www.oracle.com/rconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.oracle.com/rconfig">
<n:ConvertToRAC>
<!-- Verify does a precheck to ensure all pre-requisites are met, before the conversion is attempted. Allowable values are: YES|NO|ONLY -->
<n:Convert verify="YES">
<!--Specify current OracleHome of non-rac database for SourceDBHome -->
<n:SourceDBHome>/u01/app/oracle/product/10.2.0/db_1</n:SourceDBHome>
<!--Specify OracleHome where the rac database should be configured. It can be same as SourceDBHome -->
<n:TargetDBHome>/u01/app/oracle/product/10.2.0/db_1</n:TargetDBHome>
<!--Specify SID of non-rac database and credential. User with sysdba role is required to perform conversion -->
<n:SourceDBInfo SID="ORCLCLN">
<n:Credentials>
<n:User>oracle</n:User>
<n:Password>password</n:Password>
<n:Role>sysdba</n:Role>
</n:Credentials>
</n:SourceDBInfo>
<!--ASMInfo element is required only if the current non-rac database uses ASM Storage -->
<n:ASMInfo SID="+ASM1">
<n:Credentials>
<n:User>oracle</n:User>
<n:Password>password</n:Password>
<n:Role>sysdba</n:Role>
</n:Credentials>
</n:ASMInfo>
<!--Specify the list of nodes that should have rac instances running. LocalNode should be the first node in this nodelist. -->
<n:NodeList>
<n:Node name="sol002"/>
<n:Node name="sol003"/>
</n:NodeList>
<!--Specify prefix for rac instances. It can be same as the instance name for non-rac database or different. The instance number will be attached to this prefix. -->
<n:InstancePrefix>ORCLCLN</n:InstancePrefix>
<!--Specify port for the listener to be configured for rac database.If port="", alistener existing on localhost will be used for rac database.The listener will be extended to all nodes in the nodelist -->
<n:Listener port=""/>
<!--Specify the type of storage to be used by rac database. Allowable values are CFS|ASM. The non-rac database should have same storage type. -->
<n:SharedStorage type="ASM">
<!--Specify Database Area Location to be configured for rac database.If this field is left empty, current storage will be used for rac database. For CFS, this field will have directory path. -->
<n:TargetDatabaseArea></n:TargetDatabaseArea>
<!--Specify Flash Recovery Area to be configured for rac database. If this field is left empty, current recovery area of non-rac database will be configured for rac database. If current database is not using recovery Area, the resulting rac database will not have a recovery area. -->
<n:TargetFlashRecoveryArea></n:TargetFlashRecoveryArea>
</n:SharedStorage>
</n:Convert>
</n:ConvertToRAC>
</n:RConfig> -
Can't we start a RAC instance without local pfile ?
DB version : 11.1.0.7.0
OS : Solaris 10 SPARC
--Info about the cluster
2 Node RAC
Both instances using spfile stored in ASM Diskgroup
Passwordless SSH configuration is not working currently (i gather ssh is not mandatory after installation)
We have 7 RAC DBs running in our 11.1 CRS.
After a reboot of our 2 Node RAC servers, in Node2, 4 instances didn't come up.
None of these down instances have a local pfile. The ones that are up in Node2 have it.
So, When i manually tried to bring up the ones that are down
$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Mar 2 21:28:22 2012
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.1/db_1/dbs/initorcl2.ora'
SQL> exit
Disconnected-- Tried directly with spfile (No such option in oracle, but still tried ! )
SQL> startup spfile='+ORCL_DATA01/ORCL/spfileorcl.ora'
SP2-0714: invalid combination of STARTUP options-- Tried from Node1
-- This might have failed because ssh is not working currently. Not sure
$ srvctl start instance -d orcl -i orcl2
PRKP-1001 : Error starting instance orcl2 on node manhclust199
CRS-0215: Could not start resource 'ora.orcl.orcl2.inst'.
$ srvctl start database -d orcl
PRKP-1001 : Error starting instance orcl2 on node manhclust199
CRS-0215: Could not start resource 'ora.orcl.orcl2.inst'.Finally I had to create a local pfile on node2 for each instances in OH/dbs
The content of each local pfile is like
$ cat initorcl2.ora
spfile='+ORCL_DATA01/orcl/spfileorcl.ora'Now the startup worked without any issue for all 4 instances
SQL> startup
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size 2155464 bytes
Variable Size 1593838648 bytes
Database Buffers 536870912 bytes
Redo Buffers 5021696 bytes
Database mounted.
Database opened.So, local pfile is mandatory for all RAC instances ?Hi,
My question is whether this instance specific local pfile must be there in OH/dbs directory ?YES
Didn't get a clear answer yet.
It seems that it is mandatory. And this is most probably the reason these instances didn't come up after the reboot of this node.Startup Sequence:
Startup of Cluster:
Using "srvctl" to start your database/instance:
Srvctl read the OCR and check the parameter SPFILE from your database registration:
If parameter SPFILE in OCR have a value the srvctl will use this value to start your database instance.
If parameter SPFILE in OCR don't have a value (i.e null) Oracle will try find the file SPFILE<ORACLE_SID>.ora on $ORACLE_HOME/dbs
If the file SPFILE<ORACLE_SID>.ora does not exists, Oracle will try use the file init<ORACLE_SID>.ora
If init<ORACLE_SID>.ora does not exist... the startup will fail.
From ORACLE_HOME of your database execute command above to get value of Spfile parameter on OCR:
srvctl config database -d <DB_NAME> |grep SpfileStartup manually from SHELL using SQLPLUS:
Using SQLPLUS to start a database Oracle always first use SPFILE<ORACLE_SID>.ora stored on $ORACLE_HOME/dbs/ if this file does not exist he will try use INIT<ORACLE_SID>.ora to start Database Instance.
If your spfile is stored on ASM you must create a INITFILE pointing to SPFILE stored on ASM.
e.g From instance 1
cat /oracle/oracle/product/11.2.0/db_1/dbs/initorcl1.ora
SPFILE='+DATA/ORCL/spfileorcl.ora'Regards,
Levi Pereira -
Dear DBAs,
while browsing the net to get documents related to the RAC, i found a document concerning the RAC/ASM dependencies and how to configure RAC services (CRS/ASM/DB instances) to run consecutively (or maybe you want to stop running a service at server startup).
The problem is that i lost this document and currently i need this information.
could you please provide me with a link concerning this subject ?
by the way my database is 10R2 path4
Thx in advance
Edited by: Elie on Aug 30, 2009 3:24 PMhttp://www.oracle.com/pls/db102/portal.portal_db?selected=16
http://download.oracle.com/docs/cd/B19306_01/rac.102/b28759/toc.htm
srvctl command
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#RACAD5002 -
Communication between RAC instances
Hi,
I see different answers for this Communication between RAC instances in google.
1. UDP
2.Distributed Lock Manager (DLM)
which one of is correct?both of them are correct on different layers. The IP protocol used over the interconnect is udp and one of the protocols/mechanism implemented above that is DLM.
-
Communication between RAC instances in google.
Hi,
I see different answers for this Communication between RAC instances in google.
1. UDP
2.Distributed Lock Manager (DLM)
which one of is correct?Pl do not post duplicate threads - Communication between RAC instances
Srini -
Problem with host credentials / ASM & RAC
hi
I am working on windows 2003 server, and trying to ASM / RAC, but every time need host credentials. when i setting up host credentials its giving error normal user password wrong , as per instruction i supply user name and password but every time message appearing wrong wrong.
kindly any body give solution asap.
B.S.fartiyalSee my first response to this posting to see if it helps you:
Problem with Credentials.
Maybe you are looking for
-
Camileo charging problem (solved) and a general question!
Hi all! First of all, I was going to ask for help as to why the Camileo S10 was not charging (the orange light wasn't flashing), and I'd seen a few people with similar problems. The solution? Give the contacts on the battery a clean. The insulation s
-
Really need help! HD error
Oke here goes. I got the flashing folder icon at start up. So i used the DU and turned out i got an: "invalid b-tree node size" How can i get all the files back from my harddrive?> Really got important files on it, projects. I was going to backup fil
-
Hi, In standard SAP you can not estimate the bulk good. How can I customize to estimate the cost of this bulkgut because we have a problem in COGI with those materials. we become minus. They have to be calculated. Thanks Dede
-
I set a password for one of my numbers documents and I've managed to forget what it was....even with the reminder. Any ideas on how to override it??? Thanks
-
Connect to PowerPivot engine with c#
I am developing an addin for excel 2010 and i need to interact with powerpivot engine. Is that possible? Can i interact with powerpivot engine using AMO? How can i do that? I am trying with this Server svr = new Server(); svr.Connect( "Initial Catalo