Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Manually Starting or Stopping a Lua Script

You can manually start or stop an existing Lua script at any time.

When starting a script, you can select to start it either with its default arguments or with new arguments.


Note -  To have the HPDU automatically start or stop a script in response to an event, create an event rule.
  1. Select Device Settings → Lua Scripts.
  2. In the Lua scripts list, click the script whose state is either Terminated or New.
  3. To start the script using arguments, do either of the following:
    • To start with default arguments, click Start.
    • To start with new arguments, click the three vertical dots → Start with Arguments, and enter the key and value. If needed, click + Add Argument to add more arguments.

      Note -  Newly-assigned arguments override default ones.
  4. Click Start.

    The script output appears in the Script Output section.

  5. If needed, click Clear to delete the existing output data.
  6. To manually stop a script:
    1. Select Device Settings → Lua Scripts.
    2. Click the script whose state is either Running or Restarting.
    3. Click Stop in the top-right corner.
    4. Click Stop to confirm.
  7. To return to the scripts list, click Lua Scripts at the top of the page or in the Menu.