Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Application Discovery Getting Started Guide Version 3.0.00 > Appendix A Commands for Controlling HP Application Discovery Agent and Certificates

agent_config(1M)

Version 3.0.00.00
» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

NAME

agent_config — Access HP Application Discovery Certificate on Managed System

SYNOPSIS

Path: /opt/amgr/bin/agent_config

agent_config -a [-dir config_directory]

agent_config -amx

agent_config -c

agent_config -r

agent_config -printAgentTrust

agent_config -start

agent_config -stop

DESCRIPTION

The agent_config command allows you to interact with an HP Application Discovery agent to print its certificate or to remove a counterpart CMS certificate, and to check the status of the agent, to start an AD agent, or to stop an AD agent.

You can use agent_config remotely from the HP SIM graphical user interface or from the command line on a managed system. You will need root access to use this command.

Options

If no options are specified, the usage string is printed, and the command exits.

The agent_config command recognizes the following options.

-a

Copies CMS certificate from standard input to directory specified by config_directory. First line following this is expected to be the name of the CMS. Agent certificate is printed to standard output.

-amx

Print agent certificate to standard output.

-c

Check agent state on a managed node.

-dir config_directory

Destination to which to copy the certificate.

-r

Remove the target CMS certificate from a managed node.

-printAgentTrust

Print the trusted certificate of the HP Application Discovery agent.

-start

Start the agent as a daemon on a managed node.

-stop

Stop the agent on a managed node.

Installation

The agent_config command can be installed from a depot available on the HP VSE Managed Node Software Update Web site. For installation instructions, please visit the VSE Management Web site at the following URL:

http://docs.hp.com/en/vsemgmt/agents.html

Beginning with VSE Management Software Version A.03.00.00, agent_config is installed on the CMS when the VSE Management Software is installed.

RETURN VALUES

0

The command completed successfully; no errors were detected.

1

An error occurred and the command did not complete successfully.

3

Unrecognized command parameters are detected.

4

Missing post-install configuration of AD agent is detected.

EXAMPLES

Check agent state.

# /opt/amgr/bin/agent_config -c
  Agent not running

Run the agent using amgrd(1M).

# /opt/amgr/bin/amgrd -start

Check agent state again.

# /opt/amgr/bin/agent_config -c
  Connected

AUTHORS

agent_config was developed by Hewlett-Packard Company.

FILES

/opt/amgr/bin/agent_config

agent_config file

/opt/amgr/bin/amgrd

Agent binary file

/var/opt/amgr/ssl/agent_cert.pem

Agent public certificate

/var/opt/amgr/ssl/agenttrust.pem

Agent trust file

/var/opt/amgr/agent.properties

Agent property file

SEE ALSO

HP Application Discovery online help

HP Application Discovery Getting Started Guide 3.0.00.00

VSE Management Software Quick Start Guide Version A.03.00.00

VSE Management Software Installation and Update Guide Version A.03.00.00

VSE Management Suite Troubleshooting Guide

http://docs.hp.com/en/vse

Related manpages:

amgrd(1M), amgr_remote_config(1M)

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006-2007 Hewlett-Packard Development Company, L.P.