RAC ASM diskgroup mounted and dismounted so frequent
Hi,
We have installed a Oracle 10g RAC with ASM.
It was going well, but we found some messages in the alertlog as follows:
Mon Jan 22 08:43:45 2007
Thread 2 advanced to log sequence 1113
Current log# 9 seq# 1113 mem# 0: +DATA/dvpc/onlinelog/group_9.284.609078417
Current log# 9 seq# 1113 mem# 1: +FLASH/dvpc/onlinelog/group_9.265.609078421
Mon Jan 22 08:43:45 2007
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
Mon Jan 22 11:28:41 2007
Thread 2 advanced to log sequence 1114
Current log# 10 seq# 1114 mem# 0: +DATA/dvpc/onlinelog/group_10.285.609078423
Current log# 10 seq# 1114 mem# 1: +FLASH/dvpc/onlinelog/group_10.266.609078425
Mon Jan 22 11:28:41 2007
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
Mon Jan 22 14:12:02 2007
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
Mon Jan 22 14:12:02 2007
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
SUCCESS: diskgroup LOG was mounted
SUCCESS: diskgroup LOG was dismounted
Why these diskgroups mounted and dismounted so frequent?
Yes, diskgroup needs to be mounted before it can be written to;) And because there are only archive logs in the LOG diskgroup it's unmounted when archiving is done.
What's a bit odd is that the "normal" archival messages seem to be missing from alert.log.
Similar Messages
-
ASM disk mount and dismount !
Hello ,
I found this listing continues in my alert.log.I found when oracle archives it mounts the disk and the unmounts it.Is it Usual?
Thread 1 cannot allocate new log, sequence 161
Checkpoint not complete
Current log# 1 seq# 160 mem# 0: +ORCL_ONLINE_OPS1/dwh/redo01.log
Thread 1 advanced to log sequence 161
Current log# 2 seq# 161 mem# 0: +ORCL_ONLINE_OPS1/dwh/redo02.log
Wed Jan 9 17:22:13 2008
SUCCESS: diskgroup ORCL_ARCH was mounted
SUCCESS: diskgroup ORCL_ARCH was dismounted
SUCCESS: diskgroup ORCL_ARCH was mounted
SUCCESS: diskgroup ORCL_ARCH was dismounted
SUCCESS: diskgroup ORCL_ARCH was mounted
SUCCESS: diskgroup ORCL_ARCH was dismounted
Wed Jan 9 17:27:50 2008
Shutting down archive processes
Wed Jan 9 17:27:55 2008
Thansk,
Pamplease check metalink note
Note.361173.1 Asm Diskgroup success Mount And Umount messages in alert.log during Rman Backup
Thanks,
Anil -
Hi,
Please advise howto easily mount an App-v package and full remove it afterwards (when ok).
This only to test the package is ok on a machine without the need to put it into sccm or a management server.
J.
Jan HoedtHi,
this article is a must have to read abour PoSh cmdlets and App-V5.
If you want to test you can:
Get-AppvClientPackage | Mount-AppvClientPackage
This command, gets all your published App-V packages and mount them to 100%.
If you want to remove a package which is published to you, you can use:
Get-AppvClientPackage -name *yourpackage* | Stop-AppvClientPackage | Repair-AppvClientPackage | Unpublish-AppvClientPackage | Remove-AppvClientPackage
to remove it. I alsways stop, and repair it first, so I'm sure all user changes are removed also.
Keep in mind, the remove-cmdlet need elevated rights. -
Database becomes slow maybe due to "SUCCESS: diskgroup ORAARCH was dismount
Hello,
I got performance complaint from client side like
" when we are running the software GUI interface from our laptops we are noticing a problem when we add new users and do any type of device sort to the data base. The system slows down to a crawl and any other users on the system are unable to do any tasks. "
I checked database alert log, got
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
Is the reason? any solution?
thel database is 10.2.0.4.0 on Linux
thank you
Edited by: ROY123 on Feb 23, 2012 1:09 PMROY123 wrote:
Hello,
I got performance complaint from client side like
" when we are running the software GUI interface from our laptops we are noticing a problem when we add new users and do any type of device sort to the data base. The system slows down to a crawl and any other users on the system are unable to do any tasks. "
I checked database alert log, got
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
SUCCESS: diskgroup ORAARCH was mounted
SUCCESS: diskgroup ORAARCH was dismounted
Is the reason? any solution?
thel database is 10.2.0.4.0 on Linux
This is just an indicator how many times diskgroup was mounted and unmounted. Mounted and dismount events will happen whenever any requests are sent to diskgroup and sent back to database. So we can say when nothing will happen from database side i.e. database don't need IO, diskgroup will be ideal and will show its status as dismounted in alert.log. So having said this, its not a performance problem for you.
Rather you should be checking at AWR and OS stats to look for performance problem.
Hope this help -
Disaster Recovery with different ASM diskgroups
Hi@all,
actually I'm trying to test a Disaster Recovery Scenario. At a Oracle Linux 6 server with installed Grid Infra 12c and Ora Database 11.2.0.4 (there is also a 12.1.0.2 database instance) I'm trying to do a disaster recovery. But I'm getting wild by restoring and recovering the database. The problem here is, that the ASM diskgroup name has changed. As you read out I also switched the physical server, but I think that shouldn't be any problem.
At the old server I've two ASM diskgroups "+DATA" and "+FRA_1", at the new they're called "+DATA_SRVNAME" and "+FRA_SRVNAME". I've already changed the startup parameter in spfile, but now after restoring the controlfile RMAN has the directions to the old diksgroup:
RMAN> report schema;
using target database control file instead of recovery catalog
RMAN-06139: WARNING: control file is not current for REPORT SCHEMA
Report of database schema for database with db_unique_name SID
List of Permanent Datafiles
===========================
File Size(MB) Tablespace RB segs Datafile Name
1 0 SYSTEM *** +DATA/SID/datafile/system.438.816606399
So I've tried three ways. First was to rename the datafile name:
ALTER DATABASE RENAME FILE '+DATA/SID/datafile/system.438.816606399' TO '+DATA_SRVNAME/SID/datafile/system.438.816606399';
Second was to set the newname in RMAN:
set newname for datafile 16 to '+DATA_SRVNAME/SID/datafile/mms_basic_tab.455.816617697/';
And second was to recreate the controlfile with
CREATE CONTROLFILE REUSE DATABASE "SID" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 1
MAXLOGHISTORY 1815
LOGFILE
GROUP 1 ('+DATA__SRVNAME', '+FRA_SRVNAME') SIZE 1024M,
DATAFILE
'+DATASRVNAME/SID/datafile/system.438.816606399',
CHARACTER SET AL32UTF8;
But all three methods gave me the error, that the datafile at the new location isn't available (example):
ORA-15012: ASM file '+DATA_QUM169/cogn11/datafile/system.438.816606399' does not exist
So now my question to you: How am I able to tell the controlfile or database to use the other ASM diskgroup?
I know, easiest way would be to create a diskgroup +DATA and do the restore / recover, but at the new server I've no more storage to assign to a new diskgroup and because of there are running other instances I would'nt change the ASM diskgroups.
Did you have anny solution?
Thanks a lot and Regards,
DavePlease try this
RMAN> run
set newname for datafile 1 to '+DATA_SRVNAME';
restore datafile 1;
switch datafile 1;
recover datafile 1;
Did you created +DATA_SRVNAME diskgroup?
and -
How to create a new ASM Diskgroup in Oracle 10g RAC?
Hi,
Our env is Oracle 10g R2 RAC on HP-UX. I want to create a new ASM Diskgroup. Please let me know if the following steps are ok to create a new ASM Diskgroup.
1. Ensure the new Disk is visible in both ASM instances in RAC (v$asm_disk) and the header_status is 'CANDIDATE'
2. From Node 1 ASM Instance issue the create diskgroup command.
SQL> create diskgroup DATA2 external redundancy disk '/dev/rdsk/c4t0d5';
3. Query v$asm_diskgroup and make sure the Diskgroup is created.
4. Mount the DATA2 Diskgroup from Node 2 ASM Instance.
5. Query v$asm_diskgroup and make sure the Diskgroup is visible from Node2 ASM instance.
6. Ensure the header_status is 'MEMBER'.
Rgds,correct.
instead of using device file '/dev/rdsk/c4t0d5' you can create an alternate device file using mknod, which is called "asm_disk_xg" for example.
check here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14202/storage.htm#CDEECIHI
hth -
Unable to Create ASM Diskgroup ORA-15020 and ORA-15018
Hello Team,
Unable to create ASM diskgroup with following error:
SQL> create diskgroup data_asm1 external redundancy disk '/dev/sdf*';
create diskgroup data_asm1 external redundancy disk '/dev/sdf*'
ERROR at line 1:
ORA-15018: diskgroup cannot be created
ORA-15020: discovered duplicate ASM disk "DATA_ASM1_0000"
ASM Diskstring
SQL> show parameter asm_diskstring
NAME TYPE VALUE
asm_diskstring string /dev/oracleasm/disks/DISK*, /dev/sd*
Please let me know how to i solve this issue
Regards,Hi Tobi,
I checked the status of the res GRID.dg ... it was offline on second node. Logged on second node and checked the status of it viz:v$asm_diskgroup, it was dismount. I mounted it and then try to add the newly added diskgroup(+GRID) with OCR and viola it worked....
========================================================
ora.GRID.dg
ONLINE ONLINE rac3
OFFLINE OFFLINE rac4
SQL> select group_number,name,state,type from v$asm_diskgroup;
GROUP_NUMBER NAME STATE TYPE
1 DATA MOUNTED EXTERN
0 GRID DISMOUNTED
SQL> alter diskgroup grid mount;
Diskgroup altered.
SQL> select group_number,name,state,type from v$asm_diskgroup;
GROUP_NUMBER NAME STATE TYPE
1 DATA MOUNTED EXTERN
2 GRID MOUNTED EXTERN
==============================================
ora.GRID.dg
ONLINE ONLINE rac3
ONLINE ONLINE rac4
===============================================
[root@rac3 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2804
Available space (kbytes) : 259316
ID : 48011651
Device/File Name : +DATA
Device/File integrity check succeeded
Device/File Name : +grid
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
==========================================================================================
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 20472 16263 0 16263 0 N DATA/
MOUNTED EXTERN N 512 4096 1048576 5114 4751 0 4751 0 N GRID/
======================================================================================================
Thank you very much, appreciated..
Thank you Aritra .
Guys you rock.
Regards, -
ASM instance deletion and converting to RAC
My RAC setup is little complex, i created 2 RAC servers, after that i created 2 new RAC servers, but the shared disk is same, in old RAC i created RAC ASM, which is running fine, in new i make want to create new RAC ASM instance, but when i got to dbca ASM instance page, its seeing all the old ASM Diskgroups. I created ASM single instance , at new 403 box now i want to delete this to convert it to RAC ASM. How i should proceed, So that my old RAC ASM should not be effected,
[oracle@ricsflgrd403 ~]$ ps -ef | grep asm
oracle 29499 1 0 Jan22 ? 00:00:00 asm_pmon_+ASM1
oracle 29501 1 0 Jan22 ? 00:00:00 asm_diag_+ASM1
oracle 29503 1 0 Jan22 ? 00:00:00 asm_psp0_+ASM1
oracle 29505 1 0 Jan22 ? 00:00:00 asm_lmon_+ASM1
oracle 29507 1 0 Jan22 ? 00:00:00 asm_lmd0_+ASM1
oracle 29534 1 0 Jan22 ? 00:00:00 asm_lms0_+ASM1
oracle 29538 1 0 Jan22 ? 00:00:00 asm_mman_+ASM1
oracle 29540 1 0 Jan22 ? 00:00:00 asm_dbw0_+ASM1
oracle 29542 1 0 Jan22 ? 00:00:00 asm_lgwr_+ASM1
oracle 29544 1 0 Jan22 ? 00:00:00 asm_ckpt_+ASM1
oracle 29546 1 0 Jan22 ? 00:00:00 asm_smon_+ASM1
oracle 29548 1 0 Jan22 ? 00:00:00 asm_rbal_+ASM1
oracle 29550 1 0 Jan22 ? 00:00:01 asm_gmon_+ASM1
oracle 29552 1 0 Jan22 ? 00:00:00 asm_lck0_+ASM1
oracle 9568 7297 0 11:51 pts/3 00:00:00 grep asm
ricsflgrd401.ric.infineon.com - ESM01P1:/opt/oracle
ps -ef | grep asmoracle 2701 1 0 2006 ? 00:01:45 asm_pmon_+ASM1
oracle 2703 1 0 2006 ? 00:00:04 asm_diag_+ASM1
oracle 2705 1 0 2006 ? 00:00:07 asm_psp0_+ASM1
oracle 2707 1 0 2006 ? 00:00:14 asm_lmon_+ASM1
oracle 2709 1 0 2006 ? 00:03:18 asm_lmd0_+ASM1
oracle 2711 1 0 2006 ? 00:00:40 asm_lms0_+ASM1
oracle 2715 1 0 2006 ? 00:00:00 asm_mman_+ASM1
oracle 2718 1 0 2006 ? 00:00:29 asm_dbw0_+ASM1
oracle 2720 1 0 2006 ? 00:00:14 asm_lgwr_+ASM1
oracle 2722 1 0 2006 ? 00:00:12 asm_ckpt_+ASM1
oracle 2724 1 0 2006 ? 00:02:08 asm_smon_+ASM1
oracle 2727 1 0 2006 ? 00:00:01 asm_rbal_+ASM1
oracle 2729 1 0 2006 ? 00:11:41 asm_gmon_+ASM1
oracle 2783 1 0 2006 ? 00:01:52 asm_lck0_+ASM1
oracle 2833 1 0 2006 ? 00:00:08 /opt/oracle/10.2.0.1.0/bin/racgimon daemon ora.ricsflgrd401.ASM1.asm
oracle 12457 1 0 2006 ? 00:00:29 ora_asmb_ESM01P1
oracle 11421 1 0 2006 ? 00:00:10 ora_asmb_DUT01P1
oracle 19106 1 0 2006 ? 00:00:12 ora_asmb_FDCOF01T1
oracle 6600 1 0 2006 ? 00:00:00 asm_o000_+ASM1
oracle 6803 1 0 2006 ? 00:00:13 ora_asmb_PSC01P
oracle 10847 1 0 2006 ? 00:00:10 ora_asmb_FDCM02P1
oracle 21633 1 0 11:48 ? 00:00:00 asm_pz99_+ASM1
oracle 21636 1 0 11:48 ? 00:00:00 asm_pz98_+ASM1
oracle 25530 25344 0 11:50 pts/2 00:00:00 grep asmHi;
To create ASM instance you should have OS authentication enabled. To connect as user with SYSASM system privilege refer installation guide on how to enable OS athentication for SYSASMDid you check installation guide for this error, it refers to guide.
Also check [this site|http://neworacledba.blogspot.com/2008/05/sysasm-privilege-for-asm.html] and if its not help try [this search|http://www.google.com.tr/search?hl=tr&source=hp&q=how+to+enable+OS+athentication+for+SYSASM&meta=&aq=f&oq=]
Hope it helps
Regard
Helios -
Expand ASM Diskgroup on RAC 11.2 online
Hi,
I am currently in search of an article or document which describes the following workflow:
Expand ASM Diskgroup on RAC 11.2 online:
Resize physical LUN (no Infos needed)
Resize Multipath
Resize Partition
Resize ASM Disk
Resize ASM DiskGroup ( I dont know if this is necessary?)
It is an Oracle Enterprise Linux 5.5 with 11.2 Clusterware. We use ISCSI Disk, ASMLib and Multipath (Linux -> multipathd).
The main goal is to do that online.
Does anyone know of such an article, or else has other tips regarding this scenario?
Kind Regards,
RichiBelow links may help.
http://www.hds.com/assets/pdf/hitachi-dynamic-provisioning-software-best-practices-guide-oracle.pdf
http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP101586
http://www.oracle.com/technetwork/database/oracle-automatic-storage-management-132797.pdf
Ta
Jag -
RMAN backup goes to filesystem and not to ASM diskgroup
Hi,
DB: 11.2.0.1
OS: Linux
Parameter configured in database:
SQL> show parameter db_recovery_file_dest
NAME TYPE VALUE
db_recovery_file_dest string +BACKUP
db_recovery_file_dest_size big integer 10184M
If i execute the command " RMAN> backup database; " , then the backup ( backup pieces) is going to +BACKUP destination and this is as expected.
But, if i execute the same command using script, then the backup pieces are going to filesystem(default location $ORACLE_HOME/dbs ).
Could you suggest me(if i understood wrongly), why the backup pieces are going to the location of filesystem , and not to the ASM diskgroup ?.
I want to take the backup to ASM diskgroup, because of less space at filesystem.
The script i used is this:
[oracle@rac1 rmanscripts]$ more online.sh
export ORACLE_SID=test;
export NLS_DATE_FORMAT='dd/mm/yy hh24:mi:ss';
umask 022
date
rman target / cmdfile online.rcv msglog online.log
[oracle@rac1 rmanscripts]$ more online.rcv
run {
backup
full
tag b_db_full_test
filesperset 2
format 'df_%d_%t_%s_%p'
database include current controlfile;
Thanks in advance,
Regards,Hi mseberg,
Thanks for your reply and the thing is that the controlfile autobackup is going to ASM diskgroup ( +BACKUP).
Even after changing the suggested config, no luck to me.
RMAN> show all;
RMAN configuration parameters for database with db_unique_name TEST are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 15 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+BACKUP';
CONFIGURE DEVICE TYPE DISK PARALLELISM 3 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/snapcf_test.f'; # default
Backup piece destination info from log is here:
channel ORA_DISK_2: finished piece 1 at 16/02/13 22:41:22
piece handle=/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs/df_TEST_807575973_155_1 tag=B_DB_FULL_TEST comment=NONE
channel ORA_DISK_2: backup set complete, elapsed time: 00:01:49
Finished backup at 16/02/13 22:41:22
Starting Control File and SPFILE Autobackup at 16/02/13 22:41:22
piece handle=+BACKUP/test/autobackup/2013_02_16/s_807576082.342.807576083 comment=NONE
Finished Control File and SPFILE Autobackup at 16/02/13 22:41:25
I cannot understand why this is,
Regards, -
An issue regarding to ASM diskgroup?
Hi, friends:
My db is 10g RAC, using ASM.
I checked alert log, find out
diskgroup DATA was mounted
SUCCESS: diskgroup DATA was dismounted
SUCCESS: diskgroup DATA was mounted
SUCCESS: diskgroup DATA was dismounted
SUCCESS: diskgroup DATA was mounted
SUCCESS: diskgroup DATA was dismounted
in my impression, if disks are mounted for using, they won't dismount unless you did it manully?
anyway, db is healthy, so I conclude my above concept is wrong?
anyone has suggestions?
thank you very much.I'm a little confused:
You said:
Every time it recovers from sleep (unplugged from power source)
If you unplug it, it is turned off - no power > there is no sleep.
So, do you shut down properly? By going to the Apple Menu and choosing shut down?
my Mac doesn't go to sleep when plugged into power source. It just seems to sleep its display, but not the device.
How do you know that only the display is sleeping? -
ASM diskgroups unmounting, getting ORA-01157: cannot identify/lock data fil
All,
We've recently purchased a RAMSAN device for better throughput. I created the initial diskgroup with the following syntax:
CREATE DISKGROUP EMTPRD0X_SSD01 NORMAL REDUNDANCY
FAILGROUP RS1 DISK '/dev/rdsk_ramsan_primary' NAME ssd_prim
FAILGROUP RS2 DISK '/dev/rdsk_ramsan_backup' NAME ssd_bkup;
and then created a temporary tablespace on top of that diskgroup:
create temporary tablespace temp04 tempfile '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g, '+EMTPRD0X_SSD01' size 25g;
Everything seemed fine at first and then end users started seeing the following errors in the alert log:
SUCCESS: diskgroup EMTPRD0X_SSD01 was mounted
SUCCESS: diskgroup EMTPRD0X_SSD01 was dismounted
SUCCESS: diskgroup EMTPRD0X_SSD01 was mounted
SUCCESS: diskgroup EMTPRD0X_SSD01 was dismounted
Tue Oct 12 16:12:51 2010
Errors in file /opt/oracle/oradump/emtprd02/udump/emtprd02_ora_11578.trc:
ORA-01157: cannot identify/lock data file 3009 - see DBWR trace file
ORA-01110: data file 3009: '+EMTPRD0X_SSD01/emtprd0x/tempfile/temp04.256.732210281'
After talking with Oracle support I was told that the only workaround for diskgroups unmounting themselves is to put a control file/redo log/dummy tablespace inside of that diskgroup and continually write/read from it.
Does that make sense?
They pointed me to note 603204.1 - Why FRA Diskgroup Gets Mounted/Dismounted.
The system is a 3 node Oracle 10.2.0.4 rac running on ASM Solaris x86 64bit.
Any ideas?
Thanks,
BrianPost Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version
My db is not in archivelog mode poor choice
and no backup was taken. Worse choise
Is there any way I can recover this db? Recover as in no data loss?
Very doubtful.
Possible to open with data loss.
01157, 00000, "cannot identify/lock data file %s - see DBWR trace file"
// *Cause: The background process was either unable to find one of the data
// files or failed to lock it because the file was already in use.
// The database will prohibit access to this file but other files will
// be unaffected. However the first instance to open the database will
// need to access all online data files. Accompanying error from the
// operating system describes why the file could not be identified.
// *Action: Have operating system make file available to database. Then either
// open the database or do ALTER SYSTEM CHECK DATAFILES.What exactly cause this mess?
Edited by: sb92075 on Jan 7, 2010 8:59 PM -
Hello
I am running Oracle 10g with ASM and I am seeing 1 of my 3 disk groups being mounted and unmounted in the alter log of on database instance.
SUCCESS: diskgroup FLASH was mounted
SUCCESS: diskgroup FLASH was dismounted
On this disk group I have only my archive logs. Is this normal ?Danny,
Are you on RAC? Check this mealink note 361173.1 which talks about the same thing.
Update:
Ignore the messages. They are just informal ones and will be removed from future(!)versions. Basically ASM close (or dismount) those groups when it closes the file descriptors on that DG and mounts when it opens first file on that DG.
Look at this thread over Orafaq where Gopal mentioned for this message this note,
http://www.orafaq.com/maillist/oracle-l/2007/02/18/1244.htm
Aman....
Edited by: Aman.... on Sep 19, 2008 8:52 AM -
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
Hi there,
env:
uname -rm
2.6.18-92.1.22.el5xen x86_64
Single server(non-RAC)
note: we don't want to upgrade 10gr2 database into 11gR2 yet. But we created the 11gR2 ASM, then a 11gr2 database on ASM, and plan to migrate datafile in 10gR2 database to 11gR2 ASM
1. oracle 10gR2 installed first version: 10.2.0.3.0
2. then install 11gR2 Grid Infrastructure, and created ASM (version 11gr2)
$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Tue Oct 19 10:30:56 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> col name form a15
SQL> col COMPATIBILITY form a15
SQL> col DATABASE_COMPATIBILITY form a15
SQL> l
1* select name , STATE, COMPATIBILITY, DATABASE_COMPATIBILITY from v$asm_diskgroup
SQL> /
NAME STATE COMPATIBILITY DATABASE_COMPAT
ORCL_DATA1 MOUNTED 11.2.0.0.0 10.1.0.0.0
ORA_DATA MOUNTED 10.1.0.0.0 10.1.0.0.0
3. in 10gR2 database
sqlplus /
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 19 12:12:31 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning and Data Mining options
SQL> select * from v$asm_diskgroup;
no rows selected
4. pin the node into css
# /u01/app/product/11.2.0/grid/bin/crsctl pin css -n mynodename
CRS-4000: Command Pin failed, or completed with errors.
Question: 10gR2 database can not see the 11gR2 ASM diskgroup?
please help
Thanks
ScottWhat is the output of
olsnodes -t -n
Also, see unix error log and ohasd error log if you find anything in that -
How to restore (not duplicate) DB from RAC ASM to non ASM
Hello everybody,
i am trying to recover db from RAC+ASM to non ASM no RAC node. I am running Oracle 10g (10.2.0.4) on Win2003 Server. I have functional backup from my prod system.
Here are my steps:
*1. On prod server i make backup running this script in RMAN*
configure channel device type 'SBT_TAPE' parms'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=e:\backup)';
RUN {
backup device type SBT_TAPE database tag zal20081129;
SQL 'alter system archive log current';
backup device type SBT_TAPE archivelog ALL tag zal20081129;
*2. I prepared clon instance on another server (The same Oracle version) and start it to nomount mode.*
*3. I copied the backup from prod server to clon server to exactly the same path. (e:\backup)*
*4. I connect to RMAN on my new node and I use the DBID parameter and I restore controlfile.*
rman
connect target /
set DBID 3079749916
startup nomount
run {
allocate CHANNEL CTAPE DEVICE TYPE 'SBT_TAPE' PARMS'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=f:\backup)';
allocate channel CDISK DEVICE TYPE DISK;
restore controlfile from 'f:\backup\78k91lrn_1_1';
alter database mount;
*5.Then I check the backup, crosscheck etc.*
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
169 Full 42.78G SBT_TAPE 01:12:54 04-MAR-09
BP Key: 169 Status: AVAILABLE Compressed: NO Tag: DATAFILES
Handle: 75k91hcj_1_1 Media:
List of Datafiles in backup set 169
File LV Type Ckp SCN Ckp Time Name
1 Full 928460863 04-MAR-09 +DATA/agost/datafile/system.272.668509367
2 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs1.273.668509387
3 Full 928460863 04-MAR-09 +DATA/agost/datafile/sysaux.263.668509393
4 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_data.298.668509401
5 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_index.258.668509401
6 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_blob.259.668509401
7 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.274.668509405
8 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.275.668509533
9 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_data.260.668509661
10 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_index.261.668509661
12 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs2.264.668509661
13 Full 928460863 04-MAR-09 +DATA/agost/datafile/users.265.668509667
14 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.270.668510837
15 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.299.668510843
16 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.300.668510859
17 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.301.668510865
BS Key Size Device Type Elapsed Time Completion Time
171 1.98G SBT_TAPE 00:02:54 04-MAR-09
BP Key: 171 Status: AVAILABLE Compressed: NO Tag: ARCHIVE_LOGS
Handle: 77k91lm2_1_1 Media:
List of Archived Logs in backup set 171
Thrd Seq Low SCN Low Time Next SCN Next Time
1 790 927018133 03-MAR-09 927379509 03-MAR-09
1 791 927379509 03-MAR-09 927635333 03-MAR-09
1 792 927635333 03-MAR-09 927804715 03-MAR-09
1 793 927804715 03-MAR-09 928438198 04-MAR-09
1 794 928438198 04-MAR-09 928496353 04-MAR-09
1 795 928496353 04-MAR-09 928496667 04-MAR-09
2 941 927018173 03-MAR-09 927414357 03-MAR-09
2 942 927414357 03-MAR-09 927725821 03-MAR-09
2 943 927725821 03-MAR-09 927747874 03-MAR-09
2 944 927747874 03-MAR-09 927804436 03-MAR-09
2 945 927804436 03-MAR-09 928375778 03-MAR-09
2 946 928375778 03-MAR-09 928460503 04-MAR-09
2 947 928460503 04-MAR-09 928496341 04-MAR-09
2 948 928496341 04-MAR-09 928496660 04-MAR-09
*6. Then I run this script to restore and recover db.*
run {
SET UNTIL SEQUENCE 795 THREAD 1;
SET UNTIL SEQUENCE 948 THREAD 2;
restore database;
switch datafile all;
recover database;
*7. Everything goes well see under.*
RMAN> 2> 3> 4> 5> 6> 7>
executing command: SET until clause
executing command: SET until clause
Starting restore at 04-MAR-09
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: starting datafile backupset restore
channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387
restoring datafile 00003 to +DATA/agost/datafile/sysaux.263.668509393
restoring datafile 00004 to +DATA/agost/datafile/ifsapp_archive_data.298.668509401
restoring datafile 00005 to +DATA/agost/datafile/ifsapp_archive_index.258.668509401
restoring datafile 00006 to +DATA/agost/datafile/ifsapp_blob.259.668509401
restoring datafile 00007 to +DATA/agost/datafile/ifsapp_data.274.668509405
restoring datafile 00008 to +DATA/agost/datafile/ifsapp_index.275.668509533
restoring datafile 00009 to +DATA/agost/datafile/ifsapp_report_data.260.668509661
restoring datafile 00010 to +DATA/agost/datafile/ifsapp_report_index.261.668509661
restoring datafile 00012 to +DATA/agost/datafile/undotbs2.264.668509661
restoring datafile 00013 to +DATA/agost/datafile/users.265.668509667
restoring datafile 00014 to +DATA/agost/datafile/ifsapp_index.270.668510837
restoring datafile 00015 to +DATA/agost/datafile/ifsapp_index.299.668510843
restoring datafile 00016 to +DATA/agost/datafile/ifsapp_data.300.668510859
restoring datafile 00017 to +DATA/agost/datafile/ifsapp_data.301.668510865
channel ORA_SBT_TAPE_1: reading from backup piece 75k91hcj_1_1
channel ORA_SBT_TAPE_1: restored backup piece 1
piece handle=75k91hcj_1_1 tag=DATAFILES
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 01:25:12
Finished restore at 04-MAR-09
Starting recover at 04-MAR-09
using channel ORA_DISK_1
using channel ORA_SBT_TAPE_1
starting media recovery
channel ORA_SBT_TAPE_1: starting archive log restore to default destination
channel ORA_SBT_TAPE_1: restoring archive log
archive log thread=1 sequence=794
channel ORA_SBT_TAPE_1: restoring archive log
archive log thread=2 sequence=947
channel ORA_SBT_TAPE_1: reading from backup piece 77k91lm2_1_1
channel ORA_SBT_TAPE_1: restored backup piece 1
piece handle=77k91lm2_1_1 tag=ARCHIVE_LOGS
channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:02:26
archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC thread=1 sequence=794
archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC thread=2 sequence=947
channel default: deleting archive log(s)
archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC recid=1563 stamp=680629925
channel default: deleting archive log(s)
archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC recid=1562 stamp=680629925
media recovery complete, elapsed time: 00:00:13
Finished recover at 04-MAR-09
*8. Then when i want to open database*
using command 'Alter system open resetlogs;' I got this error:
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 03/05/2009 07:26:03
RMAN-06003: ORACLE error from target database:
ORA-00600: internal error code, arguments: [kgeade_is_0], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/]
In the alert log I have got this error: (for every log group)
ORA-00313: open failed for members of log group 4 of thread 2
ORA-00312: online log 4 thread 2: '+FLASHBACK/agost/onlinelog/group_4.260.668510637'
ORA-17503: ksfdopn:2 Failed to open file +FLASHBACK/agost/onlinelog/group_4.260.668510637
ORA-15001: diskgroup "FLASHBACK" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager
ORA-00312: online log 4 thread 2: '+DATA/agost/onlinelog/group_4.268.668510633'
ORA-17503: ksfdopn:2 Failed to open file +DATA/agost/onlinelog/group_4.268.668510633
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager
So obviouslly database wants to open online logs in the path like ASM. Which is wrong. What should I do to tell database to open it according to init.ora parameters
*.db_create_file_dest='e:\oradata\agost'
*.db_create_online_log_dest_1='e:\oradata\agost'
Any suggestions???
ThanksHi,
thanks for you quick answer. But I do restore to the local file system, even if the log says:
restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387 .....
all the datafiles are correctly restored. I think oracle uses the parameter db_create_file_dest and creates the files there.
I tried also the script with SET NEW NAME:
run {
Set newname for datafile 1 to 'e:\oradata\AGOST\system.272.668509367';
Set newname for datafile 2 to 'e:\oradata\AGOST\undotbs1.273.668509387';
Set newname for datafile 3 to 'e:\oradata\AGOST\sysaux.263.668509393';
Set newname for datafile 4 to 'e:\oradata\AGOST\ifsapp_archive_data.298.668509401';
Set newname for datafile 5 to 'e:\oradata\AGOST\ifsapp_archive_index.258.668509401';
Set newname for datafile 6 to 'e:\oradata\AGOST\ifsapp_blob.259.668509401';
Set newname for datafile 7 to 'e:\oradata\AGOST\ifsapp_data.274.668509405';
Set newname for datafile 8 to 'e:\oradata\AGOST\ifsapp_index.275.668509533';
Set newname for datafile 9 to 'e:\oradata\AGOST\ifsapp_report_data.260.668509661';
Set newname for datafile 10 to 'e:\oradata\AGOST\ifsapp_report_index.261.668509661';
Set newname for datafile 12 to 'e:\oradata\AGOST\undotbs2.264.668509661';
Set newname for datafile 13 to 'e:\oradata\AGOST\users.265.668509667';
Set newname for datafile 14 to 'e:\oradata\AGOST\ifsapp_index.270.668510837';
Set newname for datafile 15 to 'e:\oradata\AGOST\ifsapp_index.299.668510843';
Set newname for datafile 16 to 'e:\oradata\AGOST\ifsapp_data.300.668510859';
Set newname for datafile 17 to 'e:\oradata\AGOST\ifsapp_data.301.668510865';
Set newname for tempfile 1 to 'e:\oradata\AGOST\temp.276.668509397';
SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_1.257.668509351'' TO ''e:\oradata\AGOST\REDO02.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_2.257.668509357'' TO ''e:\oradata\AGOST\REDO03.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_2.258.668509361'' TO ''e:\oradata\AGOST\REDO04.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_3.266.668510623'' TO ''e:\oradata\AGOST\REDO05.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_3.259.668510627'' TO ''e:\oradata\AGOST\REDO06.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_4.268.668510633'' TO ''e:\oradata\AGOST\REDO07.LOG'' ";
SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_4.260.668510637'' TO ''e:\oradata\AGOST\REDO08.LOG'' ";
SET UNTIL SEQUENCE 795 THREAD 1;
SET UNTIL SEQUENCE 948 THREAD 2;
restore database;
switch datafile all;
recover database;
But it gives me this error in RMAN:
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
sql statement: ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG''
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 03/06/2009 10:48:55
RMAN-20000: abnormal termination of job step
RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG'
RMAN-11001: Oracle Error:
ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
and in alert log i have got this:
Errors in file c:\oracle\product\10.2.0\admin\agost\udump\agost_ora_3200.trc:
ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
Fri Mar 06 10:48:55 2009
ORA-600 signalled during: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG' ...
dont know what to do.
There must be way how to recover it. I think my first try (without SET NEWNAME) is closer to the end, there is only need to "repair" the online logs.
Any other suggestions?
thanks
Maybe you are looking for
-
I have a Mirror Door G4 tower that I would like to use as a media center, with an old(er) Magnavox 19" television that only has the single yellow VIDEO IN jack, and the red and white audio L and R. Is there a converter cable that is similar to the on
-
Is there any workaround to get classic to boot with extensions? (ATI's site says that this card does not support classic).
-
Hi, for some reason my EVB3 Tonewheel organ is not producing any sound, it opens along with the organ files in the library but absolutely no sound is being produced! Could anyone possibly explain this to me and what I can do to sort this out, it work
-
Hi ! I have a smartform which is syantactically correct and I have saved and activated the form successfully. When I try running it with the delivery number , somehow it dosent show me the output and a message appers below the screen saying"Output co
-
Hi, i've recently shot a stop motion movie. I have transferred the pictures into Iphoto, and opened them up in Imovie, but when i try to add them with a 0:03 frame rate via the photo settings, it does nothing! HELP!