Call a scenario from different server

Hi
I have 7 scenarios executing sequentially,but the 3rd scenario is on different server(unix )(with new agent).
So how can i call this child agent with master agent.
Thanks in advance
R

Hi Aj,
Thanks for ur valuable point,
Now My environment agents are like below
Dev:
Lagent->Pagent(host0)(only one server)
QA:
Lagent1->Pagent1(host1)(server 1)
Lagent2->Pagent2(host2)(server2)
In dev iam executing with Lagent and with dev context
In QA,Iam executing with Lagent1 with QA context,when it comes to 3rd scenario it should get it from server2 in QA
what are the steps do i need to take to make the changes
tel me steps please
Thanks in advance
R
Edited by: user11410176 on Jun 30, 2011 6:51 AM

Similar Messages

  • Read XML file from different server on JSP

    Dear All,
    I am a newbie to JSP with XML, now i want to read the "test.xml" from JSP.
    I read successfully this "test.xml" file from my system and I got output, but I need to read the xml file from
    different server like "http://www.domain.com/test.xml". I couldn't read such a type of file from different server.
    Is it possible to read a xml file from different server?
    If anybody have idea please let me know.
    Thanks in Advance,
    Prasath.
    <%@ page import="java.sql.*,java.io.*,java.util.*,javax.xml.parsers.*,org.w3c.dom.*,org.xml.sax.*" %>
    <%
    try {
        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
        DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
        Document doc = docBuilder.parse (new File("http://www.domain.com/test.xml"));
        // normalize text representation
        doc.getDocumentElement ().normalize ();
        out.println ("Root element of the doc is " +
             doc.getDocumentElement().getNodeName()+"<br>");
        NodeList listOfPersons = doc.getElementsByTagName("person");
        int totalPersons = listOfPersons.getLength();
        out.println("Total no of people : " + totalPersons+"<br>");
        for(int s=0; s<listOfPersons.getLength() ; s++){
            Node firstPersonNode = listOfPersons.item(s);
            if(firstPersonNode.getNodeType() == Node.ELEMENT_NODE){
                Element firstPersonElement = (Element)firstPersonNode;
                NodeList firstNameList = firstPersonElement.getElementsByTagName("first");
                Element firstNameElement = (Element)firstNameList.item(0);
                NodeList textFNList = firstNameElement.getChildNodes();
                out.println("First Name : " +
                       ((Node)textFNList.item(0)).getNodeValue().trim()+"<br>");
                NodeList lastNameList = firstPersonElement.getElementsByTagName("last");
                Element lastNameElement = (Element)lastNameList.item(0);
                NodeList textLNList = lastNameElement.getChildNodes();
                out.println("Last Name : " +
                       ((Node)textLNList.item(0)).getNodeValue().trim()+"<br>");
                NodeList ageList = firstPersonElement.getElementsByTagName("age");
                Element ageElement = (Element)ageList.item(0);
                NodeList textAgeList = ageElement.getChildNodes();
                out.println("Age : " +
                       ((Node)textAgeList.item(0)).getNodeValue().trim()+"<br>");
            }//end of if clause
        }//end of for loop with s var
    }catch (SAXParseException err) {
    out.println ("** Parsing error" + ", line "
         + err.getLineNumber () + ", uri " + err.getSystemId ());
    out.println(" " + err.getMessage ());
    }catch (SAXException e) {
    Exception x = e.getException ();
    ((x == null) ? e : x).printStackTrace ();
    }catch (Throwable t) {
    t.printStackTrace ();
    %>

    You might try:
    Document doc = docBuilder.parse ("http://www.domain.com/test.xml");Alternatively use the java.net package to obtain an Input Stream to the xml document
    InputStream in = methodThatYouWriteYourselfCalledgetInputStreamForURI("http://www.domain.com/test.xml");
    Document doc = docBuilder.parse (in);cheers,
    evnafets

  • Can't call a VI from remote server

    I have a VI running on a labview development machine(Labview 2010), the main function is handling excel report using report generator. I follow the link http://www.ni.com/white-paper/14469/en to set up labview machine and teststand machine respectly. But when I tried to call the VI from remote server, it is still not able to load the VI front panel and show the connectors. See the  attachment. It looks like it still trying to load VI from local drive because it can't find the builded-in subvis for report generator function.
    What should I do to make it work? Thanks!
    Solved!
    Go to Solution.
    Attachments:
    TestStand error.png ‏107 KB

    For those interested in the solution, the problem turned out to be two things.
    The first is if you want to be able to load a prototype of the VI in TestStand, you will need to either share the VI or create a dummy VI. If the shared VI uses subVIs you do not have access to, then you are better of creating a dummy VI that has matching connector panes.
    The second problem had to do with how the remote VI path was specified. If you have shared the VI, then you will enter in the shared folder path as your remote VI path. If you have not shared it, then you will need to enter in the VI path as it is on the remote machine.
    Rohama K.

  • Schema compare between 2 databases from different server

    Let me know the method for comparing schema between 2 databases from different server of SQL 2012 and sending that in mail.

    Check redgate:
    Compare SQL Server schemas and deploy differences
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • What permission is needed for a login to access the restored database(backup from different server)

    what permission is needed for a login to access the restored database(backup from different server)
    frequently reach the situation, when vendor restores a database, but he cannot access it unless I remap or add his login to the restored database. What permssion can grant the vendor so that he can but only can access the database he restored, not all other
    databases.

    Hi George,
    According to your description, When you move a database from one server that is running SQL Server to another server that is running SQL Server, a mismatch may occur between the security identification numbers (SIDs) of the logins in the master database
    and the users in the user database. As other post, you can use the sp_change_users_login stored procedure to map SQL Server logins. Also , you can use the following statement after doing the restore database. It will
     fix the mis-mapped SID inside the restored DB.
    ALTER USER <username> WITH LOGIN = <username>
    For more information, you can review the following article.
    http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/MSSQLServerAdmin/do-you-still-use-sp_change_users_login/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • 11g issue in handling file datastore from different server

    Hi All,
    In ODI 11g we have standalone agent as well as weblogic server agent. In our case master/workrep and weblogic server agent is installed in one of the linux server Say (A).
    We have a scenario to pick the file from one of the different linux box SAY (B). We have child agent running on that box and it is associated with the main weblogic agent under load balancing.
    While setting the topology information for file datastore it just need the driver name and path. At run time how odi will pick the respective file from that server
    Eg:File in location: /app/soa/uo1/testfile/test.txt(B)
    File path:/app/soa/uo1/testfile/test.txt(B)
    ODI Client will start the execution using the Server A weblogic agent. How ODI will route the control to child agent and try to find the file in ServerB and not in server A.
    in my case it is going to server A and saying file doesnot exist......
    Is it really possible to assign the proper server detail, so that we can make sure that execution will happen properly. I am not sure about the weblogic agent and how it control the execution. I think in my case its weblogic agent which is trying to look for the file in server A, where it is installed and thus failing.
    Control is not passing to the proper child agent as expected?
    Any idea?

    There is a difference in your understanding of the load balancing and the way it is implemented in ODI agents.
    In your case, the weblogic agent exists on Server A and hence it expects that the file also be visible to the agent and be local to server A.
    Load balancing comes into picture when there are too many connections for Agent A and it shares its load with other agents. This logic of passing control is within the agent and when file systems come into picture, the filesystem should be visible to all the agents.
    There is no concept of parent-child agents. The agents are simply load-share agents.
    So, Load balancing is not going to give you what you want.
    In your case, you should execute the job using Agent on server B so that appropriate filesystem can be accessed.

  • Is it possible to Call ODI Scenario from eBS Concurrent request

    Hi Experts
    We have a concurrent request running on oracle eBS system. Is it possible to Invoke the ODI Scenario (on a different server) by submitting a concurrent request. Mostly the concurrent program will be a PL/SQL
    Thanks in advance.

    hey,
    yeah its possible..
    Check this.
    /people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies
    These replies too..
    Proxy in BPM
    BPM file to ABAP proxy
    Thanks,
    Vijaya.
    Edited by: Vijaya Lakshmi Palla on Jun 4, 2008 5:32 AM

  • Calling UNIX Command from another server using ODIOScommand utility

    Hi,
    My unix script 'runmanger'  is on another server say 'St23456wer' under  /u10/DV2/ofsaa/fic/xxx/bin. I want to call this 'runmanager' using ODIOSCommand. My ODI agent is installed on different server. I can ping 'St23456wer' server from ODI server. How can I call this unix script.

    My only experience with this is connecting to source files on a remote linux server and the two options I was presented with were 1) creating a mount to make the files 'local', or 2) set up a new agent on the remote server.
    One of the gurus may have a better answer for you.

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Unable to create dataset against OLAP Cube from different server

    Hi guys,
    If I load Microsoft SQL Report Builder on the BI Server, I am able to create a dataset against the OLAP Cube I created on the BI Server, however if I try to run the Report Builder from a different server I get the following error:
    "Unable to connect to data source 'MyOLAPCube'.
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 172.20.112.82:2382
    A connection cannot be made to redirector.  Ensure that 'SQL Browser' service is running."
    I have had no issues starting the SQL Browser service, however if I try to run it in console mode, I get the following error:
    'SQLBrowser: Warning: failed starting OLAP redirection services with error 1.'
    I have checked online and seen a few similar issues online however I haven't been able to resolve my issue with their resolution.
    Any help is appreciated.
    Many thanks
    Richard

    Yeah there is a firewall running on both servers, however I had opened port 2383 and was still unable to make a connection.  It is using a named instance on the server (servername/instancename) and it is configured to use port 0, so I therefore assume
    it should be using port 2383 by default?  Or as it's a named instance, is the default port 2382? Maybe it would be better to configure it to use a specific port and open the port on the firewall?
    Hi Rfla,
    As you can see on the link below
    http://technet.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Named instances use dynamic port assignments. As the discovery service for Analysis Services, SQL Server Browser service listens on TCP port 2382 and redirects the connection request to the port currently used by Analysis Services.
    So you can open the port 2382 for Named Analysis Services Instance remote connect.
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to call java files from different directories

    hi, how do i call java files from a different directory??
    let say i got partA.java, and i need to include functions from partB.java which is in a different folder. how can i do that?

    Chicon wrote:
    Hi nuttynibbles,
    Before the class declaration in partA.java, you must have an import statement like :
    import someDirectory.partB;
    public class partA {
    ... and before you ask... you'll probably want to read through this http://java.sun.com/docs/books/tutorial/java/package/index.html

  • Comparing scenarios from different time frame.

    I'm new to Essbase and analyzer and need help desparately.I'm trying to see whether it is possible to create an analyzer report that enable the user to choose and compare 2 different scenarios from 2 different month dynamically. In the sense that the two scenarios and months can be selected dynamically from drop down menus.For example the user can compare Scenario 1 for month of Oct to Scenario 3 for the month of Nov.Can a cube be developed to accomodate this requirements?Thanks for the help!

    Yes it can, if you have separate Time and Scenario Dimensions. For example:TimeAccountsMeasuresScenarioGeographyIf you have these (or more/less) dimensions, then set up the Analyzer report to have one drop down for Time and one for Scenario. If you layout the view with one of the dimensions as columns and the other as rows, then you can easily see the differences between any two months/years/etc. and any two scenarios. Actuals BudgetOct 100,000 125,000Nov 75,000 100,000

  • Import XML files from different server

    Hi All,
    We have successfully used JavaScript to import local XML files and generated the PDF files on InDesign Server CS4.
    Now, we need to import the XML files which are dynamically generated on the other Server. (Data Managemnt Server).
    Wondering what's the best way to do this?
    Can we pass the whole XML file content as a JavaScript Parameter? What about images?
    or Can Javascript Import an external XML file via HTTP, other protocol?
    The worst case I guess is to have a script to upload XML files onto InDesign Server........
    Also, is it possible to return the generated PDF back to Data Management Server (XML file Server)?
    Thanks,
    xin

    Hi ,
    Check the FM : /SAPDMC/LSM_F4_SERVER_FILE.
    Inside this FM , subroutine below exists.The main program for routine is /SAPDMC/LLSMW_AUX_020F02.
    Call this routine from your program. You will get the length in bytes from the field len of table pt_file.
    data:
      begin of gs_file,
        directory(75) type c,              " name of directory.
                                           " (possibly truncated.)
        name(75)    type c,                " name of entry.
                                           " (possibly truncated.)
        type(10)    type c,                " type of entry: directory, file
        *len(8)      type p,                " length in bytes*
        owner(8)    type c,                " owner of the entry
        mtime(6)    type p,                " last modification date,
                                           " seconds since 1970
        mode(9)     type c,                " like "rwx-r-x--x":
                                           " protection mode
        errno(3)    type c,
        errmsg(40)  type c,
        mod_date    type d,
        mod_time(8) type c,                " hh:mm:ss
        subrc like sy-subrc,
    end of gs_file.
    DATA : pt_file LIKE TABLE OF gs_file.
    DATa : p_ok.
      PERFORM /sapdmc/llsmw_aux_020f02(directory_contents_get)
      TABLES   pt_file
                                USING    '/TMP' ""!!! Here is your filepath
                                CHANGING p_ok

  • Calling procedure dynamically, from different schema, permissions issue

    Hi,
    I have a 'master_user' schema that needs to run DDL on a 'secondary_user' schema.
    There appears to be some kind of permissions subtlety that I'm missing. Here are the simplified steps to create, test and troubleshoot:
    Secondary schema has a procedure defined:
    -- Run as SYSTEM (at build time)
    CREATE OR REPLACE PROCEDURE secondary_user.execute_immediate(p_sql_statement IN VARCHAR2)
    IS
    BEGIN
        EXECUTE IMMEDIATE p_sql_statement;
    END;
    GRANT EXECUTE ON secondary_user.execute_immediate TO master_user;
    I then want to call this procedure from master_user to execute DDL dynamically in secondary_user.
    - Run as master_user
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at SECONDARY_USER.EXECUTE_IMMEDIATE", line 5
    ORA-06512: at line 1
    ORA-06512: at line 2
    TROUBLESHOOTING SO FAR:
    Now I can call this procedure directly:
    -- As master_user
    EXEC secondary_user.execute_immediate('drop table test1')
    PL/SQL procedure successfully completed.
    I can call the wrapped procedure as different users:
    -- As secondary_user
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    PL/SQL procedure successfully completed.
    -- As SYSTEM
    BEGIN
        EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
    END;
    PL/SQL procedure successfully completed.
    Can you shed any light on this behaviour? The master_user clearly has permission to run the procedure, but it cannot see it from within an anonymous block. However SYSTEM can so what permission does SYSTEM have that master_user does not?
    Much appreciated,
    Si

    Something doesn't add up:
    SCOTT@orcl > create user secondary_user
      2  identified by secondary_user
      3  default tablespace users
      4  quota unlimited on users
      5  /
    User created.
    SCOTT@orcl > grant create session to secondary_user
      2  /
    Grant succeeded.
    SCOTT@orcl > create user master_user
      2  identified by master_user
      3  default tablespace users
      4  quota unlimited on users
      5  /
    User created.
    SCOTT@orcl > grant create session to master_user
      2  /
    Grant succeeded.
    SCOTT@orcl > CREATE OR REPLACE PROCEDURE secondary_user.execute_immediate(p_sql_statement IN VARCHAR2)
      2
      3  IS
      4
      5  BEGIN
      6
      7      EXECUTE IMMEDIATE p_sql_statement;
      8
      9  END;
    10
    11  /
    Procedure created.
    SCOTT@orcl > GRANT EXECUTE ON secondary_user.execute_immediate TO master_user;
    Grant succeeded.
    SCOTT@orcl >
    SCOTT@orcl > create table secondary_user.test1(n number)
      2  /
    Table created.
    SCOTT@orcl > connect master_user@orcl
    Enter password:
    Connected.
    MASTER_USER@orcl > BEGIN
      2
      3      EXECUTE IMMEDIATE ' BEGIN secondary_user.execute_immediate(''DROP TABLE test1''); END;';
      4
      5  END;
      6
      7  /
    PL/SQL procedure successfully completed.
    MASTER_USER@orcl >
    Make sure table secondary_user.test1 exists when you run SP. And, as you can see, neither secondary_user nor master_user have any privs besides create session.
    SY.

  • How to call a Scenario from BPEL

    Can anyone briefly explain a way to call ODI scenario through a web service from BPEL? I have read the document, "Executing a Scenario using a Web Service", and it provides a simple SOAP request. How a wsdl file is created from the soap request?

    You can also use the Java API for invoking a ODI scenario.
    Sample code:
    boolean result = false;
    OdiCommandScenario odicmdScenario = new OdiCommandScenario();
    OdiRepositoryConnection odiConnection = new OdiRepositoryConnection();
    OdiInvocationResult odiInvocationResult = null;
    OdiInvocation odiInvocation = null;
    odiConnection.setOdiUser("SUPERVISOR");
    odiConnection.setOdiPassword("password");
    odiConnection.setJdbcDriver("oracle.jdbc.driver.OracleDriver");
    odiConnection.setJdbcUrl("jdbc:oracle:thin:@ipaddress:port:sid");
    odiConnection.setJdbcUser("ODI master repository user name");
    odiConnection.setJdbcPassword("ODI master repository password");
    odicmdScenario.setScenName("Scenario name");
    odicmdScenario.setScenVersion("Scenario Version");
    odicmdScenario.setLogLevel(5);
    odicmdScenario.setContext("Global");
    odicmdScenario.addVariable("Your variable (if needed)", "(Variable value)");
    odiConnection.setWorkRepositoryCode("Work Repository");
    try {
    odiInvocation = new OdiInvocation("Agent IP Address", <Agent Port>); //20910 default port
    odiInvocationResult = odiInvocation.invokeCommand(odicmdScenario,odiConnection);
    result = odiInvocationResult.isOk();
    } catch (IOException e) {
    result = false;
    return result;

Maybe you are looking for

  • Porting CS3 from old Mac OS 10.4.11 to a new iMac using Mac OS 10.8.4?

    I had been using CS3 on a Mac Mini running it on OS 10.4.11. The programs had been installed on one of my two external HD's. I upgraded my computer equipment to a new iMac running OS10.8.4, which also has both of my HD's connected to it. I also am ru

  • Image covert to PDF then file size become much bigger. [iOS]

    When I use picture covert to PDF then converted PDF file size become much bigger. Original picture file size is 2MB but PDF file size become 5.2MB. I'm using iPhone6. however when I using desktop acrobat to covert the same image then PDF file sizw al

  • Can't create new application

    Hi guys. We're having a problem with an application set this morning. A new application set was created last night and so far, 2 new applications have been added to it. This morning though, when we try to create another application (of ANY type), we

  • HT2473 missing image files

    what is the best way to reconcile the iphoto, aperture, and lightroom catalogues, to ensure that no files have been lost? my macbook pro (2008) quit on me recently and i think that i am missing image files now. also i should say that i am backing up

  • Problem starting adobe photoshop element 10  or premiere element 10

    I have just installed these 2 software. when I am trying to start any of them I get an error message 213:11 with a message to try to restart the computer and if it doesn't work to contact the support. It doesn't work, so what's the next step. Thank y