Is it possible to connect to two different clusters?

Hi,
I was wondering if it was possible to connect to two different clusters from the same process?
What I would like to do is to able to get some cache on the first cluster and others on a second cluster. The cache-config DTD doesn't seem to forbid the definitions of several remote-cache-scheme. So I should be able to map all "c1-*" caches to the first cluster and all "c1-*" caches to a second cluster...
Is it possible?

Thanks,
Yes I'm connection via extend.
Could you give me an example of such configuration? I've made a test from a C++ client with the following client config:
====================================================================
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>c1-*</cache-name>
<scheme-name>extend-1</scheme-name>
</cache-mapping>
<cache-mapping>
<cache-name>c2-*</cache-name>
<scheme-name>extend-2</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<near-scheme>
<scheme-name>near-c1</scheme-name>
<back-scheme>
<remote-cache-scheme>
<scheme-ref>extend-1</scheme-ref>
</remote-cache-scheme>
</back-scheme>
<invalidation-strategy>auto</invalidation-strategy>
</near-scheme>
<near-scheme>
<scheme-name>near-c2</scheme-name>
<back-scheme>
<remote-cache-scheme>
<scheme-ref>extend-2</scheme-ref>
</remote-cache-scheme>
</back-scheme>
<invalidation-strategy>auto</invalidation-strategy>
</near-scheme>
<remote-cache-scheme>
<scheme-name>extend-dist</scheme-name>
<service-name>ExtendTcpCacheService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">ldnpsm020001413</address>
<port system-property="tangosol.coherence.proxy.port">4321</port>
</socket-address>
</remote-addresses>
<connect-timeout>10s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
</initiator-config>
</remote-cache-scheme>
<remote-cache-scheme>
<scheme-name>extend-paul</scheme-name>
<service-name>ExtendTcpCacheService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address system-property="tangosol.coherence.proxy.address">ldnpsm020001412</address>
<port system-property="tangosol.coherence.proxy.port">4131</port>
</socket-address>
</remote-addresses>
<connect-timeout>10s</connect-timeout>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>5s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
</serializer>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
========================================================================
if I do a CacheFactory::getCache("c1-Test"), the log shows a connection to the 1st cluster
if I then do a CacheFactory::getCache("c2-Test"), the log shows a connection to the 1st cluster and not to the second cluster
What did I do wrong?

