Data and execution node pinning

Each of the nodes in my cluster has a set of persistent connections to various service providers on the network.
I need to be able to find which node has a connection to a given service, and route a message to that node for sending to the service.
Storing a replicated table of available {node,connection} tuples is no problem in Coherence. However, since each of these objects has a connection that is valid only on its node, how can I:
o Pin that object to the node
and does Coherence offer support to:
o Invoke that object on that node
Thanks!
David

Hi Gene,
Thanks for your reply. I've been looking at the InvocationService, as well as InvocableMap, and am having some difficulty deciding how best to proceed.
Effectively I need to build a replicated map of all available connections to external systems across my cluster. Then, any member within my cluser can find a suitable connection and forward the data to the member hosting that connection for sending to the external system.
One possible way is to try to build a map where the entries for each connection are assigned to the member on which the connection resides. This may be possible by using a custom key partitioning strategy...? Then by using InvocableMap.query() the task should be executed on the member hosting the connection, correct?
Another way is to build a service as you suggested. The map would contain data mapping connections to members. I would invoke a task on that member to send the message.
In both cases, I will still need to build a local index that maps a key representing the connection to the local connection object.
Perhaps this is all an abuse of the Coherence product, and I should use another messaging technology for this part of my proof-of-concept project.
Any suggestions gratefully received.
Thanks
David

