How to connect two databases to a single listener

Hello

How to connect two databases to a listener.is it is possible or not

Hello

Yes, you can record a single listener to respond to several databases. There are several ways to do it and the best way that I would suggest for you is the use of "Network Setup Wizard" or "netca", which is a graphical interface that allows you to meet your requirement. Otherwise, you can hardcode in your listener.ora file located in the 'ORACLE_HOME/network/admin/listener.ora '.

Example is as follows

Listener.ora

SCREW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = lab01) (PORT = 1521))
)
)

SID_LIST_VIS =
(SID_LIST =
-1 database configuration
*(SID_DESC =*)
* (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)*
* (SID_NAME = DB1) *.
*)*
-Database Setup 2
*(SID_DESC =*)
* (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)*
* (SID_NAME = DB2). *
*)*
)

Then restart your listener.

Kind regards
Asif Muhammad

Tags: Database

Similar Questions

  • How to connect two databases on two servers

    How to connect two databases on two servers. For example
    a serevr is in India and another in Australia.
    The following example is correct or not

    Select A.ID, B.Name [10.50.17.87] .HR. EMP A, [192.168.100.125] .HR. TRANS B
    Where A.ID = B.ID

    You must use a database for this link. The syntax is defined in the reference SQL here: http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_5005.htm#SQLRF01205

  • How to connect the database to a single ip address to another pc ip. ?

    Hai,

    IAM back to the obiee. I have the database during the investigation period: 198.0.0.0(for ex) and I have to connect through odbc to my pc ip: 198.0.0.1 (for ex). Please explain how we can connect to the database from our pc to import this database into our bi Administrator tool.

    Thanks in advance,

    Hello...

    install the client software on your machine
    perform, configuring the listener using net configuration assistant,
    Now using this name of the listener, you create a DSN and use in SPR, you want to develop

    OR

    go to ODBC Data Source Administrator & and add with Microsoft ODBC for Oracle DSN
    in the server field, you write your parent machine\listenername
    and use it in SPR... I hope the other works...

  • How to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!

    Someone help me how to create the home group and how to connect two computers that are running windows 7. and also Remote Desktop connection!
    step by step information!

    Hello

    I suggest you to refer to the links and check if it helps:

    Create a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/create-a-HomeGroup

    Join a homegroup

    http://Windows.Microsoft.com/en-us/Windows7/join-a-HomeGroup

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

    Remote Desktop connection

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Remote-Desktop-connection

    What types of connections remote desktop should I allow?

    http://Windows.Microsoft.com/en-us/Windows7/what-types-of-Remote-Desktop-connections-should-I-allow

    Remote Desktop connection: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/Remote-Desktop-connection-frequently-asked-questions

    Let us know if it helps.

  • How to connect two harddiscs in a computer

    I don't know what's going to happen if I connect the

    hOW to connect two harddiscs in a computer

    http://US.yhs4.Search.yahoo.com/YHS/Search?p=How+to+Connect+Two+harddiscs+in+One+Computer&fr=AltaVista&FR2=SFP&iscqry=

    http://www.google.com/#hl=en&output=search&sclient=psy-ab&q=how+to+connect+two+hard+disks+in+one+computer&oq=how+to+connect+two+harddiscs+in+one+computer&gs_l=hp.1.0.0i13i30.3151.3151.0.7535.1.1.0.0.0.0.224.224.2-1.1.0...0.0...1c.b0ubsyG8v-w&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=5b25e3ab4ae8856e&biw=833&bih=548

    UTC/GMT is 17:27 on Wednesday, August 8, 2012

  • How to connect sql database to esxi to save all data from the virtual machine

    How to connect sql database to esxi to save all data from the virtual machine

    Please provide steps

    In simple terms, you cannot connect ESXi to SQL. Connect a vCenter SQL (Windows only).

    If you want to save all the data that is contained in your virtual machines, I suggest a backup solution.

    Suhas

  • How to connect two clips?

    Okay, I'm making progress - but I don't know how to connect two or more items.

    Patrick

    Thanks for the reply.

    Could you clarify... Once you've created your content of chronology...

    When you said made it... do you want to say that you pressed the button made above the timeline in order to obtain the best possible overview

    or were you using the go Word to signify that you have exported the content of the timeline to one of the categories under publish + share/computer?

    If you have exported (saved) via Publish + share/computer/and other categories, the export dialog box has a Save In: location. And you will find

    your file exported to this place (you can change to one of your choice for the default location).

    If you save the project (.prel) file without exporting, you can find the file of the project in several ways. Means the faster would be to

    Hold the cursor of the mouse on the name of the project (top right of the workspace Expert), and the path to the project file should be revealed to you.

    I demo had this to 12 (13 won't get installed until Tuesday). But, same idea 12 or 13.

    Guided tutorials did you use for your excellent results? All or one in particular?

    You can go further with free learning tools and the use of exploration and experimentation.

    The possibilities of creation using Premiere Elements are endless.

    Best wishes

    RTA

  • How to connect a Sony Playstation 3 to listen to music and photos from my pc

    How to connect a Sony Playstation 3 to listen to music and photos from my pc?

    Hey waynelalumandier

    ps3mediaserver...

    That's really all you need. If you have any questions about this, check out the link below. Download and an active forum which will certainly be useful for you.

    http://code.Google.com/p/ps3mediaserver/

  • How to configure 2 databases on a single computer.

    I have the database software Oracle 10 g XE installed in my operating system "Windows 7 Enterprise.
    Oracle XE have predefined service called "XE", I installed/imported my database schemas and objects in this database and I connect with the Java software now successfully to the database with the connection string:
    DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))
    I call this database that I log in as 'FirstDatabase '. But now I want to implement in my computer a different database that I call "SecondDatabase" and which has its own data and schemas that must locate/reside separately from the database "FirstDatabase", the two databases have also some schema names equal.
    How can I configure "SecondDatabase" in my computer?

    I should create another 'data service' called 'XE_Second '? Or do I have to install another instance of database software? Or should I create another logical database object with Create / keyword and later referencing it somehow in the connection string?

    The result should be that I could connect in some way to this second database with the help of the connection as string:
    DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE_Second)))
    (I do not understand how to implement the second database, because I'm not so competent on the DBA tasks, but I apparently have to do such things from time to time, my employment contract says nothing of DBA tasks really, so now I'm in trouble, I need to change the company I think because I'm plain simple sql-negro) not a s/n)

    Hi again!

    The first thing to do is to install the Oracle software. The directory where you install it is called the Homedirectory 'Oracle '. Assume that you install oracle in u01/app/oracle/product/10.2.0/dbhome_1. This will be your ORACLE_HOME.

    In the next step, you create a database. The files associated with this DB (let's call ORCL) are stored in their own directory e. g./u01/app/oracle/oradata/ORCL. This is true for each DB you create, e.g. a second DB called NEXTORCL could reside in/u01/app/oracle/oradata/NEXTORCL.

    Now how do you start a DB?

    1.) Execute the oraenv script and type the name of your DB (e.g., ORCL)

    . oraenv
    ORACLE_SID = [] ? ORCL
    

    2.) start the listener

    lsnrctl start
    

    3.) start the DB ORCL

    sqlplus / as sysdba
    
    startup
    

    To start the next DB NEXTORCL do the same steps but the type in ORCLNEXT instead of ORCL.

    Oraenv allows to switch between these two DBs.

    I think that it is a little bit of FIRST AID for you. To get more knowledge on this please read the Oracledocumentation to the http://tahiti.oracle.com

    Yours sincerely

    Florian W.

  • How to connect two computers and LAN

    I can't get my toshiba to interface with my desktop computer or to connect to the internet via a CAT5.
    I tried everything I know.

    I'm not too sure about the LAN MAC? He just will not connect even if the device is functioning properly.

    Any ideas?

    Here are the instructions how can connect the two computers.

    -First of all, you will need to disable the firewall.
    -Then you need to set the same workgroup on both computers
    -in the Lan Card Properties-> Protocol TCP/IP settings, you must assign the IP address manually. That is, a computer must use the 192.186.50.1 ip address and the other computer must be set to 192.186.50.2.
    -MAC address is fixed and cannot be changed. Each LAN card uses unique mac address

    After these settings, you must restart the portable computers (computers)

    PS: I recommend Google for details and further instructions.

  • Dell XPS 8500 with 1 GB AMD Radeon HD 7570 - how to connect two monitors or?

    Hi, I got my Dell XPS 8500 today with the 1 GB AMD Radeon HD 7570.

    Before buying the office, I read online that the AMD Radeon HD 7570 supports Eyefinity.   Eyefinity is supposed to be capable of supporting 4 monitors using the HD 7570 map by the description here: http://www.amd.com/us/products/desktop/graphics/7000/7570/Pages/radeon-7570.aspx#2

    When you look at the photos of the Dell XPS 8500 online I thought that Eyefinity support was to use a display in addition to the DVI port Port.   Specifically, I thought that a monitor has been supported by DVI monitors while 4 thru two supported using an active connection to the view port using a product like the DisplayPort Accell UltraAV K087B-005 / 3 x multi-monitor DVI - D single-link adapter.

    To my surprise the graphics card came with an HDMI port, not a display port and I believe that HDMI port is a connection from one to the other, and not one of many display connection.   Maybe someone can correct me if I am wrong on this point.   But if I'm not wrong then, this would imply that, at most, the Dell XPS 8500 with the AMD Radeon HD card 7570 can support up to only 2 monitors (one DVI port) and the other HDMI port instead of 4 monitors as described on the above link.

    Others would agree with this statement?

    Note that the Dell XPS 8500 also has a VGA connector on it but I tested it using a monitor on VGA and a monitor on the DVI connection and the computer that reported as an invalid monitor config.   Probably because the VGA and DVI connections are originally the same video display as connect two monitors to display even has no logical sense.

    I have not tested the HDMI port for the second monitor again mainly because I don't have a spare HDMI cable on site at the present time.   I'll probably buy one tomorrow unless I see the comments of my post, specifying that a second monitor can be moved through the HDMI port on the AMD Radeon HD 7570 map...   I'd be surprised if that were the case (1 monitor system would be quite restrictive), but it is difficult to say with certainty, because the VGA and DVI connections at the same time have been marked by the computer as an invalid configuration...

    Any thoughts on the different ways to configure multiple monitors with the XPS 8500 and the 1 GB AMD Radeon HD 7500 is appreciated.

    Thank you.

    Doug

    If the card is not a display port is not an eyefinity card and cannot stand 3 monitors... it will be 2 monitors, no problem... I couldn't find anywhere on the site of Dell, where he says that the card was eyefinity... If you want 3 assumption of monitors you can buy a video card that supports.

  • Two-way replication in two databases in a single server

    I have two instances of installation OGG, one for each database. Let's say that they are respectively OGG1 and OGG2 for DB1 and DB2. Ogg1 has two extracts and OGG2 has 1 replicat for replication of the first. It works well independently.  OGG2 has two excerpts and OGG1 1 replicat for replication of the second, which is for the direction of backword. It also works well independently. As I got to know previously, this is how I do two-way replication, by running these two processes together. I did it.

    But when I did, it gives me the desired result. What currently happening given cannot be changed in one of the databases. When the data changes, it shows the change. but when committed, itself data is modified in its original values. What's the harm? Two processes works well independently.


    ORASCN Hi Vicky, you were the subject of this question with me. It's good if you can have a look.

    Yes, that was the problem. I added "TranLogOptions ExcludeUser ogguser" the main excerpt from two replications. ogguser is my user goldengate.

    Extract einta1q

    SETENV (ORACLE_SID = "dd")

    UserIdAlias ogg_user

    TranlogOptions IntegratedParams (max_sga_size 256)

    TranLogOptions ExcludeUser ogguser

    Exttrail ./dirdat/ip

    LOGALLSUPCOLS

    UPDATERECORDFORMAT COMPACT

    Table SC2.*;

    Now looping does not occur. Replication is as expected. Thank you.

  • Two databases on a single server - CPU allocation

    Is there a way of CPU resources between two databases in the same way that the resource groups can allocate resources within each database? Let's say split 60-40 between databases cpu?

    The answer is no. I think, it seems that you encounter a performance problem, and you try to solve it using process priorities. Am I wrong? Or I'm going to upgrade my crystal ball?

    If you were never able to do such thing, the first thing that comes to mind,... what you define as "the database" here, you do not have something you can touch and say "it's the database", the concept of database is a logical, not a physical concept, it is composed of memory, processes and files , and the main activity has to do with e/s where most of the time the problem of startup performance. even if you were able to abstract the logical concept of the DB in a single physical component, allocating CPU him would not be enough to solve performance problems.

    I strongly suggest to detail why you want to do this assignment and then we can discuss alternatives from there on.

    ~ Madrid
    http://hrivera99.blogspot.com

  • How to connect two wireless laptop to an unsecured internet connection

    me and my friend. We have detected a wireless network of neighborhood, it is able to connect, but I can't

    How to connect wirelessly

    MR. PHILIPPE,

    Make sure you have your wireless card install correctly on your computer. If you have a laptop then you have a wireless card already in the machine.

    That's all need you. Go to start > Control Panel > network connections, here it takes a current wireless connection. If no, you must install you wireless drivers from the manufacturing of the Wireless card in the computer. (Linksys, Netgear ext...)

    Please rate me upward if you find my post helpful. Thank you!

  • How to connect two BlackBerry

    Hi all, I have a question.

    Which is the best method (udp, tcp, http, using the pushRegistry...) to connect two blackberrys and set the communication with IP address?

    Thank you!

    except maybe in a wlan environment (which I do not know of the), you are not able to directly connect two blackberries. It must be a server between the two, using push, if they are connected to a BES or mail/bbmsger if not.

Maybe you are looking for