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 |
|
SA managed server peer content caching
In previous SA releases, if you had a smaller site without a sufficient number of managed servers to justify installation of a full SA Core, SA provided the Satellite installation. The Satellite installation allowed you to install only the minimum necessary Core Components on a Satellite host, which then accessed the Primary Core’s database and other services through an SA Gateway connection.
SA also provides Managed Server Peer Content Caching, which provides, for facilities with fewer than 50 managed servers, caching of the Software Repository without the need for Satellite components.
Some of the benefits of Managed Server Peer Content Caching are:
- Peer caching uses existing SA managed servers (no additional hardware infrastructure required)
- No SA Satellite installation is required
- No SA Gateway is required
- Peer caching reduces WAN traffic during software staging
- Peer caching allows pre-staging of software packages
- An SA Satellite or Gateway is not required at the remote site
- Software can be manually loaded into the cache
For more information, see the following topics:
- Requirements
- Installing a peer cache
- Configuring the peer cache and SA servers
- Remediating with peer caching enabled
- Viewing the peer cache status page
Requirements
Managed Server Peer Content Caching requires:
- A managed server running any SA supported operating system to act as the Peer Cache server.
- Managed Servers must be configured to use peer caching using custom server attributes.
Installing a peer cache
- Decide which managed server(s) will act as a peer cache(s).
- Upgrade the Agents on those managed servers to SA 9.14 (other managed servers Agents do not need to be upgraded).
Perform the Agent upgrade as described in the “Agent Utilities” section of Overview.
Configuring the peer cache and SA servers
- Create a custom attribute for each managed server in the branch/remote site.
- For example,
peer_cache_dvc_id = 240001
, where240001
is the device ID of the server acting as a peer cache. - If the branches/remote sites are modeled as device groups, you can apply the custom attributes at the device group level using a script. Managed servers added to the device group later will automatically inherit this custom attribute.
- For example,
- Ensure that all managed servers using the peer cache belong to the same customer as the peer cache.
- (Optional) Create the following custom attributes on the managed server(s) acting as a peer cache(s):
peer_cache_size
= <value in megabytes>default: 1TB (but limited to file system size)
peer_cache_path
= <location of file store>
sa_cache
is appended to the value you specify for the path. For example, the default for Windows is: \Program Files\Common Files\Opsware\sa_cache
- By default, managed servers attempt to connect to the peer cache using the cache’s primary IP address. However, you can use a custom attribute to specify a different IP address in the format:
peer_cache_ip_field = < primary_ip | management_ip | ip:<addr>>
where:
primary_ip
- (default) is the IP address of the management interface. This is the locally configured IP address (not NAT translated).management_ip
- is the IP address SA uses to communicate with the server. This can be a NAT translated address.ip:<addr>
- is used to set an IP address manually (for example,ip:192.168.2.1
)See the SA 10.50 User Guide for more information about configuring the primary IP address and NAT for managed servers.
Remediating with peer caching enabled
You start remediation as described in the "Software management" section in the SA 10.50 User Guide.
When Managed Server Peer Content Caching is enabled, remediation performs these steps:
- During the staging phase, managed servers are given the cache IP address (derived from the
peer_cache_dvc_id
custom attribute attached to the server). - The managed servers stages packages from the branch/remote site peer cache (see Retrieve Objects from the Peer Cache).
Retrieve Objects from the Peer Cache
When retrieving objects from the peer cache, SA performs these tasks:
- The staging code on the managed server is passed on the IP address of the configured peer cache.
- The staging code makes a secure connection to the Agent port of the peer cache server using the Agent’s SA security certificate.
- The peer cache confirms that the connecting client is configured to use the cache and belongs to the same customer as the peer cache.
- A request is made to the peer cache to stage a specified unit.
- The peer cache server responds to the request by sending the unit.
- During the action phase, the checksum of the object is verified against the checksum of the same object in the Software Repository.
Possible Errors
Step 1: There is no branch cache configured or unable to communicate to the cache agent:
- Staging proceeds across the WAN normally.
Step 3: The client is not authorized to use the peer cache:
- The cache logs the unauthorized attempt.
- The cache returns a 403 Forbidden status to the client.
- Staging proceeds across the WAN normally.
Step 5: The cache does not have the requested object.
- The cache returns a 503 with a Retry-Later value to the client.
- The cache requests the object across the WAN from the Software Repository.
- The client retries the cache after the specified time and retrieves the file.
Step 5: The cache has the requested unit, but the checksum does not match the core checksum:
- SA treats the file as stale and deletes it when the cache is full.
- Proceed with Step 5.
Step 5: The software repository does not have the requested object:
- This situation should be caught during the analysis phase; if not:
- The cache returns a 404: file not found message.
Viewing the peer cache status page
- Install browser certificate:
browser.p12
browser.p12
is located in:/var/opt/opsware/crypto/spin/
on any Slice Component bundle host. Copy the file to your local machine, and import
browser.p12
into your browser following your browser import certificate instructions. - Using your web browser access:
https://<peer_cache>:1002/oplets/peer_cache.py
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: