HP (Hewlett-Packard) HP OpenView Vantagepoint – Operation Manual for UNIX Printer User Manual


 
Creating and Distributing an Integration Package
Uploading Configuration Information
Chapter 7 267
Example 2: Uploading in Replace Mode
This example is similar to Example 1, except that Replace mode is used.
You will see that, even though one of the templates already exists in the
VPO database, it is overwritten by the upload command and no warning
is issued.
To upload a configuration in Replace mode, enter:
/opt/OV/bin/OpC/opccfgupld -replace \
/var/opt/OV/share/tmp/OpC_appl/newConf
You will see the following messages displayed:
parsing index file
“/var/opt/OV/share/tmp/OpC_appl/newConf/C/newConf.idx”
starting upload
uploading logfile templates
uploading interface templates
opccfgupld finished
Example 3: Uploading and Replacing Information at a
Subentity Level
The previous examples showed how to upload complete entities of
configuration information, with these entities being complete templates.
You may, however, prefer to work on subentities instead of on complete
entities. For example, you may want to add conditions to a template.
You can merge configuration information using the options:
-add -subentity. If you can identify a match condition in the default
SNMP trap template, before or after which the new trap conditions
should be inserted, the existing condition can be used as an anchor to
control where opccfgupld(1M) inserts the new conditions.