Migrate 11gR2 to ASM
We are planning to migrate 11gR2 EBS database from normal SAN storage(non ASM) to ASM file system on same unix server.
Please provide the mos doc id's for the same.
There are different ways to move datafile between non-asm to asm or vice-versa. Let me give some examples/methods that I've used quite often.
- RMAN backup/restore.
- RMAN convert command to move individual file.
- ASMCMD- cp command (11g onwards)
you can go with any one...
Similar Messages
-
Migration of Non-ASM DB to ASM
Trying to Migrate data on ASM done all The steps
But unable to copy redologs via RMAN done the following steps
Shut immediate
Startup nomount;
RMAN> RESTORE CONTROLFILE FROM '/data/db/newdb/control01.ctl';
RMAN> Alter database MOUNT;
RMAN> BACKUP AS COPY DATABASE FORMAT '+SDC';
RMAN> SWITCH DATABASE TO COPY;
These command are successfully executed now the command is not executing
alter database rename '/data/db/newdb/redo01.log' to '+NEW';
ORA-02231: missing or invalid option to ALTER DATABASE
Please suggest. . . .Hi
1. set control_files='+ASM_Disk_group/control01.ctl'
2. Startup nomount
3. connect to target and restore the contolfile. Restore controlfile from ' '
4. alter database mount
5. backup as copy database format '+ASM_DSKGRP';
6. switch database to copy;
7. run {
set newname for tempfile 1 to '+ASM_Disk_group';
set newname for tempfile 2 to '+ASM_Disk_group';
switch tempfile all;
8. alter database open
9. SELECT a.group#, b.member, a.status FROM v$log a, v$logfile b WHERE a.group#=b.group#;
ALTER DATABASE ADD LOGFILE MEMBER '+ASM_Disk_group' TO GROUP 1;
ALTER DATABASE ADD LOGFILE MEMBER '+ASM_Disk_group' TO GROUP 2;
ALTER DATABASE DROP LOGFILE MEMBER '<old_fname_of_log_member_1>';
ALTER SYSTEM SWITCH LOGFILE;
ALTER DATABASE DROP LOGFILE MEMBER '<old_fname_of_log_member_2>';
ALTER SYSTEM SWITCH LOGFILE;
Anand -
ASM instance migration from non-asm in windows
hi,
i am looking for migration steps to asm from non-asm in windows platform. oracle version is 10.2.0.2.0 any metalink id's or Docs would be great.
i just had raw disk allocated in my windows but asmtoolg could not find the disk while configuring ?had better post your question in ASM forum, you will get better guidance/reply there.
Forum Home » Grid Computing » Automatic Storage Management
Automatic Storage Management -
Migrate to new ASM space..
What I should do, if I want to migrate to new ASM space? How to migrate from old to new?
tutus wrote:
What I should do, if I want to migrate to new ASM space? How to migrate from old to new?What's the db version? What you mean by "migrate to new asm space" ? You mean from File system to ASM or from ASM on disk group1 to another disk group?
HTH
Aman.... -
Hi Guys,
Someone have
Tutorial step-by-step or video explaing How to migration FIlesytem to ASM?
Tks,
LorranHi,
You can follow the below article steps to migrate the database from filesystem (Non-ASM) to ASM.
Steps To Migrate/Move a Database From Non-ASM to ASM And Vice-Versa (Doc ID 252219.1)
and also refer OTN document
Performing Oracle ASM Data Migration with RMAN -
How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM
Hi Expert
I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
Regard
WilliamHi William,
See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
Hope this help you.
Best Regards,
Ruben Morais -
How to migrate 11gr2 standby database from file system to ASM
Hi,
I have 11gR2 data guard setup of 2 node RAC primary and stand alone standby database.
Primary RAC uses ASM, and stand alone standby DB uses normal file system for data files and archive logs. I want to migrate the stand alone standby DB from file system to ASM.
If you have any ideas or documents on it, kindly please share with me.
Thanks in advance,
MahipalMahi wrote:
Hi Fran,
Thanks a lot for the quick reply. I have another question, I want to have standby in ASM; but ASM home is grid home(CRS+ASM) in 11gr2.
I don't want to configure CRS now for standby, only want to have ASM storage. s it possible to install the grid home only for ASM and not for CRS?
On a stand-alone system, there are still CRS/Grid components that are a part of the ASM install. You cannot NOT install it.
>
Thanks,
Mahi -
Database migration filesystem to asm
Hi
Let say I have a file system database. (10g on linux)
In other server, I installed fresh oracle 11.2.0.2 with asm on linux
What is the best way to migrate this database to this new server?In the asm migration documents "rman BACKUP AS COPY" command is recommended.
However, ASM will be on different server, it will not be on local server.
What should be the correct steps to migrate the database to different server with ASM ?
Also, as I mentioned in my first post, I am going higher version of oracle. -
Can't create 11gR1 Database with 11gR2 CRS/ASM non RAC, dbca ASM password
Hi,
try to create a 11gR1 SE Database on a single server with 11gR2 ASM up and running.
when dbca ask where to store the datafiles and i choose ASM, i have to give the asm sys password which i know (can connect with sql+).
dbca replies wrong password and i can NOT go further.
is it possible to use 11gR2 ASM with 11gR1 database and create a database with dbca?
any hint for this situation?
thanks
Michael
Edited by: user12132314 on 18.07.2010 22:24Hello,
i tried again - still don't work
it is dbca step 6 from 16, storage option (or something simiular - dbca lang here is german)
the dialog looks like this
ASM-ID-Data (Titel)
enter ASM specific SYS password (prompt)
entering the correct pwd and push OK
dbca shows a error dialog with something like: password for user SYS not valid. Enter a valid password.
Any help?
Michael -
Hi,,
I have oracle 10gR2 on RHEL5.i want to migrate my DB to ASM instances.can any one provide me the step by step documentation.
Regards,
MugunthHi,
check
http://www.oracledba.org/10g/asm/migrating_DB_to_ASM.html
http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CCAQFjAC&url=http%3A%2F%2Fwww.oracle.com%2Ftechnology%2Fdeploy%2Favailability%2Fpdf%2FTechnical_WP_ASM_Migration.pdf&ei=dmt7TMzXFYKlceuStIIG&usg=AFQjCNEbuMRtFh8V2q3noDRRVQXbOGcm2w&sig2=rE6pNcqYm9fYar1V_oQL0A -
Questions on Configuring 11gR2 Database ASM Libraries on VM
Folks,
Hello. I am installing Oracle 11gR2 RAC system using 2 Virtual Machines (rac1 and rac2 - Oracle Linux 5.6) on the top of VMPlayer.
I am configuring ASM libraries on rac1 using the command: [root@rac1 dev]# oracleasm configure -i
But this message comes up:"Command not found."
I cannot find the directory where "oracleasm" is located. Can any folk help to solve the issue ?
Thanks in advance.user8860348 wrote:
Folks,
Hello. I am installing Oracle 11gR2 RAC system using 2 Virtual Machines (rac1 and rac2 - Oracle Linux 5.6) on the top of VMPlayer.
I am configuring ASM libraries on rac1 using the command: [root@rac1 dev]# oracleasm configure -i
But this message comes up:"Command not found."
I cannot find the directory where "oracleasm" is located. Can any folk help to solve the issue ?
Thanks in advance.
>Folks,
Hello. I am installing Oracle 11gR2 RAC system using 2 Virtual Machines (rac1 and rac2 - Oracle Linux 5.6) on the top of VMPlayer.
I am configuring ASM libraries on rac1 using the command: [root@rac1 dev]# oracleasm configure -i
But this message comes up:"Command not found."
I cannot find the directory where "oracleasm" is located. Can any folk help to solve the issue ?
Thanks in advance.
what is OS name & version? -
11gR2 RAC, ASM and database
Hi all,
I've installed 11gR2 RAC and database on Linux OEL 5.4. Everything seems Ok, I'm able to connect from client using SCAN, and load balancing works well, but "crs_stat -t" shows up some OFFLINE services, like gsd and oc4j.
Is this normal ? If yes, why it's so ? If not, what should I do to solve the problem ?
Thanks in advance.
AntoineThanks for your answer.
Those services are disabled, and I've found this one on MOS FAQs :
With Oracle Clusterware 11g Release 2, the GSD resource will be disabled by default. You only need to enable this resource if you are running Oracle 9i RAC in the cluster. -
Migration Of Non-ASM 11g Database To ASM
Hi Team,
I have an instance with a standby database and Primary instance has been converted to Non-ASM to ASM(File System).
Currently i have online redolog files and standby logfiles in my primary instance and i need to recreate log files in ASM.
Do i need to convert standby instance in to ASM too?
If not, can I hold my primary log files in ASM path and keep standby server logfiles as it is?
Please advice.
Thanks,
Charith.Oracle allows a mix of ASM and non-ASM files at both Primary and Standby site.
The only issue is that it might confuse the next DBA when you have such a mix unless you document and explain this clearly.
Hemant K Chitale -
ORA-01652 unable to extend temp segment in 11gR2 with ASM and 2 node RAC
Hi ,
I have a 11.2.0.1 system with 2 node RAC and ASM . We are hitting ORA-01652 very frequently
and I can see space is available in TEMP .
CREATE TEMPORARY TABLESPACE "TEMP" TEMPFILE
SIZE 21474836480,
SIZE 137437904896
AUTOEXTEND ON NEXT 655360 MAXSIZE 131071M ( Will the next size ignored as the extent size is 1MB ?)
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576
And during the failure
SELECT tablespace_name,
total_blocks,
used_blocks,
free_blocks,
total_blocks*32768/1024/1024 as total_MB,
used_blocks*32768/1024/1024 as used_MB,
free_blocks*32768/1024/1024 as free_MB
FROM gv$sort_segment;
TABLESPACE_NAME TOTAL_BLOCKS USED_BLOCKS FREE_BLOCKS TOTAL_MB USED_MB FREE_MB
TEMP 4849568 2385728 2463840 151549 74554 76995
TEMP 0 0 0 0 0 0
Also when I checked from v$sort_usage I see only two session consuming space
SQL> SELECT b.tablespace tablespace,
2 -- b.segfile#,
3 -- b.segblk#,
4 b.blocks,
5 b.blocks * (SELECT value FROM v$parameter WHERE name = 'db_block_size')/1024/1024 bytes,
6 a.sid,
7 a.username username,
8 a.osuser osuser,
9 a.inst_id,a.sid,a.serial#,a.module
10 FROM gv$session a, gv$sort_usage b
11 WHERE a.saddr = b.session_addr and
12 b.blocks != 16 and
13 a.inst_id = b.inst_id
14 ORDER BY b.tablespace, b.blocks, bytes desc;
BLOCKS BYTES SID USERNAME OSUSER INST_ID SID SERIAL# MODULE
1,192,864 37277 381 CN obiqb 2 381 860 nqsserver@icmqapp01cdp (TNS V1
1,192,864 37277 3952 CN obiqb 2 3952 1374 nqsserver@icmqapp01cdp (TNS V1
2,385,728 74554 (mb)
Wat is causing the 1652 ?877394 wrote:
Thanks Srini,
But I did try all that notes with no luck .
I have a temporary tablespace with 150gb (130+20) datafiles .
TABLESPACE_NAME FILE_NAME (BYTES/1024/1024)
TEMP +DATA_01/tempfile/temp.314.743964 131071
TEMP +DATA_01/tempfile/temp.312.757303 20480
and the DDL is
CREATE TEMPORARY TABLESPACE "TEMP" TEMPFILE
SIZE 21474836480,
SIZE 137437904896
AUTOEXTEND ON NEXT 655360 MAXSIZE 131071M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576
And on querying v$sort_usage
SQL> SELECT b.tablespace tablespace,
2 -- b.segfile#,
3 -- b.segblk#,
4 b.blocks,
5 b.blocks * (SELECT value FROM v$parameter WHERE name = 'db_block_size')/1024/1024 bytes,
6 a.sid,
7 a.username username,
8 a.osuser osuser,
9 a.inst_id,a.sid,a.serial#,a.module
10 FROM gv$session a, gv$sort_usage b
11 WHERE a.saddr = b.session_addr and
12 b.blocks != 16 and
13 a.inst_id = b.inst_id
14 ORDER BY b.tablespace, b.blocks, bytes desc;
TABLESPACE BLOCKS BYTES SID OSUSER INST_ID SID SERIAL# MODULE
TEMP 63,328 1,979 3952 CN 2 3952 1374
TEMP 84,384 2,637 381 CN 2 381 860
TEMP 433,184 13,537 381 CN 2 381 860
TEMP 1,117,728 34,929 3952 CN 2 3952 1374
sum 1,698,624 53,082 (mb)
So the space utilization was less than 150gb and on querying v$sort_Segment
SQL> SELECT tablespace_name,
total_blocks,
used_blocks,
free_blocks,
total_blocks*32768/1024/1024 as total_MB,
used_blocks*32768/1024/1024 as used_MB,
free_blocks*32768/1024/1024 as free_MB
FROM gv$sort_segment;
TABLESPACE_NAME TOTAL_BLOCKS USED_BLOCKS FREE_BLOCKS TOTAL_MB USED_MB FREE_MB inst
TEMP 4849568 2311104 2538464 151549 72222 79327 2
TEMP 0 0 0 0 0 0 1
why for inst 1 it is showing 0 (which means no sort is happening in instance 1)
But still we got the error
ORA-1652: unable to extend temp segment by 32 in tablespace TEMP
01652, 00000, "unable to extend temp segment by %s in tablespace %s"
// *Cause: Failed to allocate an extent of the required number of blocks for
// a temporary segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated. -
Migration to an asm instance. plz help me urgent
RMAN> BACKUP AS COPY DATABASE FORMAT '+DGROUP1';
Starting backup at 20-AUG-07
Starting implicit crosscheck backup at 20-AUG-07
using target database controlfile instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=328 devtype=DISK
ORA-19501: read error on file "+DGROUP1/sravan/backupset/2007_08_03/nnsnf0_ora_asm_migration_0.260.1", blockno 1 (blocksize=512)
ORA-17507: I/O request size is not a multiple of logical block size
Crosschecked 7 objects
Finished implicit crosscheck backup at 20-AUG-07
Starting implicit crosscheck copy at 20-AUG-07
using channel ORA_DISK_1
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block size
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 08/20/2007 16:53:21
ORA-19587: error occurred reading 8192 bytes at block number 1
ORA-17507: I/O request size 8192 is not a multiple of logical block size> plz help me urgent
Adjective
* S: (adj) pressing, urgent (compelling immediate action) "too pressing to permit of longer delay";So you are saying that your problem is a lot more important than any other person's problem on this forum?
And you're demanding a quick response from professionals that give you and others assistance here in their free time without getting a single cent compensation?
Don't you think that this "it is urgent!" statement severely lacks manners?
Maybe you are looking for
-
Hello, Please help me resolve this issue: All of the sudden my iphone 4s is not able to receive/send emails on any of my 3 accounts ( exchange, gmail, hotmail). I had IOS 5.1 when this issue happened. Then I updated to 5.1.1, same issue. I have de
-
Hi I wonder if the Exists condition can be used in the CDS view (WHERE EXISTS (SELECT * FROM .... ) . I actually never managed to used subqueries in any cds view so I wonder if this is a limitation for CDS view or if I just do not get the syntax rig
-
Oracle Reports 6.0 Issue(emsg:was terminated by signal 11)
Hi All.. When i am running one oracle report i am getting following error. stat_low = 8B stat_high = 0 emsg:was terminated by signal 11 Please advise how to identify this error and debug the report. Thanks in advace.. Binu
-
Cannot display turkish character in publication mhtml output
Hi there, I have a problem on displaying turkish character on BusinessObjectsXI3.1 publication mhtml output. I have set a report scheduled and shown result on email body as html and all turkish character turn into a different characters. Database loc
-
A popup message when i double click a packagebody
hi, i get a problem when i use the sqldeveloper 3.0, usually when i double click a packagebody and there will be a popup message: the connection is busy.try again? is it the expected alert? Thanks.