I created new RAC DB, how i can connect to sql?

export ORACLE_SID=testtest.test.com - esm01p:/opt/oracle
set $ORACLE_HOME=/opt/oracle/10.2.0.1.0ricsflgrd401.ric.infineon.com - esm01p:/opt/oracle
sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 31 11:36:31 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect /as sysdba;
Connected to an idle instance.
I created new RAC DB, how i can connect to sql?

Instead of the database name, try the instance name with number.
-bash-3.00$ crsstat
HA Resource Target State
ora.racdev.db ONLINE ONLINE on tstorarac01
ora.racdev.racdev1.inst ONLINE ONLINE on tstorarac01
ora.racdev.racdev2.inst ONLINE ONLINE on tstorarac02
ora.racdev.racdev3.inst ONLINE ONLINE on tstorarac03
-bash-3.00$ export ORACLE_SID=racdev
-bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Oct 31 10:55:03 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> exit
Disconnected
-bash-3.00$ export ORACLE_SID=racdev1
-bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Oct 31 10:55:15 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters and Data Mining options
SQL>

Similar Messages

  • I urgently need to know how I can connect 8 thunderbolt display, I was thinking with the new mac pro will come out, but I wonder if it is possible to connect an iMac to 4GB of graphics card, but suffers from the imac. thanks

    I urgently need to know how I can connect 8 thunderbolt display, I was thinking with the new mac pro will come out, but I wonder if it is possible to connect an iMac to 4GB of graphics card, but suffers from the imac. thanks

    I tightened all HD screws and it didn't help. With the machine running and side of the case off, I physically stopped both the video card fan and the front case fan with my finger for a couple seconds and the noise continued. I also took all hard drives out one by one and rebooted each time. Again, the noise continued until I took out the Mac HD in Bay 1, rebooted, and I had a very quiet, silent machine. The issue is the hard drive in bay 1 that shipped with the computer, it's without a doubt causing the hum/woosh sound. I still need to know if I can safely swap the Mac HD from bay 1 to bay 4 without any issues to the operating system. I would like to try that to see if it dampens the noise but I also want to make sure this swap won't screw up my machine at all.

  • Touch ID on my ip5s had broken. I added my fingerprints before then I deleted them and add new one. How I can fix that problem? P/s : Fail immediately when I click on Add fingerprints

    Touch ID on my ip5s had broken. I added my fingerprints before then I deleted them and add new one. How I can fix that problem? P/s : Fail immediately when I click on Add fingerprints.

    problem is "Failed. Sorry, the operation was not succesfull. ... " and now i can't use touch ID in my phone

  • How i can connect php and oracle9i ?

    hello am new to php.i have oracle 9i and php and apache.oracle is installed at one system and php inother one at network .when i have at same pc's i connect it.but now it's at different systems how i can connect.plzz tell me complete steps of apache that i will define and next complete process to connect php and oracle .plzzzzzzzzzzzzzzzzzzzzzzzzzzzz

    Apache and PHP need to be on the same system. That system also needs either the database or Oracle client libraries like Oracle Instant Client. There are steps for installation of the PHP side on http://www.oracle.com/technology/tech/php/index.html
    There are various Oracle installation notes in the Oracle manuals or software bundles.
    -- cj

  • Openreach - How I can connect my PC directly into ...

    Can you please let me know how i can connect my computer directly to white coloer modem box "Openreach"?
    Thank you for your advise.
    Solved!
    Go to Solution.

    Step 1: Remove the homehub from the modem
    Step2: Connect your pc/laptop into the modem using LAN1 port (LAN2 is disabled and not in use)
    Step3: Open network and sharing centre on windows and click set up a new connection or network
    Step4:  Connect to the internet (the top option) then click make a new connection Broadband PPPoE
    Step5:  Username [email protected] and the password as broadband
    Step6: connect, for some reason it may say that it cannot connect, just keep pressing try again if this happens and it will eventually connect.

  • I don't know how I can optimize this SQL

    Dear ALL:
    I don't know how I can optimize this SQL.
    Is it possible to make a better SQL or PL/SQL?
    Please let me know your good thought.
    Thank you.
    Sincerely,
    ===========================================================
    (SELECT     A, B, C, SUM(D) as D, AVG(E) as E
    FROM      T1, T2
    WHERE     T1.timestamp BETWEEN TO_DATE('00:00:00','HH24:MI:SS')
    AND TO_DATE('01:00:00','HH24:MI:SS')
    GROUP BY A, B, C
    UNION ALL
    (SELECT     A, B, C, SUM(D) as D, AVG(E) as E
    FROM      T1, T2
    WHERE     T1.timestamp BETWEEN TO_DATE('01:00:01','HH24:MI:SS')
    AND TO_DATE('02:00:00','HH24:MI:SS')
    GROUP BY A, B, C
    UNION ALL
    (SELECT     A, B, C, SUM(D) as D, AVG(E) as E
    FROM      T1, T2
    WHERE     T1.timestamp BETWEEN TO_DATE('02:00:01','HH24:MI:SS')
    AND TO_DATE('03:00:00','HH24:MI:SS')
    GROUP BY A, B, C
    UNION ALL
    (SELECT     A, B, C, SUM(D) as D, AVG(E) as E
    FROM      T1, T2
    WHERE     T1.timestamp BETWEEN TO_DATE('03:00:01','HH24:MI:SS')
    AND TO_DATE('04:00:00','HH24:MI:SS')
    GROUP BY A, B, C
    ORDER BY A ASC, B ASC, C ASC
    ===========================================================

    Dear Warren:
    Actually, for this query, it takes a few second to complete the query.
    But, I have to create several time period and I have to optimize the SQL.
    Time period is 1 hour, 30 min, 15 min, 5 min.
    That is,
    ===========================================================
    WHERE T1.timstamp BETWEEN TO_DATE('00:00:00','HH24:MI:SS')
    AND TO_DATE('01:00:00','HH24:MI:SS')
    UNION ALL
    WHERE T1.timestamp BETWEEN TO_DATE('23:00:01','HH24:MI:SS')
    AND TO_DATE('24:00:00','HH24:MI:SS')
    ===========================================================
    WHERE T1.timstamp BETWEEN TO_DATE('00:00:00','HH24:MI:SS')
    AND TO_DATE('00:30:00','HH24:MI:SS')
    UNION ALL
    WHERE T1.timestamp BETWEEN TO_DATE('23:30:01','HH24:MI:SS')
    AND TO_DATE('24:00:00','HH24:MI:SS')
    ===========================================================
    WHERE T1.timstamp BETWEEN TO_DATE('00:00:00','HH24:MI:SS')
    AND TO_DATE('00:15:00','HH24:MI:SS')
    UNION ALL
    WHERE T1.timestamp BETWEEN TO_DATE('23:45:01','HH24:MI:SS')
    AND TO_DATE('24:00:00','HH24:MI:SS')
    ===========================================================
    WHERE T1.timstamp BETWEEN TO_DATE('00:00:00','HH24:MI:SS')
    AND TO_DATE('00:05:00','HH24:MI:SS')
    UNION ALL
    WHERE T1.timestamp BETWEEN TO_DATE('23:55:01','HH24:MI:SS')
    AND TO_DATE('24:00:00','HH24:MI:SS')
    ===========================================================
    Do you know how this SQL is optimized?
    Thank you,

  • Step by Step how we can connect SAP CRM to External system..

    Hi Experts,
    I want to know the informations of how we can connect sap CRM to External system, and what are the settings we have to do ,to enable XIF adapter..
    This is very imp requirement kindly give support.., how we can connect to other system..through XIF Adapter..??
    IS it possible to create ZBAPI in SAP CRM..?
    Thankz in Advance
    Regards
    J Sarathi

    Hi,
    - Xif adapters and service process the BDOC messages.
    - adapters for inbound and outbounfd processing.
    -it will forward the messages from  the inbound queues to the control component.
    -BDOC is a business document where the flow of data to and from the CRM system takes place.
    -Bdoc is a container that contain business data
    - it describes the hierarchial structure of the business data.
    -you can also create custom specific BDOC types,
    -BDOC's as a data container to process business objects as one unit and this avoid having to transport several individual tables.
    Bdoc types are found in BDOC repositry.
    Bdoc types have two part
    Header- consist of one single segment so-caooed control segment
    Body - consist of one or more data segment
    Idoc having three types of data:
    control record
    Data record
    status record
    hope it will useful.
    thanks
    Hemant ghiya

  • How i can connect to devices using apple id

    how i can connect to devices that using apple id

    Asked, answered and marked as "Solved" at: https://discussions.apple.com/message/23456497#23456497#23456497

  • How i can connect ipad with ipad mini via bluetooth

    how i can connect ipad with ipad mini via bluetooth?

    for what purpos?
    this is what bluetooth profiles ios devices support out of the box
    http://support.apple.com/kb/HT3647?viewlocale=en_US&locale=en_US
    but there maybe more features supported by apps from app store as a bluetooth profiles such as PAN give the client server possiblities

  • How i can connect developer 6i & 2000 to databse 10g standerd-one

    How i can connect developer 6i & 2000 to databse 10g standerd addition one

    I don't think Developer 2000 is supported with 10g, I haven't tried it.
    Patch 18 for Forms 6i can only be downloaded from metalink since Forms 6i is no longer supported only limited support for E-Business Suite users.
    Why would waht to use Dev 200 and Forms 6i, these product are no longer supported, why no use the latest version of Forms Forms 10g R2???
    Tony

  • Is there a way how I can connect my iPod to my TV using my iPod USB charger

    Is there a way how I can connect my iPod touch to my flat screen tv using my iPod USB charger?

    No.
    Yu need either an Apple TV for AirPlay or an adopter cable
    iPhone, iPad, iPod: TV out support

  • HT4993 how I can connect my Iphone 5 and my hand free Jabra cruiser2?

    How I can connect my hand free Jabra cruise 2 with my Iphone 5?

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Satellite Pro M30 , Can you help me to how i can connect Serial COM wire?

    Dear Sirs,
    Can you help me to how I can solve my following issue:
    I have TOSHIBA Satellite Pro M30 computer and as you know there is no Serial COM Port in this model.
    Can you help me to how I can connect Serial Com wire (SR232 DATA)?
    Where I need to connect above wire for Satellite Reserve updating.
    Also for your information the wire which I have is tow male sides.
    Regards
    Ali H. Ba-Aqeel
    [email protected]

    Hello,
    youve got the alternative to get an PCMCIA Serial Port Adapter.
    The Installation was easy at my Notebook and runs without Problems in Windows XP and 2000.
    Have a try.

  • How i can connect SB Audigy 2 ZS to Onkyo TX-SR502E by digital interfa

    Sorry for my english. How i can connect SB Audigy 2 ZS to Onkyo TX-SR502E by digital interface. I tried connect SB Digital Out to Onkyo Coaxial In and enable "digital out", but don't hear sound.

    I don't know if you have tried this or not, but you have to enable SPDIF output in your Creative Settings, and possible your other software, ie - Media player(s), DVD Players, etc.
    There is a Sticky at the top of this page that explains Digital Output.
    Jason

  • I tring to create new agent and then checking test connection it will show

    i tring to create new agent and then checking test connection it will show error like below plz help us
    oracle.odi.runtime.agent.invocation.InvocationException: ODI-1424: Agent host or port cannot be reached using http://localhost:29010/oraclediagent.
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.reThrowAgentErrorAsInvocation(RemoteRuntimeAgentInvoker.java:932)
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:291)
         at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeIsAlive(RemoteRuntimeAgentInvoker.java:427)
         at oracle.odi.ui.action.SnpsPopupActionTestAgentHandler.actionPerformed(SnpsPopupActionTestAgentHandler.java:65)
         at oracle.odi.ui.SnpsActionControler.handleEvent(SnpsActionControler.java:75)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2475)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    after using this link it will show error like below plz help
    C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin>agent -NAME=OracleDIAgent
    OracleDI: Starting Agent ...
    2011-03-28 19:14:12.930 ERROR ODI-1131 Agent OracleDIAgent encountered an error:
    ODI-1400: Agent OracleDIAgent start failure: JDBC connection error occurs while
    connecting to the master repository.
    ODI-1441: Unable to connect to the master repository at JBDC URL=jdbc:oracle:thi
    n:@01hw175334.india.tcs.com:1521:orcl with USER=sh.
    Caused By: java.sql.SQLException: Exception occurred while getting connection: o
    racle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasourc
    e
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:
    541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException(PoolDataSourceIm
    pl.java:587)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:668)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:613)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:607)
    at oracle.odi.Agent.validateConnectionProperties(Agent.java:398)
    at oracle.odi.Agent.doGetDataSource(Agent.java:390)
    at oracle.odi.Agent.main(Agent.java:471)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection fr
    om Datasource
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(U
    CPErrorHandler.java:389)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:133)
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1570
    at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPool
    Internal.access$600(UniversalConnectionPoolImpl.java:1378)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnecti
    on(UniversalConnectionPoolImpl.java:445)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithout
    CountingRequests(UniversalConnectionPoolImpl.java:302)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(Univer
    salConnectionPoolImpl.java:129)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPoo
    l.java:119)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.j
    ava:655)
    ... 5 more
    Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon de
    nied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
    va:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
    33)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:406)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
    at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthentica
    te.java:799)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:368)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(Drive
    rConnectionFactoryAdapter.java:129)
    ... 12 more
    C:\oracle\Middleware\Oracle_ODI1\oracledi\agent\bin>

Maybe you are looking for

  • FM to get appraisal id

    Hi,experts    Please suggest me a FM which takes Employee ID(pernr) as import parameter and in turn give me the Appraisal ID(APPRAISAL_ID) in training and event management module. Thanks In advance. qiuguo

  • Synching iPhone and iPad with new iMac - former pc user

    I'm trying to determine to most efficient way to set up iTunes and synching of my iPhone 4 and iPad on my new iMac. I am finally moving away from using a pc and am facing the issue of trying to preserve all the content on my devices as I set up the i

  • Advance Payment TDS Posting

    Dear all, I configured TDS in system and while posting advance vendor payment following error i received. Please help Withholding tax amount exceeds total bank line item amounts. Message no. 7Q320

  • How to use all fonctions of a C++ dll in a java program

    package hello; public class hello { static {           System.loadLibrary("hello"); public native void afficherhello(); public static void main(String[] args) {      hello h = new hello();      h.afficherhello();      I obtain this exception: Thread[

  • HT2476 how to avoid office for mac from opening at startup

    In spite of not having the Office for Mac apps selected in Login items they keep opening at startup. How can get that to stop and open only manually?