Similar Messages

  • Connecting to two different SQLServers present on different Locations

    Hi,
    How can i connect to two different SQL Servers which are at different locations in the same session? IS there any way to do this without disconnecting from the first server?
    cheers,
    Sachin

    Well,
    actually my problem is that im reading Database
    e Properties through a file which contains multiple
    database entries. And i have only one Connection
    Object so if im logged into one ex SQLServer in
    London, I have a class which will allow me to loginto
    another database SQL Server at New York. Now how do i
    keep my connection as well as connect to New York
    Database Server with the same Connection Object. If
    possible, I need to logoff from the Server at London.
    How do i do this? Any Ideas?Redesign. You have a connection object that can only have one connection. Either you have to close that connection and reconnect to the other one, or you need two of them. Those are your choices.

  • 11g Multiple Rpd on one BI server connecting to two different data marts

    Hi
    Did anyone tried and successfully implemented multiple rpds on one bi server. I have similar requirement in one of the clients place.
    1. Install OBIEE 11g with vertical scaling( reason client doesnt want to spend extra money on additional server licenses) and would like to utilize the powerful existing servers.
    2. Install 2 rpds on One BI Server and connect to two different datamarts.
    3. Create two PS and provide two links to have two different reporting environments.
    Appreciate with any pointers. I am very clear on Vertical Scaling and bumping up the Bi , PS and Java Hosts components. I saw a post with successful implementation of the same functionility in 10g and nothing in 11g. I already reviewed ritmanmeed blogs but did not give a complete picture of successfull implementation.
    Thanks

    Hi,
    Yes, it is possible to have two different .rpds on one BI Server but then you need to set up two different Presentation Servers.
    Refer the below threads for more information.
    Re: multiples RPD in one server
    Re: Multiple RPD & Multiple Presentation service instance on single BI Server
    https://forums.oracle.com/forums/thread.jspa?messageID=9189677&#9189677
    Can i put two rpd files in nqsconfig init file in BI Admin
    Hope this help's
    Thanks
    satya

  • I am trying to connect a 24" cinema display with mini display port cable to a 24" imac with a displayport - is there a cable for this as these two connections are two different sizes

    I am trying to connect a 24" cinema display with mini display port cable to a 24" imac with a displayport - is there a cable for this as these two connections are two different sizes

    Hi Gilly,
    I have no proof, but I think it will not work with an adapter, only Mini Display Port or Thunderbolt.

  • JDBC connection to two different machines from the same program

    I want to use JDBC to connect to two different databases that are on two different MySQL installations on two different machines.
    One of the installations is MySQL 4.1.12 and the other is 4.1.14-nt
    For some reason, all my statements seem to be going only to one machine, even though I am very clearly set it up to go to two different machines.
    Does anyone know whether connecting to two different installations from one program presents any unusual problems?
    Thanks.

    Unless there is some horrible defect in the MySQL JDBC driver (which I doubt!), there should be no problem and like the other poster says, please post snippits of your code so we can see what your doing...

  • TS1398 I am unable to connect to two different wifi at different locations having same name but different passwords

    I am unable to connect to two different wi if at different locations having same user name but different password one is at home other at work

    I was able to do a full reset on the router (pushing the tiny button near the power input). Then ran through the setup process and it started working on my device.

  • Is it possible to use the same Switch for two different clusters.

    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.

    user9198027 wrote:
    I have 10g Rac setup on windows.
    Now I am planning to install 11gR2 on different servers.
    Is it possible to use the same Switch for two different clusters.
    Yes.  Technically there will not be any conflict as long as the private addresses used by the 2 clusters do not collide, and provided that the switch's port capacity and bandwidth will not be exceeded.
    Your NA (netadmin) can also configure the switch to separate the 2 Interconnects from one another (called partitioning when using Infiniband) - if the switch supports such features.
    A major consideration is not to make the switch, public. That typically cause a range of problems and can have a serious impact on an Interconnect. But using 2 private networks on the same infrastructure should not have the same problems - if configured and implemented correctly.

  • Can a single server instance (Ip Port combo) be part of two different clusters?

    Hello,
              Is it possible for a single Weblogic 7.0 server instance to be a part of two different clusters?
              Thanks,
              Rajan
              

    Invoke a SLSB in a different cluster which will call invalidate() ?
              "Rajan" <[email protected]> wrote in message
              news:3d88a5b6$[email protected]..
              >
              > We have a requirement to synchronize in-memory data between the machines
              in different
              > clusters.
              >
              > Invalidate() propagates only within a cluster. I was wondering if there is
              a standard
              > way to update in-memory data on a different cluster if the underlying data
              stored
              > in a database, has changed.
              >
              > Thanks for help.
              >
              > Rajan
              >
              > "Cameron Purdy" <[email protected]> wrote:
              > >Rajan,
              > >
              > >> Is it possible for a single Weblogic 7.0 server instance to be a part
              > >> of two different clusters?
              > >
              > >No. Is there something specific that you are trying to accomplish?
              > >
              > >Peace,
              > >
              > >Cameron Purdy
              > >Tangosol, Inc.
              > >http://www.tangosol.com/coherence.jsp
              > >Tangosol Coherence: Clustered Replicated Cache for Weblogic
              > >
              > >
              > >"Rajan" <[email protected]> wrote in message
              > >news:[email protected]..
              > >>
              > >
              > >
              >
              Dimitri
              

  • Connecting to two different database instances from a swing application.

    Hi All,
    I am developing a swing application which needs to interact with two different database instances of two different weblogic servers.
    More eloborately,
    I have some data in DB_Instance1 running on[b] Weblogic_Server1 and I need to insert the same data into DB_instance2 running on Weblogic_server2. Is it possible. Could some explain me how to do that..
    Thanks in advance...
    Sreekanth.

    Hi Rick,
    Try logging onto both Server first. You'll have to use either 2 separate ODBC DSN's or 2 separate OLE DB connections. Set them both for Trusted Authentication, you'll have to configure that on the Server also.Then try your query.
    If that doesn't work then you'll have to create a Stored Procedure or View that can link the 2 Server side.
    Thank you
    Don

  • Physical redundancy (CSS connected on two different switches)

    Hello,
    Is it possible for redundancy reasons to connect a CSS to two different switches (like we do for access switches) ?
    I know that one option is to configure both interfaces in the same vlan and use the spanning-tree for the redundancy. However, this will not be transparent for the end-user due to the slow convergence of the spanning-tree (uplinkfast or rapid-pvst is probably not supported).
    Are there any other options ? One interface active, the other backup ?
    Thanks in advance for your reply.
    Gaetan

    Gaetan,
    for the CSS we suggest to be connected to only 1 switch and if the CSS detect a failure with the switch, force failover to the redundant css.
    If you have ASR configured, failover will be stateful.
    Gilles.

  • How to establish connection between two different IP Range

    Hi All,
    Currently in my office  there are two different ip range that we are using one for the Wi-FI(192.168.1.X) & 2nd  for local machine & servers 192.168.2.x series ip.
    In current situation if any Wi-Fi user(Laptop User) wants to communicate with local machine or server then he has to switch from Wi-Fi to Lan.
    So is there any way to provide communication between Wi-Fi & local network.
    if this happen then there will be no need to switch from Wi-Fi to Lan, Wi-Fi user who has ip range 192.168.1.x is easily communicate with local machine & server(192.168.2.x).  
    Shailendra Vishwakarma

    Thanx for the reply..
    In my office i am using Microsoft Thread management Gateway(Software Firewall).
    Can i set Security like as below,
    Users can connect Wi-fi Network but they would not able to access  internet but  they should be able to access for local network & for the internet they should go via Microsoft Thread management Gateway.
    Thanks,
    Shailendra Vishwakarma

  • Can one Cisco IPS 4360 connect to two different ISP circuits?

    Hi,
    Currently our network has two circuits from two different ISPs, with two firewalls in the middle of the ISPs and the corporation internal network. We are thinking of purchasing a Cisco IPS 4360 and put the device between the ISPs and the two firewalls.
    We would like the traffic coming to/from ASA1 still use the circuit from ISP1, and ASA2 still use the circuit from ISP2. Is this possible? Can the 4360 route the traffic as we want?
    I drew a draft picture of this issue. Please have a look at the attachment.
    Thank you!
    Regards,
    Jacky

    Hi,
    Yes, You can deploy your IPS as your plan. Please see the below link.
    http://www.cisco.com/c/en/us/solutions/enterprise/validated-design-program/networking_solutions_products_genericcontent0900aecd80601e22.html
    Regards
    Parosh

  • Connect to two different connection pool

     

    You should post to jdbc group.
    Please post more detail about the exception.
    "ahmad" <[email protected]> wrote in message
    news:40d83847$1@mktnews1...
    Hi, everybody,
    I have two entity bean, associated with two different datasource andconnection pool, how can I look up these two entity bean, and get them from
    one session bean.
    >
    now, when I looking up and get them, an exception throws :
    Illegal attemp to connect two another connection pool.
    regards
    Ahmad R. Seddighi

  • Connecting to two different databases on different machine ..is it Possibl?

    Hi EveryBody:
    In My application I'm pulling some files from one server to another server useing FTP and then inserting the file data in one Oracle database on UNIX Machine1 and at the same time updating another Oracle database table on another UNIX Machine2 ...Below I posted the method foe database connection, I also provided the code for calling that method twice it works fine for the first database and connect successfully but the second one it hangs ....I don't know why ...
    public void DB_connect(Database db,String dbip,String dbport,
              String dbsid,String dbuser, String dbpass){
    //Conecting to Database
    try{
    db=new Database(dbip,dbport,dbsid);
              db.connect(dbuser,dbpass);
              System.out.println("Connection to Database Successful");
    catch(Exception e){
    System.out.println("Error Connecting to Database.");
    //Calling the method in the main
    DB_connect(db1,db1ip,db1port,db1sid,db1user,db1pass);
    System.out.println("Successfully connected to the First DataBase ...");
    DB_connect(db2,db2ip,db2port,db2sid,db2user,db2pass);
    System.out.println("Successfully connected to Second DataBase ...");
    Thanks in Advance

    Can we display aprogress bar in
    the User Interface till we get the connection
    available ....Yes.
    How ??? You create a second thread that does something. When the connection is established (or fails) it sets a flag so the other thread knows it is time to terminate.
    Can u please provide code
    snippet That I can't do. There are probably plenty of examples in one of the forums that deal with GUIs (which this is not.)

  • Dynamically connecting to two different DataSources in ADF BC application.

    Hi All,
    I have a requirement where my ADF BC application need to connect to different data bases(connections maintined as datasources in OAS) depending on the user logs in.
    I have two databases schemas TENCA and TENUS for which I have created a datasources with jndi loaction names as jdbc/TENCA and jdbc/TENUS in OAS and I have hardcorded jdbc/TENCA in the JDev 10.1.3.2 for the Appln Model ServiceImpl by editing the configurations of ServiceImpl and deployed the ADF BC application on OAS with this I was able to access data of TENCA schema but not the TENUS. IS there any way I can dynamically point DAF BC appln to different datasources during appln start up? Please assist.
    Thanks,
    Muniraj

    Thanks Timo,
    link: ADF BC: Choosing between two identical DB schemas on application startup
    looks like give more closer solution for my problem but still..
    Thanks,
    Muniraj

Maybe you are looking for

  • A few questions from a beginner

    Please don't hit me because of my questions... 1. Is there a build in method (class or whatever) to increase an array size? I don't want to copy the array each time into a larger array and then setting the pointer of the new larger array to be the sa

  • RMI question

    Hi all, I am planning a client/server application, in which I want the server to accept multiple connections form clients each running in a its own separate thread. I plan to maintain each client connection object for the duration of the session. Fro

  • Apple Wireless Keyboard won't pair with iMac...

    I just bought a new 27" iMac and had customized and shipped from Apple (didn't buy it off the shelf in the Apple Store). When the new iMac got here today, I connected it to my aftermarket (wired USB) keyboard and trackball. It works fine. My problem

  • Bin packing

    hi, I've got to implement a problem that is exactly the bin packing problem. Googling around found this http://mathworld.wolfram.com/Bin-PackingProblem.html which says An alternative strategy first orders the items from largest to >smallest, then pla

  • JDev 10.1.2: UIX bound choice does not work?

    Hello everyone, I have the next code in a UIX page      <choice model="${bindings.EmployeesView1Iterator}">          <contents>               <option model="${uix.current.EmployeeName}"/>          </contents>       </choice>But the choice component d