2 RAC database in the same box

Hello,
I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env.
Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the same structure, same parameters, etc... this RAC database will be used for the same product but for test level 1 purpose. I am thinking to create an XML template for the dbfunc1 using dbca and then create silently the database dbfunc2.
My question is: is it possible to use the already created and configured listener in the hosts or I must create a new listerenr listeneing on new ports to support the database dbfun2? Perhaps, both DB will use the SCAN listener ...
Thank you
Diego

Diego wrote:
Hello,
I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env.
Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the same structure, same parameters, etc... this RAC database will be used for the same product but for test level 1 purpose. I am thinking to create an XML template for the dbfunc1 using dbca and then create silently the database dbfunc2.
My question is: is it possible to use the already created and configured listener in the hosts or I must create a new listerenr listeneing on new ports to support the database dbfun2? Perhaps, both DB will use the SCAN listener ...
Thank you
DiegoYou can have both configuration i.e. one local listener for host for both database or two seperate. But as a best pratice you can create seperate listener for new database just to have proper load balancing.
Its obvious that finally SCAN listenr will handover its connections to host listener, so if you have only one then there would be more connection (handle by local listener) as compared to past(when you had only 1 database),
Now you have 2 databases so connections would be more.

Similar Messages

  • Standby Database Creation in the same Box Oracle 9.2.0.1

    Box - Sun Solaris 64 bit
    Oracle Version - 9.2.0.1
    I have a database called 'sales' in the above box. I want to create a standby database in the same box (in different mount point). This is what I did:
    1. took cold backup of all datafiles
    2. created standby controlfile
    3. updated init file.
    -when I tried to start the stabdby db, it is throwing error because the controlfile is confusing with the same db name as the primary ('sales').
    My question is: Can I create a standby db in the same box?

    Hello,
    For keeping the standby database on same HOST....it does seems to be great...i must be on separate box....may be on different network...i believe you would be using it for some failiover purpose...Isn't it.
    For Unix it is quite easy..you may implement like this...The Issue which you are referring may be because of wrong Oracle Home or SID....(i'm not very much sure..) You may try following steps:
    1. Create a separate Unix A/c and set ORACLE_HOME and ORACLE_SID relevant to your StandBy Database. I believe the Home would be same whereas SID would be your standby databse.
    2. Take a Cold Backup of All your database files from Production.
    3. Copy these files on separate mount points for standby Db. Put them all to relevant directory and be sure to set the Group of all these files as "SYSDBA" This is Must.
    4. And then modify your INIT.ORA file i.e. InitSID.ora file accordingly and put the file in ORACLE_HOME
    5. Login to Newly created Unix A/c. Check whether ORACLE_SID is set ot not to your standby database instance.
    6. Login to sys as sysdba and start up the database. It will by default would try to check & do for your relevant Oracle SID for this profile...
    HTH
    Regards,
    Kamesh Rastogi

  • How do i create multiple databases on the same unix box?

    Hello experts.
    Please send me some guidelines on how to create multiple databases on the same unix box and how to configure their startups including listeners.
    Please also, list me the possible precautions to takes especially if the existing database is a production one!
    thanks very much for you reply
    Best Regards
    Yogeeraj

    Hello,
    I tried the following:
    svrmgrl> startup nomount pfile=I:\d01\oracle\admin\cmttest\pfile\init.ora
    then
    svrmgrl> CREATE DATABASE cmttest
    LOGFILE 'i:\d01\oracle\oradata\cmttest\redo01.log' SIZE
    1024K,'i:\d01\oracle\oradata\cmttest\redo02.log' SIZE 1024K
    MAXLOGFILES 32
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 1
    DATAFILE 'i:\d01\oracle\oradata\cmttest\system01.dbf' SIZE 50M REUSE
    MAXDATAFILES 254
    MAXINSTANCES 1
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET WE8ISO8859P1;
    Then when i try to run both databases:
    svrmgrl> set instance cmttest
    ORA-12500: TNS: Listener failed to start a dedicated process
    ===================
    I am doing something wrong.
    please help
    Regards
    Yogeeraj

  • How to install 9i Database (Rel2) & 9iAS (Rel2) both on the same box

    Can anyone tell me what should be the right way to install both the Oracle9i rel2 Database and Oracle9iAS rel on the same box. I need to do this for demo reasons. I am aware of the performance issues involved.
    TIA
    Rob Zoeteweij

    Can anyone tell me what should be the right way to install both the Oracle9i rel2 Database and Oracle9iAS rel on the same box. I need to do this for demo reasons. I am aware of the performance issues involved.
    TIA
    Rob Zoeteweij Rob,
    The following is the recommended order of installations for Customer Database (backend DB), Oracle9iAS and Oracle9iAS Infrastructure:
    Step 1: Install and configure customer database.
    Step 2: Install and configure Oracle9iAS Infrastructure. (apply patches if necessary)
    Step 3: Install and configure Oracle9iAS middle tier installation.
    Step 4: Perform appropriate post install steps to configure middle tier components with the customer database.
    HTH,
    Ashesh Parekh
    Oracle9iAS Product Management

  • Picture and text in the same box for the calender?

    Is it possible to put a small picture in the box (for say May 4) and also get a short text line in the same box?
    When I'm doing it now, the picture takes up the whole box and the text goes underneath.
    Thanks

    Unfortunately that's how it works. If you have a 3rd party editor you could add the text to the picture before adding it to the calendar. Put in a feature request at http://www.apple.com/feedback/iphoto.html.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • OiD, DB and iAS on the same box

    Hello world!
    Did anybody installed OiD DB and iAS on the same box and if yes
    does it working & ? :-)

    Hello Dmirty:
    Yes, you can install them on the same box. Here is how I do it:
    1. Install OID with its database.
    2. Resize the OID database user and system tablespaces according
    to the installation instructions in the 9iAS Portal install
    guide.
    3. Install Portal in a seperate Oracle Home on the same box.
    When you install 9iAS version 1.0.2.2, Portal needs a database
    but the database it will use cannot reside in the same Home.
    Since you are installing OID, and OID installs a database it is
    more space efficient to use the same Oracle Home you use for OID
    as you use for Portal. Again, install Portal in a seperate Home
    from OID but point Portal to the database in the OID instance
    durring installation.
    Hope this helps.
    Jay Tomlinson

  • Upload image to directory and data to database from the same form

    Hello all
    I'm playing at building a shopping cart (never done one
    before) from a tutorial by Gordon Knapp at www.webthang.com.
    I have created the site and it works perfectly. Now I want to
    extend it.
    There is a form that allows the user to add data to the
    database. I would also like to be able to upload an image to a
    directory on the server and add the data to the database at the
    same time from the same form. It would be good if the input field
    "<input name="product_picture" type="text" id="product_picture"
    tabindex="6" size="50" />" could be populated automatically by
    the filename of the image being uploaded, but this isn't a
    neccessity.
    I have looked at various ASP Upload packages and I can upload
    an image alone but none of them make it clear how to upload the
    image and add data to the database at the same time.
    As this is a private project I need any suggestions to by
    free.
    The tutorial shows how to create the site in Ultra Dev but
    worked perfectly well in DW. The page concerned looks like this. It
    is named 'admin_add.asp':
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    <!--#include file="../Connections/con_ecom.asp" -->
    <%
    Dim MM_editAction
    MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
    If (Request.QueryString <> "") Then
    MM_editAction = MM_editAction & "?" &
    Server.HTMLEncode(Request.QueryString)
    End If
    ' boolean to abort record edit
    Dim MM_abortEdit
    MM_abortEdit = false
    %>
    <%
    ' IIf implementation
    Function MM_IIf(condition, ifTrue, ifFalse)
    If condition = "" Then
    MM_IIf = ifFalse
    Else
    MM_IIf = ifTrue
    End If
    End Function
    %>
    <%
    If (CStr(Request("MM_insert")) = "add_form") Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_con_ecom_STRING
    MM_editCmd.CommandText = "INSERT INTO products
    (product_category, product_name, product_price, product_briefdesc,
    product_fulldesc, product_picture) VALUES (?, ?, ?, ?, ?, ?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param1", 202, 1, 50,
    Request.Form("product_category")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param2", 202, 1, 50,
    Request.Form("product_name")) ' adVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param3", 5, 1, -1,
    MM_IIF(Request.Form("product_price"),
    Request.Form("product_price"), null)) ' adDouble
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param4", 203, 1, 536870910,
    Request.Form("product_briefdesc")) ' adLongVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param5", 203, 1, 536870910,
    Request.Form("product_fulldesc")) ' adLongVarWChar
    MM_editCmd.Parameters.Append
    MM_editCmd.CreateParameter("param6", 202, 1, 50,
    Request.Form("product_picture")) ' adVarWChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin_control.asp"
    If (Request.QueryString <> "") Then
    If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0)
    Then
    MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    Else
    MM_editRedirectUrl = MM_editRedirectUrl & "&" &
    Request.QueryString
    End If
    End If
    Response.Redirect(MM_editRedirectUrl)
    End If
    End If
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Administration - Add Product</title>
    <link href="../scripts/admin.css" rel="stylesheet"
    type="text/css" />
    <script type="text/javascript"
    src="../scripts/ecom.js"></script>
    </head>
    <body onLoad="adminTitle()">
    <div id="wrapper">
    <div id="pageHeading">ADMINISTRATION - ADD
    PRODUCT</div>
    <div id="navBar"><a
    href="admin_control.asp">Control</a> | Add | <a
    href="admin_view.asp">View</a> | <a
    href="admin_update1.asp">Update</a> | <a
    href="admin_delete1.asp">Delete</a> | <a
    href="../Default.asp">Shop</a></div>
    <br />
    <form name="add_form" id="add_form" method="POST"
    action="<%=MM_editAction%>">
    <table border="1" align="center" id="tblArea">
    <tr>
    <td class="tdLabel">Product Category</td>
    <td colspan="2"><input name="product_category"
    type="text" id="product_category" tabindex="1" size="50"
    /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Name</td>
    <td colspan="2"><input name="product_name"
    type="text" id="product_name" tabindex="2" size="50"
    /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Price</td>
    <td class="tdContent" colspan="2"><input
    type="text" name="product_price" id="product_price" tabindex="3"
    size="50" /></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Short
    Desciption</td>
    <td class="tdContent" colspan="2"><textarea
    name="product_briefdesc" id="product_briefdesc" cols="47" rows="4"
    tabindex="4"></textarea></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Full
    Description</td>
    <td class="tdContent" colspan="2"><textarea
    name="product_fulldesc" id="product_fulldesc" cols="47" rows="5"
    tabindex="5"></textarea></td>
    </tr>
    <tr>
    <td class="tdLabel">Product Image File Name</td>
    <td class="tdContent" colspan="2"><input
    name="product_picture" type="text" id="product_picture"
    tabindex="6" size="50" /></td>
    </tr>
    <tr>
    <td class="tdLabel"> </td>
    <td align="center"><input type="reset" name="Reset"
    id="Reset" value="Reset Form" /></td>
    <td align="center"><input type="submit"
    name="Submit" id="Submit" value="Add To Shop" /></td>
    </tr>
    </table>
    <input type="hidden" name="MM_insert" value="add_form"
    />
    </form>
    </div>
    </body>
    </html>
    Hope you can help.
    Warm regards
    Martin

    Got it sorted.
    Found an excellent tutorial at Webthang.
    http://www.webthang.co.uk/tuts/tuts_dmx/rob15/rob15.asp

  • Can you have multiple databases on the same LUN in Exchange 2010?

    I'm sure you can but is it possible with exchange 2010 to have multiple databases on the same LUN.  We currently have 8 DB's all writing to their own DB drive and separate log drive so 16 drives in total.  I need to spin a new DB up this week and
    wanted to double check this is possible.  I've looked online and cant find anything that I've seen before that says this is possible.
    Thanks.

    Hi,
    Yes, multiple databases could be placed on the same LUN, but it's not recommended.
    If you have 2 drives fail at the same time (it happens more than you think), then losing 100% of your DBs is a lot worse than losing one of them or some of them depending on where the failures are.
    Here is a similar thread for your reference:
    Multiple databases on the same LUN in Exchange 2010
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • How do I create multiple databases on the same ORACLE_HOME

    Hi,
    I would like to know how can I create 2 databases on the same ORACLE_HOME? Also is it possible to start both databases at the same time?
    When I installed oracle,a directory named database has been created under ORACLE_HOME, which contains all initorc1.ora ,etc ?
    At this point how do I create another database named orc2 on the same machine?
    Thanks in advance.
    winnie philip.

    Hi,
    Set the oracle_sid=db1
    Now rename your init.ora to init<oracle_sid>.ora in $oracle_home/dbs directory.
    Change the db_name parameter to appropriate name in the init<oracle_sid>.ora file.
    Now create the database.
    In the same fashion create another database with the new database name and different oracle_sid
    Now in order to switch between the databases.
    Change the env variable Oracle_Sid to the value of the database which you wanted to start.
    Regards
    Anand

  • Can E-RECRUITING share the same box of ECC?

    I always install E-RECRUITING on a dedicated server as an ABAP application. Then connect to its backend ECC.
    Just curious, can I  install  E-RECRUITING on the same box where its backend ECC system is installed? ECC and E-RECRUITING will have
    different SIDs but co-exist in one Oracle MCOD DB.
    Further more,  can E-RECRUITING and its backend ECC belong to the same SID but on different clients?
    Thanks for help.

    Yes and yes. The first scenario is comparable to I2-A and the second one to I2-B. See the application help for details.

  • Is it possible to create a Clone database with the same name of source db ?

    Is it possible to create a Clone database with the same name of source db using RMAN ...
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Data from different databases in the same report.

    Hi Everyone,
    I am trying to build a reconciliation report in which I need to show the data from the source and target, side by side.
    Source and target are both different databases, although being oracle only
    Whenever a new data model is created, it gets attached to a data source and in the report we need to choose a specific data model.
    Can we have data from different databases in the same report ?

    Yes, it is possible.
    One way Is to use dataTemplates. There you can make queries from any number of different databases (The max I have done is 5).
    It looks something like that:
    <dataTemplate name="NameOfTemplate">
    <dataQuery>
         <sqlStatement name="Q1" dataSourceRef="Connection1">
              <![CDATA[     select * from table1]]>
         </sqlStatement>
         <sqlStatement name="Q2" dataSourceRef="Connection2">
              <![CDATA[     select * from table2]]>
         </sqlStatement>
      </dataQuery>
      <dataStructure>
         <group name="RESULT1" source="Q1">
              <element name="P_FIRST_NAME" value="P_FIRST_NAME"/>
         </group>
         <group name="RESULT2" source="Q2">
              <element name="P_DATE" value="P_DATE"/>     
         </group>
      </dataStructure>
    </dataTemplate>dataStructure is very important when you get data from different places, if you don't define those elements, then only the result from Q1 is shown.
    The second possible way is to make as two different data models, each containing their own query and then set Main Data Set as concatenated SQL Data Source.
    Best of luck,
    Evelyn

  • BW and R/3 in the same box with a single instance  ECC 5.0

    Hi anybody using this scenario of having bw and r/3 in the same box....we are planing to consider in our project.
    will be happy if anybody can provide me some help on this.
    thanks and regards
    neel

    HI Neel Kamal,
    I think its a better option to distinguish OLTP like R/3 or ECC and OLAP like BW rather on a single instance
    from the above posts
    Let us know if this holds good
    Thanks,
    Raj

  • Creating a Standby Database with the Same Directory Structure

    Hello gurus,
    I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
    At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
    In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
    ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
    So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
    Thanks in advanced.

    Uwe and mseberg: thanks for your quick answers
    I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
    On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
    On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
    Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
    Do you understand my doubt? Excuse me for my english.
    Thanks.

  • Can we start more than one user created database at the same time

    Hi.,
    Can we start/work more than one user created database at the same time ??
    --Shyam                                                                                                                                                                                       

    Hi Shyam,
    I really dont understand what you have asked?
    If your question is can we start more than one database at the same time then the answer to that is yes but provided to have enough resources on your server to support running of two or more different databases on the same machine.
    Ex Senior DBA

