Chapter 8. Maintenance
59
/var/satellite/redhat/NULL/
) is primarily a duplicate of Red Hat’s RPM
repository, it can be regenerated with
satellite-sync
. Red Hat recommends the
entire
/var/satellite/
tree be backed up. In the case of disconnected satellites,
/var/satellite/
must
be backed up.
Backing up only these files and directories would require reinstalling the RHN
Satellite Server ISO RPMs and reregistering the Satellite. In addition, Red
Hat packages would need to be resynchronized using the
satellite-sync
tool.
Finally,
you
would
have
to
reinstall
the
/root/ssl-build/\
rhn-org-httpd-ssl-key-pair-
MACHINE_NAME-VER-REL
.noarch.rpm
.
Another method would be to back up all of the files and directories mentioned above but
reinstall the RHN Satellite Server without reregistering it. During the installation, cancel
or skip the RHN registration and SSL certificate generation sections.
The final and most comprehensive method would be to back up the entire machine. This
would save time in downloading and reinstalling but would require additional disk space
and back up time.
8.4. Using RHN DB Control
RHN Satellite Server with Embedded Database requires a utility for managing that
database. Red Hat provides just such a tool:
RHN DB Control
. This command line utility
allows you to do everything from make, verify, and restore backups to obtain database
status and restart it when necessary. You
must
be the oracle user to invoke
RHN DB
Control
. To begin, switch to the oracle user:
su - oracle
Next, issue the following command:
db-control
option
8.4.1. DB Control Options
RHN DB Control
offers many command line options. To use them, as oracle insert the
option and the appropriate value, if needed, after the
db-control
command.
Option
Description
help
Lists these
db-control
options with
additional details.
backup
DIRNAME
Backs up the database to the directory specified.
Содержание NETWORK SATELLITE SERVER 4.1.0
Страница 1: ...RHN Satellite Server 4 1 0 Installation Guide...
Страница 12: ...8 Chapter 1 Introduction...
Страница 20: ...16 Chapter 2 Requirements...
Страница 24: ...20 Chapter 3 Example Topologies Figure 3 3 Satellite Proxy Vertically Tiered Topology...
Страница 38: ...34 Chapter 4 Installation...
Страница 54: ...50 Chapter 6 Importing and Synchronizing...
Страница 74: ...70 Chapter 8 Maintenance...
Страница 80: ......