Hvrusagesnapshot
Name
hvr5usagesnapshot.pl – Collect user data.
Synopsis
perl hvr5usagesnapshot.pl [-options] hubdb hubrole hubdescrip
perl hvr5usagesnapshot.pl [-h class] [-u user[/pwd]] hubdb hubrole hubdescrip
Description
Command hvr5usagesnapshot.pl compiles a set of files containing the data on the HVR features used and configured in the current HVR installation.
hvr5usagesnapshot.pl arguments:
- The argument hubdb specifies the connection to the hub database. For more information about supported hub databases and the syntax for using this argument, see Calling HVR on the Command Line.
- The argument hubrole indicates whether the hub is used for testing or production. Can be TEST or PROD.
- The argument hubdescrip contains the user-defined description of the hub.
The resulting files are packed into an archive named usagesnapshot-hubhost-hubname-YYYYMMDD.zip and stored in the directory from which the command is executed (unless another directory is specified). The archive contains the following files:
File Name | Description |
---|---|
hvr.out | Copy of hvr_config/log/hubnorm/hvr.outstrong>. If the hvr.out file is very large, only its last GB is included. Passwords and secrets are removed for security reasons. |
catalog.xml | Output of Hvrcatalogexport of the hub. Passwords and secrets are removed for security reasons. |
hvrsnapshot.csv | Collected items:
|
profiles.csv | Data collected per profile (location). Only contains profiles for locations in channels. Each profile generates a line in profiles.csv, with the following columns:
|
hvrlogrelease.opt_concat | Join all hvr_config/files/hvrlogrelease*.opt. Passwords and secrets are removed for security reasons. |
hvrmaint.opt_concat | Join all hvr_config/files/hvrmaint*.opt. Passwords and secrets are removed for security reasons. |
###Options
Parameter | Description |
---|---|
-hclass | Location class of the hub database. Valid values for class are db2, db2i, ingres, mysql, oracle, postgresql, sqlserver, or teradata. For more information, see Calling HVR on the Command Line. |
-uuser[/pwd] | Connect to hub database using DBMS account user. For some databases (e.g. SQL Server) a password must also be supplied. |