NAME
ovagtrep
- Enables configuration and control of the discovery agent and agent repository.
SYNOPSIS
ovagtrep [-clearAll] |
[-run <policy name
>] |
[-publish]
DESCRIPTION
The discovery agent is an extension to the HTTPS agent, which runs service discovery policies that have been deployed from a management server. It stores the services that it discovers in the agent repository, which is a local data store of services that exist on the node.
The agent synchronizes the services in the agent repository with the management server. The management server receives details of new, changed, and removed services only. Details of unchanged services are not resent.
The ovagtrep
command enables you to configure and
control the discovery agent and agent repository. It has the
following options:
-clearAll
-run <
policy
name
>
ovpolicy
.
-publish
The discovery agent and agent repository are part of a component
that is registered with the control service. You can start and stop
the component with the commands ovc -start agtrep
and
ovc -stop agtrep
.
You can use the command ovconfchg
to modify the
following settings in the agtrep name space:
ACTION_TIMEOUT
<
minutes
>
<
data_dir
>/log/System.txt
).
INSTANCE_DELETION_THRESHOLD
<
value
>
If a service discovery policy can no longer discover a service that exists in the agent repository, the discovery agent deletes the service from the agent repository only after the service discovery policy has run the number of times that you specify with this setting.
For example, to set the action timeout to five minutes with the
command ovconfchg -ns agtrep -set ACTION_TIMEOUT
5
.
After you change the action timeout or instance deletion
threshold, restart the component with the command ovc
-restart agtrep
.
AUTHOR
ovagtrep
was developed by Hewlett-Packard Company,
LP.
SEE ALSO
ovc(1)
ovpolicy(1)
ovconfchg(1)