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 |
|
Integrating with OO
Overview
This section describes how system integrators and flow managers can use Server Automation (SA) to set up and run flows using SA. It also describes how users can run flows. Flows are operations that perform some of the most common automated tasks. SA-Operations Orchestration (OO) integration allows flow authors to build OO flows that are integrated with SA and users to run flows from SA. See OO documentation for more information about flows.
Before Integrating SA with OO, you must be familiar with SA, OO, OO flows, and OO jobs to implement the procedures described in the following section.
The section includes the following topics:
For more information about flows, refer OO documentation on SSO (https://softwaresupport.hpe.com/).
Supplementary information
This section contains supplementary information (such as tables and lists) related to SA-OO flows and jobs.
This section lists flow inputs. Flow authors can define the input name, input type, and template in OO. After these inputs are defined and flows are run, SA automatically populates their values into the OO-SA Library SACoreInputs
table - you do not have to input these values manually.
For these inputs:
- If the input has a text, encrypted field, or free form list field, and OO provides a default value, the field will be filled with the default value. If there is no default value, then, if you followed the guidelines in the following table, SA will fill the text field with one of the known inputs, which you can modify.
- If the input has a single-select list field or multi-select list field, OO provides the values - you cannot modify these values.
For more information on defining flow inputs, see the OO documentation.
Flow Inputs |
Related to |
Automatically assigned values (by SA) |
---|---|---|
|
SA Core |
Host and IP address of the SA core associated with the SA user who is logged in to the SA Client |
|
SA Core |
User name associated with the SA user who is logged in to the SA Client |
|
SA Core |
Password associated with the SA user who is logged in to the SA Client. SA will provide the password value only if the password is obfuscated in OO. The contents of the field are encrypted. |
|
SA Core |
Current SA core version SA provides these values |
|
SA Managed Server |
Selected server identifiers: You can set two possible values (in OO):
|
|
SA Managed Server |
Name of the server script that is available in the SA core for that particular server’s operating system Automatically assigned values: None Instead, the SA Client provides a widget that enables users to select a server script (excluding the OGFS script). |
|
SA Managed Server |
DNS name of the selected server This value is filled in only if one server is selected. You can set two possible values (in OO):
Define the input as a |
|
SA Managed Server |
Operating system name of the selected server This value is filled in only if one server is selected. |
|
SA Managed Server |
Customer name of the selected server selected This value is filled in only if one server is selected. |
|
SA Managed Server |
Name of the facility where the selected server is located This value is filled in only if one server is selected. |
|
OO |
Job ID of the SA job that was used to run the OO flow (tracked in OO using the reports feature) This input is not displayed. |
SA-OO jobs
Java methods for handling blocked jobs
The JobService
Java interface in the SA API provides Java methods for handling blocked jobs. These methods are the callbacks into SA that enable job approval integration.
What SA job types can be blocked?
The following table describes the SA job types that can be blocked.
Job Type |
Function |
---|---|
|
Adds a host to the virtualization service. |
|
Adds a virtualization service (to what is this added?). |
|
Clones a virtual machine on a VMware server. |
|
Converts a virtual machine to a VM template. |
|
Creates a snapshot that captures the configuration of a managed server at a particular point in time. |
|
Creates a virtual machine. |
|
Provisions a Solaris virtual machine (non-global zone) on a global zone (Hypervisor). |
|
Deletes a virtual machine. |
|
Deletes the VM template. |
|
Deploys a virtual machine from a VM template. |
|
Edit the virtualization service. |
|
Installs a patch on a managed server. |
|
Install the SA Agent. |
|
Installs software on a managed server. |
|
Migrate a virtual machine. |
|
Modify a virtual machine. |
|
Modifies the properties of a Solaris virtual machine. |
|
Power control a virtual machine. |
|
Modifies configuration files on a managed server. |
|
Reboots servers. |
|
Reloads the virtualization data. |
|
Remediates servers based on the findings of an audit operation. |
|
Remediates servers based on a software policy or a patch policy. |
|
Remediates servers based on a snapshot. A snapshot captures the configuration of a managed server at a particular point in time. |
|
Removes a Solaris virtual machine (non-global zone) from a global zone (Hypervisor). |
|
Remove the virtualization service. |
|
Restores a previous version of configuration files on a server. Every time you push configurations to a server, the previous configurations are saved and can be restored. |
|
Rolls back the software. |
|
Launches the SA Agent upgrade process. |
|
Runs an audit. |
|
Runs Chef recipes on a server. |
|
Runs a custom extension. |
|
Runs an ISM (Intelligent Software Module) control. An ISM is an installable software package created with the ISM Development Kit (IDK). An ISM can contain control scripts that perform day-to-day, application-specific tasks, such as starting software servers. |
|
Runs an OGFS (Global File System) script on a server. The OGFS scripts allows you to execute scripts in the Global Shell from the SA Client. |
|
Runs an OS builds plan. |
|
Provisions a server and installs an operating system using an OS sequence. An OS sequence defines what to install on an unprovisioned server, including OS build information from the OS installation profile, software and patch policies, and remediation settings. |
|
Runs a custom feature added to SA. HPE can extend the functionality of SA by creating custom extensions to provide for specific customer needs. |
|
Runs a script on a server. |
|
Uninstalls a patch on a server. |
|
Uninstalls software on a server. |
The following table describes the SA JobService
Java methods that you can use to handle blocked jobs.
Java method |
Method description |
SA CLI method examples |
---|---|---|
|
Authorizes the job and unblocks it, allowing it to execute. |
Within a Global Shell session: cd/opsw/api/com/opsware/job/JobService/method./approveBlockedJob self:i=$job_id |
|
Changes the value of the Note You cannot change these fields using the SA interface. |
|
|
Cancels a blocked job and prevents it from executing. Changes the status of the blocked job from Awaiting Approval to Cancelled. |
(Note that the ID parameter is jobRef, not self) cd /opsw/api/com/opsware/job/JobService/method./cancelScheduledJob jobRef:i=$job_id \reason="Job was scheduled to run outside of change window."
A job that is currently running ( |
|
Searches all existing jobs and returns the IDs of all blocked jobs or jobs in other states, such as jobs in progress, expired jobs, and scheduled jobs. Can view jobs launched by other users. |
Specify the job_status string in the filter, not the JobInfoVO.status integer.
|
The job_id
attribute is required when a flow must come back to SA and interact with the job. Job blocking requires this attribute to be sent from SA to OO.
Job status values
This section describes the job-status values, which you can use in the job_status
searchable attribute, as well as the corresponding integer values for the JobInfoVO.status
, which you can examine if your client code has already retrieved the value object (VO).
Job-Status Values lists allowed job-status values.
In a Java client, you can compare JobInfoVO.status
with field constants such as STATUS_ACTIVE
, instead of using the integers listed in this table.
Value of the job_status searchable attribute |
Value of JobInfoVO.status |
Job status displayed in the SA Client |
Job status description |
---|---|---|---|
|
|
|
Job has finished running. A Command Engine failure has been detected. |
|
|
|
Job is currently running. |
|
|
|
Job has been launched, but requires approval before it can run. |
|
|
|
Schedule has been deleted. |
|
|
|
Job was scheduled but was later canceled. |
|
|
|
Current date is later than the job schedule's end date, so the job schedule is no longer in effect. |
|
|
|
Job has finished running and an error has been detected. |
|
|
|
Job is scheduled to run once in the future. |
|
|
|
Job is scheduled to run repeatedly in the future. |
|
|
|
Opportunity for the blocked job to run has expired because it did not receive approval. |
STATUS |
15 |
TERMINATING |
Job is in the process of shutting down in response to a user request to end the job. |
STATUS |
16 |
TERMINATED |
Job ended early in response to a user request. |
|
|
|
Job has finished running successfully. |
|
|
|
Job has been tampered with. |
|
|
|
An unknown error occurred. |
|
|
|
Job has finished running and a warning has been detected. |
|
|
|
Job became orphaned. |
Inputs Not Defined or Server Only Accepts One Device
When you try to run a flow, you might receive the following error:
SA will not pass the selected Device(s) to this flow. Either the flow does not have the required ServerIdentifier input defined or the input only accepts a single device.
If you receive this error, ask your administrator to check the ServerIdentifier
input.
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: