Oracle 10g R2 installation with ASM+RAC

Gurus,
Need some suggestuon on Oracle 10g R2 installation with ASM and RAC option.
We have found many documents on the Oracle, HP, HP-Oracle CTC and third party web sites, but nothing that is specific to this particular combination of separate
ORACLE_HOMEs, ASM and 10g RAC CRS. It is unclear for me from the documentation how this combination of ASM and 10.2g RAC may best be installed.
The high level steps i got after reading lot of docs as follows - but i am not sure whether these are correct or not. if they are correct, can any one share their experience/notes please?
1) Install CRS
2) Install RDBMS for ASM HOME - create separater oracle home for ASM instance using OUI
3) Install RDBMS for RAC Database Home - create separater oracle home for RAC database using OUI
4) Create ASM database using DBCA -
5) Use dbca to create database.

Oracle provides 'paint by numbers' tutorials called 'Oracle By Example'. (Go to OTN, check under the Training tab)
They have one for a Windows based ASM/RAC that you might want to review. Not your specific environment, but the steps will be dag-nabbed close.
I recommend walking the path (http://otn.oracle.com >> training:OBE >> Database 10g Release 1:VMWare:Installation
http://www.oracle.com/technology/obe/obe10gdb_vmware/install/racinstallwin2k/racinstallwin2k.htm

Similar Messages

  • Oracle Standalone DB 11g installation with ASM on Windows 2008

    Hi Experts,
    I would like to install Oracle Database 11g R2 on Windows 2008 with ASM .
    Since I want to do it as a standalone database server , I did not confiugre any shared storage. I have a single disk on my machine with 1 TB space.
    There is a free space of 750 GB and want to use that space for ASM disks.
    Can someone guide me on how to configure ASM disks ?.
    Thanks

    859875 wrote:
    Thanks Fiedi. Thanks a lot for your response.
    Last month I did RAC installation where I need format raw devices using below commands :
    clean all
    create part ext
    create part log
    Is it not required for standalone DB installation with ASM ?
    Basically preparing disk for ASM on RAC or non RAC is the same
    >
    >
    I am able to create 4 logical raw devices (175GB) each. 2 for Data and 2 for DB flash. However I am not able to clean those raw devices with "clean all" command.
    Can you help me ?
    what error did you get?. Try delete the logical partition and recreate it

  • Oracle10gRAC installation with ASM, SGeRAC and Oracle Clusterware on Ita64

    Hello!
    Does anyone have an installation guide for the configuration: Oracle10gRAC with ASM, SGeRAC and Oracle Clusterware on Itanium?
    Thanks in advance, Mara

    859875 wrote:
    Thanks Fiedi. Thanks a lot for your response.
    Last month I did RAC installation where I need format raw devices using below commands :
    clean all
    create part ext
    create part log
    Is it not required for standalone DB installation with ASM ?
    Basically preparing disk for ASM on RAC or non RAC is the same
    >
    >
    I am able to create 4 logical raw devices (175GB) each. 2 for Data and 2 for DB flash. However I am not able to clean those raw devices with "clean all" command.
    Can you help me ?
    what error did you get?. Try delete the logical partition and recreate it

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Oracle 10g R2 installation on sun solaris 10 Sparc machine

    Hi there,
    I encountered the following problem during oracle 10g R2 installation on sun solaris 10 Sparc machine
    Error encountered:
    Using paramFile: /u01/Oracle/10gr2_db_sol/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 2266 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 2335 MB Passed
    Checking monitor: must be configured to display at least 256 colors Failed <<<<
    >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set.
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n]
    The following were the steps taken before encountering the above error
    1. logged into a workstation
    2. From its xterm terminal I logged to the oracle server via ssh oracle@ip
    3. keyed in the following at the command prompt
    DISPLAY=machine_name:0.0; export DISPLAY
    4. executed the following from the command prompt
    ./runInstaller
    Note: when executing the ./runInstaller, the preinstallation checking just hangs at Checking monitor: must be configured to display at least 256 colors. But the log file shows it failed during preinstallation checking as shown in Error encountered
    Please help me with this problem.
    Thank you
    Ravindran Kanniah

    It is because of UNIX shell. I also faced this error during installation.
    First check your shell by the following command.
    $ echo $SHELL
    Then select the below.
    For csh shell
    $ setenv DISPLAY 192.168.1.128:0.0
    $ export DISPLAY
    For sh,ksh and bash
    $ DISPLAY=192.168.1.128:0.0
    $ export DISPLAY
    After you do this check the value of DISPLAY variable.
    $ echo $DISPLAY
    If the DISPLAY variable is set then run ./runInstaller.
    One advice: Keep a complete log of your terminal session. This will help you in future :)
    -aijaz

  • Oracle 10g client installation on OpenVMS 8.3 Itanium

    I am trying to perform the installation of Oracle 10g client installation on OpenVMS 8.3 Itanium. I am getting the OUI (Oracle Universal Installer) window up and as soon as I click the "next" button it errors. The error is:
    SEVERE: OUI-10207:There is not enough disk space on the OUI swap area /dsa50/temp/OraInstall2007-06-05_06-19-23PM. Please make at le
    ast 9MB of space available and retry.
    The disk for the oracle installation temp location and home location are in different directories on the same ODS-5 formated disk. The disk has approximately 251711296 free blocks.
    The trace.log located in the <oracle_home> area shows the following:
    in ssGetVolumeFreeSpace
    in ssGetVolumeFreeSpace:before getFreeSpace:DSA50
    Vol name is DSA50
    Disk name is [.DSA50]
    Disk=, Free blocks = 3362
    in ssGetVolumeFreeSpace:after getFreeSpace:3362
    returning from ssGetVolumeFreeSpace
    The "temp" disk is DSA50.
    Has anyone seen this issue with installation of the client on a large disk?
    Are there any suggestions on what to do to correct this issue?

    SEVERE: OUI-10207:There is not enough disk space. This error may be present at the Open VMS Itanium platform at it is due to bug 5981203 "OUI CALCULATES AVAILABLE DISK SPACE WRONG" and bug 5580279 "OUI FAILS WITH OUI-10207 ERROR". It is fixed in 10.2.0.3.0
    As a workaround, use a logical diskname or the volume name and not the physical device name
    ~ Madrid

  • Oracle 10g database installation in red hat 5

    what are the packages needed for oracle 10g database installation in red hat 5?
    what do you mean by yum way of installation?

    Check on the release notes for your platform
    This is for x86-64 Linux.. read it all, then you'll find the "6 Documentation Corrections and Additions" section you'll find the RPMs that you need
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15666/toc.htm
    then go to the official doc installation of 10gR2 on x86-64 Linux
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/toc.htm
    Yum is a package management tool. This is what you'll be using to install the RPMs. But first you'll have to setup the Yum repository, usually what I do is stage the DVD media on the server then make it as a repository. If ever there's a specific (higher) version that I need then I just pull it on the RedHat Network.
    There are a lot of HOWTOs about Yum. You may read on this link http://docs.fedoraproject.org/yum/en/
    - Karl Arao
    http://karlarao.wordpress.com/

  • Oracle single instance installation  with RHEL Cluster suite

    Hi ,
    Can anyone help regarding Oracle single instance installation with RHEL Cluster suite? I have to know what factor need to be considered for RHEL Cluster configuration for Oracle Installation. And is it certified by Oracle?
    Aungshu

    Does any body like to share their experience ?

  • Where can I download the Oracle 10g Database Installer

    where can I download the Oracle 10g Database Installer. I'm unable to find a link over the Oracle site. Please help me out on this one.

    981705 wrote:
    where can I download the Oracle 10g Database Installer. I'm unable to find a link over the Oracle site. Please help me out on this one.As mentioned above, you need to log a SR since 10g is not longer available for download -- https://forums.oracle.com/forums/search.jspa?threadID=&q=10g+AND+Download&objID=f36&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • 11gR2 Database Installation with ASM - NOT RAC

    Hi ,
    Im littel bet confused about the "Grid Infrastructure" in 11gR2.
    In oracle 10gR2 i had to install oracle software twice.
    1. one for the rdbms instance and the second software on for the ASM instance.
    2. Then from the asm home i run dbca and choose "configure automatic storage management" and continue with the installation.
    3. Finally i run dbca from the rdbms home and attached the dabs to the asm.
    11gR2 intreduce the "Grid Infrastructure" also asm with for non-rac installation .
    I would like to know if i still need to install twice the oracle software (once for the asm home and second for the rdbms home) and
    only then continue with the "Grid Infrastructure" , or the : "Grid Infrastructure" already contain the asm software , for the asm home
    Thanks

    Is that true that you have to install a separate set of binaries for ASM and one for the RDBMS. I don't think it is in either 10g or 11gr1.
    I do know that in 11gr2 you only need one home for the ASM_HOME and CRS_HOME which saves one installation.
    John
    www.jhdba.wordpress.com
    Edited by: user11221636 on Dec 3, 2009 9:46 PM

  • Oracle Apps 11i Cloning with +ASM 10g Database

    Hi,
    Can somebody help Apps cloning on the issue facing. Please provide in detailed process Apps Cloning with +ASM.
    Trying to Clone 11i Apps environment(11.5.10.2) and Db 10.2.0.4. The database is on +ASM.
    1. Copied all the application files from SOURCE to TARGET ( source and target are different servers)
    2. Database restored from source and the TARGET database is up and running( Database servers TARGET and SOURCE are 2 different servers.
    3. As per doc id 230672.1 , preclone was successful in apps and db servers.
    ISSUE:
    =====
    As per doc id 230672.1 , if we run adcfgclone on database server that messedup the database which is running already on the TARGET server, because adcfgclone recreate control files and all which is already intact for us in +ASM.
    Question:
    ======
    1. do we still need to do anything on the TARGER database server? if need to run , please provide the detailed steps
    2. Do we need to run adcfgclone on apps server? please provide the detailed steps.
    Thank You,
    Dheeru.

    Yes, restored and the database is up and running.
    Then i ran adcfgclone dbtier on database which messedup whole database. Deleted all the file in ASM disk groups and try to restore the database threw RMAN.
    Got new error, Please see below.
    In the first run previously i got same error but fixed by creating control_files='+LASR','+FLASH' in pfile, again it's giving same error.
    Also pasting PFILE.
    Any idea on this.
    Recovery Manager: Release 10.2.0.4.0 - Production on Wed Jan 5 17:15:12 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: LASRT (DBID=1482364021)
    connected to auxiliary database: LASRX (not mounted)
    RMAN>
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9>
    executing command: SET until clause
    using target database control file instead of recovery catalog
    allocated channel: aux1
    channel aux1: sid=872 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=871 devtype=DISK
    Starting Duplicate Db at 05-JAN-11
    contents of Memory Script:
    set until scn 11188183994442;
    set newname for clone datafile 1 to new;
    set newname for clone datafile 2 to new;
    set newname for clone datafile 3 to new;
    set newname for clone datafile 4 to new;
    set newname for clone datafile 5 to new;
    set newname for clone datafile 6 to new;
    set newname for clone datafile 7 to new;
    set newname for clone datafile 25 to new;
    set newname for clone datafile 26 to new;
    set newname for clone datafile 38 to new;
    set newname for clone datafile 43 to new;
    set newname for clone datafile 44 to new;
    set newname for clone datafile 45 to new;
    set newname for clone datafile 46 to new;
    set newname for clone datafile 47 to new;
    set newname for clone datafile 48 to new;
    set newname for clone datafile 49 to new;
    set newname for clone datafile 50 to new;
    set newname for clone datafile 51 to new;
    set newname for clone datafile 52 to new;
    set newname for clone datafile 53 to new;
    set newname for clone datafile 54 to new;
    set newname for clone datafile 55 to new;
    set newname for clone datafile 56 to new;
    set newname for clone datafile 57 to new;
    set newname for clone datafile 58 to new;
    set newname for clone datafile 59 to new;
    set newname for clone datafile 60 to new;
    set newname for clone datafile 61 to new;
    set newname for clone datafile 62 to new;
    set newname for clone datafile 63 to new;
    set newname for clone datafile 64 to new;
    set newname for clone datafile 65 to new;
    set newname for clone datafile 66 to new;
    set newname for clone datafile 67 to new;
    set newname for clone datafile 68 to new;
    set newname for clone datafile 69 to new;
    set newname for clone datafile 70 to new;
    set newname for clone datafile 71 to new;
    set newname for clone datafile 72 to new;
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    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
    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
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 05-JAN-11
    channel aux2: starting datafile backupset restore
    channel aux2: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to +LASR
    restoring datafile 00004 to +LASR
    restoring datafile 00006 to +LASR
    restoring datafile 00007 to +LASR
    restoring datafile 00025 to +LASR
    restoring datafile 00045 to +LASR
    restoring datafile 00046 to +LASR
    restoring datafile 00049 to +LASR
    restoring datafile 00051 to +LASR
    restoring datafile 00053 to +LASR
    restoring datafile 00054 to +LASR
    restoring datafile 00058 to +LASR
    restoring datafile 00060 to +LASR
    restoring datafile 00062 to +LASR
    restoring datafile 00064 to +LASR
    restoring datafile 00066 to +LASR
    restoring datafile 00068 to +LASR
    restoring datafile 00070 to +LASR
    restoring datafile 00071 to +LASR
    restoring datafile 00072 to +LASR
    channel aux2: reading from backup piece /ora_export/lasrx/15m16kuo_1_1
    channel aux1: starting datafile backupset restore
    channel aux1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +LASR
    restoring datafile 00002 to +LASR
    restoring datafile 00005 to +LASR
    restoring datafile 00026 to +LASR
    restoring datafile 00038 to +LASR
    restoring datafile 00043 to +LASR
    restoring datafile 00044 to +LASR
    restoring datafile 00047 to +LASR
    restoring datafile 00048 to +LASR
    restoring datafile 00050 to +LASR
    restoring datafile 00052 to +LASR
    restoring datafile 00055 to +LASR
    restoring datafile 00056 to +LASR
    restoring datafile 00057 to +LASR
    restoring datafile 00059 to +LASR
    restoring datafile 00061 to +LASR
    restoring datafile 00063 to +LASR
    restoring datafile 00065 to +LASR
    restoring datafile 00067 to +LASR
    restoring datafile 00069 to +LASR
    channel aux1: reading from backup piece /ora_export/lasrx/16m16kuo_1_1
    channel aux1: restored backup piece 1
    piece handle=/ora_export/lasrx/16m16kuo_1_1 tag=TAG20110103T144231
    channel aux1: restore complete, elapsed time: 00:18:55
    channel aux2: restored backup piece 1
    piece handle=/ora_export/lasrx/15m16kuo_1_1 tag=TAG20110103T144231
    channel aux2: restore complete, elapsed time: 00:21:20
    Finished restore at 05-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "LASRX" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 2
    MAXDATAFILES 72
    MAXINSTANCES 1
    MAXLOGHISTORY 7303
    LOGFILE
    GROUP 1 SIZE 20 M ,
    GROUP 2 SIZE 20 M ,
    GROUP 3 SIZE 20 M
    DATAFILE
    '+LASR/lasrx/datafile/system.331.739646133'
    CHARACTER SET WE8ISO8859P1
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/05/2011 17:36:50
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +LASR/lasrx/controlfile/current.332.739640887.  File has an Oracle Managed Files file name.
    =======================================================================
    PFILE
    ====
    *.aq_tm_processes=2
    *.audit_file_dest='/10g/app/oracle/admin/lasrx/adump'
    *.background_dump_dest='/10g/app/oracle/admin/lasrx/bdump'
    *.compatible='10.2.0'
    *.core_dump_dest='/10g/app/oracle/admin/lasrx/cdump'
    *.control_files='+LASR','+FLASH'
    *.db_block_size=8192
    *.db_cache_size=318767104
    *.db_create_file_dest='+LASR'
    *.db_domain=''
    *.db_file_multiblock_read_count=8
    *.db_files=500
    *.db_name='LASRX'
    *.db_recovery_file_dest='+FLASH'
    *.db_recovery_file_dest_size=5120M
    *.dml_locks=5000
    *.job_queue_processes=0
    *.local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=hct431oractd002.mfia.state.mi.us)(PORT=1524))'
    *.log_archive_dest_1='LOCATION=+FLASH/LASRX'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_buffer=30551040
    *.log_checkpoint_interval=100000
    *.log_checkpoint_timeout=72000
    *.log_checkpoints_to_alert=TRUE
    *.max_dump_file_size='20480'
    *.nls_comp='binary'
    *.nls_date_format='DD-MON-RR'
    *.nls_language='american'
    *.nls_length_semantics='BYTE'
    *.nls_numeric_characters='.,'
    *.nls_sort='binary'
    *.nls_territory='america'
    *.O7_DICTIONARY_ACCESSIBILITY=FALSE
    *.open_cursors=500
    *.open_links=20
    *.parallel_max_servers=12
    *.parallel_min_servers=0
    *.pga_aggregate_target=681574400
    *.processes=800
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_manager_plan=''
    *.session_cached_cursors=100
    =============================

  • Oracle 10g Database Installation In Active-Passive Mode.

    Good Afternoon !!!!
    We are installing Oracle 10g in Active-Passive Mode on HP UX-11.3 , with ASM. Can someone help me with step wise installation procedure for the same.
    Many Thank's
    Rajeev.

    Check on the release notes for your platform
    This is for x86-64 Linux.. read it all, then you'll find the "6 Documentation Corrections and Additions" section you'll find the RPMs that you need
    http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15666/toc.htm
    then go to the official doc installation of 10gR2 on x86-64 Linux
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/toc.htm
    Yum is a package management tool. This is what you'll be using to install the RPMs. But first you'll have to setup the Yum repository, usually what I do is stage the DVD media on the server then make it as a repository. If ever there's a specific (higher) version that I need then I just pull it on the RedHat Network.
    There are a lot of HOWTOs about Yum. You may read on this link http://docs.fedoraproject.org/yum/en/
    - Karl Arao
    http://karlarao.wordpress.com/

  • Error in oracle 10g DB installation in power on linux

    Hi
    Iam installing oracle power on linux 10g(10.2.0.1.0) DB on IBM power on linux update 4 (2.6.9-42.EL kernel). I made
    all the pre-requisites as mentioned in Doc. I am getting a make failure error:
    Error in invoking target 'relink' of makefile .../precomp/lib/ins_precomp.mk.
    on ignore that getting the error ins_rdbms.mk. please assist me how to resolve
    this error.
    Following are the packages installed
    binutils-2.15.92.0.2-21
    compat-libstdc++-33-3.2.3-47.3
    make-3.80-6.EL4
    gcc-3.4.6-3
    gcc-ppc32-3.4.6-3
    gcc-c++-3.4.6-3
    gcc-c++-ppc32-3.4.6-3
    glibc-2.3.4-2.25
    glibc-2.3.4-2.25
    glibc-devel-2.3.4-2.25
    glibc-devel-2.3.4-2.25
    libaio-0.3.105-2
    libaio-0.3.105-2
    libaio-devel-0.3.105-2
    libgcc-3.4.6-3
    libgcc-3.4.6-3
    libstdc++-3.4.6-3
    libstdc++-devel-3.4.6-3

    Solution : Install and Configure Microsoft LoopBack Adapter:
    Installation of Microsoft LoopBack Adapter:
    1. Click Start, and then click Control Panel.
    2. Click on Add Hardware and then Click Next.
    3. Click Install the hardware that I manually select from a list, and then click Next.
    4. Click Network adapters, and then click Next.
    5. In the Manufacturer box, click Microsoft.
    6. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
    7. Click Finish.
    Configuration of Microsoft LoopBack Adapter:
    1. Click Start, and then click Control Panel.
    2. Click on Network and Sharing Center.
    3. On the left side of the Window, Cick Manage Network Connections.
    4. You will find a name like "Local Area Connection 4 Unidentified Network Microsoft Loopback Adapter".
    5. Right Click on it and select Properties.
    6. Then Click on Internet Protocol Version 4 (TCP/IPv4) and then again click Properties.
    7. Click on Use the following IP address and enter 192.168.1.10 for the IP Address and 255.255.255.0 for the subnet mask.
    8. Click OK.
    After this you can continue with the installation of the Oracle 10g again.

  • Oracle 10g ODBC driver with Windows 7 32 bit connecting to Excel

    Hi Everyone,
    I'm having an issue connecting to our oracle 10g database (64 bit system) from a 32 bit windows 7 installation running excel 2010/2007 using odbc drivers. Our excel spreadsheets worked without issue in windows xp.
    In windows 7 I have been able to install the odbc driver via the following method:
    1. Download the oracle 'basic' client and oracle 'odbc' client from www.oracle.com and extract the contents:
    instantclient-basic-win32-10.2.0.3-20061115
    instantclient-odbc-win32-10.2.0.3-20061115
    2. Create a folder 'oracle' and place the instantclient_10_2 folder inside.
    3. Ensure all the basic and odbc files reside in this folder.
    4. Create a 'network' folder within instantclient_10_2
    5. Create an 'admin' folder within 'network'
    6. Create sqlnet.ora and tnsnames.ora files within the 'admin' folder:
    7. Run 'obdc_install' within the instantclient_10_2 folder
    8. Download and run the oracle odbc driver exe file from www.oracle.com (ORA10203.exe)
    9. Go to Control Panel -> Administrative Tools -> Data Sources and create a new System DN
    This allows excel spreadsheets connecting ONLY to oracle to function.
    Unfortunately some of our spreadsheets connect to both a MySQL database as well as oracle. Spreadsheets connecting only to MySQL also function correctly, however, as soon as the vb associated with a spreadsheet includes a mysql call followed by an oracle call the spreadsheets fail. In Excel 2007 excel crashes completely everytime. In Excel 2010 the mysql data is generated, then when the script hits to oracle odbc connection there is a long pause, the oracle ODBC driver connect pops up requesting a username/password (this didn't happen in xp), then the data source selection pops up, then the username/password connect screen pops up again, and finally it fails with a runtime error '1004' General ODBC error.
    If you look at the VB script it's failing at the Refresh BackgroundQuery statement in the ODBC connection block:
    With Worksheets("Oracle1").QueryTables.Add(Connection:= _
    "ODBC;DSN=Oracle_ODBC;UID=user;PWD=password;SERVER=ORACLE_LINUX;", _
    Destination:=Worksheets("Oracle1").Range("A1"))
    .CommandText = strSql
    .Name = "Oracle1_data"
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = True
    .RefreshOnFileOpen = False
    .BackgroundQuery = True
    .RefreshStyle = xlOverwriteCells
    .SavePassword = True
    .SaveData = True
    .AdjustColumnWidth = True
    .RefreshPeriod = 0
    .PreserveColumnInfo = True
    .Refresh BackgroundQuery:=False
    End With
    Does anyone know how to get around this? It's very important!!
    Also if you try to edit the oracle ODBC connections in Control Panels -> Administrative Tools -> Data Sources, ODBC crashes 95% of the time.
    Advice greatly appreciated!!

    Well, here's what I'd check anyway..
    1) get Process Explorer from http://sysinternals.com
    2) make a mysql connection, get a list of dll's loaded (include the location and version columns in the lower pane output)
    3) close that, then make an ora odbc connection, get a list of dlls.
    4) close that, then make a mysql connection followed by an ora odbc connection, get a list of dlls
    5) compare the lists of loaded dlls. In particular, the difference between #3 and #4, is there a dll dependency that gets loaded by oracle's odbc that comes from a different location when you've opened a mysql connection first?
    May or may not help, but might turn up a difference to help point you in a direction.
    Greg

  • Oracle 10g Database conflicts with HTMLDB

    Hai all,
    I have encountered a strange conflict when I am trying to work out with Oracle 10g database and the famous HTML DB.
    It is like this:
    I have a 10g DB installed and an ASP application that works on this 10g instance via "Microsoft ODBC driver for oracle" perfectly.
    Now I have downloaded and installed the 10g Companion CD and installed the HTML DB 1.5 along with the mandatory Apache web server. Good!! I could scrawl through the database using the HTML DB, creating applications, forms, items and etc fancy things without any issues.
    The problem that I found was:
    The ASP based application that used to work initially now is erroring out saying that "TNS could not resolve service name".
    I thought that the Listener might be damaged or the ASP site was damaged or the Microsoft ODBC driver files were damaged and several other vauge guessings.
    I have tested the issue in several ways (reinstalled oracle, the DB, the ASP Applicaton, re-configurin listener in a variety of ways) but every time installing BLINDLY the companion CD too. Nothing seem to work.
    Then I recollected that the same issue I have encountered in the past with the installation of Oracle 8i and Developer 2000, where the TNS listener configured by the former damages the one configured by the later and vice-versa.
    Basing on this past reminiscence, I finally stopped installing Companion CD over the Oracle installation and carried out the DB installation and the ASP based app. And everything worked fine.
    CAN anybody tell me what is going wrong with these two oracle products(Oralce 10g DB and the HTML DB+Apache)?
    WHY always the installation of a CLIENT SW (Developer, HTML DB etc) damages the connection with the database via ODBC drivers?
    Many Thanks in advance.
    Ravi

    Dera Mr. Tyler,
    Thanks for your reply...I have implemented the solution that you have given for the TNS Listener conflict and everything works fine...
    Here I have one more thing thats not working as I thought. do kindly help me out.
    My requirement is to show the list of available storage drives (say C:, d:, e: etc on windows) available on the database server. Let me eloborate my problem well....
    i have a Java App that executes a specific SQL script to create a tablespace, a user and the required db objects that my applicaiton needs.
    if the Java App runs on the same machine where the oracle instance is running, the Java app pops up a list of available drives on the machine, creates a directory for the tablespace datafiles on the drive selected from the above list box, then runs the script which creates the tablespace and the rest of the things.
    But if i run the Java app from another machine on the network, then my BLIND java app is popping up the drives of the local machine but NOT those from the oracle server machine and creates the folder on the local machine but not on the Oracle server and obviously the rest of the phases (tablespace creation itself) are failing as the required folder is not found on the oracle server machine.
    the work arounds that i am thinking are:
    a) use java ->
    get the IP of the oracle server machine ->
    use some java api such as java.net, java.io etc ->
    create the required folder on the server machine instead of the local machihe
    ISSUE: Java network programming is too tough for me(excuse me for this..i am not too good!!)
    b) use some oracle sql or pl/sql api s to do the same
    ISSUE: not found one!!!!
    c) create a java stored procedure/function to get the list of drives of the oracle server and return as a string variable. then call this proc from the Java app once connected to the database....
    ISSUE: i have created the SO-CALLEd java func. no compilation or loading errors. but there is no o/p either. but the same code when i run as a java class is showing the desired o/p. here is the code piece...can you please help me out!!!
    -------Java Stored Function------
    import java.io.*;
    public class HDDLister
         public static String listDrives()
              String rootsList = "Available Roots: ";
              try
                   File[]roots = File.listRoots();
                   for (int i=0;i<roots.length;i++)
                        rootsList += roots.toString();
                        rootsList += "#";
              catch(Exception ex)
                   rootsList = ex.toString();
              return rootsList;
    -------Command to publish the Funciton-------
    CREATE OR REPLACE FUNCTION HDDLISTER
    RETURN VARCHAR2
    IS
    LANGUAGE JAVA
    NAME 'HDDLister.listDrives() return java.lang.String';
    and finally the point of the problem is, once we show the drives available on the server machine to the user and the user selects a drive, how to create a folder on the server machine???
    Thousands of thanks in advance
    Ravi

Maybe you are looking for