How do I map Hitachi SAN LUNs to Solaris 10 and Oracle 10g ASM?

Hi all,
I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
My question is this:
How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
I cannot find this critical piece of information ANYWHERE!!!!
Thanks for your help!

Yes that is correct however due to use of Solaris 10 MPxIO multipathing software that we are using with the Hitachi SAN it does present an extra layer of complexity and issues with ASM configuration. Which means that ASM may get confused when it attempts to find the new LUNs from the Hitachi SAN at the Solaris OS level. Oracle Metalink note 396015.1 states this issue.
So my question is this: how to configure the ASM instance initialization parameter asm_diskstring to recognize the new Hitachi LUNs presented to the Solaris 10 host?
Lets say that I have the following new LUNs:
/dev/rdsk/c7t1d1s6
/dev/rdsk/c7t1d2s6
/dev/rdsk/c7t1d3s6
/dev/rdsk/c7t1d4s6
Would I set the ASM initialization parameter for asm_diskstring to /dev/rdsk/c7t1d*s6
as correct setting so that the ASM instance recognizes my new Hitachi LUNs? Solaris needs to map these LUNs using pseudo devices in the Solaris OS for ASM to recognize the new disks.
How would I set this up in Solaris 10 with Sun multipathing (MPxIO) and Oracle 10g RAC ASM?
I want to get this right to avoid the dreaded ORA-15072 errors when creating a diskgroup with external redundancy for the Oracle 10g RAC ASM installation process.

