HP Server Automation Satellite Administration
HP Server Automation Satellite Administration
HP Server Automation Satellite Administration
This section describes basic SA Satellite topologies and concepts and the following
administrative tasks:
145
Figure 43, shows two Satellites linked to an SA Core each communication directly with the
First Cores Management Gateway. Communication between the Satellites, when required,
travels from one Satellite to the First Core Management Gateway, then to the other Satellite.
Figure 42 Single SA Core with a Single Satellite
146
Chapter 4
Management Gateway
Satellite communication with an SA First Core is achieved, either directly or through a
network of Gateways, through a Management Gateway that resides on the First Core and in
the same IP address space as the servers that the First Core manages. The Management
Gateway communicates with the First Core through the Core Gateway.
Satellite Administration
147
The Realm allows each Managed Server in a Facility to be identified by its Realm and IP
address combination. Since separate Facilities can contain duplicate IP addresses, this Realm/
IP address combination allows SA to differentiate between Managed Servers in different
Facilities but with the same IP address and route traffic accordingly.
For more information about Facilities and Realms, see the SA Simple/Advanced Installation
Guide.
148
Chapter 4
Clicking the link for a Facility, and then selecting the Realms tab displays the configured
bandwidth of the connections between the Realms in that Facility, as shown in Figure 45.
Figure 45 Realms and Connection Bandwidth in Facilities
Additionally, you can view the Facilities that contain Realms by clicking Administration
System Configuration as shown in Figure 46.
Satellite Administration
149
150
Log on to the SA Web Client as a user who is a member of the SA Administrators group
and to a group that has the Configure Opsware permission.
Click Save.
Chapter 4
Satellite Administration
151
Page Selection
Gateway
Selection
Obtain debugging and status information about Gateways and the tunnels between
Gateways.
Perform specific tasks on Gateways, such as changing the bandwidth limits or tunnel cost
between Gateway instances, restarting Gateway processes, or changing the logging levels
for Gateway processes.
From the SA Web Client Navigation panel, click Administration Gateway. The
Manage Gateway page appears.
From the list of Gateways on the left, select the Gateway that you want to view
information for. The Status page for that Gateway appears.
The Status page displays the following information for the Gateway:
Information about the internal message queues. Each column in the table for a queue
displays data in this format:
Number of messages in the queue
152
Chapter 4
To view the details and statistics for a tunnel between Gateways, click the link for the
Gateway that terminates the tunnel, as Figure 49 shows.
The page refreshes and displays the tunnel details and statistics.
4
To view the following pages containing diagnostic information, click the link for the page
in the menu bar.
Flows page: Displays information about all open connections for the selected
Gateway.
Routing page: Displays the inter-Gateway routing table. This table shows which
tunnel will be used to reach another Gateway in the mesh. The routing table is
computed from the data in the path database. The routing computation automatically
updates when the link cost for a connection is changed.
When a tunnel collapses, by default, routing information is retained in the routing table for
two minutes to provide continuity for the mesh.
Path database (PathDB) page: Displays the route with the lowest cost to all
reachable Gateways in the mesh. SA determines the lowest cost route to all reachable
Gateways from the data in the Link State database.
Link State database (LSDB) page: Contains information about the state of all
tunnels from the perspective of each Gateway instance. The LSDB contains the data
for all tunnels and the bandwidth constraint for each tunnel.
Configuration (Config) page: Displays the Gateway Properties file for the Gateway
you have selected. This page includes the path to the properties file on the server
running the Gateway component.
Below the properties values, the page contains crypto file information and the mesh
properties database.
Satellite Administration
153
Above the properties values, the Properties Cache field appears. When you change
the bandwidth or link cost for a connection between Gateways, the updated value
appears in this field if the update was successful.
History: Displays historical information about the inbound (ingress) and outbound
(egress) connections between hosts using the Gateway mesh. For example, when host
A in Realm A connected to host B in Realm B.
From the SA Web Client Navigation panel, click Administration Gateway. The
Manage Gateway page appears.
From the Page Selector, click Ident. The page refreshes with an interface to the real-time
connection identification database.
In the text field, enter the protocol and source port for an active connection (for example,
TCP:25679).
Click Lookup.
The page refreshes with the client Realm and client IP address where the connection
came from.
From the SA Web Client Navigation panel, click Administration Gateway. The
Manage Gateway page appears.
154
From the Page Selector, click Bandwidth. The page refreshes with fields in which you
can specify the bandwidth for the connection between Gateway instances.
Specify the bandwidth limit you want in kilobits per second (Kbps). Specify zero (0) to
remove bandwidth constraints for the connection.
Click Apply.
From the Page Selector, click Link Cost. The page refreshes with fields in which you
can specify the link cost for the connection between Gateway instances.
Click Apply.
Chapter 4
From the SA Web Client Navigation panel, click Administration Gateway. The
Manage Gateway page appears.
From the Page Selector, click Logging. The page refreshes with a tail of the Gateway log
file.
Click Submit.
From the SA Web Client Navigation panel, click Administration Gateway. The
Manage Gateway page appears.
From the Page Selector, click Process Control. The page refreshes.
Stopping a Gateway process can cause problems for an SA core. For example, if you stop a core
Gateway process, you will stop all multimaster traffic to that SA core. Additionally, the
Manage Gateway UI is unavailable after stopping the process.
To restart the Gateway after stopping it from the Manage Gateway page, you must log onto
the server running the Gateway component and manually restart the process.
The Software Repository and the Server Agent on a Managed Server during application
software or OS patch installations.
A server being OS Provisioned and the OS Provisioning Media Server that provides the
OS media for the provisioning.
Satellite Administration
1l7
The following sections discuss configuring and updating your local Software Repository Cache
and, optionally, your OS Provisioning Media and Boot servers.
On-demand Update: The local Software Repository Cache obtains current files as
needed from the Software Repository in the SA core.
When On-demand update is enabled, if the requested software is already present in the local
Software Repository Cache and is current, no action is taken. If the software is not present
locally or it is not current, the Software Repository Cache attempts to download the file in the
background from the closest upstream Software Repository Cache or from the Cores Software
Repository.
If the caching policy is Manual Update and you request an on-demand software update, the
Software Repository Cache will raise a wordbot.unableToCacheFile exception.
156
Chapter 4
It is always possible to stage a file on a Software Repository Cache regardless of the caching
policy. See Staging Files to a Software Repository Cache on page 162 in this chapter for more
information.
The flowchart in Figure 50 illustrates the logic that the Software Repository Cache uses to
update packages in a Satellite.
Figure 50 Software Repository Cache Update Logic
Click the link of the Realm for which you want to set the Software Repository Cache
update policy. The configuration values for that Facility appear.
For the parameter word.caching_policy, set the caching policy value by selecting the
Use default value option or the Use value option and enter JIT (On-Demand Update) or
SNEAKERNET (Manual Update), See Figure 51.
Satellite Administration
157
Click Save to apply your configuration change. Since, by default, the Software Repository
Cache polls for configuration changes every five minutes, it make take up to five minutes
for your change to take affect.
On-demand Updates
Enabling On-Demand Updates allows software to be downloaded to the Satellite Software
Repository Cache when it is not yet locally available as soon as that software is requested. If
you have a low-bandwidth network connection, Manual Updates may be a better solution as it
allows you to pre-download the most commonly requested software into the Software
Repository Cache. See Manual Updates on page 159.
Each time a Server Agent on a managed server in a Satellite requests software, the local
Software Repository Cache checks whether its cached copy of the software is current. If the
cached file is not current or is missing, the Software Repository Cache obtains an updated or
new local copy of the file from the nearest upstream Software Repository Cache or from the
Cores Software Repository and sends it to the requesting Server Agent.
When configured for On-demand Updates, when the Software Repository Cache receives a
request for software, it first requests the checksum of the software against the checksum of
the Cores Software Repository to insure that it has the latest copy.
For security purposes, SA caches software checksums for a user-configurable period of time.
If the checksum is the same as the locally-stored file, the Software Repository Cache serves
the software to the requester. If the checksum does not match or the local file is not present,
the Software Repository Cache requests an updated copy of the software from the nearest
upstream Software Repository Cache or the Cores Software Repository.
If network connectivity is lost while the Software Repository Cache is downloading software,
the next time a Server Agent requests the same software, the Software Repository Cache will
resume the file download from the point at which it stopped.
158
Chapter 4
Manual Updates
For Satellites with low-bandwidth network links, Manual Software Repository Cache updates
allow you to pre-populate the Software Repository Cache at installation time. You can also
configure refreshes for an existing cache. The Software Repository Cache is populated by an
out-of-band method, such as by cutting CDs of the required packages and shipping them to
the Satellite. To perform Manual Updates, you use the SA DCML Exchange Tool (DET) to
copy existing packages from an SA core or use the Staging Utility to perform the update. See
Creating Software Repository Cache Manual Updates on page 160 and Staging Files to a
Software Repository Cache on page 162.
When configured for Manual Updates, a Software Repository Cache does not communicate
with upstream Software Repository Caches or the Cores Software Repository until you
initiate an update. The Satellite considers its own Software Repository Cache as
authoritative.
If the caching policy is Manual Update and you request an on-demand software update, the
Software Repository Cache will raise a wordbot.unableToCacheFile exception.
Even if you have configured a Software Repository as On-Demand Update, You can apply a
manual update regardless of its update policy.
When applying Manual Updates in a Satellite installation with multiple Software Repository
Caches, you must apply the update to each Software Repository Cache in the Satellite.
Otherwise, when performing operations that retrieve files from the Cache (for example, when
installing software on a server in the affected Satellite), you may get the
wordbot.unableToCache file error.
Satellite Administration
159
On the server where you installed the DET component, run the following command to
create the following directory:
# mkdir /var/tmp/sneakernet
From the server running the SA Web Client, copy the following files from the
/var/opt/opsware/crypto/occ directory:
opsware-ca.crt
spog.pkcs.8
to the following directory:
/usr/cbt/crypto
This is the directory where you installed DET.
160
Chapter 4
On the server where you installed the DET component, run the DCML Exchange Tool by
entering the following command:
# /usr/cbt/bin/cbt -e /var/tmp/myexport --config /usr/cbt/conf/cbt.conf
--filter /usr/cbt/filters/myfilter.rdf
The DCML Exchange Tool places the packages associated with the exported nodes in the
following directory:
/var/tmp/myexport/blob
The packages are named unitid_nnnnnnn.pkg.
Copy all of the .pkg files to a directory on the server running the Software Repository
Cache, either over the network or by burning the files to a set of CDs or DVDs.
Log in as root on the server running the Satellites Software Repository Cache.
Copy the export file to a directory on the Software Repository Cache server, mount the CD
containing the software export file, or copy the CD contents to a temporary directory.
Enter the following command to import the contents of the export file to the Software
repository Cache:
# ./import_sneakernet -d dir
where dir is the CD mount point or the temporary directory containing the export file.
Satellite Administration
161
You must circulate an emergency patch and you do not have time to create a Manual
update export file and physically visit a Facility to upload the software.
A necessary patch must be installed during a specified maintenance period and the period
is not long enough to download a patch and install it on all managed servers.
The utilization of a network link to the Satellite is known to be low at a particular time of
day making that time advantageous for upload.
On the server running the Software Repository component (part of the Slice Component
bundle), verify that the certificate token.srv is in your CRYPTO_PATH. During
installation token.srv is copied to
/var/opt/opsware/crypto/gateway/token.srv.
To stage the files you want, run the utility stage_pkg_in_realm which has the following
syntax:
./stage_pkg_in_realm [-h | --help] [-d | --debug]
[--user <USER>] --pkgid <ID> --realm <REALM> [--gw <IP:PORT>] [--spinurl
<URL>] [--wayurl <URL>] [--word <IP:PORT>]
162
Chapter 4
Satellite Administration
163