Use > Service Automation Visualizer > Run scripts on devices

Run scripts on devices

From inside SAV you can run a script, either directly on a selected server or network device, or on the Global File System (OGFS) using the Global Shell — given that your user account has sufficient permissions to run the Global Shell and to perform any operations on servers under SA management.

There are three possible scenarios in which you can run a script in SAV:

  • By selecting a server and clicking Run Script on the SAV toolbar, or selecting Run Script from the Manage menu. This launches the Run Script Task window.
  • By selecting Run Global Shell Script , which launches the Global Shell, and which gives you access to the OGFS.
  • Selecting a network device and click Run Script on the SAV toolbar, or selecting Run Script from the Manage menu, This launches the NA interface, where you can log in to NA and run the script on the selected network device.

For more information about script execution, see the SA Use section. For information on running scripts on network devices, consult the NA online documentation.

To run a script on a server:

  1. From inside SAV, select a server from the Devices pane or one of the maps.
  2. From the Manage menu, select Run Script, or click Run Script from the SAV toolbar.
  3. In the Run Script window, fill out the necessary information and perform the steps to execute the script. For more information on running a script on a server, see the SA Use section.

To run a global shell script in SAV:

  1. From inside SAV, from the Manage menu, select Run Global Shell Script, or click Run Global Shell Script from the SAV toolbar.
  2. In the Run Global Shell Script window, fill out the necessary information and perform the steps to execute or schedule the script execution. For more information on running a global shell script on the OGFS, see the SA Use section.

To run a script on a network device:

  1. From inside SAV, select a network device from the Devices pane or the Network Map.
  2. From the Manage menu, select Run Script, or click Run Script from the SAV toolbar. This launches the NA web application interface.
  3. Log in to NA, and on the New Task - Run Command Script page, fill out the necessary information to run or schedule the script execution. For more information on running a script on a network device through NA, consult the NA online documentation by clicking the Help link in the upper right corner of the page.

You must have proper permissions to run global shell scripts and scripts on a device. To obtain these permissions, contact your SA administrator. For more information on permissions, see the SA Administer section.