Best way to schedule/run scripts third 3rd on an OEM customer?

We currently use some 3rd party scripts on our monitoring systems.  Before launch us into monitoring OEM, we would simply install OEM, integrate existing monitoring script, and then maybe slowly migrate on.  These scripts are run several times daily through cron.

Would it not be appropriate to migrate these courses as jobs on our OEM customers?  This would allow us to customize the calendars of the script (IE every 5 minutes), the report if these scripts fail, etc. ?

Or is there a better mechanism to use?

(This is for OEM 12 c)

You can read the doc below:

Using the system of employment and corrective measures

In EM12c, you can schedule a job to run every n minutes/hours/days and select to receive notifications by email on the status of the job.

Kind regards

-Loc

Tags: Enterprise Manager

Similar Questions

  • Best way to encapsulate PowerCLI scripting

    I want to write and use scripts that require commands PowerCLI. As long as they are run 'special' PowerCLI icon, all right. They'll run very well. However, I wish I could just run them from any command line, like this:

    .\Create-TestingBoxen.ps1

    Can I have the script itself call & ' C:\Program Files (x 86) \VMware\scripts\Initialize - PowerCLIEnvironment.ps1' itself, but that failure if my script is running on anything not to use standard install.

    I might be able to find a standard registry key that will give me the installation location of the init script, but that still leaves a mess ungainly when the script runs. The init script prints a bunch of text color that serves a "in to PowerCLI.

    Also, it is best if scripts do not let a bunch of stuff without report charged when they end. As near as I can tell, this strategy leaves all stuff loaded PowerCLI in regardless of the terminal used to run the script. I would like to be encapulated scripts.

    All that's really standard stuff for scripts, so I think that a lot of people have understood this problem already. I am fairly new to Powershell scripts (with a lot of experience in * nix shell scripts), so I hope that there is just something obvious that I'm not. Otherwise, that things are ' All done to wrap your scripts so that they can be used anywhere PowerCLI is installed?

    Hello, alficles-

    If your scripts are usually autonomous, you shouldn't need to do all these calls to other init scripts.  In other words, if you don't try to use functions defined in the init script which you referred (like Get-InstallPath or LoadSnapins functions), you can just load the snapin (s) needed within your own script.

    For example, if your script uses the standard, core VMware VimAutomation cmdlets, you can just have your script load the PSSnapin appropriate if it is not already loaded.  And to not let load/persistent PSSnapins, you can just have the script unload the PSSnapin given if it had to load the PSSnapin said.  Something like:

    ## start of script:  add PSSnapin if not already loadedif ((Get-PSSnapin -Name VMware.VimAutomation.Core -ErrorAction SilentlyContinue) -eq $null ) {Add-PsSnapin VMware.VimAutomation.Core; $bSnapinAdded = $true}
    
    ## do all the good script stuff here##  stuff##  ...##  stuff
    
    ## at end of script, if given PSSnapin had to be loaded at start, unload it hereif ($bSnapinAdded) {Remove-PSSnapin VMware.VimAutomation.Core}
    

    So, just load the PSSnapins script needs (if not already loaded) and unload at the end if the loaded script their.  Make sense?

  • cRIO: best way to start/run a VI running on the RT.vi of the host.vi

    Hi all

    I recently (3 weeks) he started to use with Labview/cRIO. I think I have the concept of the cRIO down, but I'm fighting on what seems to be a simple communication in Labview. Here's my problem:

    I have a cRIO 9074 with x 1 NI 9234 (4 analog input channels) and x 3 modules NI 9512 (motor controller). I am running in hybrid mode. My RT.vi control all movements of engine (scan mode) and also the FPGA FIFO beginning/read it. My Host.vi is in fact a UI and did some post processing on the data that I acquire by my NI 9234. My issue is with how to begin the RT.vi of the Host.vi. Just use the "VI reference.vi open? I tried but I do not think I do it properly, because what settings should I get for this? Can I configure it with the IP address of the RT? Also, for the path of the file, where are the screws on the RT?

    Thank you!

    Troy

    Note: The final product must be converted into a .exe. If the implementing method is to open/run the RT.vi automatically.

    Normally you compile the application of RT, deploy and set it as the startup application.  In this way, it will be saved on the internal flash of the cRIO drive and will automatically load when you start the cRIO.  What is an option for you?

  • NEITHER 9871 best way to create the customization to veristand

    I would use a NI 9871 module with NEITHER veristand to connect with over RS-485 devices using the modbus Protocol. I know that this device can be used in mode of scanning and orders VISA, but won't work with the custom device EtherCat Scan Engine.

    I was wondering the best way to change NOR veristand.

    1. Create custom FPGA personality and write the drivers to directly interface with the ports on the device by modifying cRIO Modbus.lvproject http://www.ni.com/example/31166/en/. Expose the commmands as channels passed from the FPGA personality to the workspace and command those from the workspace.Current limitation, I am unsure how to modify this into a custom device or model due to the FPGA IRQ in the RT application used for timing. Can this be included in the custom device?

    2 use the 9871 in scan mode and write a custom device to interact with it using the VISA. Deploy with e/s Modbus device custom servier and send orders to shared variables in the workspace. It would be easier and more robust driver, but I'm not sure how to implement if my other 7 modules use the custom scan engine. I can't apply it in scan mode and the other seven in FPGA because of the DMA only 3.

    3. change the Scan Engine custom device to support 9871? Not sure if this is possible.

    Thank you

    Mike

    4. do not use the NI 9871 and use the serial port on the Crio with a custom modbus device. This leads to a problem of timing, as five devices I want to interact with, I a port. Can reduce functionality.

    An update, since I've found a method that worked well enough and was easier than I expected.

    If you use the cRIO in scan mode with custom device of the scan engine, the ports will appear in MAX for the module 9871. I didn't when I started at the beginning of the post above. From there, you can use all the functions of ports similar to the rs232 port which is included on the NI 9074.

    I wrote a custom device which opened a VISA session at my port and then was able to apply the code I need to communicate with my camera rs485. I worked with modbus Protocol and functions worked within my device custom without modification. I could also adjust VISA settings in MAX and could run a VI of my pc that would send/recieve data ports. This will be useful as an additional way to test or change the settings on my outside NIVS rs485 devices.

    It should be noted in my last post, deploying a Modbus Library did not work. Shared variables of Veristand work incorrectly with the variables that they have been configured in the modbus library that I deployed. I was able to set these manually from the Distributed System Manager. I could also do standard shared variable variables and would update the workspace NIVS in distributed systems manager, they would not change the value in the modbus server. I decided to abandon it and create a custom device that just use VISA vs. shared variables.

  • Best way to run a script from a script

    Hello world

    I'm looking for running a script from an After Effects script, so far, there is aftereffects.executeScript (scriptContent) who use eval to run the script. The problem is that it uses eval so it is not really sure and he is slower. So I would like to know what is actually used when we file-> Script-> Run script file.

    As seen in the Javascript tool Guide CC page 168 in the section QAnywhere Corss-DOM.

    aftereffects.executeScript(theScriptContent); // Doesn't work with a script which as comments AND the script has access to my scope
    

    In addition, if there are comments like / * * / or / * / in the script I want to run, it no longer works.

    So, what is the best way to run a script from a script?

    If you want to evaluate a whole script file, you can use $.evalFile (file, timeout) - see description in ESTK object model viewer

    To evaluate a bit of code, you can use eval, that's for sure.

    Xavier

  • What is the best way to retrieve deleted mp3 files? I am running OSX Leopard 10.5.8 on a PowerPC G5 tower. I'll be very grateful for any help in this matter. Thanks to Chris

    Hello

    What is the best way to retrieve deleted mp3 files? I had a lapse of attention and I deleted a folder containing most of my music files. It is for the most part, the mp3 but there was regular audio files and some wav files in there also. I am running OSX Leopard 10.5.8 on a PowerPC G5 tower. I have another PPC machine to help the recovery, if I need, but at the moment, he is not appearing on my network (3 computers). I'm trying to change this soon. I'll be really grateful for any help in this matter.

    Thanks to Chris

    If you emptied the Recycle Bin after you move the folder to the trash, and you don't have a time Machine or another backup, then it is lost, sorry.

  • Best way to run a LabVIEW VI, written for Windows in a MAC OSx environment

    I've written a VI in LabVIEW 8.6 Windows XP and it compiled into a .exe.  Now, I want you to run this executable on a MAC OS x computer.  What is the best way to do this without having to buy a LabVIEW for MAC license or machine virtual Windows for MAC software?

    Thank you

    CJL

    CJL,

    Yes, that should run.   Except... Your show is there any material?  To use all the functions that are specific to Windows (from the platform folder)? It relies on a video driver specific or sound card? It relies on mouse right click action?  All these kinds of things may or may not work because they are closely linked in the Windows operating system and the underlying hardware.  While the software itself will problaby execute, the programmay does not work as expected if some of these dependencies are handled differently by the Apple hardware.

    I have not used VM but native running under Bootcamp works fairly well, again allowing the issues mentioned above.

    Lynn

  • What is the best way to run the report of jasper in the ADF Applications?

    Mr President.

    What is the best way to run the report of jasper in the ADF Applications?

    Concerning

    Tender Hello,

    Check out these links

    Sameh Nassar: Using Jasper report in Application of ADF (detailed)

    https://www.YouTube.com/watch?v=ezX0gdLIhs0

  • Easy way to schedule a task to run for a specified period?

    Is there an easy way to schedule (dbms_scheduler) a job to run for a fixed period - say half an hour--and then stop.

    Currently, I plan a procedure to do the job (a bunch of inserts or updates, for example) and the first line of this procedure assigns sysdate to a variable when it starts. As the procedure loops through his work, I compare the current sysdate with that original one and if the new sysdate > original for more than 30 minutes, I get an application error. But it's messy, and I was wondering if there was a way nicer to do?

    See if it works for you.

    JOB_OVER_MAX_DUR

  • What is the best way to run DAQ in larger system?

    I have a relatively simple installation of the PXI hardware require software in real time to perform data acquisition and to provide feedback to the user.  Somewhere on the order of discrete outputs 150, 55 entered discrete, some analog, etc...  My question is this: does anyone know of a white paper, etc., which describes the best way to the acquisition of configuration data?  For example, is it better to put all the discrete outputs on a single task and manage state in memory (150 items Boolean) before writing to DAQmx, or is there some advantage at the time of the execution/memory to open a task for each channel and individually each signal.  The driver even allow me to do this?

    Synchronization is not a concern, is pilot crashes, so I would like to get the best performance out of DAQmx.

    If someone has explored this?

    Dan

    Hi Dan,.

    To optimize your application, you'll want to create tasks as little as possible.  When you create a task, you ask for all the parameters of this task (which would be like doing 150 calls to the hardware).  The extent of the GB whitepapers - you can find useful this webcast .  For example, some of your concerns are addressed low toware of this FAQ document.  Hope this helps, let me know if you need something more specific.  Have a great day!

  • Best way to implement synchronization to a third-party application?

    Hello

    I am researching how to synchronize the database from the application of the software of my company with the Blackberry calendar and contact details.  I read on these forums who is to develop a custom application on the Blackberry and an add-on for the desktop software that communicate with each other to synchronize data between my Blackberry and data base.  It is the best way to handle this, or is there another way built to synchronize my application with the Blackberry calendar and contact information?

    Thank you

    Janet Williams

    OK, these are the two specific options of BlackBerry.

  • What is the best way to deal with the events of Qml-components of java script or C++?

    Hello

    Please suggest which is the best way to treat the Qml-components signal in the manuscript of java or C++.

    can read contacts in javaScript?

    When you want to make things more complex: Yes.
    QT made it much easier for me as a java developer, bb, but you will need to learn some basics.

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • Best way to manage the accessible host check after restart

    vCO newbie here...

    I'm building a workflow for (a) take an array of clusters, (b) the loop through a cluster and take a picture of the armed forces, (c) using the table of the host, in Maint Mode on first host... run a script, restart (d) check host reconnects and move then to the next host... until all hosts have been completed.  I'm looking for the best way or an example of verification of accessibility of the host and to wait for the host is accessible before you continue.  Any help is greatly appreciated!

    Hello Carlos, you certainly came to the right place for this question vCO is ideal for this kind of thing... I got to play a little before I restart something that resembled what you're asking for is basically a host and wait for it to be reconnected.

    Well, the workflow "Reboot Host" indicates indeed vCenter API to restart a host, but it does not wait for the host to come back to the top, she finished just all right because that's what indicates the API... Therefore, we must introduce a timer to wait a few minutes and to give a chance of him having turned off as part of resetting to the host. Then we check the connectionState of the host to see if it is 'connected' - otherwise, wait a few minutes and repeat the loop until the host is connected again. See example attached workflow. I recommend a MINIMUM of 3 minutes for the wait time. Test this several times in your environment to see what still works for you and adjust as necessary.

  • What is the best way to get a customized version # from an ESXi host?

    Each quarter, we generate a sequence of updates (including patches and security scripts) which are performed manually on our 5.0 ESXi hosts. I don't have an internet connection and so I have to do it this way.  I would like to be able to identify the last quarterly update that has been run on the vCenter servers and/or Client VI.

    Right now, I think adding the quarter, example 1 Q 13 on the DCUI message, then help PowerCLI, vCenter to retrieve the message DCUI, crawled and paste the quarter in the field host Annotations on vCenter.

    Kind of ugly, but I cannot find a cool way to get data like this outside of the host.  I don't want to rely on my user manually set to nothing, for example the field of Annotations on vCenter that is also subject to errors.

    I really want something that can also be seen on the VI Client, too, as the annotations are only on vCenter.

    I have ideas about the best approach to tackle this problem.

    Thank you

    Not sure if this is the best way, but that's what I ended up doing.   It feels like there should be a better way.

    I've updated my quarterly script to add the version number at the bottom of the file, / etc/vmware/welcome, whenever it is run on an ESXi host (e.g. myScript version: v1.0 Date: 04June2013).  This file appears under the banner DCUI.

    Then, I wrote a script powerCLI to roughly the following:

    foreach ($vmHostObj in Get-VMHost-name *) {}

    # Get the full message of DCUI in/etc/vmware/welcome

    $msgObj = echo $vmHostObj | Get-VMHostAdvancedConfiguration-name Annotations.WelcomeMessage

    # Convert a hash of a string table welcome message

    $msgTxt = echo $msgObj.Item ("Annotations.WelcomeMessage")

    # find the clue for the string containing my script information, which is at the end of the welcome message.

    # This is important because the substring below function will extract everything after the index.

    $idx = $msgTxt.IndexOf ("version myScript :")

    If ($idx - gt 0) {}

    $label = $msgTxt.Substring ($idx)

    Set Annotation - remarks on the entity $vmHostObj - CustomAttribute - value $label

    }

    }

    This replaces the Notes field for each host, one day I can go back and make it more user-friendly where it replaces the version leaving the rest of the field notes intact.