Similar Messages

  • How can I solve memory lick, which occurs when operate Oracle 10g DB ?

    I'm using Dell power Edge2850 server(dual CPU, 4GB Ram), RedHat AS 3 and Oracle 10g SE ONE. When I started the server, transaction speed was very fast. But after several day, the system has been getting slower seriously.
    So I monitored my system using 'top'. And I've found that almost 30MB swap memory has been used and CPU usage has been only 23%. But there has been 2GB idle Ram memory. Besides when Oracle don't execute any operation, swap memory is not freed. After I started my server, swap memory allocated has been getting larger and larger. And the speed of my system has been getting slower and slower.
    I think that it is very strange thing not to free swap memory when there is no operation on the server.
    Of course, swapping which rise with large transaction is not problem. But it is a serious problem not to free swap memory when there is no transaction.
    How can I solve this ploblem? Thanks.

    This means the the URL for database control will use the http protocol. To convert to the https protocol (using the included SSL certificate), use the steps documented above. Before doing so, pl review MOS Doc 1222603.1
    HTH
    Srini

  • 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,
    shaan

    Hi 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

  • How can i solve this replication problem between TT and ORACLE

    Hi
    I have an application that using AWT cashgroup implement the replication between TT (7.0.6.7) and ORACLE(10g);
    but i encounter this problem:
    16:16:50.01 Err : REP: 2302682: ABM_BAL_WH:meta.c(4588): TT5259: Failed to store Awt runtime information for datastore /abm_wh/abm_bal_ttdata/abm_bal_wh on Oracle.
    16:16:50.02 Err : REP: 2302682: ABM_BAL_WH:meta.c(4588): TT5107: TT5107: Oracle(OCI) error in OCIStmtExecute(): ORA-08177: can't serialize access for this transaction rc = -1 -- file "bdbStmt.c", lineno 3726, procedure "ttBDbStmtExecute()"
    16:16:50.02 Err : REP: 2302682: ABM_BAL_WH:receiver.c(5612): TT16187: Transaction 1316077016/357692526; Error: transient 0, permanent 1
    the isolation level of my date store is read-committed ,and the sys.ODBC.INI file is also set Isolation=1(readcommitted mode)
    so ,I still wonder how the error ORA-08177!
    how can i solve this replication problem?
    thank you.

    I suspect this is failing on an UPDATE to the tt_03_reppeers table on Oracle. I would guess the TT repagent has to temporarily use serializable isolation when updating this table. Do you have any other datastores with AWT cachegroups propagating into the same Oracle database? Or can you identify if some other process is preventing the repagent from using serializable isolation? If you google ORA-08177 there seem to be ways out there to narrow down what's causing the contention.

  • How to connect mysql and oracle 10g by UTL_HTTP?

    how to connect mysql 5.0 and oracle 10g r2 by UTL_HTTP?what to do for this url connection exactly?

    cant i change anything to stup a link?
    SQL> desc utl_http
    PROCEDURE ADD_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN
    FUNCTION BEGIN_REQUEST RETURNS RECORD
    Argument Name               Type               In/Out Default?
       URL                    VARCHAR2(32767)      OUT
       METHOD               VARCHAR2(64)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    URL                    VARCHAR2          IN
    METHOD                VARCHAR2          IN     DEFAULT
    HTTP_VERSION               VARCHAR2          IN     DEFAULT
    PROCEDURE CLEAR_COOKIES
    PROCEDURE CLOSE_PERSISTENT_CONN
    Argument Name               Type               In/Out Default?
    CONN                    RECORD               IN
       HOST                VARCHAR2(256)          IN
       PORT                BINARY_INTEGER          IN
       PROXY_HOST               VARCHAR2(256)          IN
       PROXY_PORT               BINARY_INTEGER          IN
       SSL                    BOOLEAN           IN
    PROCEDURE CLOSE_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    HOST                    VARCHAR2          IN     DEFAULT
    PORT                    BINARY_INTEGER          IN     DEFAULT
    PROXY_HOST               VARCHAR2          IN     DEFAULT
    PROXY_PORT               BINARY_INTEGER          IN     DEFAULT
    SSL                    BOOLEAN           IN     DEFAULT
    PROCEDURE END_REQUEST
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE END_RESPONSE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    SCHEME                VARCHAR2          OUT
    REALM                    VARCHAR2          OUT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE GET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          OUT
    FUNCTION GET_BODY_CHARSET RETURNS VARCHAR2
    PROCEDURE GET_COOKIES
    Argument Name               Type               In/Out Default?
    COOKIES               TABLE OF RECORD      IN/OUT
    FUNCTION GET_COOKIE_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_COOKIES               BINARY_INTEGER          OUT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          OUT
    PROCEDURE GET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    FUNCTION GET_DETAILED_SQLCODE RETURNS BINARY_INTEGER
    FUNCTION GET_DETAILED_SQLERRM RETURNS VARCHAR2
    PROCEDURE GET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          OUT
    PROCEDURE GET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    N                    BINARY_INTEGER          IN
    NAME                    VARCHAR2          OUT
    VALUE                    VARCHAR2          OUT
    PROCEDURE GET_HEADER_BY_NAME
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          OUT
    N                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION GET_HEADER_COUNT RETURNS BINARY_INTEGER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    PROCEDURE GET_PERSISTENT_CONNS
    Argument Name               Type               In/Out Default?
    CONNECTIONS               TABLE OF RECORD      IN/OUT
    FUNCTION GET_PERSISTENT_CONN_COUNT RETURNS BINARY_INTEGER
    PROCEDURE GET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    MAX_CONNS               BINARY_INTEGER          OUT
    PROCEDURE GET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          OUT
    NO_PROXY_DOMAINS          VARCHAR2          OUT
    FUNCTION GET_RESPONSE RETURNS RECORD
    Argument Name               Type               In/Out Default?
       STATUS_CODE               BINARY_INTEGER          OUT
       REASON_PHRASE          VARCHAR2(256)          OUT
       HTTP_VERSION           VARCHAR2(64)          OUT
       PRIVATE_HNDL           BINARY_INTEGER          OUT
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    RETURN_INFO_RESPONSE          BOOLEAN           IN     DEFAULT
    PROCEDURE GET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           OUT
    PROCEDURE GET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          OUT
    PROCEDURE READ_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    REMOVE_CRLF               BOOLEAN           IN     DEFAULT
    PROCEDURE READ_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    PROCEDURE READ_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          OUT
    LEN                    BINARY_INTEGER          IN     DEFAULT
    FUNCTION REQUEST RETURNS VARCHAR2
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    FUNCTION REQUEST_PIECES RETURNS TABLE OF VARCHAR2(2000)
    Argument Name               Type               In/Out Default?
    URL                    VARCHAR2          IN
    MAX_PIECES               BINARY_INTEGER          IN     DEFAULT
    PROXY                    VARCHAR2          IN     DEFAULT
    WALLET_PATH               VARCHAR2          IN     DEFAULT
    WALLET_PASSWORD          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_AUTHENTICATION
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    USERNAME               VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    SCHEME                VARCHAR2          IN     DEFAULT
    FOR_PROXY               BOOLEAN           IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_BODY_CHARSET
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       STATUS_CODE               BINARY_INTEGER          IN/OUT
       REASON_PHRASE          VARCHAR2(256)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    CHARSET               VARCHAR2          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_COOKIES               BINARY_INTEGER          IN     DEFAULT
    MAX_COOKIES_PER_SITE          BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_COOKIE_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_DETAILED_EXCP_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_FOLLOW_REDIRECT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    MAX_REDIRECTS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_HEADER
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    NAME                    VARCHAR2          IN
    VALUE                    VARCHAR2          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN
    MAX_CONNS               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_PERSISTENT_CONN_SUPPORT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_PROXY
    Argument Name               Type               In/Out Default?
    PROXY                    VARCHAR2          IN
    NO_PROXY_DOMAINS          VARCHAR2          IN     DEFAULT
    PROCEDURE SET_RESPONSE_ERROR_CHECK
    Argument Name               Type               In/Out Default?
    ENABLE                BOOLEAN           IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_TRANSFER_TIMEOUT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    TIMEOUT               BINARY_INTEGER          IN     DEFAULT
    PROCEDURE SET_WALLET
    Argument Name               Type               In/Out Default?
    PATH                    VARCHAR2          IN
    PASSWORD               VARCHAR2          IN     DEFAULT
    PROCEDURE WRITE_LINE
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN
    PROCEDURE WRITE_RAW
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    RAW               IN
    PROCEDURE WRITE_TEXT
    Argument Name               Type               In/Out Default?
    R                    RECORD               IN/OUT
       URL                    VARCHAR2(32767)      IN/OUT
       METHOD               VARCHAR2(64)          IN/OUT
       HTTP_VERSION           VARCHAR2(64)          IN/OUT
       PRIVATE_HNDL           BINARY_INTEGER          IN/OUT
    DATA                    VARCHAR2          IN

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(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)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • How to find exception occured while using LOGON function in oracle 10g

    Hi,
    I am using LOGON function to login with a different user name in oracle 10g forms.
    LOGON ( User, Pass@tns, FALSE)
    The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
    What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
    How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.
    Habib

    Habib Ahmad wrote:
    Hi,
    I am using LOGON function to login with a different user name in oracle 10g forms.
    LOGON ( User, Pass@tns, FALSE)
    The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
    What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
    How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.As salamu alikum, Habib
    If you pass FALSE in login you can't catch anything. Want to catch the error ?
    Then change
    LOGON ( User, Pass@tns, FALSE)
    to
    LOGON ( User, Pass@tns, TRUE) Now Create On-Error trigger at form level
    and try the following code
    if error_code=01017 then
         message('invalid user name or password');
         message('invalid user name or password');
         raise form_trigger_failure;
    elsif error_code=12154 or error_code=1215 then
         message('invalid connection string');
         message('invalid connection string');
         raise form_trigger_failure;
    end if;Hopes this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • How to transfer database tables from sql server 2000 to oracle 10g

    Hi,
    I have a database and tables in sql server 2000. I have to transfer those data to Oracle 10g. I have installed Oracle warehouse Builder ETL Tool. Using this how can i transfer data. Any help is vary helpful for me.
    Thanks in advance.

    you have to do it using ODBC HS.
    1. Configure ODBC connection through gateway.
    2. Create a initxxx.ora file with HS config.
    restart gateway listener services
    3. on target o/s add entries to your tnsnames.ora
    4. On your target o/s create a db link
    restart listener on target
    cheeck this out.Non-Oracle connection through HS issue
    Edited by: Darthvader-647181 on Jan 29, 2009 2:02 AM

  • How to run Pro*C application with Instant Client in Oracle 10g

    i am try to run but Pro*C application give error orasql10.dll
    i have downlod Instant Client in Oracle 10g from site. i have unzip and maked environmental virable in PC.
    but application not run. given error orasql10.dll .......
    my problem is thrat i want to run Pro*C application with Instant Client in Oracle 10g .....
    oracle say that run but how........

    According to this thread, it does not work on Windows:
    Does Instant Client 10.1.0.4 for Windows 32 support ProC ?

  • How to increasethe throughput of the I/O subsystem in Oracle 10g?

    How to increase the throughput of the I/O subsystem in oracle 10g.
    OS : Windows 2003 Server

    I think your ADDM report may well be wrong.
    In another thread you've reported the ADDM for this 23 hours as showing::
    This is my ADDM report:
    Analysis Period: from 06-MAY-2008 09:30 to 07-MAY-2008 08:30
    Database Version: 10.2.0.1.0
    Snapshot Range: from 2656 to 2679
    Database Time: 100249 seconds
    Average Database Load: 1.2 active sessions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    FINDING 1: 100% impact (100249 seconds)
    Significant virtual memory paging was detected on the host operating system.
    RECOMMENDATION 1: Host Configuration, 100% benefit (100249 seconds)
    ACTION: Host operating system was experiencing significant paging but no
    particular root cause could be detected
    At the same time, your extract from the matching AWR report shows:
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    db file scattered read 20,665,706 48,083 2 48.0 User I/O
    CPU time 30,114 30.0
    db file sequential read 3,661,225 14,740 4 14.7 User I/O
    read by other session 454,471 2,933 6 2.9 User I/O
    db file parallel write 485,625 1,426 3 1.4 System I/O
    So the AWR in these 5 events shows 97,000 seconds of time, but 100% of the total DB time is supposed to be related to Host swap time. The two sets of numbers are not consistent.
    Moreover, the wait times are showing "db file scattered reads" with an average time of slightly less than 2.4 milliseconds. It would be a little surprising if you have a swapping problem AND I/O times that were operating at cache speeds. (Your db file sequential reads also have a very good average wait time).
    23 hours is not a helpful interval though - the average may be hiding shorter periods of nasty activity when reponse time is bad. So (as Charles Hooper indicated) - where, or when, do you perceive a performance issue; and what do you get from ADDM or AWR for a shorter time-range around that period.
    My first thought, looking at the numbers you've supplied, is that if you think some critical SQL is running slowly is that you're probably working too hard because you are missing (or not using) some critical indexes. In your place, I'd run off a few one-hour AWR reports in that 23 hours, and look at 'SQL ordered by elapsed time' or 'SQL ordered by reads' for the top few statements, then pick up their execution plans by running the awrsqrpt.sq report.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    P.S. Please check the FAQ (see top right of page) for details on how to use the PRE tag to supply code and reports in a fixed font that makes them more readable.

  • Map a SAN LUN to a WS2012 R2 virtual machine

    Hello,
    I need some help from someone who has dealt with this before.
    I have:
    an HP DL380 G6 running the unlimited eval copy of Hyper-V Server 2012 R2.
    an HP MSA 2040 SAN enclosure.
    a WS2012 R2 Std. x64 virtual machine running on the Hyper-V Server 2012 R2 host.
    an HP/LSI SAS 9207-8e host adapter.
    I've been asked to configure the WS2012 R2 Std. x64 virtual machine as a file server, but really the data will be on an MSA 2040 SAN enclosure volume, so I need to map an LUN from the MSA 2040 to the WS2012 R2 Std. x64 virtual machine.
    Of course I can't actually install the HP/LSI SAS 9207-8e host adapter into the WS2012 R2 Std. x64 virtual machine, but is there an emulation/software solution for this?
    If I install the physical HP/LSI SAS 9207-8e host adapter into the physical Hyper-V Server 2012 R2 host, will I be able to add a virtual version of said host adapter to my VM?
    I'm searching and reading posts now, but if someone, who knows, has the answer, I would really appreciate a pointer or two.
    Thanks in advance for your time and help.
    SOLVED!
    Hello Elton_Ji/Darshana Jayathilake
    And thanks for trying to help, but please stop repeating disinformation.
    It CAN be done; I did it last week with the specific hardware/software listed.
    Domain Environment - Server 2003 AD with DFL/FFL set to Windows Server 2003.
    1 - HP DL308 G6 running the unlimited eval of Hyper-V Server 2012 R2 (core).
    1 - member server (desktop class hardware) running WS2012 R2 Std. (used for remote mgmt.).
    (there are 5/6 netsh advfirewall firewall commands that need to be run in order to use the computer 
    mgmt. console on a WS2012 R2 Std box to manage the Hyper-V Server core install; look 'em up.).
    1 - HP MSA 2040 Enclosure with Dual Controllers - purchased in the last two months; no firmware changes 
    have been made.
    1 - HP/LSI SAS 9207-8e HBA - purchased in the last two months.
    2 - SFF-8644 to SFF-8088 SAS HBA connector cables - purchased in the last two months.
    Two SAN volumes were successfully mapped to the phys. SAS 9207-8e HBA in the Hyper-V Server using the 
    dual ctrlr connection scenario per the MSA2040 UserGuide. p.36
    http://h20565.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c03792322
    one server/one hba/dual path 
    connection from ctrlr A sas port A1 
    connection from ctrlr B sas port B1 
    all other ports on both ctrlrs were deselected 
    ctrlr A connected to right hand port interface on phys sas card in Hyper-V Server 2012 R2 (core). 
    ctrlr B connected to left hand port interface on phys sas card in Hyper-V Server 2012 R2 (core).
    link led was green on both ctrlrs; activity led was off on both ctrlrs 
    applied the settings: "The host mapping was modified successfully. Note: It may take a minute to update 
    table.
    i didn't have to choose another lun while cfging ctrlr B; lun 1 is still set. 
    The file server VM is OFF!
    the File Server VM's settings > SCSI ctrlr > Hard Drive settings DID change; the "physical disk option" 
    was NOW available with
    disk 1 1115.72 GB bus 0 lun 1 target 1 
    and 
    disk 2 1117.11 GB bus 0 lun 2 target 2 
    a rescan disks in disk mgmt. on Hyper-V Server 2012 R2 (core) did not show any new drives yet; that's 
    OK, you won't see them there.
    I selected scsi disk 1 in the File Server VM's settings > scsi ctrlr > hard drive > physical disk 
    option, and did likewise with the second scsi hard drive phy. disk 2.
    Then I started the File Server VM, and logged in > opened the computer mgmt. console > disk mgmt. > 
    EUREKA! > there were two, new, unknown/offline/unallocated disks. 
    The properties of both offline disks identified them as an "HP MSA 2040 SAS SCSI Disk Device" 
    the offline disk info ballon reads "offline (the disk is offline because of policy set by an 
    administrator) 
    Disk 1 was set to online and initialized as GPT (went with GPT due to size/plans for future growth).
    I created a simple volume partition and formatted it as ntfs (1115.6 GB) 
    new simple volume > used all available space (1142370 MB) > drive letter E > format partition > file 
    system = ntfs > allocation unit size = default > volume label = DATA > perform quick format deselected. 
    the activity led on ctrlr A was now green and blinking. 
    1:38 PM on 4/2/15 1% 
    2:03 PM 22 % 
    2:22 PM 37% 
    3:40 PM done 
    I opened a unc window to \\VirtualFileServer\e$, pasted a text file and deleted it.
    I'm domain admin, so I was able to open the window without sharing or setting ntfs permissions.
    fantástico!

    Hi Sir,
    >>so I need to map an LUN from the MSA 2040 to the WS2012 R2 Std. x64 virtual machine.
    Please ensure NPIV is enabled on HBA and SAN switch .
    "Virtual Fibre Channel support in Windows Server 2012 leverages Fibre Channel HBAs and switches that are compatible with N_Port ID Virtualization (
    NPIV ).  NPIV is leveraged by Windows Server 2012 Hyper-V and the FREE Hyper-V Server 2012 to define virtualized World Wide Node Names (
    WWNNs ) and World Wide Port Names (
    WWPNs ) that can be assigned to virtual Fibre Channel HBAs within the settings of each VM.  These virtualized World Wide Names can then be zoned into the storage and masked into
    the LUNs that should be presented to each clustered Virtual Machine."
    http://blogs.technet.com/b/keithmayer/archive/2013/03/21/virtual-machine-guest-clustering-with-windows-server-2012-become-a-virtualization-expert-in-20-days-part-14-of-20.aspx
    Also :
    http://blogs.msdn.com/b/robertvi/archive/2014/07/11/getting-started-with-virtual-fibre-channel-inside-a-hyper-v-vm.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Mapping Roles/Groups between OBIEE 11g and Oracle EBS R12

    Hi,
    We are implementing OBIEE 11g with Oracle EBS R12 as source system. Also we are using Out of the box RPD for Oracle EBS R12.
    But we are facing lot of challenges to map OBIEE 11g groups and EBS roles and responsibilities. We do not have prior experience with EBS as source system.
    Can anyone tell how to map between obiee groups with Oracle E-Business suit R12
    Is there any document link or notes regarding this.
    Any help regarding this will really save us.
    Thanks in advance

    Please read:
    Integrating with EBS Suite Security: http://docs.oracle.com/cd/E28280_01/bi.1111/e16364/ebs_actions.htm#BIEIT1321
    As I understand you need to create a Connection Pool to your EBS database. I think that would be a serious security aspect for the integration to work over two different networks. But I don't think it's impossible.
    Domain Prerequisites is another challenge in this scenario.
    More specifically: http://docs.oracle.com/cd/E28280_01/bi.1111/e16364/ebs_actions.htm#CHDHCAFD

  • How to add a new font into Report Builder and Oracle Forms/Reports Server?

    Hi,
    I've searched the forum and can't find this being discussed.
    My developers run Report Builder 10.1.2.0.2 on their XP laptops.
    Their reports run (in production) on Oracle Forms/Reports Server 10.1.2.0.2.
    This server runs on MS Windows 2003, SP2.
    They've got a client who wants reports using the "Garamond Western" font.
    So....how do I get this font onto the developer's Report Builder laptops, and onto the Oracle Forms/Reports Server?
    I've moved various 'Garamond' fonts into C:\WINDOWS\FONTS on both the laptops and the server, but neither seem to recognize it.
    Thanks for your help.

    Thanks.
    This answers 1/2 of my question.
    The developer can now use Report Builder on his laptop, with the new fonts.
    But when he moves this new Report to the Oracle Application Server/Forms-Reports Server, it fails to use the new fonts.
    The Oracle App Server/Forms-Report Server is Version 10.1.2.0.2. It runs on MS Windows 2003, SP2.
    I have installed the exact same fonts on this server, into C:\WINDOWS\Fonts.
    I have used REGEDIT to change REPORTS_PATH....and placed C:\WINDOWS\Fonts; as the first value in this field.
    I have then stopped and restarted the Forms-Reports Server.

  • How to insert a JPG file from file system to Oracle 10g?

    I have developed a schema to store photos as BLOB which store the text description as CLOB original filename, file size.
    I also use ctxsys.context to index TEXT_DESCRIPTION in order to perform Oracle Text Search and it works.
    I would like to insert some JPG file from say C:\MYPHOTO\Photo1.jpg as a new record. How can I do this in SQL PLus and/or Loader?
    How can I retrieve the PHOTO_IMAGE back to the file system using SQL Plus and/or command line in DOS?
    See the following script:
    create user myphoto identified by myphoto;
    grant connect, resource, ctxapp to myphoto;
    connect myphoto/myphoto@orcl;
    PROMPT Creating Table PHOTOS
    CREATE TABLE PHOTOS
    (PHOTO_ID VARCHAR2(15) NOT NULL,
    PHOTO_IMAGE BLOB,
    TEXT_DESCRIPTION CLOB,
    FILENAME VARCHAR2(50),
    FILE_SIZE NUMBER NOT NULL,
    CONSTRAINT PK_PHOTOS PRIMARY KEY (PHOTO_ID)
    create index idx_photos_text_desc on
    PHOTOS(TEXT_DESCRIPTION) indextype is ctxsys.context;
    INSERT INTO PHOTOS VALUES
    ('P00000000000001', empty_blob(), empty_clob(),
    'SCGP1.JPG',100);
    INSERT INTO PHOTOS VALUES
    ('P00000000000002', empty_blob(), 'Cold Play with me at the concert in Melbourne 2005',
    'COLDPLAY1.JPG',200);
    INSERT INTO PHOTOS VALUES
    ('P00000000000003', empty_blob(), 'My parents in Melbourne 2001',
    'COLDPLAY1.JPG',200);
    EXEC CTX_DDL.SYNC_INDEX('idx_photos_text_desc');
    SELECT PHOTO_ID ,TEXT_DESCRIPTION
    FROM PHOTOS;
    SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
    FROM PHOTOS
    WHERE CONTAINS(TEXT_DESCRIPTION,'parents',1)> 0
    ORDER BY score(1) DESC;
    SELECT score(1),PHOTO_ID ,TEXT_DESCRIPTION
    FROM PHOTOS
    WHERE CONTAINS(TEXT_DESCRIPTION,'cold play',1)> 0
    ORDER BY score(1) DESC;
    SELECT score(1),score(2), PHOTO_ID ,TEXT_DESCRIPTION
    FROM photos
    WHERE CONTAINS(TEXT_DESCRIPTION,'Melbourne',1)> 0
    AND CONTAINS(TEXT_DESCRIPTION,'2005',2)> 0
    ORDER BY score(1) DESC;

    Hi
    You can use the following to insert an image:
    create table imagetab(id number primary key,imagfile blob, fcol varchar2(10));
    create or replace directory imagefiles as 'c:\'
    declare
        v_bfile BFILE;
        v_blob  BLOB;
      begin
        insert into imagetab (id,imagfile,fcol)
        values (3,empty_blob(),'BINARY')
        return imagfile into v_blob;
        v_bfile := BFILENAME ('IMAGEFILES', 'MyImage.JPG');
        Dbms_Lob.fileopen (v_bfile, Dbms_Lob.File_Readonly);
        Dbms_Lob.Loadfromfile (v_blob, v_bfile, Dbms_Lob.Getlength(v_bfile));
        Dbms_Lob.Fileclose(v_bfile);
        commit;
      end;
    /

  • How to retrive relational data from an XMLType column in Oracle 10g R2

    Hi
    I want how to retrive the data which is in XML document in an XMLColumn in a Table(or an XMLTable which has the XML Document). This XML Document has to be Queried with XQuery as a Relational data(not an XML Document).
    If any body has some ideas please share it across ASAP.
    please share an example for this because i am new to this XQuery.
    Thanks in Expectation,
    Selva.

    Got it working now. I used the 'extract' function in my select statement, but had to add the .getStringValue() fuction. The extract function, just by itself, returns an XMLDocument type. The call for the column in the SQL statement looked like this.
    extract(XML_CONTENT, '/ROOTOBJECT').getStringVal() xml_content
    Thanks so much for your help. Problem solved!

Maybe you are looking for

  • How do I reduce the file size of a movie which is consecutive pictures?

    I have added audio to a powerpoint presentation and imported it into final cut pro. I want the smallest file possible, whilst retaining quality. The "movie" part is 30 consecutive pictures, so can I significantly compress the video in the file before

  • ITunes 7.1 will not open! Not even an Error message!?!?!?

    Hey, this problem is getting REALLY frustrating. I've done absolutley everything that i can think of, even some of the things that you guys have thought of on other posts, but nothing. Every time I click on the iTunes links it looks like its thinking

  • Is there any possible way to retrieve a lost file?

    I have a MacBook Pro. I have been creating graphics with Flash, and the program shut down. Then it showed a recovered file, so I started to work in that. Then that disappeared and there is no trace of it. Is there ANYWHERE I might still retrieve it?

  • Why the Blank DVD can not be found in Super Drive?

    With my new Mac Book Pro which I created severeal DVDs in past month, all of a sudden I have problem. In Both DVD Studio Pro and iDVD I can not burn the final video which is 35 minutes. Each time I attempt to burn my project, the disk is ejected with

  • Statement.close() Not closing the Result set

    Hi all, I have the following code which invokes a procedure in Oracle database public static callProcedure(Connection connection,String procedure){ ResultSet resultSet = null; CallableStatement callableStatement = null; try { callableStatement = conn