Maybe you are looking for

  • Finaly!! AVG Antivirus for Windows 64 bit!

    Hi guy's, I just discovered that the best free Virus-scanner for private users does support 64bit Windows now.... This is great news. You can download the free version here: >>AVG Free Edition<< Beware, only the paid version supports 64bit, but hey,

  • Lion crash while I am trying to ugrade from 10.6.8

    Dear All I just upgrade form 10.5 to 10.6.8, successefully Now I am trying to upgrade to Lion. Then I inserted a disk with the dmg of Lion. It start but it always crash and I can not understand why. Here is the report, may be you can help me. Cheers

  • SQL Server Service Account - Domain Account - WMI Provider Error - 0x80092004

    Hi, if I try to use an domain account for SQL service start using SQL configuration Manager I receive the error WMI Provider Error - 0x80092004 in Popup Window and in Eventlog 5 Error Events from Source MSSQLSERVER: 26014: Unable to load user-specifi

  • How to modify a class in .jar and compile it back

    Hi, I have questions reg .jar, I need to test my application and I need to modify certain files in that .jar and compile it back. How do I do that? I have extract all the classes and decompile it to .java, and I just want to edit just 1 file, but I a

  • Adobe Flash Player 10.1.53.64 Silent Install?

    Hi Friends, i have an Question about the Silent Key for the New Version of Adobe Flash Player (10.1.53.64). To Install the preview Version of Adobe Flash Player (10,0,45,2 ) I have used the Key /S and it worked perfect. Now i have tried to install th