Database configuration script (dbconfig), Dbconfig usage, Dbconfig sample output – HP XP Performance Advisor Software User Manual
Page 61

Database configuration script (DBCONFIG)
This script provides some database configuration capabilities. The user can modify data retention times,
purge data based on an array or on a particular date, or modify the log level stored in the database.
DBCONFIG usage
Following is the general format of the command to invoke the script:
dbconfig [-auth
purge | -list | -loglvl
[-et
Required arguments: ( one of the following is required):
–purge
Purges data from the management station.
–loglvl
Sets the level of log messages to store. It is followed by a number between 1 and 10.
–list
Retrieves a list of current database settings.
Optional arguments:
–days
If used with -purge, indicates the day previous to the current day at which to begin purging
data. Cannot be used with -loglvl or -list.
–dkc
The serial number of the array for which data is to be purged. Must not be used with -loglvl
or -list.
–et
The time and date of the last stored data collection. Cannot be used with -loglvl or -list.
–ms
The URL of the management station.
–auth
The username and password.
–pf
Can be used in place of –auth.
NOTE:
The password file must be created using the encrypt command only.
–d
The delimiter for delimited display.
–L
Shows column headers with the delimiter.
–hr
Displays human-readable output.
–?
Prints the usage statement.
DBCONFIG sample output
The following are output data samples for the CLUI shell script described in the previous section:
dbconfig -list –hr
Current Log Level: 5
dbconfig -list -L
Log Level
5
dbconfig –list
5
HP StorageWorks Performance Advisor XP Software command-line user interface user guide
61