Sun OpenSSO Enterprise Policy Agent 3.0 User's Guide for Web Agents

Generating a State File for a Web Agent Installation

This section describes how to generate a state file for installing a web agent. This task requires you to issue a command that records the information you will enter as you follow the agent installation steps. Enter all the necessary installation information in order to create a complete state file.

ProcedureTo Generate a State File for a Web Agent Installation

To generate a state file for a web agent installation, perform the following:

  1. Change to the following directory:


    PolicyAgent-base/bin

    This directory contains the agentadmin program, which is used for installing a web agent and for performing other tasks. For more information on the agentadmin program, see Role of the agentadmin Program in Policy Agent 3.0.

  2. Issue the following command:


    ./agentadmin --install --saveResponse filename
    
    -saveResponse

    An option that saves all of your responses to installation prompts in a state file.

    filename

    Represents the name that you choose for the state file.

  3. Answer the prompts to install the agent.

    Your answers to the prompts are recorded in the state file. When the installation is complete, the state file is created in the same directory where the installation program is located.