HP XC System Software Administration Guide Version 3.0

This command output indicates that the node n3 supplies the ntp service for itself.
Finding and Setting System Attribute Values
The dbsysparams command finds the value of a specified attribute or sets an attribute to a given value in
the hptc_system table of the cmdb.
CAUTION
Do not reset any database parameters. Doing so could interfere with the integrity of the database. If this
happens, you must reinstall the HP XC system and any additional software.
For additional information on the dbsysparams command, see dbsysparams(8).
Backing Up the Configuration Database
The managedb backup command enables you to copy all the data from the configuration and management
database into a backup file; the database remains intact during the backup. You can use this backup file
to restore the database at a later time, if needed.
You must be superuser to use this command.
Following is an example of the managedb backup command that backs up the cmdb. When a file name
is unspecified, the managedb backup command stores the data in a file whose name is
/opt/hptc/database/cmdbbackup-YYMMDDhhmmss.sql, where YYMMDDhhmmss is a date and
time stamp.
# managedb backup
Use the managedb restore command to reinstate the database from the backup file.
For more information, see managedb(8).
Note
The system administrator, following site policy guidelines, is responsible for determining how often to back
up the cmdb.
Restoring the Configuration Database from a Backup File
Use the managedb restore command to restore the cmdb from a backup file.
The following commands display the name of the backup file in the /opt/hptc/database directory and
restore the cmdb from the backup file found there:
# ls /opt/hptc/database/cmdbbackup-*.sql
/opt/hptc/database/cmdbbackup-20050925164600.sql
# managedb restore /opt/hptc/database/cmdbbackup-20050925164600.sql
Archiving Metrics Data from the Configuration Database
The managedb archive command enables you to remove metrics data records from the log tables. These
log tables are any tables in the configuration and management database that end in .Log. Archiving has
the advantage of decreasing the size of the log tables, which enables the shownode metrics command
to run more quickly.
You must be superuser to use this command.
Use the --archive archive-file option to specify the file to which the metrics data will be archived.
The --tmpdir directory option lets you assign a temporary directory for use while archiving.
You can retain previous archives with the --keep n option.
You can specify a time parameter with the managedb archive command; metrics data older than the
time parameter is purged. The time parameter (which can also be used with the managedb purge
command) is expressed in terms of hours, days, weeks, and years, as shown in the following table:
Finding and Setting System Attribute Values 59