Similar Messages

  • Want to keep the data on one node and allow remote nodes to read it?

    by default, we have a distributed cache with backupcount=1 and data is kept over all the members in equal parts
    is there a way to do set it another way: i need only one 'main' node to put entries into the cache and keep them locally, while remote nodes can only read entries? the reason for that - i want to update the entries on the main node quite frequently (do not them travel anywhere over the network) - while remote read operations are infrequent. Also, Iwant the whole dataset survive the shutdown of any secondary node. In other words, I need 'all eggs in one backet' with remote read access.

    Andrey -
    Provided the 'remote/secondary' nodes are within the local area network, you could use a dedicated distributed cache service; storage enabled
    on the 'main' node and storage disabled on the 'secondary' nodes. Access from outside the LAN will require configuring a proxy service on the
    'main' node and 'secondary' node access over Coherence*Extend.
    /Mark

  • KSH3 tcode and how to fetch the data in the nodes

    Hi Group,
    Could you help me with the below query please.
    Need to get the data avaible for the cost centre Group in KSH3.
    Enter T Code KSH3-> Provide a Cost Centre Group and press enter key> Highlight the Parent node and click on WHERE USED LIST -> Select Groups in the next POP UP BOX (Default selected)-? Click the Green tick button.
    Now here I have to Fetch each cost centre group availabe under the Parent Cost centre Group and validate it in my program. Please Could help me on how do I select the data under these nodes.
    Many Thanks in anticipation.
    Regards,
    Kumar.

    Hi ,
    U have to use FM  "K_HIERARCHY_TABLES_READ".
    Below link will surely help u .
    http://www.sapnet.ru/viewtopic.php?t=542
    Thanks
    Jitendra

  • Model and Value node data in one form...?

    Hello,
    I have a requirement where the adobe form is expected to have model data available and then in the same form teh user provides data, which is maintained in value node.
    Now the problem we are facing is, we are unable to maintain both value node and model node(i.e,attributes) under one type of node.(Invalid node type error appears when tried to place both attributes under one node).
    How do we provide them to data source, as it takes only one node.
    Thanks & Regards,
    Sharath

    Hi,
    you could try to add a some calculated attributes in the node which is bound to the interactive form. In the getter and setter methods of these calculated attributes you can read and set the value of your model attributes.
    Regards
    Sebastian

  • Ldif2db command fails to import data and deletes the root node

    ldif2db command fails to import data into LDAP.
    The command used was
    ldif2db -n userRoot -s "dc=example,dc=com" -i test.ldif
    The test.ldif conains the nodes under dc=example,dc-com
    eg: ou=test,dc=example,dc=com
    But on executing the command the root node "dc=example,dc=com" itself got deleted. The console output was like "Skipping entry uid=test001,ou=test,dc=example,dc=com" for all the entries present in ldif.
    What might be the reason for this ? Any clues ?
    The reason y i am trying to do this ldif2db is to preserve the createtimestamp and modifytimestamp while migrating data from one Directory Server to another. Any other ways of doing it ?

    ldif2db is the right command to migrate data and preserve those attributes like createtimestamp and modifytimestamp.
    However, when this command is used, it will first remove everthing before it load whatever you want. So you need to be very careful. I got this terrible problem as well.
    In my experience, if you use this command, don't use "-s". You can just use:
    ldif2db -n suffixName -i test.ldif
    If you only have one suffix (database), then you can use "-n userRoot".
    Also, if you migrate your data from server A to server B, you'd better dump the data using db2ldif -n userRoot -a test.ldif from server A. Then load it into server B using ldif2db -n userRoot -i test.ldif.

  • How to do data migration between single node and multi node HANA systems ?

    Data migration between single node and multi node HANA systems ?
    What are limitations ?
    What should be the best practices ?

    Data migration between single node and multi node HANA systems ?
    What are limitations ?
    What should be the best practices ?

  • Last execution date and time of a transaction

    Hi,
    Could anyone let me know the procedure to find the last execution date and time of a transaction (for example MM01/MM02). We are currently working on ECC6.0
    Raja

    Hi Raja,
    Check table CDHDR, fetch data against T code MM01/MM02 and get MAX(UDATE) and MAX(UTIME).
    You will get last execution date and time.
    Please reqward ponits if it useful.
    Regards
    Krish

  • Control parallel port (data and control lines)

    I need to control the output on the parallel port (LPT1) - Both data and control lines.  Once the data is written (Pins2-9), I then need to toggle the Sprocket signal (PIN1) - on the parallel port. The sprocket signal is also referred to as the Data Strobe Output.
    The required method is as follows:
    1. Lower the sprocket signal on PIN1
    2. Send the data (Pins2-9) and wait
    3. Raise the sprocket signal and wait.
    4. Repeat.
    I am looking for a method to control the data on LPT1 pins 2-9 and then be able to toggle PIN1 - Strobe signal - without the data falling from the other pins. What I have found is that whenever the state is changed on the strobe - the data that was written to Pin2-9 falls to zero. This will not work for my application - the strobe tells the hardware device that the data is ready. If it falls to zero when I toggle the strobe - that will not work.
    Regards,
    Guy

    Hello Adam,
    I am familiar with both references.  If you look more closely at the library reference - it allows me to communicate using VISA across the parallel port pins 2-9.  It does not permit direct communication to pin1 (the strobe signal) - property nodes don't allow the strobe to be refereced either (similar to control lines/signals for COM ports).
    Worse, I have also located examples using OUT PORT that does enable pin1 to be toggled.  The problem is, when those VIs are used, the data falls from the data pins when the strobe signal is written, even if its value is not changed.  For example, if the strobe is already high, if another high value is passed, the data falls from the data lines.  The other issue, when using VISA, as soon as the data is writen, the strobe signal automatically goes high even though I need a wait before setting the strobe high.  This is in complete contradiction to the second article you referenced which clearly discusses writing data to pins2-9 then taking the strobe high to indicate to the printer that new data is available.  It must be possible since this is the typical handshake.
    I am still looking for a more complete answer/solution.
    Regards,
    Guy

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • Payment Program Creation Date and User (is this in any table in SAP R/3)?

    Dear Experts!
    The treasury guy asked me whether there would be a way to recover the "Payment Program" Creation Date and Created by (User) from Payment Program Executions (F110 transaction).
    I searched on the REGU* tables and I didn't find out this information.
    Does anybody know whether there is any table where this is recorded?
    NOTE: We cannot use the information from "Proposal Log" because the log is removed from the Productive System and only the last 3 (three) days are remaining.
    Thanks and Kind Regards,
    Daniel Carvalho.

    Hello "The Wirtschaftsmann",
    Thanks for the reply. However, I need the Creation Date and Creation by of the Proposal / Payment Run steps.
    Not sure if this information is available nowadays at SAP. I opened an incident with SAP, let's see what they reply to us.
    Regards,
    Daniel

  • How to get the most current file based on date and time stamp using SSIS?

    Hello,
    Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
    Thanks
    thx regards dinesh vv

    hi simon
    i excuted this script it is giving error..
       Microsoft SQL Server Integration Services Script Task
       Write scripts using Microsoft Visual C# 2008.
       The ScriptMain is the entry point class of the script.
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Runtime;
    using System.Windows.Forms;
    namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
        [System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
        public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
            #region VSTA generated code
            enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
                Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
            #endregion
            The execution engine calls this method when the task executes.
            To access the object model, use the Dts property. Connections, variables, events,
            and logging features are available as members of the Dts property as shown in the following examples.
            To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
            To post a log entry, call Dts.Log("This is my log text", 999, null);
            To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
            To use the connections collection use something like the following:
            ConnectionManager cm = Dts.Connections.Add("OLEDB");
            cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
            Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
            To open Help, press F1.
            public void Main()
                string file = Dts.Variables["User::FolderName"].Value.ToString();
                string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
                System.IO.FileInfo finf;
                DateTime currentDate = new DateTime();
                string lastFile = string.Empty;
                foreach (string f in files)
                    finf = new System.IO.FileInfo(f);
                    if (finf.CreationTime >= currentDate)
                        currentDate = finf.CreationTime;
                        lastFile = f;
                Dts.Variables["User::LastFile"].Value = lastFile;
                Dts.TaskResult = (int)ScriptResults.Success;
    thx regards dinesh vv

  • How do I prevent windows from shutting down ITUNES with a Data Protection Execution error when trying to sync with my Iphone 4S in a 32 bit windows environment?

    I first was not able to install ITunes 10.5.  Apple upgrade installer caused a data protection execution error and windows reverted the process back to the original software.  I then removed ITunes through the control panel ap.  I removed Bonjour and quicktime.  I could not use the windows uninstaller to remove the apple upgrade installer and had to find a fix it program on the microsoft web site to fully remove this program.  After doing this, I was able to load and install itunes 10.5.  However, now when I try to sync my new 4S phone, the sync only goes to the 2nd or 3rd step before eliciting a DPE error and causing itunes to shut down.  I tried making a new user profile.  Opened I tunes in the new profile and began to search for music on my computer.  The program again elicited a DPE error.  I looked to see if quicken was still on the computer and maybe causing a hangup, but it is no longer installed.  Ok, I am at wits end and have spent much too much time on this issue.  Please help.

    I was able to finally stop ITunes from crashing after many days of searching n restarting my computer many times.
    a) First I went to this site ->http://forums.techarena.in/guides-tutorials/1119812.htm that showed me how to disable DPE. Please make sure that u have good virus...etc.. protection first before doing this. I have Avast Internet Security. RESTART UR COMPUTER..
    b) I then uninstall ITunes by following this site ->http://support.apple.com/kb/ht1923      RESTART UR COMPUTER..
    c) I then downloaded a beta version of ITunes. I happen to download beta 7 before the final of 10.5 version came out. Installed it. After installing I click on it n it said somewhere along the line of "this ITune ver. expired" I checked in my Programs n Features n notice that QuickTime was installed w that beta version.   
    d) Go online n download the final version of ITunes ->http://www.apple.com/itunes/download/ ...... After u finish dling install that. After that's done connect your IPod, IPhone...etc... n click on ITunes, it should sync all the way.
    I was finally able to sync all thru the steps insteading of it crashing on me midway. Hopefully this will work for you. Good luck !
    IPhone4, Gateway Windows Vista 32bit

  • Material master data and Asset

    Hello Guys
    Considering the every material master data that I am buying will end up been an Asset in my company.
    I would like to know how can I alredy related the material master data that I am creating with a possible hierarchy to make it esier at the time of creating the asset?
    Some one could briefly explain to me how can I related the material master data and a creation of an asset in SAP?
    thanks

    Hi guys
    Jignesh Thakkar
    That was really good answer you gave it is according with the Help instruction that I read, but the main point for me is that I will not know the asset description or capitalized date or serial number,  location, etcu2026 until I goods receipt the individual material creating serial nods and the equipment master data.
    In this scenario from the equipment master data is there any way to create an Asset master data, create the asset master data with the information of the GR equipment master Data or populate the Asset AS01 with the equipment master data?
    Otherwise I will need manually create the Asset and manually synchronize the equipment with the asset?
    Thanks Guys it have been incredibly helpful this network I hope I can help some one in future as it have been helpful for me at the moment.
    Carlos

  • How to Create Instances in the Transient Root Node and Sub Nodes from Root Node Query Method ?

    Hi All,
    I am Creating a BOPF BO with 3 Nodes,
    Node 1) ROOT -- > contains a query,
    using Root Node I have created Search UIBB Configuration in FBI.
    In testing -- > when i enter Data in the Search Criteria Fields am able to get the details in to the query method
    from Imporing parameter : 'IT_SELECTION_PARAMETERS'.
    HERE I am fetching data from a standard table and trying to fill the data in the Node : 'MNR_SEARCH_RESULT'.
    How to Append data to the Sub node 'MNR_SEARCH_RESULT' when there is no Node instance created in the ROOT Node ?
    For This  I have created an instance in the ROOT Node and Using that I tried to create Instance in the Sub Node 'MNR_SEARCH_RESULT'.
    Below is my code which i have placed in the Query method ..
    DATA : LR_DATA TYPE REF TO ZBO_S_ROOT1.
    DATA : LR_SEARCH_RES TYPE REF TO ZBO_S_MNR_SEARCH_RESULT.
    DATA : LO_CI_SERVICE_MANAGER TYPE REF TO /BOBF/IF_TRA_SERVICE_MANAGER,
            LO_TRANSACTION_MANAGER TYPE REF TO /BOBF/IF_TRA_TRANSACTION_MGR.
       LO_CI_SERVICE_MANAGER = /BOBF/CL_TRA_SERV_MGR_FACTORY=>GET_SERVICE_MANAGER( IV_BO_KEY = ZIF_BO_TEST_PO_C=>SC_BO_KEY ).
       LO_TRANSACTION_MANAGER = /BOBF/CL_TRA_TRANS_MGR_FACTORY=>GET_TRANSACTION_MANAGER( ).
    CREATE DATA LR_DATA.
    LR_DATA->KEY = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( ).
    LR_DATA->ROOT_KEY   = IS_CTX-ROOT_NODE_KEY.
    LR_DATA->PIPO_MAT_ID = '100100'.
    LR_DATA->PIPO_MAT_DESC = 'MATERIAL'.
    LR_DATA->PIPO_SPRAS = 'E'.
    LR_DATA->PIPO_MATL_TYPE = 'ZPMI'.
    LR_DATA->PIPO_MATL_GROUP = 'ZKK'.
         DATA lt_mod      TYPE /bobf/t_frw_modification.
         DATA lo_change   TYPE REF TO /bobf/if_tra_change.
         DATA lo_message  TYPE REF TO /bobf/if_frw_message.
         FIELD-SYMBOLS: <ls_mod> LIKE LINE OF lt_mod.
        APPEND INITIAL LINE TO lt_mod ASSIGNING <ls_mod> .
        <ls_mod>-node        =   ZIF_BO_TEST_PO_C=>sc_node-ROOT.
        <ls_mod>-change_mode = /bobf/if_frw_c=>sc_modify_create.
        <ls_mod>-key         = LR_DATA->KEY.
        <ls_mod>-data        = LR_DATA.
    DATA : LT_CHG_FIELDS TYPE /BOBF/T_FRW_NAME.
    DATA : LS_CHG_FIELDS LIKE LINE OF LT_CHG_FIELDS.
    DATA : LV_KEY TYPE /BOBF/CONF_KEY.
    CALL METHOD IO_MODIFY->CREATE
       EXPORTING
         IV_NODE            = ZIF_BO_TEST_PO_C=>sc_node-ROOT
         IV_KEY             = LR_DATA->KEY
         IS_DATA            = LR_DATA
         IV_ROOT_KEY        = IS_CTX-ROOT_NODE_KEY
       IMPORTING
         EV_KEY             = LV_KEY .
    CREATE DATA LR_SEARCH_RES.
    LR_SEARCH_RES->KEY           = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( )..
    LR_SEARCH_RES->PARENT_KEY    = LV_KEY.
    LR_SEARCH_RES->ROOT_KEY    = LV_KEY.
    LR_SEARCH_RES->MATNR    = '123'.
    LR_SEARCH_RES->ERSDA    = SY-DATUM.
    LR_SEARCH_RES->ERNAM    = SY-UNAME.
    **LR_SEARCH_RES->LAEDA    = .
    **LR_SEARCH_RES->AENAM    = .
    **LR_SEARCH_RES->VPSTA    = .
    *LR_SEARCH_RES->LVORM    = .
    LR_SEARCH_RES->MTART    = 'ZPI'.
    LR_SEARCH_RES->MBRSH    = 'ZTP' .
    LR_SEARCH_RES->MATKL    = 'MAT'.
    **LR_SEARCH_RES->BISMT    = ''
    **LR_SEARCH_RES->MEINS    =
    CALL METHOD io_modify->create
               EXPORTING
                 iv_node            = ZIF_BO_TEST_PO_C=>sc_node-MNR_SEARCH_RESULT
                 is_data            = LR_SEARCH_RES
                 iv_assoc_key       = ZIF_BO_TEST_PO_C=>sc_association-root-MNR_SEARCH_RESULT
                 iv_source_node_key = ZIF_BO_TEST_PO_C=>sc_node-root
                 iv_source_key      = LV_KEY
                 iv_root_key        = LV_KEY.
    I am Unable to set data to the Node . I did not get any error message or Dump while executing . when i tried to retrive data I got the details from the node but am unable to view those details in the FBI UI and BOBT UI while testing .
    Please provide your valuable Suggestions.
    Thanks in Adv.
    Thanks ,
    Kranthi Kumar M.

    Hi Kranthi,
    For your requirement you need only two nodes. Root Node and Result node. Use the same structure for both.
    To create Instance while search.
    Create Query method with input type which has the required fields for selection criteria.
    Fetch the data and create instance in the root node.
    Pass the new instance key as exporting parameter form Query Method.
    To Move data from ROOT to Result.
    Create a action at root node.
    Write a code to create new entries in Result node.
    Then configure the Search UIBB and display result in List UIBB. Add button and assign the action MOVE_MAT_2_RESULT.
    Create another List uibb to display data from Result node.
    Connect the UIBBs using wire schema. SEARCH -> LIST(ROOT) ---> LIST(RESULT).
    Give src node association for ROOT to RESULT Configuration.
    Regards,
    Sunil

  • Wrong date and time in apple's mail client

    All mails in my inbox are displaying date at 1429 a.c. Although through my web gmail interface, dates are correct the mac client is fault. I also tried with Thunderbird e-mail client and i also get wrong date and time. I checked the date and time preferences and everything is correct.  Any suggestions?
    Thanks

    Hi,
    In the Initial screen, please remove the tick for Display Header. It will not give any header details after execution. If you want to remove only date, you just check with your ABAPer, he can help by changing in program.
    Thanks
    Kishore Babu

