Datapump TTS from filesystem to ASM migration
Hi Experts,
I have to move the 1.5 TB of data which is on filesystem running on Solaris SPARC (single instance) to Linux x86 RAC (10.2.0.4) with ASM. I am considering the Transportable tablespaces option using datapump. But I have done the filesystem to filesystem datapump for TTS. Is there any way that I can use datapump TTS for filesystem to ASM directly ? Any suggestion and comments please.
Thanks
Shashi
I'm not sure what your question is. Data Pump works with ASM and supports transportable. You would have to copy your data files from your file system to your asm file system, then do the export on your source, copy the dumpfile to your asm target and then run data pump. If you have more specific questions, please list them.
Hope this helps.
Thanks
Dean
Similar Messages
-
RMAN copy datafiles from filesystem to ASM
DB version: 10.2.0.4
I need to copy 650G of datafiles from filesystems to ASM. Could someone let me know how to use RMAN parallelism for this?.
I'm using the command as below.
backup as copy datafile '/tmp/datafile1.dbf' format '+DATA';
backup as copy datafile '/tmp/datafile2.dbf' format '+DATA';I also tried the below. But, it's also running long. Each 32G datafile is taking almost 3 hours to copy into ASM.
run {
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;
allocate channel ch5 type disk;
allocate channel ch6 type disk;
allocate channel ch7 type disk;
allocate channel ch8 type disk;
copy
datafile ' 1.dbf'to '+DATA',
datafile ' 2.dbf'to '+DATA',
datafile ' 3.dbf'to '+DATA',
datafile ' 4.dbf'to '+DATA',
datafile ' 5.dbf'to '+DATA',
....} -
Filesystem to ASM migration in streams setup
Hi All,
We have a Bi Directional replication setup between databases A and B.
Database A [ 10.2.0.4 ] is already in ASM
Database B [ 10.2.0.4 ] is in Filesystem and we migrated it to ASM now..
Steps taken...
1. Stopped Bi Directional replication
2. Migrated Database B to ASM [ this includes Temp and redo log files - we dropped and recreated the INACTIVE redo log ] All datafiles, temp and redo, archive log dest was changes to ASM disk group...
3. Started the Bi directional streams
4. Updates from Database A coming to B without any issues and apply process is updating the database B tables.
5. But Database A apply process is not applying the changes made in Database B.
All the capture, propogation and apply process are running on both sides.
Please advise.
Thanks & Regards,
Rakesh
Edited by: Oracleappsdba on Jan 14, 2011 9:28 AMHi All,
We found that the propagation is ending in error with
ORA-00604: error occurred at recursive SQL level 4
ORA-12154: TNS:could not resolve the connect identifier specified
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 1087
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 7639
ORA-06512: at "SYS.DBMS_AQADM", line 631
ORA-06512: at line 1
This is happening only after the ASM migration. We can able to connect to the target database with the db link from the user directly without any issues. Its erroring only through propagation process.
Please advise.
Thanks & regards,
Rakesh -
I am running 10.2.0.3 on Oracle linux "OEL4" with ext3 filesystem.
I just receive a brand new server and i want to move my actual database into it.
I want to run my 10.2.0.3 database on asm 11g into my new server.
Once asm testing is over, il migrate my 10.2.0.3 to 11g database.
I saw documentation on migrating filesystem to asm, but it seems that the example given is where a database with the filesystem resides on the same machine.
Is there documentation somewhere on how to migrate my database into asm, but not on the same machine?
Or do you know the steps i need to perform to do this?What makes it complex is the following:
1- Lack of space on my new server to run both filesystem and migrate to asm.
2- 32 bits to 64 bits migration.
3-The database is 1.1T in size, a little to much for an export/import
Here is what I am going to do. I will try that today.
I have 3 servers.
Server A: I have my actual database on OEL4 32 bits with oracle 10g on filesystem
Server B: I will install OEL5 64 bits running 10g filesystem
Server C: I will install OEL5 64 bits running 10g database with ASM
Steps:
1) Restore a rman backup of my database on server B
2) migrate the database on server B to 64 bits
3) NFS mount server B from Server C
Mount the database
Perform a Rman backup with location = ASM
Switch database to copy; -
Having trouble move Spfile from filesystem to asm
I find out the db started with :
Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfileTST1.ora
Tried to create a pfile, then create a spfile ='+DAT' won';t work with ora-03113 error.
I did srvctl config database, the spfile is point to +dat
Database unique name: TST
Database name: TST
Oracle home: /u01/app/oracle/product/11.2.0/dbhome_1
Oracle user: oracle
Spfile: DAT/TST/spfileTST.ora
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: TST
Database instances: TST1,TST2
Disk Groups: DAT,FRA
Mount point paths:
Services:
Type: RAC
Database is administrator managed
How do I get around this issue and put spfile on ASM so I can bring the RAC instances?
Thanks in advance.SQL> show parameter db_create
NAME TYPE VALUE
db_create_file_dest string +HR_DAT
db_create_online_log_dest_1 string +HR_DAT
db_create_online_log_dest_2 string +HR_FRA -
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 -
We moved a database from HP/UX to linux, upgraded oracle from 11.2.0.1 to 11.2.0.3, and from filesystems to ASM. The new server has 32 cores and 500gb of memory. the old server has less than half of that. Queries take twice as long to run on the new server as on the old server. We've tested to eliminate I/O as the issue by creating a local filesystem and creating the database there. The performance was still double over the old database. We also moved the database to a 3rd server, using ASM and 11.2.0.3 of oracle for testing to prove to the systems administrator that it wasn't a database problem. The performance on the 3rd server is incredibly fast. This points to something on the new server. Does anyone have any ideas of what to look at next, keeping in mind that we've tested the heck out of I/O.
Thanks for any assistance.Well, a few details about your configuration could help:
What does /proc/meminfo on the server show?
How is the storage connected?
What does: "# /sbin/ifconfig -a" show?
Are you using ASMLIB or straight ASM?
Are you using multipath connections to storage? If so, make sure that "/etc/multipath.conf" actually identifies the composite device and not one of the physical paths.
Are there any entries in "/var/log/messages" while running the ASM testing?
I'm sure these questions will stimulate others. -
How to copy DB files from UNIX filesystem to ASM in RMAN?
Hi,
I have a cold backup copied from a RAC ASM by using RMAN to UNIX filesystem. I made it like this:
RMAN> run
copy datafile 1 to '/backup/PDAMLPF2/offline/system.306.715096785';
copy datafile 2 to '/backup/PDAMLPF2/offline/undotbs1.260.715096755';
Now, I need to restore (or copy) this cold backup into another RAC ASM system to create a DB. How can I do the copy back?
Thanks for advise!If you are using 11.1 or above you can use asmcmd cp command otherwise use dbms_file_transfer package. But keep in mind that since you are not using RMAN in any of those stages you will need to modify controlfile anyhow.
Regards,
Husnu Sensoy -
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. -
Single 10g Instance to RAC - without ASM migration
Is it possible to comment the following steps to convert existing 10.1.0.5 single instance database to RAC? We're using OCFS2 and it is not possible to perform ASM migration.
1. Copy the existing $ORACLE_HOME/dbs/init<SID1>.ora to
$ORACLE_HOME/dbs/init<db_name>.ora. Add the following parameters to
$ORACLE_HOME/dbs/init<db_name>.ora:
*.cluster_database = TRUE
*.cluster_database_instances = 2
*.undo_management=AUTO (Add if you don't have it )
<SID1>.undo_tablespace=undotbs (undo tablespace which already exists)
<SID1>.instance_name=RAC1
<SID1>.instance_number=1
<SID1>.thread=1
<SID1>.local_listener=LISTENER_RAC1
where LISTENER_RAC1 is an entry in the tnsnames.ora file like:
LISTENER_RAC1 =
(ADDRESS = (PROTOCOL = TCP)(HOST = <node1>)(PORT = 1521))
Keep only one line in $ORACLE_HOME/dbs/init<SID1>.ora:
ifile=$ORACLE_HOME/dbs/init<db_name>.ora
You could also create a common spfile from this pfile and add a line
like spfile=$ORACLE_HOME/dbs/spfile<db_name>.ora in each init<SIDn>.ora
file. For more details about how to do this, please refer to Note 136327.1.
2. Open your database and run $ORACLE_HOME/rdbms/admin/catclust.sql to create
cluster database specific views within the existing instance.
3. Recreate control file if you defined maxinstances to be 1 when you created
the single instance database.
To check your current setting of maxinstances, run the following command
while the database is mounted or open and connected as a user with DBA
privileges:
% sqlplus /nolog
SQL> connect / as sysdba
SQL> startup mount
SQL> alter database backup controlfile to trace;
The trace file is located in udump directory. Check the maxinstance value
in the CREATE CONTROLFILE statement. Please refer to Note 118931.1
Recreating the Controlfile in RAC and OPS
4. Add instance specific parameters in the init<db_name>.ora for the second
instance on the second node and set appropriate values for it:
*** Names may need to be modified
<SID2>.instance_name=RAC2
<SID2>.instance_number=2
<SID2>.local_listener=LISTENER_RAC2
<SID2>.thread=2
<SID2>.undo_tablespace=UNDOTBS2
<SID2>.cluster_database = TRUE
<SID2>.cluster_database_instances = 2
where LISTENER_RAC2 is an entry in the tnsnames.ora file like:
LISTENER_RAC2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = <node2>)(PORT = 1521))
5. From the first instance, mount the database and run the following command:
*** Path names, file names, and sizes will need to be modified
alter database
add logfile thread 2
group 3 ('/dev/RAC/redo2_01_100.dbf') size 100M,
group 4 ('/dev/RAC/redo2_02_100.dbf') size 100M;
alter database enable public thread 2;
6. Create a second Undo Tablespace from the existing instance:
*** Path names, file names, and sizes will need to be modified
CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE
'/dev/RAC/undotbs_02_210.dbf' SIZE 200M ;
7. Set ORACLE_SID and ORACLE_HOME environment variables on the second node.
8. Start the second Instance.In order not to affect the current home on node1, another user oracle2 is created which belong to racinstall group. On node2, which doesn’t have any oracle home installed, CRS will be installed so that node2 will become the primary node.
Been looking into this CRS for sometime as the installation has failed due to OCFS2 kernel panic upon running root.sh on the second node. Performed the cleanup as described Doc ID: Note:239998.1 (10g RAC: How to Clean Up After a Failed CRS Install), but now, the installation is failing and giving the error “ File not found /ClusterCRS/install/rootadd”. This message didn’t appear the first attempt which could indicate that the cleanup described in the note was not sufficient. -
How to delete client from oracle 10g ASM
Hi,
I would like to know how to delete client from oracle 10g ASM, while configuring Dataguard in same windows os i have by mistake created the standby in ASM.
However later i have corrected the datafile destination. My Primary database is in ASM and the standby in disk.
Could anyone please tell me how do i delete the client from ASM. On view from asmcmd it shows db_unknown and from v$asm_client
GROUP_NUMBER INSTANCE_NAME
DB_NAME STATUS
SOFTWARE_VERSION
COMPATIBLE_VERSION
1 stby
stby CONNECTED
10.2.0.1.0
10.2.0.1.0
Thanks and regards,
shaanHi Deepak,
Pls see the result from the view, i wanted to delete stby
SQL> select * from v$asm_client;
GROUP_NUMBER INSTANCE_NAME
DB_NAME STATUS
SOFTWARE_VERSION
COMPATIBLE_VERSION
1 prim
prim CONNECTED
10.2.0.1.0
10.2.0.1.0
2 prim
prim CONNECTED
10.2.0.1.0
10.2.0.1.0
1 stby
stby CONNECTED
10.2.0.1.0
10.2.0.1.0
regards,
shaan -
Procedure to grab PDF from fileSystem store into LONGRAW Datatype.
Hi All,
I have found there are ways to store PDF's from file system into BLOB datatype, but not into LONGRAW. In PeopleSoft we have only LONGRAW type.
Can any one send some hints to load PDF's from filesystem into Oralce 10g LONGRAW column.
Thanks in Advance.Hi All,
I have found there are ways to store PDF's from file system into BLOB datatype, but not into LONGRAW. In PeopleSoft we have only LONGRAW type.
Can any one send some hints to load PDF's from filesystem into Oralce 10g LONGRAW column.
Thanks in Advance. -
I have a new Macbook Pro. All data from prior Mac was migrated to the new Mac. I want to continue Time Machine on the new Mac and retain the history. An option is to "inherit" the old Time Machine. I want to make sure this does not errase the current data, but creates a current backup.
Please visit Pondini's Time Machine FAQ for help with all things Time Machine.
-
Starting the datapump jobs from client side
sir
please make me understand
datapump is server side utility means we can not invoke it from client. but in documents (oracle).
they r talking that we can start the datapump job from client(Sqlplus) but the dmp files will be saved and the process will run on the server side
so how can invoke the datapump from the client side (SQL Plus) ?user13014926 wrote:
sir
please make me understand
datapump is server side utility means we can not invoke it from client.That's wrong to say and understand. The correct understanding should be that it's configured only for server side which means, that the folder where the dump files would be created would be available on a folder which must be there on the server side and over which, proper permissions must be available to you in the form of Directory object. There is no such thing that it can't be invoked sitting on the client side. It surely can but unlike the traditional export, there is no facility available anymore to give absolute file paths which would store the file on the local client machine.
but in documents (oracle).
they r talking that we can start the datapump job from client(Sqlplus) but the dmp files will be saved and the process will run on the server sideAll what they are saying is that since the datapump's API, DBMS_DATAPUMP , is completely exposed and is documented, it can be used by the client and as like any other package, either stored or created, can be invoked from the sqlplus session. The dump files location would indeed be on the server side only.
so how can invoke the datapump from the client side (SQL Plus) ?As mentioned already by Srini, using the API .
Aman.... -
Restore from Time Capsule using Migration Assistant
When I try to restore my backup from Time Capsule using Migration Assistant it cannot find any backups on Time Capsule HDD.
Time Capsule works just fine, using TC Application I can restore single files, there is also XXXXXX.sparsebundle file on Time Capsule HDD which I can mount with no problem and see all of my backups.
Where is the problem?Hi,
I just ran into the same problem, neither the Migration Assistant nor "Restore from Backup" from the 10.5 Install DVD would find a valid backup on my Time Capsule (which kinda renders it useless).
After some googling and trial and error I found a workaround using Terminal. I don't know why mounting the sparebundle image with Disk Utility wouldn't work, but it isn't available when your computer crashed anyway... So here is my method:
-Boot from the System DVD, choose the language
(-Goto Utilities and start the Disk Utility and reformat your drive, if on Intel check that you partition it with GUID, NOT Apple Partition Scheme NOR MBR, restart from DVD) only if something went wrong with your disk like in my case
-Goto Utilities and start Terminal
-In Terminal first make a directory for the mount, type: mkdir /Volumes/MyBackup
-Then mount the Time Capsule and link it to the folder you created, type: mount -t afp afp://myuser:mypassword@IPAdressOfMyTimecapsule/VolumeWhereMyBackupIs /Volume/MyBackup
-The AFP-Volume is now mounted, but you can't see anywhere.
-Quit Terminal, this will bring you back to the 10.5 Installer.
-Goto Utilities and choose "Restore System From Backup"
-The Dialog will ask you for a Backup Source. You should now see your Time Capsule and an already mounted Time Machine Volume at the location you specified in Terminal.
-Select the Time Machine Volume and press Continue, it'll take a while you show you all the backups, choose the one you want, choose a destination, drink tea.
Maybe you are looking for
-
IPod 4 no longer works with speakers as of IOS 6
I own both an iPod 4th gen iPod Touch and a Logitech docking system. My brother owns an iPod 3rd gen iPod and a similar logitech docking system. My iPod worked fine with my dock until I updated it to IOS 6. I found that it could charge but would not
-
I am trying to upload pictures from the MobileMe Gallery. I have albums published but when I move the MobileMe widget to the web page I am creating it reads "No albums or movies". Please help.
-
Unable to start services with different
Hi, We have installed OBIEE 11g on a 64-bit Windows machine. When we start the services with the same user id which was logged in while installation the services go up successfully and everything seems fine. However, when we try to start the services
-
Urgent question about following referrals manually (not automatically)
I have a crucial question on the following code from the sun tutorial, for following referrals manually. The question is below the code: ================= // Set the referral property to throw ReferralException env.put(Context.REFERRAL, "throw"); //
-
Can i restore my pics from icloud after software upgrade?
How can i restore my photos from i cloud? i lost everything after upgrading to ios6, plz help me, i only found 200 pics out of 3000, i am really disappointed