How to make OTM scripts to run on remote machines

Hi,
I came across lot of posts which tells how to configure OTM to connect to remote machines.
Some how i dont understand when they say stop the OATS service and configure it manually
Also to use the password for authentication manager.
What i really want to know is step by step for a layman to set up OTM to run scripts on a remote desktop and on the local with the execution being displayed (not suppressed)
How do we configure that?
Any help is deeply appreciated!! my test cases are just stuck inprogress status
Thanks
Radhika

Hi Radhika,
For running Scripts from either the server or the remote machine using OTM you need to run the Agent Manager service as a console not the OATS service. For that you need to stop that service--> set the startup type as manual--> the run the ' C:\OracleATS\agentmanager\bin\AgentManagerService.exe –c AgentManagerService.conf ' command in the CMD to run this service as a console. Because this agent manager service is for OLT to communicate with its agents and works fine even if it is set to automatic or manual and started normally. Hope this helps.....
Regards,
Charles Kingsly

Similar Messages

  • How to make SAP Script/Macro run in background like xl macros

    Hi,
    I have a recorded sap script to run, but I can see all  the steps visible in the screen. Is there a  solution in SAP to set displayalerts or screenupdate as false like excel. I do not want the viewers to see the macro running in all steps. I tried iconify, but it works only for main screen, the child screen are still visible. Please help.
    Thanks
    Mercy

    Hello.
    In my knowledge there is no Option from SAP GUI Scripting.
    When you run this from VBA you can use USER32-API function
    Public Declare Function LockWindowUpdate Lib "user32" _
      (ByVal hwndLock As Long) As Long
    Call function via public Sub:
    Public Sub DisableScreenUpdating(xhWnd&)
      If xhWnd <> 0 Then LockWindowUpdate xhWnd
    End Sub
    Public Sub EnableScreenUpdating()
      LockWindowUpdate 0&
    End Sub
    And call this whenever you have a new handle during your script:
            Session.FindById("wnd[0]/usr/btn%_STAE1_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,0]").Text = "DLFL"
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,1]").Text = "INAC"
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
            DisableScreenUpdating Session.FindById("wnd[0]").Handle
            Session.FindById("wnd[0]/usr/btn%_STRNO_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/tbar[0]/btn[24]").Press
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
    When your script is completed call
    EnableScreenUpdating
    Of course People can get nervous at it seems like nothing happen. May they kill this session as they think it´s crashed.
    Hope this help.
    Br, Holger

  • How to execute vb script with out using Remote manager in oim 11g r2

    Hi Currently,
    i have a requirement to execute  vb script (present on a remote machine in which connector server is installed) from oim machine while using Exchange connector (11.1.1.6).
    This can be achieved by using remote manager,but i dont want to use remote manager.
    Hence decided to use Action scripts.
    As per connector configuration,
    i have configured Action scripts in Lookup.Exchange.UM.Configuration lookup definition, by means of three entries
    After Create Action Language      Shell
    After Create Action Target           Resource
    After Create Action File              /home/scripts/Disable.bat
    Disable.bat has the following ,
    Powershell.exe -File C:\scripts\Setup.vbs
    -%Log on Name%
      Exit
    As Setup.vbs is expecting a parameter of log on name, i was providing the same.
    But while creating the user,as this script gets called, getting the following error and hence 'create User' is getting failed.
    Problem while PowerShell execution System.Management.Automation.RemoteException: This task does not support recipients of this type. The specified recipient XXXXXXXXXXX...XXXXX is of type UserMailbox. Please make sure that this recipient matches the required recipient type for this task.
    While provisioning the user to Exchange , i have selected 'Recepient type' as 'User Mail box' explicitly, but still getting the error.
    Please provide any pointers to resolve the issue.
    Thanks in advance
    Kumar

    As far as I know Oracle and MySQL are two different products.
    Why do you clutter an Oracle forum with MySQL questions?
    If MySQL is such a tremendous RDBMS, like many people state (as 'free' means per definition better),
    why don't you visit a MySQL forum where fellow MySQL aficionados can answer you MySQL questions?
    In short, why don't you stop abusing Oracle forums?
    Sybrand Bakker
    Senior Oracle DBA

  • How to manipulating HelloPartner sample to run on two machines

    Hi,
    I am trying to manipulate the HelloPartner example, so the Requester + Hub
    is running on one machine, and Replier is running on a different machine (on
    the same LAN).
    I have changed the following:
    RequesterAndHub-machine:
    ReplierPartner (trading partner):
    General-tab: "locale" to "remote"
    Transport-tab (URI Endpoint): "http://127.0.0.1:7001/ReplierPartner" to
    "http://nameOfReplierMachine:7001/ReplierPartner"
    Replier-machine:
    HelloPartnerHub (trading partner):
    General-tab: "locale" to "private"
    Transport-tab (URI Endpoint):
    "http://127.0.0.1:7001/HelloPartnerHub" to
    "http://nameOfResponseMachine:7001/HelloPartnerHub"
    The collaboration agreement between RequestorPartner and HelloPartnerHub has
    been disabled and unregistered.
    But when I try to run the sample I get the following error:
    to jan 31 14:25:59 CET 2002: <Hub> ERROR: Unrecoverable error
    com.bea.b2b.messagequeue.QueueException while delivering message from queue,
    HUB_MESSAGESTORE_URL_sendQueue Throwing away message:
    http://127.0.0.1:7001/RequestorPartner:HelloPartnerConversation:1.1:Requesto
    r_RequestorPartner_1012483415614_821012483415614:0 Exception:
    com.bea.b2b.messagequeue.QueueException
    How do I change the configuration to get the two machines communicate?
    Thanks, Morten

    It might be easier to answer "How to manipulate HelloPartner sample to run
    on two machines", which will help me learning WLI. Thanks.
    Morten
    "Morten Hansen" <[email protected]> wrote in message
    news:3c594c9a$[email protected]..
    Hi,
    I am trying to manipulate the HelloPartner example, so the Requester + Hub
    is running on one machine, and Replier is running on a different machine(on
    the same LAN).
    I have changed the following:
    RequesterAndHub-machine:
    ReplierPartner (trading partner):
    General-tab: "locale" to "remote"
    Transport-tab (URI Endpoint): "http://127.0.0.1:7001/ReplierPartner"
    to
    "http://nameOfReplierMachine:7001/ReplierPartner"
    Replier-machine:
    HelloPartnerHub (trading partner):
    General-tab: "locale" to "private"
    Transport-tab (URI Endpoint):
    "http://127.0.0.1:7001/HelloPartnerHub" to
    "http://nameOfResponseMachine:7001/HelloPartnerHub"
    The collaboration agreement between RequestorPartner and HelloPartnerHubhas
    been disabled and unregistered.
    But when I try to run the sample I get the following error:
    to jan 31 14:25:59 CET 2002: <Hub> ERROR: Unrecoverable error
    com.bea.b2b.messagequeue.QueueException while delivering message fromqueue,
    HUB_MESSAGESTORE_URL_sendQueue Throwing away message:
    http://127.0.0.1:7001/RequestorPartner:HelloPartnerConversation:1.1:Requesto
    r_RequestorPartner_1012483415614_821012483415614:0 Exception:
    com.bea.b2b.messagequeue.QueueException
    How do I change the configuration to get the two machines communicate?
    Thanks, Morten

  • Launchd: how to make a script run every weekday?

    I'm trying to make a script run every weekday as a LaunchAgent. Is there a way to do this like you could in cron?
    Here is the relevant portion of my LaunchAgent plist:
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>9</integer>
    <key>Minute</key>
    <integer>0</integer>
    <key>Weekday</key>
    <integer>3</integer>
    </dict>
    I have tried changing the Weekday integer to 1-5 or 1,2,3,4,5 but neither worked. It only works with a single integer. Do I have to create 5 separate plists for each weekday?
    Any ideas?

    Thanks VK, for others who are looking to do something similar, here is the relevant part of the code to make the command run every day (since that field is missing) at 7:00pm and 7:01pm:
    <key>StartCalendarInterval</key>
    <array>
    <dict>
    <key>Hour</key>
    <integer>19</integer>
    <key>Minute</key>
    <integer>00</integer>
    </dict>
    <dict>
    <key>Hour</key>
    <integer>19</integer>
    <key>Minute</key>
    <integer>01</integer>
    </dict>
    </array>

  • How to make Apple Script do a terminal command

    Hey,
    I am wondering how can I make an AppleScript do the following command :
    "networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4"
    Please mention step by step since I'm new to AppleScript
    Best Regards,
    Nadav.

    To run a terminal command it is usually sufficient to use do shell script. So for your command it would be
    do shell script "networksetup -setdnsservers Wi-Fi 8.8.8.8 8.8.4.4"
    note if the command requires administrator privileges you would need to do
    do shell script "command"  with administrator privileges
    will prompt for the password when the script is run.
    do shell script "command" user name "me" password "mypassword" with administrator privileges
    will store the password and username in the script. More convenient but much less secure.
    See do shell script in AppleScript

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • How to make sure an applet runs with Java 5?

    Hi all,
    First let me say thanks for all the help in the past. You've help me go from noob to intermediate noob. I've just about finished my first applet game which can be checked out here .
    Now I've been reading about problems with mac and 1.6. (note it works on Linux). I want to make sure that it runs fine and of course I don't own a mac. So I downloaded the 5 JDK. Selected it as the java platform in Netbeans, compiled and it ran fine.
    Questions:
    Do I have to always use 1.5 to compile and perhaps set it as default?
    Since it works in 1.5, do I compile it with 1.6 and just upload?
    I'm worried I'm not testing it correctly. I mean if I have both 1.5 and 1.6 installed on my machine, how to I make sure the applet is only using 1.5 to run?
    Thanks
    Darrin

    corlettk wrote:
    I haven't got a clue RE your problem other than for max-portability you should compile with [-target 1.5|http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html].
    I must say I'm impressed, except I suspect my PC must be substantially faster than any of your test platforms... can you throttle it to CPU performance somehow? Or maybe it's just that my reflexes aren't what they once where.Thanks.
    There seem to be two issues. The first is what people are using. This web stats shows pretty poor penetration of 1.6.
    [http://www.statowl.com/java.php|http://www.statowl.com/java.php] Penetration: 54% with JRE1.6 + 19% with JRE 1.5. Total 73%.
    The second is I've read that mac and 1.6 do not get along except on a 64bit platform.
    So for applets there is not much choice but to compile on 1.5 for the broadest user base. I guess the good news is 1.4 and earlier are almost non-existent.
    Edited by: Darrin.A on Apr 27, 2009 8:11 AM

  • How to make a java program run as a background process.

    </pre>
    writing a client server application.
    a program is supposed to run on a the client right from the time the client turns on the computer till the computer is turned off.
    the catch is the client should all the time be unaware of the program running in his computer, no dos prompt window, no icon on the taskbar,etc. can i convert it the class file into an exe file through software and put the exe filename in autoexec.bat. But then i think that the dosprompt window will open up on starting, but the client should see nothing.
    please help
    </pre>

    </pre>
    Thanks Daniel and jesper,
    could not really fully understand what you mean.
    creating a batch file is okay, but do you configure it
    to run in a an hidden mode.
    Also I have no idea of how to make a window
    service.can you please elaborate a bit
    </pre>

  • How to make an ABAP program run for a specified number of times ?

    assalamoalikum all!!!
    Can some 1 plz tell me that How can I make my ABAP program run ONLY for 2 times (after it went in production etc)
    AND when the program runs for 2 times It then gets hanged/Locked foreever.
    Suppose my program is:
    REPORT twice002.
    write ' I will run only twice bye bye'.

    Well, I guess the only full proof way is to create a custom "Z" table which will hold the counter, in your program you would update this table every time the program runs. In this same program before updating the counter, you would retrieve the counter and check if it is = 2, if so, then write a message and RETURN.
    Regards,
    Rich Heilman

  • How to make Adobe Flash Player run faster

    how do you make adobe flash player run faster my child has a game and the game is running to slow to play/use some of the features
    please please help

    Welcome to our community
    I see this is your first post here. I'm guessing that you aren't using Adobe Captivate.
    I'm unsure exactly how you managed to end up posting your question here, but you seem to lost and unsure exactly where to post.This forum is where we help one another with the Adobe Captivate product.
    Click the link below to visit the main forums landing page. From there, you will either click an icon or click a drop-down list where you may choose from a gob of different forums. I'm guessing you want the forum for Flash Player.
    Click here to view
    Cheers... Rick

  • How to make powershell script.

    How to make script that copy content from notepad to other notepad and reverse the text?

    If you mean a .txt file then there's three aspects to your question.
    Open a file and read the text
    Reverse the text
    Save the text into a new file
    For point one, this technet article is good:
    http://technet.microsoft.com/en-us/library/ee692806.aspx
    For point two you could turn the text into one or more strings, then convert those into arrays, loop through them and then re-assemble them. This article shows you most of that:
    http://technet.microsoft.com/en-us/library/ee692804.aspx
    And finally you need to save that text as a file, there's lots of ways but the Out-File cmdlet is the simplest.
    This might also be of use:
    http://www.ehow.com/how_7174023_write-basic-powershell-script.html

  • How to make a script for a terminal command

    I need to find instructions on how to create a script to automatically run the following Terminal command;
    Sudo chmod 755 /private/var/spool/cups. It will also need to include the admin password as you will be prompted to enter it after the command line is entered. Apparently the only way to get Quark 7 to print adobe pdf's is to open a terminal window and type the command every time the machine is rebooted. This is a temporary fix and I do not want the MAC users to have to type the command.
    Thanks
    Sal

    This Script works here. Get you the error, when you save or checks the syntax?
    When you use in AppleScript the entry with administrator privileges, is sudo optional. This says only, if everyone can use the sudo command inside of the 5 minutes limit without to write the password again or not.
    The Syntax do shell script "sudo chmod 755 "private/var/spool/cups" password "***" doesn´t work, because you need the entry with administrator privileges for the execution as privileged user.

  • How to make this script work

    Help me to make this script work, please!
    function(){
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "8 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "16 mm";
    app.selection[0].changeGrep();
    app.findGrepPreferences.leftIndent  = "16 mm";
    app.changeGrepPreferences.leftIndent  = "24 mm";
    app.selection[0].changeGrep();

    Hi,
    Its already replied, see below code:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "8 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "16 mm";
    app.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    First run the above code, again you want to change leftIndent from '16 mm' to '24 mm' run below code:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.leftIndent  = "16 mm";
    app.changeGrepPreferences.leftIndent  = "24 mm";
    app.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    by
    hasvi

  • How to make AE script folder?

    Hi, i want to ask something about script in after effect CS6. I have many script in my AE and I think its quite difficult to find the script i want. So, how to make script folder in AE or maybe group of script? So if I want to use the script i can find it easier....
    Thank you and sorry for my bad english...

    // create a new FolderItem in project, with name “comps”
    var compFolder = app.project. items.addFolder(“comps”);
    AE CS3 Scripting guide, page 78

Maybe you are looking for