50
If instead of installing new Satellite packages, you are attempting to update the server's RHN Entitle-
ment Certificate, such as to increase its number of client systems, refer to Chapter 5 Entitlements for
instructions.
8.3. Backing Up the Satellite
Backing up an RHN Satellite Server can be done in several ways. Regardless of the method chosen,
the associated database also needs to be backed up. For the Stand-Alone Database, consult your orga-
nization's database administrator. For the Embedded Database, refer to Section 8.4 Using RHN DB
Control for a complete description of this process and the options available.
Here are the minimum files and directories Red Hat recommends backing up:
- Embedded Database only (never to be backed up while the database is running - refer
•
/rhnsat/
to Section 8.4.2 Backing up the Database)
•
/etc/sysconfig/rhn/
•
/etc/rhn/
•
/etc/tnsnames.ora
•
/etc/httpd/
•
/var/www/rhns/
•
/var/www/html/pub/
•
/var/satellite/redhat/1/
•
/etc/pxtdb.conf
If possible, back up
/var/satellite/
load time. Since
/var/satellite/
a duplicate of Red Hat's RPM repository, it can be regenerated with
recommends the entire
must be backed up.
/var/satellite/
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
/etc/sysconfig/rhn/ssl/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 and issue the
command:
su - oracle
db-control option
- custom RPMs
- pertains only to RHN Satellite Server 1.1.x.
, as well. In case of failure, this will save lengthy down-
(specifically
tree be backed up. In the case of disconnected satellites,
/var/satellite/
satellite-sync
/var/satellite/redhat/NULL/
tool. Finally, you would have to reinstall the
Chapter 8. Maintenance
) is primarily
. Red Hat
satellite-sync
.
Need help?
Do you have a question about the NETWORK SATELLITE SERVER 3.7 and is the answer not in the manual?