Option
Description
DIRNAME. Database must be stopped for this
command to run successfully.
start
Starts the database instance. This can also be
accomplished by issuing the
service
rhn-database start
command as root.
status
Shows the current status of the database, either
"running" or "offline".
stop
Stops the database instance. This can also be
accomplished by issuing the
service
rhn-database stop
command as root.
tablesizes
Show space report for each table
verify DIRNAME
Verifies the contents of the backup kept in
DIRNAME. This command checks the md5sums of
each of the files kept in the backup.
Table 8.1. RHN DB Control Options
4.2. Backing up the Database
Red Hat recommends performing nightly backups of the Embedded Database and moving the
resulting directory to another system via NFS, SCP, FTP, etc. Preferably, this backup system
resides off-site. To conduct a backup, shut down the database and related services first by
issuing the following command as root:
service rhn-satellite stop
Then switch to the oracle user and issue this command to initiate the backup:
db-control backup DIRNAME
Backup files are stored in the directory specified. Note that this is a cold backup; the database
must be stopped before running this command. This process takes several minutes. The first
backup is a good indicator of how long subsequent backups will take.
Once the backup is complete, return to root user mode and restart the database and related
services with the following command:
service rhn-satellite start
Chapter 8. Maintenance
62
Summary of Contents for NETWORK SATELLITE 5.0.0 -
Page 1: ...Red Hat Network Satellite 5 0 0 Installation Guide 5 0 0 ISBN N A Publication date ...
Page 2: ...Red Hat Network Satellite ...
Page 4: ...Red Hat Network Satellite ...
Page 14: ...8 ...
Page 24: ...18 ...
Page 28: ...22 ...
Page 58: ...52 ...
Page 78: ...72 ...
Page 84: ...78 ...