Enabling archivelog in RAC
Hello dear friends,
I want to enable archivelog mode in oracle 10.2 in RAC environment.
who can help me in its steps ?
Step how to convert noarchive log database in to archive log on ASM
First take out the one instance from cluster to perform d maintenance tasks
1) SQL> alter system set cluster_database=true scope=spfile sid='approd1';
2) SQL> shutdown immediate
3) Start the single instance database which we took out from cluster pair
4) SQL> startup mount;
5) Check the log_archive_dest ,if its blank , which is good for us , otherwise we have to clear it values actually log_archive_dest is making archive log in local file system and log_archive_log_n , we can use it for both local , remote and ASM locations,so we will use log_archive_dest_1 instead of log_archive_dest
6) SQL >Show parameter log_archive_dest
NAME TYPE VALUE
7) Log_archive_dest string D:\oracle\DB10g\admin\ORCL\arc
Here in my environment the values of log_archive_dest is not NULL , so I have to reset the current values and put the null values
8) SQL> alter system set log_archive_dest='' scope=spfile;
Any destination changes that you make take effect at the next log switch(automatic or manual) so restart the database and logon again
9) SQL> shutdown immediate
10) Again start the database in mount mode ( maintenance mode)
11) Startup mount
12)
13) Check the values of t again and make sure log_archive_dest should be blank or unset .We can’t use log_archive_dest or log_archive_dublex with db_recover file parameter , so that why I m using logarchive_log_1 parameter
14) SQL> alter system set log_archive_dest_1='LOCATION=+DATA/';
15) SQL> alter system set cluster_database=true scope=spfile sid='approd1'
16) Start the database
17) Startup
Similar Messages
-
Enable Archivelog Mode On 2 Node RAC DATABASE
hi,
We are having 2 Node Rac 10g Database Installed on Windows.
Currently the Database is in Non Archivelog Mode.
I want to convert it to Archivelog Mode.
I come to know the steps to convert cluster database to Archivelog mode.
i.e.
set archive parameters like Disk Location and Archivelog File format.
then Convert the database in Exclusive Mode
ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
then
C:\> srvctl stop database -d <Global_DB_SID>
then enable Archivelog Mode.
SQL> STARTUP MOUNT;
SQL> ARCHIVE LOG START;
SQL> ALTER DATABASE ARCHIVELOG;
SQL> ALTER DATABASE SET cluster_database=TRUE SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE
C:\> srvctl start database -d <Global_DB_SID>
But I am confuse with Do i need to RUN this commands in both the nodes seperatly or only on any one node.
Please Reply,comments embeddedf
Node 1: OSERP1
Log on to OSERP1 Server
C:\> sqlplus sys/oracle@racdb2 as sysdba
SQL> ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile ; -- this needs to be database wide
SQL > ALTER SYSTEM SET log_archive_dest_1='location=\\OSERP1\archive$\ERP1 ' SCOPE=spfile sid ='ERP1'; -- required quotes added
-- not required
SQL> ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
not required to connect to other node
-- not required
SQL> ALTER SYSTEM SET log_archive_format='arch_%t_%s.arc' SCOPE=spfile sid =ERP2;
SQL > ALTER SYSTEM SET log_archive_dest_1='location=\\OSERP2\archive$\ERP2 ' SCOPE=spfile sid ='ERP2'; -- quotes added
-- not required, and database wide setting
SQL> ALTER SYSTEM SET cluster_database=FALSE SCOPE=spfile;
Then following commands will be run connecting any of the instance
-- database has to be stopped first, if you stick to switching it to a non-cluster database
C:\> set ORACLE_SID=<local_instance_id>
C:\> sqlplus / as sysdba
SQL> STARTUP MOUNT;
-- wrong sequence of commands
SQL> ARCHIVE LOG START;
SQL> ALTER DATABASE ARCHIVELOG;
-- not required (see previous steps)
SQL> ALTER DATABASE SET cluster_database=TRUE SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE;
6. Start the cluster database.
C:\> srvctl start database -d <Global_DB_SID>
-- There is no such thing as a <Global_DB_SID>. There is a database name.
Please note your tnsnames.ora, in a standard install, needs to have the following service names.
ERP
ERP1
ERP2
I'm not sure why you have the non-standard service_name racdb2.
Somehow it looks like you both don't understand the RAC concept, and didn't understand my answer. I had to correct several things I already corrected in my previous response. I'm not sure why I'm not getting through.
Sybrand Bakker
Senior Oracle DBA -
Deprecated parameter when enabling archivelog
Hi all,
11gR1
I want to enable archivelog. So I set the ff:
SQL> alter system set log_archive_start=TRUE scope=spfile;
System altered.
SQL> alter system set log_archive_dest_1='location=c:\oracle\apexdb\archivelog' scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Why is this obsolete error? and which parameter is obsolete? the log_archive_dest_1?
Thanks....867699 wrote:
Hi,
I'm a beginner. I've gone through this thread. But i have a doubt. I don't have an Sp file ..how can i fix it with only p file.
Pls help.
ThnksThen you don't need the step to create a pfile from spfile. You are starting with the pfile, just as if you had created it from spfile.
But after making the correction in your pfile, you really should make an spfile and start using it instead.
1) make a backup copy of the pfile
2) make whatever modifications you need to the pfile
3) set ORACLE_SID
4) sqlplus / as sysdba
5) create spfile from pfile='nameofyourpfile';
6) startup
All this can be done from an idle instance - no need to be bouncing around from nomount, mount, startup, etc. See this:
First, the contents of my dbs directory. Notice the init file initHOUSTON.ora, but there is no spfile (I renamed it to spfileHOUSTON.bak to get it out of the way)
[oracle@vmlnx01 dbs]$ pwd
/ora00/app/oracle/product/10.2.0/db_1/dbs
[oracle@vmlnx01 dbs]$ ls -l
total 6960
-rw-rw---- 1 oracle oinstall 1544 May 21 18:56 hc_HOUSTON.dat
-rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
-rw-r--r-- 1 oracle oinstall 1691 Jun 22 15:00 initHOUSTON.ora
-rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
-rw-rw---- 1 oracle oinstall 24 May 21 18:56 lkHOUSTON
-rw-r----- 1 oracle oinstall 1536 Jun 21 10:59 orapwHOUSTON
-rw-r----- 1 oracle oinstall 7061504 May 22 18:49 snapcf_HOUSTON.f
-rw-r----- 1 oracle oinstall 4608 Jun 22 11:56 spfileHOUSTON.bakSo check ORACLE_SID
[oracle@vmlnx01 dbs]$ echo $ORACLE_SID
HOUSTONThen connect as sysdba. Notice we connect to an idle instance, meaning we know it is HOUSTON, but it is not started, not even to NOMOUNT
[oracle@vmlnx01 dbs]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Jun 22 15:13:41 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.and in this idle instance we can go ahead and create the spfile. No need to be in NOMOUNT or MOUNT
SQL> create spfile from pfile='initHOUSTON.ora';
File created.shell out and see the directory to confirm we create the spfile
SQL> !ls -l
total 6968
-rw-rw---- 1 oracle oinstall 1544 May 21 18:56 hc_HOUSTON.dat
-rw-r--r-- 1 oracle oinstall 12920 May 3 2001 initdw.ora
-rw-r--r-- 1 oracle oinstall 1691 Jun 22 15:00 initHOUSTON.ora
-rw-r----- 1 oracle oinstall 8385 Sep 11 1998 init.ora
-rw-rw---- 1 oracle oinstall 24 May 21 18:56 lkHOUSTON
-rw-r----- 1 oracle oinstall 1536 Jun 21 10:59 orapwHOUSTON
-rw-r----- 1 oracle oinstall 7061504 May 22 18:49 snapcf_HOUSTON.f
-rw-r----- 1 oracle oinstall 4608 Jun 22 11:56 spfileHOUSTON.bak
-rw-r----- 1 oracle oinstall 4608 Jun 22 15:13 spfileHOUSTON.oraNow, from the idle instance do a full startup
SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1267068 bytes
Variable Size 155191940 bytes
Database Buffers 125829120 bytes
Redo Buffers 2924544 bytes
Database mounted.
Database opened.and check that we used the spfile we just created
SQL> show parameter spfile
NAME TYPE VALUE
spfile string /ora00/app/oracle/product/10.2
.0/db_1/dbs/spfileHOUSTON.ora
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@vmlnx01 dbs]$ exit
logout -
Enable archivelog mode while datbase is open
Hi everybody
Kindly I need to ask if possible to enable archivelog mode while database in open status for oracle 11g? and if yes .. what is the statment?
Thanks in advance
Edited by: user11254543 on Jun 8, 2011 11:51 PMYou cant enable the archivelog mode when the database is in nomount state because the archive log information is kept in Control file like db in archivelog mode or not,log sequence number,SCNs,logfiles members,etc.. When we start the database in nomount state then only the pfile/spfile is read and sga is allocated and background processes are started but no controlfile is read ..to read the controlfile the database must be started in mount state..Why we require a controlfile is because it stores critical information about the database...If we start the database in mount state then it recognizes whether database is in archivelog mode or not , If it is in archivelog mode then it sees whether an instance recovery is needed or not by verifying the log sequence numbers in controlfile,redologfile & the datafile ..If an instance recovery is required then it performs the instance recovery by calling smon background process or if a datafile header is not up to date then we have to perform the media recovery using the redo logfiles...
For open state you have to post the reply..it will help you to explore yourself...Good Luck! -
Unable to enable archivelog mode and flashback mode
Hi,
I have oracle10g installed on Linux machine.
Everytime i try to enable ARCHIVELOG mode and FLASHBACK through the DB EM console and during the restart of the database, the database just startup and gets mounted, but does not get open. and not able to get the database to archive log mode.
and when i startup the database through the sqlplus i get this following error:
ORA-32004: obsolete and/or deprecated parameter(s) specified
i am not able to enable successfully archive log mode and flashback mode.
in sqlplus i did the following and got the following:
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 13585
Current log sequence 13587
so i was thinking maybe it is the archive log start sequence that is creating error.
because long back i had the database in archive log mode and because the archive log files got filled up, i disabled the archive mode and had to delete the archive log files.
Can someone help me bring the database in archive log mode which i am not able to successfully execute.
Thanks in advance,
Philip.Hi,
yes i looked in to the init.ora file and i got this
orcl.__db_cache_size=1308622848
orcl.__java_pool_size=167772160
orcl.__large_pool_size=16777216
orcl.__shared_pool_size=167772160
orcl.__streams_pool_size=16777216
*.audit_file_dest='/home/oracle/oracle/admin/orcl/adump'
*.background_dump_dest='/home/oracle/oracle/admin/orcl/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/u01/oradata/orcl/control01.ctl','/u01/oradata/orcl/control02.ctl','/u01/oradata/orcl/control03.ctl'
*.core_dump_dest='/home/oracle/oracle/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain='mslabs.noaa.gov'
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_recovery_file_dest='/u02/flash_recovery_area'
*.db_recovery_file_dest_size=64424509440
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.java_pool_size=159383552
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=562036736
*.processes=150
*.log_archive_start=FALSE
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=1687158784
*.shared_pool_size=157286400
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/oracle/admin/orcl/udump'
and there is a
*.log_archive_start=false
so do i have to delete it?
Thanks,
Philip. -
Steps to Enable Archive log - RAC 10gR2(10.2.04)
Hi
Can anyone help on steps to enable archive log in RAC + ASM environment.
db version- 10.2.0.4 , filesystem - ASM, Two nodes(db1,db2)
Regards & Thanksyou can follow below steps to configure your RAC database archive/noarchive log mode
Putting the database into archive/noarchivelog mode in RAC environment:
========================================================================
1. Set cluster_database=false for the instance.
alter system set cluster_database=false scope=spfile sid='PROD1';
2. Shutdown all the instances accessing the database.
srvctl stop database -d prod
3. Mount the database using the local instance.
startup mount
4. Enabling archiving / noarchiving
alter database archivelog;
OR
alter database noarchivelog;
5. Change the parameter cluster_database=true for the instance prod1.
alter system set cluster_database=true scope=spfile sid='PROD1';
6. Shutdown the local database.
shutdown
7. Bring up all the instances.
srvctl start database -d prod -
hi friends,
i have 2 node RAC, running on Windows 2003 Enterprise Addition,
both have their own local archive location. so when i am taking backup of archive log through RMAN, at that time it shows some missing archive logs, which are on other node & backup terminated. what should i do for this?, how can i set that both node create archive on each other?
configuration :- node1 (service nd1)
node2 (service nd2)
when i gave alter system set log_archive_dest_2='service=nd2 optional' on nd1 than its showing some heartbeat error in alertlog.
ThanksSohil,
I guess you are bit confused by setting log_archive_dest_2. Usually, this parameter is set to send the duplicate archive copy either to standby host or any other location on the primary to have couple of archived log copies.
As Murali Suggest, the good practice to configure a shared location on the both nodes to produce archive log in order to avoid the generic problem that you specified.
Have you tried the backup (archivelog) by setting the following:
CONFIGURE CHANNEL 1 DEVICE TYPE DISK connect 'SYS/rac@node1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'SYS/rac@node2';
If you have metalink note, read Note:243760.1.
The 'heart beat' problem in 10g, usually comes when the password of password-file is different on primary and standby database. Basically, password file password must be similar on primary database and standby databsase (including sys password).
Jaffar -
Error while enabling Archivelog mode
There occurs an error while performing startup mount for enabling archive log mode in Windows.
Below are the steps followed:
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 20 16:49:14 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> disconnect;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> connect sys@epm11 as sysdba;
Enter password: ********
Connected.
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination D:\oracle\product\10.2.0\flash_recovery_area
Oldest online log sequence 9
Current log sequence 11
SQL> show parameter recovery_file_dest;
NAME TYPE VALUE
db_recovery_file_dest string D:\oracle\product\10.2.0/flash
recoveryarea
db_recovery_file_dest_size big integer 2G
SQL> alter system set log_archive_dest_1='location=D:\oracle\product\10.2.0\flash_recovery_area' sco
pe=spfile;
System altered.
SQL> show parameter log_archive_dest_1;
NAME TYPE VALUE
log_archive_dest_1 string location=D:\oracle\product\10.
2.0\flash_recovery_area
log_archive_dest_10 string
SQL> alter system set log_archive_start=true scope=spfile;
System altered.
SQL> show parameter LOG_ARCHIVE_START;
NAME TYPE VALUE
log_archive_start boolean TRUE
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
Oracle version information is
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 – Production
Please let me know how to resolve this error.
Regards
Swathi.Hi,
Add archive log_archive_dest_1 D:\oracle\product\10.2.0\flash_recovery_area in pfile and then try to start the database.
Also check alert_log for more information.
Added the below info in pfile
log_archive_dest_1='location=D:\oracle\product\10.2.0\flash_recovery_area'
log_archive_start=TRUE
and then performed the process but the same error is giving.
SQL> startup mount;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
And i have checked the alert log which is at location D:\oracle\product\10.2.0\admin\EPM11\bdump
Below information is displayed in the alert log:
Tue Dec 21 12:07:15 2010
Starting background process EMN0
EMN0 started with pid=19, OS id=7500
Tue Dec 21 12:07:15 2010
Shutting down instance: further logons disabled
Tue Dec 21 12:07:15 2010
Stopping background process QMNC
Tue Dec 21 12:07:16 2010
Stopping background process CJQ0
Tue Dec 21 12:07:17 2010
Stopping background process MMNL
Tue Dec 21 12:07:18 2010
Stopping background process MMON
Tue Dec 21 12:07:19 2010
Shutting down instance (immediate)
License high water mark = 16
Tue Dec 21 12:07:19 2010
Stopping Job queue slave processes
Tue Dec 21 12:07:19 2010
Job queue slave processes stopped
All dispatchers and shared servers shutdown
Tue Dec 21 12:07:27 2010
ALTER DATABASE CLOSE NORMAL
Tue Dec 21 12:07:28 2010
SMON: disabling tx recovery
SMON: disabling cache recovery
Tue Dec 21 12:07:28 2010
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Thread 1 closed at log sequence 12
Successful close of redo thread 1
Tue Dec 21 12:07:29 2010
Completed: ALTER DATABASE CLOSE NORMAL
Tue Dec 21 12:07:29 2010
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Dump file d:\oracle\product\10.2.0/admin/epm11/bdump\alert_epm11.log
Tue Dec 21 12:20:46 2010
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 3
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1439M/3062M, Ph+PgF:5441M/6994M, VA:1940M/2047M
Tue Dec 21 12:20:46 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
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.1.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 201326592
__large_pool_size = 4194304
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEEPM11.ORA
sga_target = 612368384
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 394264576
compatible = 10.2.0.1.0
log_archive_start = TRUE
log_archive_dest_1 = location=D:\oracle\product\10.2.0\flash_recovery_area
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=EPM11XDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\EPM11\CDUMP
db_name = EPM11
open_cursors = 300
pga_aggregate_target = 203423744
Deprecated system parameters with specified values:
log_archive_start
End of deprecated system parameter listing
PMON started with pid=2, OS id=1188
PSP0 started with pid=3, OS id=5800
MMAN started with pid=4, OS id=6212
DBW0 started with pid=5, OS id=3920
LGWR started with pid=6, OS id=496
CKPT started with pid=7, OS id=5008
SMON started with pid=8, OS id=692
RECO started with pid=9, OS id=2924
CJQ0 started with pid=10, OS id=1840
MMON started with pid=11, OS id=5520
MMNL started with pid=12, OS id=5212
Tue Dec 21 12:20:47 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Dec 21 12:20:47 2010
alter database mount exclusive
Tue Dec 21 12:20:51 2010
Setting recovery target incarnation to 2
Tue Dec 21 12:20:51 2010
Successful mount of redo thread 1, with mount id 3057552735
Tue Dec 21 12:20:51 2010
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Tue Dec 21 12:20:51 2010
alter database open
Tue Dec 21 12:20:51 2010
Thread 1 opened at log sequence 12
Current log# 2 seq# 12 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\EPM11\REDO02.LOG
Successful open of redo thread 1
Tue Dec 21 12:20:51 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue Dec 21 12:20:52 2010
SMON: enabling cache recovery
Tue Dec 21 12:20:52 2010
Successfully onlined Undo Tablespace 1.
Tue Dec 21 12:20:52 2010
SMON: enabling tx recovery
Tue Dec 21 12:20:52 2010
Database Characterset is WE8MSWIN1252
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=6268
Tue Dec 21 12:21:00 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Tue Dec 21 12:21:00 2010
Completed: alter database open
Please provide me solution.
Regards
Swathi. -
How to restore archivelogs on RAC ?
Hello !
I need to restore archivelogs for 2 hours: to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss'). I have this files on tape:
RMAN> list backup of archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')";
List of Backup Sets
===================
BS Key Size
1359667 19.00M
List of Archived Logs in backup set 1359667
Thrd Seq Low SCN Low Time Next SCN Next Time
3 24686 68236434950 04/08/2010 22:54:47 68243156430 04/08/2010 23:46:12
Backup Set Copy #1 of backup set 1359667
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:03:50 04/08/2010 23:51:06 NO TAG20100804T234715
List of Backup Pieces for backup set 1359667 Copy #1
BP Key Pc# Status Media Piece Name
1359674 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153543_726191236_1/
Backup Set Copy #2 of backup set 1359667
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:03:50 04/08/2010 23:51:06 NO TAG20100804T234715
List of Backup Pieces for backup set 1359667 Copy #2
BP Key Pc# Status Media Piece Name
1359675 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153543_726191236_2/
BS Key Size
1359668 19.96G
List of Archived Logs in backup set 1359668
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33810 68236430016 04/08/2010 22:54:44 68240656570 04/08/2010 23:25:13
Backup Set Copy #1 of backup set 1359668
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:22:24 05/08/2010 00:09:39 NO TAG20100804T234715
List of Backup Pieces for backup set 1359668 Copy #1
BP Key Pc# Status Media Piece Name
1359676 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153541_726191236_1/
Backup Set Copy #2 of backup set 1359668
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:22:24 05/08/2010 00:09:39 NO TAG20100804T234715
List of Backup Pieces for backup set 1359668 Copy #2
BP Key Pc# Status Media Piece Name
1359677 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153541_726191236_2/
BS Key Size
1359669 2.56G
List of Archived Logs in backup set 1359669
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33811 68240656570 04/08/2010 23:25:13 68243156997 04/08/2010 23:46:13
Backup Set Copy #1 of backup set 1359669
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:38 05/08/2010 00:12:20 NO TAG20100804T234715
List of Backup Pieces for backup set 1359669 Copy #1
BP Key Pc# Status Media Piece Name
1359678 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153544_726192582_1/
Backup Set Copy #2 of backup set 1359669
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:38 05/08/2010 00:12:20 NO TAG20100804T234715
List of Backup Pieces for backup set 1359669 Copy #2
BP Key Pc# Status Media Piece Name
1359679 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153544_726192582_2/
BS Key Size
1359670 19.95G
List of Archived Logs in backup set 1359670
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33578 68236472935 04/08/2010 22:55:03 68240747010 04/08/2010 23:26:01
Backup Set Copy #1 of backup set 1359670
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:26:38 05/08/2010 00:13:54 NO TAG20100804T234715
List of Backup Pieces for backup set 1359670 Copy #1
BP Key Pc# Status Media Piece Name
1359680 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153542_726191236_1/
Backup Set Copy #2 of backup set 1359670
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:26:38 05/08/2010 00:13:54 NO TAG20100804T234715
List of Backup Pieces for backup set 1359670 Copy #2
BP Key Pc# Status Media Piece Name
1359681 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153542_726191236_2/
BS Key Size
1359671 2.48G
List of Archived Logs in backup set 1359671
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33579 68240747010 04/08/2010 23:26:01 68243160092 04/08/2010 23:46:14
Backup Set Copy #1 of backup set 1359671
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:46 05/08/2010 00:16:48 NO TAG20100804T234715
List of Backup Pieces for backup set 1359671 Copy #1
BP Key Pc# Status Media Piece Name
1359682 1 AVAILABLE NN0876L3 /ORACLE:SVPRD1B:REDO:153545_726192843_1/
Backup Set Copy #2 of backup set 1359671
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:46 05/08/2010 00:16:48 NO TAG20100804T234715
List of Backup Pieces for backup set 1359671 Copy #2
BP Key Pc# Status Media Piece Name
1359683 1 AVAILABLE NN0261L3 /ORACLE:SVPRD1B:REDO:153545_726192843_2/
BS Key Size
1359733 17.25M
List of Archived Logs in backup set 1359733
Thrd Seq Low SCN Low Time Next SCN Next Time
3 24687 68243156430 04/08/2010 23:46:12 68260260710 05/08/2010 01:41:22
Backup Set Copy #1 of backup set 1359733
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:48 05/08/2010 01:51:01 NO TAG20100805T014812
List of Backup Pieces for backup set 1359733 Copy #1
BP Key Pc# Status Media Piece Name
1359743 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153560_726198493_1/
Backup Set Copy #2 of backup set 1359733
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:02:48 05/08/2010 01:51:01 NO TAG20100805T014812
List of Backup Pieces for backup set 1359733 Copy #2
BP Key Pc# Status Media Piece Name
1359744 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153560_726198493_2/
BS Key Size
1359739 9.97G
List of Archived Logs in backup set 1359739
Thrd Seq Low SCN Low Time Next SCN Next Time
1 33812 68243156997 04/08/2010 23:46:13 68253559461 05/08/2010 00:55:07
1 33813 68253559461 05/08/2010 00:55:07 68260254831 05/08/2010 01:41:19
Backup Set Copy #1 of backup set 1359739
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:11:44 05/08/2010 01:59:57 NO TAG20100805T014812
List of Backup Pieces for backup set 1359739 Copy #1
BP Key Pc# Status Media Piece Name
1359750 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153558_726198493_1/
Backup Set Copy #2 of backup set 1359739
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:11:44 05/08/2010 01:59:57 NO TAG20100805T014812
List of Backup Pieces for backup set 1359739 Copy #2
BP Key Pc# Status Media Piece Name
1359751 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153558_726198493_2/
BS Key Size
1359740 9.84G
List of Archived Logs in backup set 1359740
Thrd Seq Low SCN Low Time Next SCN Next Time
2 33580 68243160092 04/08/2010 23:46:14 68253672744 05/08/2010 00:56:10
2 33581 68253672744 05/08/2010 00:56:10 68260864567 05/08/2010 01:46:16
Backup Set Copy #1 of backup set 1359740
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:12:20 05/08/2010 02:00:33 NO TAG20100805T014812
List of Backup Pieces for backup set 1359740 Copy #1
BP Key Pc# Status Media Piece Name
1359752 1 AVAILABLE NN0821L3 /ORACLE:SVPRD1B:REDO:153559_726198493_1/
Backup Set Copy #2 of backup set 1359740
Device Type Elapsed Time Completion Time Compressed Tag
SBT_TAPE 00:12:20 05/08/2010 02:00:33 NO TAG20100805T014812
List of Backup Pieces for backup set 1359740 Copy #2
BP Key Pc# Status Media Piece Name
1359753 1 AVAILABLE NN0833L3 /ORACLE:SVPRD1B:REDO:153559_726198493_2/but when I am trying to restore them I receive an error:
RMAN> run {
allocate channel t1 type 'sbt_tape';
2> set archivelog destination to '/oracle/archive/svprd1b1/20100817_arch_rest';
restore (archivelog from time "to_date('04/08/2010 23:00:00','dd/mm/yyyy HH24:mi:ss')" until time "to_date('05/08/2010 01:00:00','dd/mm/yyyy hh24:mi:ss')" );
release channel t1;
3> 4> 5> 6>
allocated channel: t1
channel t1: sid=1725 instance=SVPRD1B1 devtype=SBT_TAPE
channel t1: NMO v4.2.0.0
executing command: SET ARCHIVELOG DESTINATION
Starting restore at 23/08/2010 13:05:15
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24686
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33810
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33811
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33578
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33579
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24687
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33812
channel t1: restoring archive log
archive log thread=1 sequence=33813
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33580
channel t1: restoring archive log
archive log thread=2 sequence=33581
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_1/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
failover to previous backup
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24686
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153543_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153543_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33810
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153541_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153541_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33811
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153544_726192582_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153544_726192582_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33578
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153542_726191236_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153542_726191236_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33579
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153545_726192843_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153545_726192843_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=3 sequence=24687
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153560_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153560_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=1 sequence=33812
channel t1: restoring archive log
archive log thread=1 sequence=33813
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153558_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153558_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
channel t1: starting archive log restore to user-specified destination
archive log destination=/oracle/archive/svprd1b1/20100817_arch_rest
channel t1: restoring archive log
archive log thread=2 sequence=33580
channel t1: restoring archive log
archive log thread=2 sequence=33581
channel t1: reading from backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19870: error reading backup piece /ORACLE:SVPRD1B:REDO:153559_726198493_2/
ORA-19507: failed to retrieve sequential file, handle="/ORACLE:SVPRD1B:REDO:153559_726198493_2/", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
A backup or restore session is already in progress. (100:17:0)
failover to previous backup
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/23/2010 13:08:50
RMAN-06026: some targets not found - aborting restore
RMAN-06025: no backup of log thread 3 seq 24687 lowscn 68243156430 found to restore
RMAN-06025: no backup of log thread 3 seq 24686 lowscn 68236434950 found to restore
RMAN-06025: no backup of log thread 2 seq 33581 lowscn 68253672744 found to restore
RMAN-06025: no backup of log thread 2 seq 33580 lowscn 68243160092 found to restore
RMAN-06025: no backup of log thread 2 seq 33579 lowscn 68240747010 found to restore
RMAN-06025: no backup of log thread 2 seq 33578 lowscn 68236472935 found to restore
RMAN-06025: no backup of log thread 1 seq 33813 lowscn 68253559461 found to restore
RMAN-06025: no backup of log thread 1 seq 33812 lowscn 68243156997 found to restore
RMAN-06025: no backup of log thread 1 seq 33811 lowscn 68240656570 found to restore
RMAN-06025: no backup of log thread 1 seq 33810 lowscn 68236430016 found to restoreWhat am I doing wrong ?
Database 10.2.0.4 @HP-UX 11.23 Itanium
Thanks in advance.The error "A backup or restore session is already in progress. (100:17:0)" comes from the MML -- the Tape Management software. It prevents you from running a RESTORE.
Hemant K Chitale -
Enabling ARCHIVELOG on windows
Hi I'm on Oracle 10.2.0.4.0 running on MS Windows and following the instructions to put my database (ORCL) in ARCHIVELOG mode.
It sounds like I need to perform the following to do this:
ALTER SYSTEM SET log_archive_dest_1='LOCATION=E:\oracle\admin\ORCL\arch' SCOPE=SPFILE;
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
ARCHIVE LOG LIST
SHUTDOWN IMMEDIATE
STARTUP
So this is how far I've gotten...
From cmd.exe:
C:\>set local=ORCL
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Dec 8 20:21:18 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
What am I missing here? Sorry I don't usually work with Oracle on Windows.
Thanks in advance for any help.SET command output as requested...
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\user01\Application Data
AVENGINE=C:\PROGRA~1\CA\SHARED~1\SCANEN~1
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\user01
local=orcl
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=E:\oracle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB=E:\oracle\perl\5.8.3\lib\MSWin32-x86;E:\oracle\perl\5.8.3\lib;E:\oracle\perl\5.8.3\lib\MSWin32-x86;E:\oracle\perl\site\5.8.3;E:\oracle\perl\site\5.8.3\lib;E:\oracle\sysman\admin\scripts
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1a08
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=RDP-Tcp#40
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\user01\LOCALS~1\Temp\1
TMP=C:\DOCUME~1\user01\LOCALS~1\Temp\1
USERPROFILE=C:\Documents and Settings\user01
windir=C:\WINDOWS -
How to enable archivelog mode in 10g?
It seems it's difference from 9i
C:\>set oracle_sid=ora101g
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Mar 14 06:39:17 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 109051904 bytes
Fixed Size 787688 bytes
Variable Size 87030552 bytes
Database Buffers 20971520 bytes
Redo Buffers 262144 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
SQL> -
Do I need to enable archivelog mode on a repository database?
The sabj.
I'll greatly appreciate any suggestions on it. As of right now I cannot find any intelligible information about it. Please, share your knowledge.
Thanks a lot beforehand,
Maria.Thanks a lot for reply!
I'll put it in archive log mode. I just wanted to make sure, that there is no difference in managing rep. database and targets/agents.
Thanks a lot! -
Enabling server-side load balancing with Oracle 10g RAC
Hi, all.
I created a RAC database on vmware by using DBCA.
By default, remote_listener and tnsname.ora have been configured.
The followings are part of dba_services from my RAC database.
NAME, GOAL, ENABLED, CBL_GOAL
SYS$BACKGROUND NONE NO SHORT
SYS$USERS NONE NO SHORT
DEVDB NO LONG
By default(created by DBCA), server-side load balancing is enabled for
the RAC database, DEVDB??
--> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
After creating a RAC db by using "DBCA", do I need to do something
for server-side load balancing??
If so what I need to do?? How can I test it??
And what is beneficial in enabling server-side loadbalancing ??
Is it good in the real world??
Thanks for reading.
Best Regards.
Message was edited by:
user507290[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
Virag -
Archivelog off - then back on again.
Greetings ,
I was asked to turn off archivelog and flashback a few days ago and since the
database collectors would not be talking to the database when these features were
turned off I complied.
Now I suspect in the next day or so they will finish their work and I will turn each back on.
My question concerns the backups that were scheduled in EM that have been failing since
archivelog was turned off. I know why this is happening but should I expect everything to
be back to NORMAL after enabling archivelog ( the next scheduled EM daily incremental backup will succeed)
or is there more work to be done ?
Thanks in advance for any help on this topic - this is an 11g database with RAC and ASM.For a RMAN backup the database must be in ARCHIVELOG mode. If the archivelog mode is disabled the backup jobs will be failed.
If you turn off and turn ON the Archivelog mode. You have to restart the emctl service.
http://www.di.unipi.it/~ghelli/didattica/bdldoc/A97329_03/core.902/a92171/emctl.htm
Thanks -
Arivelog mode configuration proble in RAC database
Hi,
I'm trying to configure RAC database in archivelog mode but when try to do so get the following error, during the database startup in mount state
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.1.0/db_1/dbs/initorcl.ora'
This error shows that the system could not find the initorcl.ora and really it does not exist. But the system at this stage is single
instance as I chenged the value of cluster_database=false before shutdown and then start.
when I enter the command startup mount it give me this error. What should I do to avoid it. Should I make a pfile of this from spfile in cluster mode
and then put this pfile in the desired path to start the single instance or any other thing should I tried.
Regards,
AbbasiPerform 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> STARTUPsource:-http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_33.shtml#Migrating%20Oracle%20Database%20from%20Local%20File%20System%20to%20ASM
if you would like, refer the link:-
http://oracleinstance.blogspot.com/2009/12/enable-archivelog-and-flashback-in-rac.html
Maybe you are looking for
-
How to delete multiple row in classic report.
Dear Friends, i am using 4.1 ve. i have created classic report.i want to delete row . How can i do it. i need check box in classic report and if i select multiple check box then row should delete and before delete pop up should be pop up to confirmat
-
How do I recover data from a single App using an iTunes backup and put it back on my iPhone?
An app I use (Text Me 2) automatically cleared conversation history. I have an iTunes back-up of it from last year. I tried searching a ton and found articles, but never found a step-by-step article from start to finish describing how I can get only
-
New iMac, 24" 3.06 Ghz - WIRED Connection Problem
Hi All - This machine has been in service 2 weeks. About a week ago, the connectivity to the internet has become faulty. I can successfully connect to a web site, but after about a minute or so, it will drop. Using the same browsers and MacOS on a Ma
-
My HD crashed, how do I get the content on my Ipad into Itunes
I lost my itunes folder with all of my content; however the Ipad still has the content is there anyway to get it back to itunes? This includes movies, photos, etc.
-
As mentioned elsewhere in these forums, for some unknown reason Canon put the highest level of security on their manuals. The effect of this is that when it is printed, or copied, (or input to other programs) or transferred to a Pocket PC / PDA, a la