NAME
cerupdate — update the Common Error Repository (CER) with error metadata
SYNOPSIS
/opt/sfm/bin/cerupdate
-d
extract-dir-path
[-t
logfile]
[-l
trace-level]
-p
public-key
[-h]
DESCRIPTION
The
cerupdate
command updates the Common Error Repository (CER) with error metadata
supplied by HP, Independent Hardware Vendors (IHV), and Independent
Software Vendors (ISV).
CER is a database, which is a part of Error Management Technology (EMT).
EMT product information is available on http://www.hp.com.
To use the
cerupdate
command, users must have system administrative privileges.
All Independent Hardware Vendors (IHV) and Independent Software Vendors (ISV)
use the DesCompiler tool provided by EMT to create extracts.
These extracts include information about errors generated on an
HP-UX system.
Users can use the
cerupdate
command to upload the extracts created by HP, ISVs, and IHVs to the
Common Error Repository (CER).
However, to upload these extracts,
the IHVs and the ISVs must be registered with EMT.
To register with EMT, send a request via email to emtdevindia@hp.com.
Options
The
cerupdate
command recognizes the following options:
- -d extract-dir-path
Specifies the path of the directory where the extract files are located.
The directory must contain an
index.txt
file with the names of the extracts
that must be uploaded to the CER.
The
-d
option is mandatory.
- -h
Displays information on how to use the
cerupdate
command, similar to a help option.
- -l trace-level
Specifies the trace level to be used for logging.
The following trace levels are supported in ascending order of severity:
The default
trace-level
is
Information.
The
cerupdate
command logs all messages related to
trace-level
and above to the log file specified by the
-l
option.
If the
-l
option is not specified, the
cerupdate
command uses the option specified in the configuration file.
The trace level strings are case-insensitive.
- -p decryption-key
Specifies the key that the
cerupdate
command uses to decrypt the extract files.
Configuration and post-installation scripts that invoke the
cerupdate
command must pass the correct decryption key.
IHVs and ISVs can obtain the encryption and the decryption keys by
registering with EMT.
The
-p
option is optional and is case-sensitive.
- -t log-file-name
Specifies the log file to which the
cerupdate
command logs all messages related to
trace-level.
See the description of the
-l trace-level
option for further explanation.
If the
-t
option is not specified, the
cerupdate
command uses the log file specified in
/var/opt/sfm/conf/cerupdate.conf,
which is the
cerupdate
configuration file.
Changes made to an existing log file will overwrite the contents of the file.
RETURN VALUE
cerupdate
returns one of the following values:
- 0
Successful completion.
- Non 0
An error occurred.
FILES
- /opt/sfm/bin/cerupdate
The binary file used for updating the CER.
- /var/opt/sfm/conf/cerupdate.conf
The configuration file used to configure the trace levels.
AUTHOR
cerupdate
was developed by HP.