Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
The script execution process
The script execution process involves defining permissions, managing scripts, and executing scripts.
Defining permissions
In this phase, an SA Administrator assigns Folder permissions, Client feature permissions, and Customer constraints to define the security boundaries across various user groups. The permissions determines the actions the users in a user group can perform with the SA Client.
See the SA 10.50 Administration Guide for more information about defining security permissions.
Managing scripts
In this phase, a policy setter or an advanced system administrator performs script management tasks such as creating or importing scripts, editing script properties, exporting scripts, and deleting scripts. See Managing Scripts for more information.
Executing scripts
In this phase, a system administrator executes server scripts directly on servers or server groups and OGFS scripts in the Global Shell. A system administrator can also execute scripts by adding the scripts to a software policy and then remediating the servers against the software policy. See Executing Scripts for more information.
Types of scripts
In the SA Client, the Script Execution feature supports two main types of scripts: server scripts and OGFS scripts.
- The Server script allows you to execute scripts on UNIX and Windows servers managed by SA. The SA Client supports the following types of Server scripts for UNIX and Windows operating systems: UNIX/Linux shell, Windows batch (.BAT), Windows Visual Basic (VBScript), Windows PowerShell and Python (.py). Python scripts can be executed on both Unix and Windows.
- The OGFS scripts allows you to execute scripts in the Global Shell from the SA Client. You can specify the directory path in the OGFS to execute the scripts.
The server scripts are further classified to Saved Scripts, and Ad-hoc Scripts.
- Saved scripts are accessible to all the users, if they have the appropriate permissions. You are required to have the appropriate permissions to create, view, edit, and execute saved scripts.
- Ad-Hoc scripts are created or uploaded for one-time use and are not stored in Server Automation. Ad- Hoc scripts are created or uploaded and then immediately executed by a user and during this process, only this user has access to the scripts.
After you create a script and save it as a specific type of script in Server Automation, you cannot convert the script to the other type of script.
In the SA Client, you can specify to run a Sever script as a Super User or as a specified user.
- A Super User script allows you to execute the script as root on UNIX or Local System on Windows servers without entering a password. This applies to any user who has permission to execute the script, including users that do not have "Run Ad hoc & Saved Scripts As Super User" permission.
- If the script is not designated as a Super User Script, then you need to enter a user name and password to run the script unless you have the "Run Ad hoc & Saved Scripts As Super User" permission. You also require the appropriate permissions to manage and run Super User Server Scripts.
See the SA 10.50 Administration Guide for information on the permissions required to run the Super User Server Scripts. All the OGFS scripts can only be executed as an SA User.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: