Two database in single server(sun os)

Hi,
i need to create one more database(production) in the sun solaris server(which has enough resources) where allready one database resides, could anybody provide me the link, materail to do the same,
helpfull is greately appreciated.
Thanks

Hi Prakash,
How did you create the first one, its the same
Just Launch the DBCA as oracle user and create the database and make the entries in ORATAB to start automatically upon rebooting
http://www.dbspecialists.com/files/presentations/oracle10gsolaris.html

Similar Messages

  • Run two Database in single server

    Hi...
    I want to run two database into single server. For that I had created one another database.
    But now I am not able to connect with two database at the same time.
    When I am going to connect to another database i have to shutdown the first one.
    Is it possible to connect and work on two database at the same time?
    Thanks
    pratik

    You should have a good enough to have two or more instances running on the same machine.
    The performance of a single instnace will always be better compared to having two or more instances on the same machine.
    Is it possible to connect and work on two database at the same time?Yes
    Here is an example
    $ ps -ef |grep pmon
    ora101AS 548928 1 0 Aug 06 - 0:31 ora_pmon_orcl
    ora102DB 552974 1 0 Aug 06 - 0:36 ora_pmon_TEST
    ora102DB 1380412 1 0 00:58:49 - 0:04 ora_pmon_LIVE
    testuser 1613946 1691868 0 10:46:11 pts/2 0:00 grep pmon
    Single machine having multiple instances
    $ ps -ef |grep pmon
    ora102DB 4086 1 0 Aug 06 - 1:39 ora_pmon_LIVE10
    testuser 32848 31172 0 10:46:24 pts/0 0:00 grep pmon
    Single machine having a single instance
    The second machine performance is much better compared to the first machine that has mutiple instances.
    Normally CREATE DATABASE is used by advance users while DBCA is relatively easy to use.
    Adith

  • Multiple database in single server

    Hi experts,
    Please tell me how to configure multiple SID with single listener.
    I configured the DR setup of two databases in single server. Now the problem is, if I start one listener from orapm1(CRM), my data is replicating only for CRM, and if I am going to start my listener from oraPE2 user (DBM), error is coming u201C listener is already startu201D but DBM is not replicating with DR site.
    And when I stop the listener from oraPM1, and start listener from user oraPE2(DBM), my DBM is replicating properly, I want to start both in parallel with one listener.
    Right now I have only one port for both database (1527) and only one LISTENER, should I need to change the port for one server e.g DBM (primary and standby), and then change in listener files. For both side (primary and standby)
    If I am correct please let me know the steps, what precautions we need to take.
    And what change I need to do in listener file.
    2nd) Can I work on same port for both SIDs, if yes please tell me the steps.
    My CRM is working properly so I need to change in DBM part.
    I am attaching listener file from both users in same server (10.11.230.12)
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER_PE2 =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = PE2.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = PE2)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.11.230.12)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PE2)
    (ORACLE_HOME = /oracle/PE2/102_64)
    pm1 listener file
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = PM1.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = PM1)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.11.230.12)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PM1)
    (ORACLE_HOME = /oracle/PM1/102_64)
    Thanks in advance.

    Dear Experts,
    please tell me is it ok or i need to change something else?
    this example is for only one listener, and i put both SID details in same LISTENER, or i need to change the listener name for another server. it is very confusing...
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = PM1.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PM1)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = 10.11.230.12)
              (PORT = 1527))
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY =PE2.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = PE2)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = 10.11.230.12)
              (PORT = 1528))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PM1)
          (ORACLE_HOME = /oracle/PM1/102_64)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = ON
    SID_LIST_LISTENER  =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PE2)
          (ORACLE_HOME = /oracle/PE2/102_64)
    Rishi

  • Do I need Distributed Transaction Scope when I have Two Database in Single SQL Server Instance

    Dear Sirs.
    I have Two Database in SQL Server Express 2008 R2, I Move Row From Database 1 Table 1 to Database 2 Table 1
    Do I need Distributed Transaction or just regular Transaction.
    Thank you in Advance. 
    Irakli Lomidze

    Dear Sirs.
    I have Two Database in SQL Server Express 2008 R2, I Move Row From Database 1 Table 1 to Database 2 Table 1
    Do I need Distributed Transaction or just regular Transaction.
    Thank you in Advance. 
    Irakli Lomidze
    Whats you are doing does not qualify under distributed transaction. Please read about distributed transaction from below link
    http://technet.microsoft.com/en-us/library/ms188721%28v=sql.105%29.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How to configurate system for two database under one server

    Hi Friends,
    I installed abd created A database by oracle 10GR4 in window 32 bit 2003.
    it works.
    Then i created other B database by DBCA under this server.
    When I shutdown immediate database.
    it works well. But I can not startup mount ot startup A database again,
    I got below message as
    SQL> startup mount;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    From EM, I saw as
    A listen Status Up
    LISTENER
    Oracle Home          
    C:\oracle\product\10.2.0\db_1\BIN
    Location          
    C:\oracle\product\10.2.0\db_1\BIN\network\admin
    BUT agent connect Status          
    Failed
    Details          ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    A database instance down
    Host     salerpt.net
    Port 1521
    SID SALERPT
    Oracle Home C:\oracle\product\10.2.0\db_1\BIN
    Also I try to connect as
    SQL> connect sys/salel@salerpt as sysdba;
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Form EM, I saw listen start up.
    Then I stop it. then restart it
    I can saw B db listen and can not see A db listen.
    also
    I saw that other B database works.
    My listen info as***************
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1\BIN)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = SALERPT.NET)(PORT = 1521))
    I check physical, two database use one common bin directory .
    I do not have any experience to handle two database under one oracle server.
    How to check and configurate DB server system?
    Thanks for help.
    Edited by: user589812 on Jan 4, 2009 8:17 AM

    Jim,
    Before starting the database A, did you set ORACLE_SID=A from command line? You can run as many instances you want from single server provided you enough memory, processing power. Also try starting your instances usign window services and check and post some lines from alert.log for database A.
    tnsnames.ora entry
    DATABASE_A =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_A)
    DATABASE_B =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_B)
      )Regards
    Edited by: OrionNet on Jan 5, 2009 10:55 AM

  • Multiples databases on single server

    Hello,'
    I need some of the expertise opinions what are the cons and pros of having multiple databases on a single server? we have about 150 GB size of the database with millions of the recods in few tables. The reason is we have to keep one database up, while the other database is upgrading to the users. but i am little conscerned having both on same server. But we dont have an another server to accommdate, so multiple databases or multiple schemas on same box? which on has less overhead and what are the pros and cons...
    Thank you.

    couldlet me know what if i create an another schema in the existing database, do i create a separate tablespaces?
    -- You can create another schema in the existing database under same tablespace or different. Whatever makes sense for your application/database. Please note when you upgrade database then none of the schemas going to be available since they are part of same database.
    our golas is when one db is going through upgrades another should be up and running. as you suggested can i create on 'D" drive in 2 different oracle homes for each of these databases? in this case when i shutdown one db other will be still available to users right...
    please advise.
    -- Basically you will have 2 Oracle Homes on D drive. Something like D:\oracle_home\db_1 and D:\oracle_home\db_2 or whatever you directory/path names.. And database(s) can be located on same or (better) different drive.

  • Two database with Single Catalog

    Hi Experts,
    Is it possible to have two databases registered with a single catalog?
    My database versions are : 9i & 10g.
    The installed database version is 10g.
    Please advice & suggest
    Thanks & Regards,
    MB

    I have problem while connecting with the catalog , am trying to connect from 10g catalog to 9i database, but i get the following error.
    RMAN> connect target sys@TABS
    target database Password:
    Recovery Manager incompatible with TARGET database: RMAN 8.0.4.0 to 9.2.0.0 required
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06429: TARGET database is not compatible with this version of RMAN
    Please i need help
    Thanks & Regards,
    MB

  • Multiple oracle database on single server

    Hi,
    In our organization, we are going to install, SRM, BW and XI on a single server, each going to use its own database.
    So, in that case, will the listener and listener port for all the three database will be the same, or we need to define it during the installation.
    Please help me in this regard.
    Thanks and Regards,
    Sailesh K

    Hi Sailesh,
    The best option is different binaries (Oracle & Sap), different Filesystems and different ports (Listener, msserver, gw, and so on) for every system you install. And, of course, different system numbers!
    Best Regards,
    JC Llanes.

  • *Synchronize two oracle databases in single database*

    Hi Friends,
    Is it possible to synchronize two database in single database.
    Actually the scenario is, there will be single instance database with dataguard config...So this database will be used from two different locations/places .. the distance is around 1000 Km. If the user not able to log from second location because of network problem ... then seconday server ie datagaurd will become primary for the second location.
    Then both the databasses will work as PRIMARY database for the two different locations. Once the network issue resolve then we need to sync the database to single database ...
    Is there any solution for synchonize the database ...or any tool for this one....
    Thanks in advance
    Anil Pinto

    Hi,
    You are looking for a Bidirectional Replication.
    Golden Gate Bidirectional Replication
    http://vishaldesai.wordpress.com/2011/02/24/golden-gate-bidirectional-replication-oracle-to-oracle-example/
    Oracle Streams
    Oracle Bi-Directional Data Replication
    http://www.databasejournal.com/features/oracle/article.php/3596971/Oracle-Bi-Directional-Data-Replication.htm
    Regards,
    Levi Pereira

  • HFM and Database single server installation

    Hi Everyone
    I am trying to install HFM, FDM, HFR and database on single server (64bit 2008 R2 OS), I started with installation of 64 bit database(v11g Release2) which I have installed in my D drive rest everything remains at default path. Installation completes successfully, also I am able to login into the database through SQLPLUS.
    Then I start my installation for clients which I am installing in c drive, installation of 32 bit client is successful and when I try to login through that client I am not able to login(TNS Protocol error).
    Moving ahead with the installation of 64bit client, I am not able to install since it throws me an architecture error "Actual Value 32bit and Expected Value 64bit" if I install 64 bit first and then the 32 bit everything goes fine but I am only able to connect through 64 bit client and not with 32 bit.
    Now I have few questions here..
    1) Can I install database, HFM, FDM, HFR on single server (11gR2 and v_11.1.2.1) if yes what is the correct way???? Installing database first and then clients and then 11.1.2.1??? or what????
    2) Why does it throw me an architecture error while it recommended to install 32 bit first and then 64 bit??????
    3) If I install 64bit client first and then 32 bit I am able to make connectivity to database only from 64 bit so in that case after installing the suite I should run HFM atleast but I am only able to run it once the moment I take a restart of server everything goes down with "Apache bridge error" and then the 404 forbidden error.
    If any one can guide me with proper steps for database installation and clients that would be great!!!!!
    I am installing foundation services first then HFM followed by FDM and HFR.
    Regards
    Vikalp

    The following blog post might help you:
    http://blogs.technet.com/b/dpm/archive/2014/09/29/support-tip-dpm-2012-r2-ur3-agent-install-fails-with-error-0x80070643.aspx
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Install Two Database SID on Same Linux Server (AS 4)

    Hi
    We want to Setup/Install the Two Different SID on a same BOX what are the kernel parameter need to set to run both the instance on same server.
    Thanks

    Hi,
    you can create two database on some server there is no problem.
    and kernal parameter you already set according oracle software requirements during installation time.
    regards
    Taj

  • Connecting to two database simulteneously

    I am writing code to get data out of an existing customer database and put this data into a new database as part of a product update. I am told I can start one database server, and use it to get connections to both databases. My problem is that the database are in essence the same - they are just in different directories. My directory structure looks like this:
    c:\myapplication\my.db
    c:\old_myapplication\my.db
    To access the first database I do the following:
    // initialize the database driver
    String dbDriver = properties.getProperty("database_driver","com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource");
    String URL = "jdbc:sybase:Tds:127.0.0.1:2638";
    try {
      Class.forName(dbDriver);
    } catch(Exception e) {}
    originalDBConnection = DriverManager.getConnection(URL, "username","password");.....
    This works fine and I connect to the first database. My problem is that I can't figure out how to connect to
    the second database! I don't see where the path to the database is ever specified, and since both
    databases use the same driver it seems I need to use the same URL.

    Thanks fun_one, you were right, I did need to create two connections. I'm using jconnect...I'll post the final solution for posterity :-).
    To connect to two databases (and one server) using jconnect...
    1. When starting the database server, specify the names and paths of your databases. Here is my command:
    start dbsrv8.exe %2 %3 %4 -n %DBNAME% -c 32M -x tcpip -gkall -gdall -gx 30 c:\myapp\database\mydb.db -n db2 c:\myapp\database\mydb.db -n db1
    ....where db1 and db2 are the names of my databases.
    2. Then initialize the database driver as normal:
                // initialize the database driver
                String dbDriver = properties.getProperty("database_driver","com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource");
                try {
                    Class.forName(dbDriver);
                } catch(Exception e) {
                    e.printStackTrace(System.out);
                }3. Now, when getting a connection add the database name to the url
    //Connect to db1
    String urlOne = "jdbc:sybase:Tds:127.0.0.1:2638?ServiceName=db1";
    Connection db1connection = DriverManager.getConnection(urlOne, dbUserName, dbPassword);
    //Connect to db2
    String urlTwo = "jdbc:sybase:Tds:127.0.0.1:2638?ServiceName=db2";
    Connection db2connection = DriverManager.getConnection(urlTwo, dbUserName, dbPassword);I found the following webpage very useful:
    http://manuals.sybase.com/onlinebooks/group-sas/awg0703e/dbugen7/@Generic__BookTextView/47925

  • ARFC: Single Server and Load Balancing

    Hi All,
    I am trying to create aRFC model. In SAP logon screen, I can see two tab pages - Single Server and Load Balancing.
    Can you please let me know when we have to use which tab?
    Thanks
    TG

    Single Server Connect or Load Balancing connect is completely independend from the location where SAP Gui Client is installed.
    Single Server connect means that your are directly connecting to an ABAP Server using hostname and systemnumber you have to provide.
    Load Balancing Connect means that you specify the message server of the central instance of an ABAP Server group. The SAPGUI first connects to the message server which will provide the SAPGUI with the information about the best performing ABAP server. SAPGUI will then connect to this ABAP server.
    Single Server is suitable for small landscapes with lets say less than 4 application servers. In huger configurations (and those which I know will grow to more than 3 servers)I would prefer to use logon groups - aka Load Balancing.
    Peter

  • Split Single Server Installation into two servers...

    Hello everyone,
    We are using OCS 10.1.2.3, SO Linux RHEL 3. We have the infra and apps in a single box installation. All in one and we are using all Collaboration Suite services except Wireless.
    We are having a huge performance problem in there. After we start to use Content Services, our Infra Database is growing 10 Gb per month and the app tier is consuming all RAM memory from the server.
    So, we are trying to separate the Infra tier from the App tier, in two servers, but we can't find anything, any docs, any articles, any metalink notes, nothing at all!
    So, my question is:
    * Anyone has been through the same situation?
    * Is actually possible to separate the tiers after one year running both tiers on the same server?
    Thanks in advance,
    Paulo.

    We have moved our database to new hardware - so I know that portion is possible. We had the two databases for our ocs install in the same RAC environment. We had 3 sets of servers for our install 2 OCS App nodes, 2 IdM nodes, and 2-node RAC DB (holding 2 databases). We moved the IdM databases to a new RAC environment to allow IdM nodes to be up when we need to perform maintenance on OCS App/RAC nodes.
    Moving the database required only an update of TNS and OID information that pointed which hosts held the database.

  • Multiple Database Instances on Single Server and effect of NLS_LANG

    What is the effect of the NLS_LANG registry setting on a Windows server that is to host multiple database instance each created with a different database character set ? The server needs to support data in the following languages : Thai, Chinese Traditional, Chinese Simplified, Vietnamese and Korean. Selecting the Unicode character set(AL32UTF8) is not an option since the application is not Unicode complaint.
    My understanding is that as long as NLS_LANG is set correctly on the client connecting to the particular database instance then the data will be stored correctly - is this correct ?
    What should NLS_LANG be set to on the server if there are multiple oracle instances with different character sets ?

    My question is not in relation to connecting to the database on the server itself but with regards to client connections. What I need to know is what is the effect of the NLS_LANG setting in the registry on a server that has multiple databases each created with a different character set ?
    Say for instance, the server has two databases - one created with the character set ZHS16GBK and the other created with the character set JA16SJIS and NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK in the registry on the server. Will Japanese data that is inserted into the database that has character set JA16SJIS be stored correctly when it is inserted from a client with NLS_LANG set to JAPANESE_JAPAN.JA16SJIS even though NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK on the server ?

Maybe you are looking for

  • Find Free Number Ranges of Customer and Vendor Accounts

    Hi, We have a requirement where we want to report to customer the free numbers present in customer and Vendor Accounts Groups. To solve this, I went through XKN1 and XDN1, where I go the current number for each Vendor and Customer Account Group. But

  • How to consider internal transfer movement for material aging Z report

    Hello Expert , we are developing Z repot for material ageing .       In this we are using BSIM table  but in our case internal transfer movement such as ( 411 ,412 ,413 ,etc.) create debit credit entry in BSIM for this reason value of material gettin

  • Table Cell Editor (Urgent)

    I would like to know if it is possible to set different cell editor for each cells within the same column. I want to have Combo boxes with different items for several cells within the same column. Plz tell me how to do so if this is possible Thanks,

  • Calling stored procedure mixed binding error

    Hi, Using JDeveloper 10.1.2, Oracle 9i database I am calling a stored procedure that has several in and several out parameters. After I call it and try to retrieve one of the out parameters, I get a null pointer exception. However examining the calla

  • Droplet - getting name of dropped file

    This post does not need answering, as I have already solved the problem described. I have put it here in case it might help someone else save a bit of time. However, feel free to make comments and observations for further enlightenment of myself and