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.
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
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.
examine DIRNAME
Examines the contents of a backup directory.
Returns the timestamp of backup creation and
reports on its contents.
extend
Increase the RHN Oracle tablespace
report
Reports on current usage of database space.
restore DIRNAME
Restores the database from backup kept in
Using RHN DB Control
61
Содержание NETWORK SATELLITE 5.0.0 -
Страница 1: ...Red Hat Network Satellite 5 0 0 Installation Guide 5 0 0 ISBN N A Publication date ...
Страница 2: ...Red Hat Network Satellite ...
Страница 4: ...Red Hat Network Satellite ...
Страница 14: ...8 ...
Страница 24: ...18 ...
Страница 27: ...Figure 3 3 Satellite Proxy Vertically Tiered Topology Satellite Proxy Vertically Tiered Topology 21 ...
Страница 28: ...22 ...
Страница 58: ...52 ...
Страница 78: ...72 ...
Страница 84: ...78 ...