Migrate a database from a Windows to Linux
Hi,
Please advise me how to migrate a database from a Windows to Linux or vice versa by using concept called Transportable tablesapce. Thanks in Advance.
Crossplatform Transportable Tablespace only availalable to 10g and up.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref73
Any version below, only supported option is export/import
Similar Messages
-
we upgrade 10.2.4.0 database from 32bit (Windows 2003 os ) to 64 bit (windows).
the steps:
1. Install 10g server and client in 64 bit server and run patch set.
2. Restore rman db backup (from 32bit machine ) to 64bit server. Migrate database in new server.
3. setup EM db console in new server.
emca -config dbcontrol db -repos create
Step 1 and 2 work fine.
Step 3 has problem with emca:
java.io.IOException: The handle is invalid
at java.io.FileInputStream.close0(Native Method)
Enterprise Manager configuration completed successfully
at java.io.FileInputStream.close(FileInputStream.java:245)
at sun.nio.cs.StreamDecoder$CharsetSD.implClose(StreamDecoder.java:505)
FINISHED EMCA at Jul 1, 2010 9:33:06 AM at sun.nio.cs.StreamDecoder.close(Stream
Decoder.java:198)
at java.io.InputStreamReader.close(InputStreamReader.java:187)
at java.io.BufferedReader.close(BufferedReader.java:502)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine$ErrorStreamReader.r
un(SQLEngine.java:2406)
at java.lang.Thread.run(Thread.java:595)
After setup DB console, we can access DB console with https://localhost:1158/em,
but can not access from https://machinename:1158/em
Thanks,It is offensive that you have posted the exact same question multiple times in a matter of minutes.
Please go back and edit all but one of them so the subject reads "Please Ignore."
I am ignoring this thread and all others until you clean it up. We are volunteers and do not appreciate having our time wasted by reading the same request from the same person multiple times while trying to help people that need help.
Thank you. -
Executing WINWORD from both Windows and linux using Java
Dear All,
I have a problem when trying to use Runtime class to execute a winword document. My code is as follows.
Runtime r= Runtime.getRuntime();
try{
r.exec("rundll32"+" "+"url.dll,FileProtocolHandler"+" "+"WINWORD"+ " "+"file://C://welkom.doc");
catch(Exception ex){
System.out.println("Unable to open the doc file:"+ex);
When I execute this swing application with the above, the program is unable to open the specific file. And it says "Problem with the short cut, unable to open the file". When I run the program without the file name, it opens a new doc file.
Attn: what I want to do here is I need to open the winword file from both windows and linux. So I cannot use the relative path of the WINWORD.exe file.
Can anyone help me?
Thanks in advance.
Regards,
BalaIf you take a look at the api, there's an exec(String[]) method. This is the one you should use when calling a command with multiple parameters.
so something like...
String[] cmd = new String[] {"rundll32", "url.dll,FileProtocolHandler", "WINWORD", "file://C://welkom.doc"}
r.exec(cmd); -
How can i Migrate a database from DB2 to SQL Server 2008r2.
Hi Gurus,
Kindly help me letting me know the process for migrating the database from DB2 to SQL Server.
1) Is there any way to migrate a database from DB2 to SqlServer. (My assumption is we can not migrate database, if wrong correct me gurus).
2) Or we can only transfer data from that DB2 database to SQL Server (Using SSIS packages).
Please help me knowing the process to migrate the data from DB2 server to MSSQL server. Even am reading the documents available in the web.
Thanks in advance.. :)Microsoft provide a migration assistant for DB2 to SQL Server:
http://www.microsoft.com/en-us/download/details.aspx?id=45296
SQL Server Migration Assistant (SSMA) is a free supported tool from Microsoft that simplifies database migration process from DB2 to SQL Server and Azure SQL DB. SSMA automates all aspects of migration including migration assessment analysis, schema and
SQL statement conversion and data migration.
Hope that helps -
Best Way to Migrate Home Folders from Dell Windows 2003 to XServe 10.6
We are migrating Directory services and File service from a Windows Server to an Xserve running 10.6. What is the best way to copy over all of the data including everyone's home folders from the Windows server to our new Xserve while preserving the file attributes?
Any advice greatly appreciated. Thanks in advance.
TimHi Jay,
good news for you - since Oracle 11g it is allowed to have a physical standby between Windows and Linux. So the absolutely easiest way would be to build up a standby on your new Linux server, do a switchover with one minute downtime at a maximum ... and that's it.
You may check ML Note:413484.1 for certification (the table shows which OS mix is allowed).
The process will be the following:
1) Let RMAN build up your standby automatically through the network while your PROD is still running
2) Once RMAN has done this job you'll do a simple switchover
If a standby solution is not an option for you, then you could use Data Pump on a NETWORK_LINK.
This means: You build up a new and empty database on your RHEL server - you create a database link between those two databases.
Then you run a full import without creating a dump file through the db-link:
IMPDP usr1/password NETWORK_LINK=db_link1 FULL=Y
You may check out Note:553337.1 for more info on Data Pump.
Transportable Tablespaces or Transportable Database with RMAN would also be an option but those require some additional prep work.
Kind regards
Mike -
Migration oracle database from 1 drive to anothe drive
dear gurus,
hello to all
i have encounter one of the issue that i am trying to find solution but upto now i cant find it.
we have 1 of the machine oracle 10gR2 using on windows 2003 machine. where we have c,d,e drive. e is belong to san drive.
due to old age of san we are going to expired soon. so we have enough space on d drive to migrate.
but a question from
E:\oracle\product\10.2.0
to
d:\oracle\product\10.2.0
how we can do it, can someone provide oracle guidline, tips articles.
we will be highly appreciating.
thanks regards
salimstartup the database as is (on drive e:\) and issue :
sqlplus / as sysdba
SQL> create pfile from spfile;you can then locate the pfile under $ORACLE_HOME/database, the name of the pfile will be init<SID>.ora
1. Copy the pfile to the new ORACLE_HOME on d:\
2. Change the ORACLE_HOME using SET ORACLE_HOME=<NEW HOME ON D:\>, from cmd window.
3. shutdown the instance.
4. copy the datafiles to there new location on D:\ (including the control files)
5. edit the PFILE and specify the new control files location (under D:\)
5. startup exclusive mount pfile=<Point to current PFILE>
4. Change datafiles names ;
alter database rename file '<OLD FILE PATH>' to '<NEW FILE PATH>';You can find the current location of the datafiles using :
select name from v$datafile;Oded
[www.dbsnaps.com]
[www.orbiumsoftware.com] -
Problems migrating a database from 10.2.0.4 to 11.2.0.1
Hello,
I'm migrating a database on a test machine. I've got the database on 10.2.0.4 and i've installed the 11.2.0.1 (Standard edition). The OS is windows server 2003 SP2
Using the migration assistant, after it does the analisis and shows the conclusions (before step 1), it throws a warning.
It sais that it can't update some components because it doesn't have proper actualization command files. These components are OLAP analytic workspace, OLAP catalog, Spatial and Oracle OLAP API.
I've tryed installing them from OUI, but it fails with an OUI-10150.
It can be that standard edition doesn't have that components? As long as I remember, I did a clean new installation of the 11.2 software, standard edition.
ThanksHi,
is your 10.2.0.4 version standard or enterprise?
I think you should install enterprise 11G R2 and then upgrade. because standard edition doesn't have all feature which are there in 10.2.0.4 so upgrade cannot happen.
Rajesh -
Response time much more in migrated AIX database than in Windows database
We migrated a 9.2.0.6 database from windows to AIX (on same oracle version). Initially we were getting really slow response on direct sqls and batch sqls fom application server. Then we tuned aix database a bit and got a better response time for direct sqls on aix database.
Now queries run faster on aix database than the db on windows.
However, the queries from applciation (ACCURATE application) are still twice slower on aix database compared to windows database.
Can anyone suggest a possible cause or tuning area?
We have checked on network level and found no bottlenecks.
Regards,
Garimauser650817 wrote:
We migrated a 9.2.0.6 database from windows to AIX (on same oracle version). Initially we were getting really slow response on direct sqls and batch sqls fom application server. Then we tuned aix database a bit and got a better response time for direct sqls on aix database.
Now queries run faster on aix database than the db on windows.
However, the queries from applciation (ACCURATE application) are still twice slower on aix database compared to windows database.
Can anyone suggest a possible cause or tuning area?Garima,
if you have particular queries that you know of that are behaving differently, you could start right away by comparing the execution plans and tracing the execution using the SQL trace facility and the "tkprof" trace file analyzer.
If you want to get an overview of the database performance, you should consider installing STATSPACK on both systems if you haven't done so yet and create snapshots to compare statspack reports from both systems for a representative time period. This way you can gather information about the top wait events and top SQLs of the periods analyzed.
By the way, how did you "migrate" the database? Did you use export/import to migrate? What about the statistics for the cost based optimizer, could these be different between the two systems or are you still using the rule based optimizer?
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
How do I connect to a DB2 database from Oracle 10G on linux?
Hi
I have tryed to connect to a DB2 database from oracle 10 G on linux.
I have installed unixODBC and a db2 odbc driver. I can connect to the db2 using isql, but oracle comes with this error:
select * from testtable@acc_spc_gr2
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'
ORA-02063: preceding 3 lines from ACC_SPC_GR2
What am I doing wrong? Any one have a guide to do this?
- Jesperthis is my complete configuration
Database_
-bash-3.2$ export ORACLE_SID=XE
-bash-3.2$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mié Jul 7 10:04:43 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Conectado a:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Platform_
Linux srvpdf 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 2009 i686 i686 i386 GNU/Linux
*/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/initDB2DATABASE.init*
#This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
#HS_FDS_CONNECT_INFO = ODBC_DSN
HS_FDS_CONNECT_INFO = prueba
HS_FDS_TRACE_FILE_NAME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/hs/admin/DB2DATABASE.log
HS_FDS_CONNECT_INFO = DB2DATABASE
#HS_FDS_TRACE_LEVEL = debug
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
set DB2INSTANCE=is400
listener.ora_
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = DB2DATABASE)
(ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
(PROGRAM =hsodbc)
(ENVS = LD_LIBRARY_PATH = /opt/ibm/iSeriesAccess/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.32)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.3.31)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
tnsnames.ora_
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = srvpdf)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
DB2DATABASE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost )(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = DB2DATABASE)
(HS=OK)
odbc.ini_
[prueba]
Description = iSeries Access ODBC Driver
Driver = iSeries Access ODBC Driver
System = xxx.xx.3.2
UserID = xxxxxx
Password = xxxxxx
Naming = 0
DefaultLibraries = QGPL
Database = CHERRYWEB
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
DefaultPkgLibrary = QGPL
DefaultPackage = A/DEFAULT(IBM),2,0,1,0,512
AllowDataCompression = 0
MaxFieldLength = 32
BlockFetch = 1
BlockSizeKB = 128
ExtendedColInfo = 0
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
odbcinst.ini_
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib/libcwbodbc.so
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
UsageCount = 1
CPTimeout =
CPReuse =
System = 172.18.3.2
User = inf5mito
Password = lonco3pue
NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2 = the following Driver64/Setup64 keywords will provide that support.
Threading = 2
DontDLClose = 1
ODBC Driver_
-bash-3.2$ cd /opt/ibm/iSeriesAccess/lib
-bash-3.2$ ls -ltr
total 2260
-r-xr-xr-x 1 root root 443939 Apr 5 2008 libcwbxda.so
-r-xr-xr-x 1 root root 94504 Apr 5 2008 libcwbrc.so
-r-xr-xr-x 1 root root 16636 Apr 5 2008 libcwbodbcs.so
-r-xr-xr-x 1 root root 729572 Apr 5 2008 libcwbodbc.so
-r-xr-xr-x 1 root root 998060 Apr 5 2008 libcwbcore.so
and this is my error.
SQL> /
select from display@db2database*
ERROR en línea 1:
ORA-28500: la conexión de ORACLE a un sistema no Oracle ha devuelto este
mensaje:
*[Generic Connectivity Using ODBC][C077] Could not find symbol 'SQLAllocConnect'*
in dynamic library
*[C079] Failed to load dynamic library*
*'/opt/ibm/iSeriesAccess/lib/libcwbodbc.so'*
ORA-02063: 3 lines precediendo a DB2DATABASE
Edited by: user6669081 on 07-jul-2010 6:31 -
How to Migrate my database from SQL Server 2000 to Oracle
I want to transfer my database from SQL Server 2000 to Oracle, Can I do this without using Oracle Migration Workbench ??
Please help me.
Thanks in advance
Vicky... :-)Do you have a good technical reason for not wanting to use the Migration Workbench?
Given that it's free and does a hell of a lot of the work for you, why wouldn't you use it?
Other than that, I would say you would be on your own...
cheers,
Anthony -
How do I migrate iCal database from 10.5.8 server to Lion server?
Hi,
because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
FrankHi,
because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
Frank -
I'm in the process of migrating my date from a WindowsPc to a mac, however the transfer has started more than an hour ago and the progress bar has moved 2 mm on the first catogory only. How can I spead up this process
Hanlie wrote:
I'm in the process of migrating my date from a WindowsPc to a mac, however the transfer has started more than an hour ago and the progress bar has moved 2 mm on the first catogory only. How can I spead up this process
Are you using WiFi? if you are this will take a long time, switching to a wired connection will go much faster but as you have started I would not change now. -
Invoices not printing since migration of AppsTier from HP Tru64 to Linux
We have migrated our Appps Tier from HP Tru64 unix to Linux server and since the migration our concurrent requests "Invoice Print Selected Invoices" are getting "completed warning", when I look at the log it says the following error:
Printing output file.
Request ID : 940190
Number of copies : 1
Printer : lp4
/bin/sh: /usr/local/bin/enscript: No such file or directory
APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Pro
gram exited with status 127
Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Pro
gram exited with status 127.
Action: Review your concurrent request log file for more detailed information.
I wonder why it is trying to open a non existant directory /usr/local/bin/enscript ?
Can someone help.
Regards
PrashanthiTry to relink adadmin as follows, and check then:
- Source the application env file
- Issue the following:
$ adrelink.sh force=y "ad adadmin" -
Connecting to an Azure SQL Database from a Windows C# Form
Hi,
Is it possible to connect to an SQL database in Azure from Visual Studio C# 2010 or 2012? If so how is this done. Is it the same as if you were connecting to SQL Express database with the use of a connection string? Any directions or tutorials would be of
great help!
Thanks!Hi,
>>Thanks for the reply Paul, That is disappointing. I am trying to get my students to create a C# application that will connect with a database in Azure. Is there another approach besides SQL that I could use?
Using SQL Azure will work fine (see below), if the students are familiar with SQL Server and SQL Databases it will be great for them to see how it works in the cloud. As an alternative you could explore Azure Storage, using Table Storage, Blob Storage or
the new Document Database features.
>>Azure enforces a firewall that prevents direct external access to the database server. You can add a firewall rule allowing external access, but the rules only support connecting from a fixed IP address because you have to specify the numeric IP
from which connection will be allowed.
You can specify ranges here, so you could cover a range of IP addresses. You can even specify 0.0.0.0 to 255.255.255.255 and allow all IP addresses, this could be an option if you don't know where the students will be connecting from, and you are using a
database for the exercise where you don't care too much about the security.
When I have run classes I typically use an IP address range, for example XXX.YYY.ZZZ.0 to XXX.YYY.ZZZ.255 if the students are accessing from the same classroom, and the external IP address may vary. You may find that they all have the same external IP address
if they are on the same internal network.
Also, with many students accessing the same database, you may get throttling if they place a lot of load on it. This is cool, as you can also teach them about transient fault handling and resource throttling :-).
Regards,
Alan
Free e-book: Windows Azure Service Bus Developer Guide. -
Migrating iTunes library from a Windows PC to a Mac
Hi.
If I previously have iTunes on a Windows PC and want to migrate the enitre library to a Mac, how do I do it? I've got all the files transfered over the traditional way - via an external hard drive - but I can't bring the playlists over. I'd hate to have to start creating playlists again.
Cheers...Migrate Your iTunes Library from Windows to Mac (and keep your ratings, play counts and date added)
http://www.tunequest.org/migrating-your-itunes-library-from-windows-to-mac/20061 105/
A Guide to Switching iTunes from Mac to Windows (or Vice Versa)
http://ipod.about.com/b/2007/03/11/a-guide-to-switching-itunes-from-mac-to-windo ws-or-vice-versa.htm
Cheers,
Patrick
Maybe you are looking for
-
I have 2 photo albums on my iPhone that i want to delete. One is called "Photo Library" the other is called "iPhonePics". I cannot delete any of the photos in either album. How do I delete the photos and/or the albums?
-
Schedule webi report to destination to Inbox AND send email notification
I'm writing a new process that will schedule a webi report. The output of the report needs to be delivered to multiple user's BO Inboxes AND an email notification (without the report attached) needs to be sent telling them that they have a new repor
-
Premiere Pro will not import a video I captured in Premiere.
I am working with Premiere Pro Cs6, on an HP laptop, with Windows 8. This is the first time I was capturing video from a Canon XL H1. When I finished capturing, Premiere did not give me any further prompts, and when I preceded to try to import the vi
-
How to setup 24 hours guest network access with Time Capsule 4th gen. ?
Hello, I just bought a Time Capsule 2TB and I cannot find the setting to limit the network access to 24 hours. I updated the firmware and Airport Utility to the latest version and it seems that most of help on this setting I fond on internat are base
-
I'm a neophyte and I'm working my way through D. Weynand's FCE tutorial. I'm having difficulty getting the audio waveform to appear on the timeline. When I Cmd-Option-W I only get a series of x's across the timeline, no waveform. Any guidance greatly