This section includes the following topics:

About handling Precise agents

The CLI provides the ability to stop/start/get status of installed Precise agents in a similar manner to AdminPoint->Agents dialog. There are 2 types of agents CLI

Remote Agent Control

To use Remote Agent Control CLI, run the following command on the main Precise FocalPoint

Windows    infra\bin\psin_cli.bat
                    -i3-user <user_name>
                    {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                    -action control-agent
                    [-proxy-alias <node_alias>]
                    -product <product_code>
                    -server <server_name>
                    -installation <installation_code>
                    -type <type>
                    [-instance-name <instance_name>]
UNIX            ./infra/bin/psin_cli.sh
                    -i3-user <user_name>
                    {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                    -action control-agent
                    [-proxy-alias <node_alias>]
                    -product <product_code>
                    -server <server_name>
                    -installation <installation_code>
                    -type <type>
                    [-instance-name <instance_name>]

Table 1 Elements if the Remote Agent Control

ElementDescription
i3-userSee Authenticate to CLI Utility.
i3-encrypted-passwordSee Authenticate to CLI Utility.
action

Values: control-agent

Mandatory: Yes

server

The agent's server.

Values: string

Mandatory: Yes

proxy-alias

The proxy alias.

Values: alias of the related node

Mandatory: Only for a federated installation

product

The agent's product code.

Values: See Product Codes.

Mandatory: Yes

installation

The agent installation type code.

Values: See Installation Type Codes.

Mandatory: Yes

type

Operation to perform on the agent.

Values: One of STATUS STOP START

Mandatory:

instance-name

The agent's instances name.

Values: string

Mandatory: Instance name argument should be supplied for agent which are per instance (instance column in AdminPoint>Agent, contains instance name)

Local Agent Control

To use local agent control

  1. Run the following command on the agent server:
    Windows    infra\bin\psin_cli.bat
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action control-agent-local
                        [-proxy-alias <node_alias>]
                        -product <product_code>
                        -installation <installation_code>
                        -type <type>
                        [-instance-name <instance_name>]
    UNIX            ./infra/bin/psin_cli.sh
                        -i3-user <user_name>
                        {-i3-encrypted-password <encrypted_password> | -i3-clear-password <clear_password>}
                        -action control-agent-local
                        [-proxy-alias <node_alias>]
                        -product <product_code>
                        -installation <installation_code>
                        -type <type>
                        [-instance-name <instance_name>]
    Table 2
    Elements of the Local Agent Control

    ElementDescription
    i3-userSee Authenticate to CLI Utility.
    i3-encrypted-passwordSee Authenticate to CLI Utility.
    actionValues: control-agent-local

    Mandatory: Yes

    proxy-aliasThe proxy alias.

    Values: alias of the related node

    Mandatory: Only for a federated installation

    productThe agent's product code.

    Values: See Product Codes.

    Mandatory: Yes

    installationThe agent installation type code.

    Values: See Installation Type Codes.

    Mandatory: Yes

    typeOperation to perform on the agent.

    Values: One of: STATUS, STOP, START, IVP

    instance-nameThe agent's instances name.

    Values: string

    Mandatory: Instance name argument should be supplied for agent which are per instance (instance column in AdminPoint>Agent, contains instance name)


 |    |  |   |   |