Maybe you are looking for

  • Apple TV cannot connect to Modem/Router C7000

    Hello I'm completely stumped on this, this is no logic. I upgraded a Netgear WNDR4300 wireless router to the modem/router combination C7000. The old router never caused any problems with the connection of wireless devices, but this new C7000 is frank

  • OKR: The restoration of EXTERNAL drive?

    I have beautifully OKR working for me. However, when I choose "System Recovery", it only show up with selecting in C: or D: (partitions on the drive HARD internal only). It won't let me choose backups that she herself created on my external USB HDD (

  • Backup of files under XP on an external hard drive

    How can I back up my files to an external hard drive.  Used to be able to do direct care. But now that went THAT XP does not have this function.

  • Second register ACS ACS primary 5.2 4.1

    We have two servers, ACS, they primary operation for two system. Now, we want to provide a unified authentication, but we warries on a different version of the CSA. ACS 4.1 can enroll in ACS 5.2 as secondary? If they can, how? Servers PS:TOW ACS has

  • Im having problems with getting my sound to work on windows 7 RC 7100 32 bit I tried to use 2 soundcards.

    original title: Audio does not work Problems of sound in windows 7 Hey all. Thanks in advance for any time you spend to help me. Im having problems with getting my sound to work on windows 7 RC 7100 32 bitI tried to use 2 soundcards. 1: creative X -