Maybe you are looking for

  • Itunes no longer works after installing 11.1.4

    I installed Itunes 11.1.4 and noww ITUNES will not work. I have uninstalled all apple products and reinstalled, No Luck I have even tried a system restore point three different dates still no luck. I have even gone to Filehippo web site and tried to

  • Transferring ebooks to smartphones and Android devices

    Several people have posted to the Forum about their ability to get ebooks to smartphones and Android devices that aren't supported by Digital Editions. SONY has at least part of an answer.  They just posted the following information: "Reader Store no

  • No Pro because Player won't install

    I've just bought QuickTime Pro. Unfortunately I hadn't installed the QuickTime player before purchasing. Now I find that the player won't install: it looks for the QuickTime.msi file so that it can uninstall a previous version of the player, but the

  • Problem with ValueChangeEvent vs. ActionEvent in JSP / ADF

    Hi all, I have an Oracle map viewer app in which I have a SelectOneChoice control for the user to pick the name of the place to map. I tried setting a value change listener on the control. This called the right Java method on my backing bean & did th

  • How do I set google mail as my default rather than apple mail

    Hello All - Stumped at how to avoid having Mail be the default - which seems to be the default of choice on my desktop. However I do not really use Mail, but rather gmail. Unsure of how to go about this, since I do not have a reader for my gmail. Tha