User's Manual

Table Of Contents
Working with Resource Scripts
14-4 Active System Manager User Guide, Release 7.1
Working with Resource Scripts
Resource scripts are executable files located in a script repository on a remote server. The repository must
follow a strict directory structure to allow for resource-level scripts to be executed. The directory structure
should follow the Manufacturer and Model name, as defined per each resource type. For example, if you
have a Resource Adapter for a Cisco7206 resource type, your repository should be:
/
/<Manufacturer>
/<Manufacturer>/<Model>
This section describes the following topics:
Opening the Resource Scripts View
Setting Preferences for Resource Scripts
Starting a Resource Script
Viewing Resource Script Output
Stopping a Resource Script
Opening the Resource Scripts View
You can view resource scripts in the Resource Scripts view; to open the Resource Scripts view.
Setting Preferences for Resource Scripts
The following sub-sections describe how to set preferences for resource scripts:
Setting a Default Remote Script Execution Environment
Setting Default Runtime Environment Variables
Setting a Default Remote Script Execution Environment
To set a default remote script execution environment, perform one of the following options:
On the Active System Manager menu toolbar, click Window > Preferences > Test and Script
Execution > Script Server.
In the Resource Scripts view, select one or more resource scripts, right-click and select Preferences.
All fields are required and must be completed to identify the scripts in the Resource Scripts view. The
Secure check box indicates that the communication from the Active System Manager server to the remote
script server is secure. Non-secure will use a Remote Shell Protocol (RSH). If you use Secure, it will be
Secure Shell Protocol (SSH).