Use 1 listener for multiple database in a server

hi guys,
just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
Please further advice.

Shivananda Rao wrote:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = O11R2)
(ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
(SID_NAME = O11R2)
(SID_DESC =
(GLOBAL_DBNAME = O10G)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
(SID_NAME = O10G)
)Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
SID_LIST_LISTENER =
     (SID_LIST =
          (SID_DESC =
          (GLOBAL_DBNAME = AAAA)
          (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
          (SID_NAME = AAAA)
          (SID_DESC =
          (GLOBAL_DBNAME = BBBB)
          (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
          (SID_NAME = BBBB)
     )thanks !

Similar Messages

  • One Listener for multiple things?

    Is is OK to use on listener for multiple events on the same object?
    I have this for a FLV component and it seems to work. Is that legit?
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
        trace("End of this video!!!!");
    myVideo.addEventListener("complete", listenerObject);
    listenerObject.stateChange = function(eventObject:Object):Void {
        trace("stateChange just occurd!!!");
    myVideo.addEventListener("stateChange", listenerObject);
    Thanks a lot for any info!!!

    Yup no problem. However I would group my listener object properties close together.
    listenerObject.complete=function(e:Event){
    // blah blah
    listenObject.progress=function(e:Event){
    // blah blah blah
    And so on. If they end up separated you most likely will forget over the course of time and then when you come back you might delete the object after you use it for one event and forget that it has others.

  • Same listener for 2 databases

    Hi,
    i installed oracle EM GRID CONSOLE on my linux system with database called "emrep"
    and then i installed another database "orcl"
    now when i log into grid console and i view my targets i see only one listener
    called "LISTENER0_oracle.ebenezer.com"
    and when i see the serviced databases for this listener, i see both the databases under this listener.
    does this mean that one listener in one system is all required to service how many databases as possible.
    or do we need one unique listener for each database. if then how can i create unique listeners.
    Can someone help me please.
    Thanks,
    Philip.

    Philip,
    I will try to answer at your questions.
    so from what u r saying is, if i have 3 databases in
    my linux system under different oracle_homes.
    all i need is one listener.ora file and have all 3
    databases start under this one file. and i can delete
    the other 2 listener.ora files, because i dont need
    them at all.For this, my answer is a question : why have different ORACLE_HOME if databases are in same version ? This is Ok when database are in different oracle version.
    1. if i want to know how many listeners are in setup...You can see it with lsnrctl command, after set well ORACLE_HOME (for linux, export ...) :
    set ORACLE_HOME=e:\oracle\ora92
    E:\oracle\ora92\bin>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 9.2.0.7.0 - Production on 16-NOV-2005 22:44:
    41
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gocha)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.7.0 - Produc
    tion
    Start Date                16-NOV-2005 22:44:04
    Uptime                    0 days 0 hr. 0 min. 40 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   E:\oracle\ora92\network\admin\listener.ora
    Listener Log File         E:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gocha)(PORT=1522)))
    Services Summary...
    Service "demo9i" has 1 instance(s).
      Instance "demo9i", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    E:\oracle\ora92\bin>>
    2. when i create a listener using net configuartion...For my part, manually seems the only one solution in your case.
    >
    3.when i have 3 databases and i when i login through...When you are logon to database, you can see what db with
    select * from v$instance;But to connect to an other db, you need first set as well your ORACLE_SID
    export ORACLE_SID=emrep
    sqlplus '/ as sysdba'>
    4. when i create a database by default the listener...Default name is well in most of case, but you can give a name to know the environment (like LISTENER_DEV, LISTENER_PROD...)
    Perhaps you need to read some Oracle docs. You can find here http://www.oracle.com/pls/db102/portal.portal_db?selected=1 too many docs, I can advise you to read 2 Day DBA to start as well your dba life.
    Good luck in your job,
    Nicolas.

  • Running a oracle script for multible database on same server

    Hello friends
    I am thinking of creating a script in HP UX which will run a SQL script on multiple oracle in same server. I can do this for one oracle but i'm unable to do it for multiple database.
    I need to do newid oraSID user every time for diff. database .. can u suggest something..
    regards
    Ashish

    Hi Markus,
    Its not working .. When i run this script from my ID, it says SQLPLUS not found. see this .. i have created 1 sql file and 1 script file to call it with exporting ORACLE_HOME & ORACE_SID for one of the system E40.
    Can you suggest something ..
    er3asu82:(/tmp)(xchason)#ll /tmp/testsql.sql /tmp/testscr.dat
    -rwxrwxrwx   1 xchason    dba            109 Aug  9 11:10 /tmp/testscr.dat
    -rwxrwxrwx   1 xchason    dba             32 Aug  9 11:08 /tmp/testsql.sql
    er3asu82:(/tmp)(xchason)#cat /tmp/testsql.sql
    select * from v$instance;
    quit
    er3asu82:(/tmp)(xchason)#cat /tmp/testscr.dat
    #! /bin/ksh
    export ORACLE_HOME=/oracle/E40/102_64
    export ORACE_SID=E40
    sqlplus "/as sysdba" @testsql.sql
    er3asu82:(/tmp)(xchason)#/tmp/testscr.dat
    /tmp/testscr.dat[5]: sqlplus:  not found
    Again when i try to run this from other orasid, it does not work as well..
    er3asu82:oraq52 1> /tmp/testscr.dat
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    thanks
    ashish

  • Creating a PO Using BAPI For Multiple PLants Or Multiple Line Items

    Hi All
        Can you please suggest me how to create a Purchase Order Using BAPI_PO_Create1 for Multiple Plants Or for Multiple Line items. The Requirement is like the PO is for single material for single vendor but for mulple stores i.e plants
    NOte:  Suggest me the  Creation of PO for MUltiple Line items or for multiple plants Using BAPI . Hope you people will give me the needful.
    Regards
    Shivakumar Bandari

    Hi,
    Here is the sample code to do that...
    *---> po header data
      wa_poheader-vendor    =  your vendor..
      wa_poheader-doc_type  =  Your doc type..check with Functional contact....
      wa_poheader-purch_org =  Purchasing Org..
      wa_poheader-pur_group =  Purchasing Group
    *---> po header data (change toolbar)
      wa_poheaderx-vendor    =  'X'.
      wa_poheaderx-doc_type  =  'X'.
      wa_poheaderx-purch_org =  'X'.
      wa_poheaderx-pur_group =  'X'.
    *---> poitem data
    data: item like ekpo-ebelp.
    item = '0010'.
    loop at t_parts.
      it_poitem-po_item  =  '00010'.
      IT_POITEM-PLANT    =  Plant..
      IT_POITEM-STGE_LOC =  Sloc...
    *---> poitemx (item data change toolbar)
      it_poitemx-po_item  =  '0010'.
      it_poitemx-po_itemx  =  'X'.
      IT_POITEMX-PLANT    =  'X'.
      IT_POITEMX-STGE_LOC =  'X'.
    *---> add record's to internal table
      APPEND:  it_poitem,
             it_poitemx.
    endloop.
    *call bapi_po_create1
      CLEAR v_ebeln.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader         = wa_poheader
          poheaderx        = wa_poheaderx
        IMPORTING
          exppurchaseorder = v_ebeln
        TABLES
          return           = it_return
          poitem           = it_poitem
          poitemx          = it_poitemx.
    *---> check the return table for error message
      READ TABLE it_return WITH KEY type = 'E'.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = 'X'.
      endif.
    Thanks,
    Murali

  • Can I use DMU for this database?

    Hi everyone,
    I am snippeting a CSSCAN ( i know..) so that will reveal the amount of convertible data we have to tackle and wanted everyone's opinion if we can use DMU for this database.
    [Data Dictionary Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 7,805,484 202 0 0
    CHAR 1,573 0 0 0
    LONG 220,073 0 0 0
    CLOB 91,227 15,718 0 0
    VARRAY 23,479 0 0 0
    Total 8,141,836 15,920 0 0
    Total in percentage 99.805% 0.195% 0.000% 0.000%
    The data dictionary can not be safely migrated using the CSALTER script
    [Application Data Conversion Summary]
    Datatype Changeless Convertible Truncation Lossy
    VARCHAR2 68,382,337 350,836 39 84
    CHAR 322,930 0 0 0
    LONG 0 0 0 0
    CLOB 32,522 13,257 0 0
    VARRAY 1,552 0 0 0
    Total 68,739,341 364,093 39 84
    Total in percentage 99.473% 0.527% 0.000% 0.000%
    I think it should be fine.
    Please let me know.
    thanks

    Hello,
    the amount of convertible has no relation to if you can use dmu or not.
    of course, the less convertible, the less time the conversion process itself will take, but that's about it
    Regards,
    Gunther

  • Want to use single oracle home for multiple database releases

    Hi,
    I have following 3 different databases.
    Oracle7 Server Release 7.3.4.4.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
    I want to access these databases using single oracle home. Please advise which client version I have to install to access these. I tried using Oracle Release 9.2.0.1.0 client but I am not able to connect to oracle 7 by using this.I am ready to have multiple oracle homes.But what client version I have to install and where can I get it.Your help will be highly appreciated.

    ... and 7 is using oracle 8.1.7 client.From your sales representative. 8i is no longer available for downloading,because desupported since many years.
    Werner

  • How to configure one Listener for 2 databases on the same server

    Hello all,
    Please, I am stuck as with my application server which requests the port 1521. I want to configure the repository to make use of the port 1521 which is also shared by another database on the server.
    Regards,
    Nadine

    Maybe it is worth mentioning here that am installing it with two different users as to have two ORACLE_HOME independent of each other.
    Below are the configuration files for the Listener.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = test.appstech.local)
    (ORACLE_HOME = /d02/app/oracle/product/10.2.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (GLOBAL_DBNAME = testing.appstech.local)
    (ORACLE_HOME = /d01/app/oracle/product/10.1.2/ora_infra)
    (SID_NAME = testing)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ebs.appstech.local)(PORT = 1521))
    TRACE_LEVEL_LISTENER = USER
    TEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.appstech.local)
    TESTING =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.15.4)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = testing.appstech.local)
    Regards,

  • EKM using the Azure Key Vault is now available for SQL Database and SQL Server running in Azure VM's

    In preview today, you can create keys in the Azure Key Vault, and use them with Azure SQL Database, or SQL Server running in a Azure VM. Use the Extensible Key Management (EKM) for TDE, backup encryption, or cell level encryption. For more information, see
    Extensible Key Management Using Azure Key Vault (SQL Server)
    http://msdn.microsoft.com/en-us/library/dn198405.aspx.
    The announcement:
    Azure Key Vault in public preview
    Key Vault offers an easy, cost-effective way to safeguard keys and other sensitive data used by cloud applications and services. Included are the following features:
    Enhance data protection and compliance:
    Protect cryptographic keys and sensitive data   like passwords with keys stored in Hardware Security Modules (HSMs). For   added assurance, import or generate your keys in HSMs certified to FIPS 140-2   level 2 and Common Criteria EAL4 standards,
    so that keys stay within the HSM   boundary. Key Vault is designed so that Microsoft doesn’t see or extract your   keys.
    All the control, none of the work:
    Provision new vaults and keys in minutes   and centrally manage keys, sensitive data, and policies. You maintain control   over your encrypted data—simply grant permission for your own and third-party   applications to use keys as needed. Enable
    developers to easily manage keys   used for dev/test and migrate seamlessly to production keys managed by   security operations.
    Boost performance and achieve global scale: Improve
    performance and reduce latency of   cloud applications by storing cryptographic keys in the cloud (versus   on-premises). Key Vault rapidly scales to meet the cryptographic needs of   your cloud applications and match peak demand.
    Get started with Azure Key Vault by creating keys for applications you develop,
    SQL Server encryption (TDE, CLE, and Backup), and partner solutions like
    CloudLink SecureVM.
    Key Vault is available now at no charge with discounted preview pricing starting on January 15, 2015.
    For more information, please visit the
    Key Vault webpage. For a comprehensive look at pricing, please visit the
    Key Vault Pricing webpage.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

    Thank you for sharing this Rick.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Configure Listener for Multiple IP's???

    I need to know how to configure my listener on a Windows 2000 Advanced Server using Oracle 8i to allow for the following conditions:
    1) I have 4 NIC'S in my server and I have 1 different IP address on each NIC.
    2) Stations will connect to Oracle via those 4 different IP's/NIC'S for load balancing of the NIC'S.
    3) There is only 1 SID used for my database.
    Any suggestions of how to configure the listener?
    Any Help GREATLY appreciated!!!
    mailto:[email protected]

    Can you use the idea posted here?
    You only have 2 options if you want to use remote desktop on multiple pc's on the same lan. Change the listening port, or forward an external port to a different internal port. Don’t enable upnp, there’s no need for it and it will just cause more problems than its worth. why would you want an application opening ports on your firewall without you knowing it? Just change the listening port on pc 2 to 3390, pc 3 to 3391. Then forward these ports to each respective ip address (should be static ips). and you are done. When you want to connect to pc 1 you type {your ip} and it will connect to pc 1. For pc 2, you type {your ip}:3390. pc 3 {your ip}:3391.
    http://support.microsoft.com/kb/306759
    Westell 6100 modem/router; Linksys WRT54GL v1.1 router firmware 4.30.9; Linksys WPC54G v2 Notebook Card; CenturyTel DSL using PPPoE

  • How to configure different listener for each database in 11gR2 RAC

    Hi Friends,
    Current Prod Setup :
    11gR2 (11.2..0.2) RAC on RHEL 5.5 with 3 SCAN Listeners on default 1521 port.
    Having 4 databases which are using SCAN-IP and listening on default port only.
    As per policy, we have to create separate listeners (on different port) for each database.
    like,
    DB1 - 1522
    DB2 - 1523
    DB3 - 1524
    DB4 - 1525
    Even If I configure 4 listeners using NETCA, how my failover & load balancing will happen using SCAN & Newly Created Listeners ???
    Thanks in advance..
    Regards,
    Manish

    Hi,
    I tried on 11gR2 TEST RAC Server to have different listener with different port (1529) for SCAN & Node Listener & tested failover, load-balancing which was successful.
    [oracle@ravish5 admin]$ cat listener.ora
    LISTENER_A=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_A=ON # line added by Agent
    [oracle@ravish5 admin]$ ps -ef | grep lsnr
    oracle 1985 1 0 00:46 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER -inherit
    oracle 1988 1 0 00:46 ? 00:00:00 /11g_database/11.2.0.2/product/home_1/bin/tnslsnr LISTENER_A -inherit
    oracle 2928 1 0 01:00 ? 00:00:00 /11g_crs/11.2.0.2/product/home/bin/tnslsnr LISTENER_SCAN1 -inherit
    [oracle@ravish5 admin]$ lsnrctl status LISTENER_A
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 02-MAY-2012 03:19:35
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_A)))
    STATUS of the LISTENER
    Alias LISTENER_A
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 02-MAY-2012 00:46:42
    Uptime 0 days 2 hr. 32 min. 54 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /11g_database/11.2.0.2/product/home_1/network/admin/listener.ora
    Listener Log File /11g_database/11.2.0.2/diag/tnslsnr/ravish5/listener_a/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_A)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.5)(PORT=1529)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.16)(PORT=1529)))
    Services Summary...
    Service "TEST" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "TESTXDB" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    Service "srvc_test.clover.com" has 1 instance(s).
    Instance "TEST2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    SQL> show parameter listen
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=192.
    168.3.16)(PORT=1529))))
    remote_listener string ravish-scan:1529
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    [oracle@ravish5 admin]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521,1529
    [oracle@ravish5 admin]$ srvctl config scan
    SCAN name: ravish-scan, Network: 1/192.168.3.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /ravish-scan.clover.com/192.168.3.22
    [oracle@ravish5 admin]$ srvctl config listener
    Name: LISTENER
    Network: 1, Owner: oracle
    Home: <CRS home>
    End points: TCP:1521
    Name: LISTENER_A
    Network: 1, Owner: oracle
    Home: /11g_database/11.2.0.2/product/home_1
    End points: TCP:1529
    [oracle@ravish5 admin]$ srvctl config service -d TEST -s srvc_test.clover.com
    Service name: srvc_test.clover.com
    Service is enabled
    Server pool: TEST_srvc_test.clover.com
    Cardinality: 2
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: true
    Failover type: SELECT
    Failover method: BASIC
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: TEST1,TEST2
    Available instances:
    TEST_NEW =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ravish-scan.clover.com)(PORT = 1529))
    (LOAD_BALANCE = yes)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = srvc_test.clover.com)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    Actually different ports for different databases are required to have separation of duties. Once Firewall enabled betwen Client & DB Server only privileged users would have access to particular database.
    Regards,
    Manish

  • How to create a single login for multiple apps on tomcat server?

    Hello,
    I am running the most recent versions of apache and tomcat on several dells with XP pro.
    When I login to an app I have created, a session variable is set, but when I browse to one of the other apps on the same computer, it does not recognize that the session variable has been set and I have to login again.
    Can somebody please suggest how, or where I can find docs, to configure tomcat to pass the session variables to other apps?
    Thank you very much.
    Or, can anybody suggest the most effective strategy for creating single-logon functionality for multiple apps with tomcat and apache running on one computer? and with tomcat and apache running on multiple computers? (i.e., each computer has tomcat and apache integrated).
    The database is Oracle 10g running on each computer.
    Thank you again.

    A good place to start is http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Also, do a search in this forum on HttpURLConnection. That class allows you to use POST method to send form data to a web server.
    "Hidden" variables are only hidden in HTML. The HTTP that gets POSTed to the web server doesn't distinguish between hidden and not hidden. That is, the content you would write to the HttpURLConnection.getOutputStream() would be something like:
    hidden=1&submit=ok(Of course, the variable names would depend on what the web server was expecting from the form.)
    Also, be sure to set the Content-Type request parameter to "application/x-www-form-urlencoded"

  • 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

  • Multiple databases on same server

    we're planning to consolidate our SAP R/3 databases on a 64bit based cluster running Windows 2003/SQL Server 2005.
    the "SAP with Microsoft SQL Server 2005: Best Practices for High Availability, Maximum Performance, and Scalability" document states "SAP products support multiple instances of SQL Server 2005 on the same server. However, running the database of the SAP production system together with other application databases on one server is not recommended." and "An alternative is to run two or three SAP databases on one SQL Server 2005 instance.".
    giving this, I'd like to know if it's not recommended even if the 'other application databases' are related to other instances of SAP R/3 product.
    it would be useful to know why one SQL Server instance with multiple SAP databases is better than multiple SQL Server instances with one SAP database for each.
    thank you.

    Dear Matro,
    Please review the following thread:
    Multiple database instances on single server on SQL2005
    I also note that you state your database server is clustered using MSCS.  If this is the case you should not use a "Named Instance".  If you download the latest Netweaver 2004s Installation guide (SR1) for Windows SQL you will note that on page 172 it specifically states that you must install a "default instance". 
    If you plan to consolidate several SAP database systems on one host and use a default instance you need to consider the fact that all databases running on this instance will share resources such a memory cache etc.
    Factors such as the size of the SAP systems, whether the systems are OLTP will influence your decision
    Please post if you have any additional questions.
    Thanks
    N.P.C

  • Using models for multiple one-to-many table relationships

    Hi there!
    I have a database with tables that have one-to-many relationships. They
    are laid out with a standard join tables:
    A     A_B     B     B_C     C
    a_id     a_id     b_id     b_id     c_id
    b_id     c_id
    and has 1 A for n of B. In some cases, the B table also joins with
    another table for yet more information.
    My question: what technique should I use to organize a database of this
    type into JATO Models?
    I could create an AModel, for example, that would have a set of query
    field descriptors for the information relevant from tables A and B. But
    then how do I query table C when that information is necessary? Or,
    more to the point, create information in C when a new entry in B is created.
    Do the models use each other, or is that left up to the view bean (seems
    incorrect for data isolation).
    Any pointers appreciated,
    Byron

    Byron,
    You can create a separate "modifying" model for each table and do
    inserts/deletes/updates in a transaction across the tables with the
    three models. That's really the easy part.
    The somewhat more tedious part is the "join" models, but not hard to do.
    You just have to decide what you need from the different tables and
    quite possibly create multiple join models for different select scenarios.
    So let's just run through a simple two table join model.
    Create a SQL model. I usually name them based on the table joins. Let's
    use a somewhat more real example:
    table = customer
    columns = custid, firstname, lastname, email
    table = address
    columns = addrid (seqid), custid (fk), type
    ('w'ork,'h'ome,'b'illing,'s'hipping,'o'ther), address1, address2, city,
    state, zip
    Suppose we want to select a customer and show a list of all his/her
    addresses.
    I would create a SQL model class (extending QueryModelBase of course)
    called CustomerAddressJoinModel (this naming convention gets tough with
    three or more tables, so you have to be creative).
    In that model, I would create the fields just like any single table
    model. You need only include the columns you need. Maybe you create one
    join model that only has custid, lastname, firstname, type, city, zip.
    OK, so we only cut out 2 columns, but you get the point. If you had a
    table with lots of columns with data you rarely need to display and/or
    update, then you can exclude them. Probably a slick way to exclude
    dynamically, but this is straight forward.
    Another join model could have all the columns of both tables.
    So the trick is to set the static where criteria (using the
    setStaticWhereCriteria method) in the model's constructor. I think the
    sql model template has this in it.
    setStaticWhereCriteria(customer.custid=address.custid);
    Now you just set your criteria like any other model, and execute it.
    For a 3 table join, you just set the static criteria like this:
    tableA.aid=tableB.aid AND tableB.bid=tableC.bid
    does that make sense?
    You can also set the "modifying table" (setModifyingTable(table) - i
    think that's right) in the model and inserts/updates/deletes will only
    operate on that table within the model. Problem is maybe in the the
    field binding in your views. You may want to select from one field, and
    modify using another field. Can be done though, just not directly supported.
    In the next release of JATO, you will be able to set a display fields
    binding for read and write using different fields and even different models.
    craig
    Byron Servies wrote:
    Hi there!
    I have a database with tables that have one-to-many relationships. They
    are laid out with a standard join tables:
         A     A_B     B     B_C     C
         a_id     a_id     b_id     b_id     c_id
         b_id     c_id
    and has 1 A for n of B. In some cases, the B table also joins with
    another table for yet more information.
    My question: what technique should I use to organize a database of this
    type into JATO Models?
    I could create an AModel, for example, that would have a set of query
    field descriptors for the information relevant from tables A and B. But
    then how do I query table C when that information is necessary? Or,
    more to the point, create information in C when a new entry in B is created.
    Do the models use each other, or is that left up to the view bean (seems
    incorrect for data isolation).
    Any pointers appreciated,
    Byron
    To download the latest version of JATO, please visit:
    http://www.sun.com/software/download/developer/5102.html
    For more information about JATO, please visit:
    http://developer.iplanet.com/tech/appserver/framework/index.jsp

Maybe you are looking for