The agentadmin program is a utility used to perform a variety of tasks from required tasks, such as installation to optional tasks, such as displaying version information. This section summarizes the tasks that can be performed with the agentadmin program. Many of the tasks performed with this program are related to installation or uninstallation. For detailed information about the options available with this program, see Role of the agentadmin Program in Policy Agent 3.0.
In this section, the options are listed for your quick review to help you get a sense of how the agentadmin program fits in with the other methods of managing J2EE agents, which are all discussed in this chapter.
The location of the agentadmin program is as follows:
PolicyAgent-base/bin
For information about the location of PolicyAgent-base, see Table P–5.
The following table lists options that can be used with the agentadmin command and gives a brief description of the specific task performed with each option.
Table 4–4 The agentadmin Program: Supported Options
Option |
Task Performed |
---|---|
--install |
Installs a new agent instance |
--custom-install |
Installs a new agent instance |
--uninstall |
Uninstalls an existing Agent instance |
--listAgents |
Displays details of all the configured agents |
--agentInfo |
Displays details of the agent corresponding to the specified agent IDs |
--version |
Displays the version information |
--encrypt |
Encrypts a given string |
--getEncryptKey |
Generates an Agent Encryption key |
--uninstallAll |
Uninstalls all agent instances |
--migrate |
Migrates agent to a newer version |
--usage |
Displays the usage message |
--help |
Displays a brief help message |