Skip to Main Content
Return to Navigation

Configuring an Environment Management Agent

Before you can run an environment management agent, you must ensure that it's properly configured. You configure the agent by making appropriate entries in its configuration.properties file, which is located under:

PS_HOME\PSEMAgent\envmetadata\config

The following table describes the configuration.properties parameters for the Environment Management agent:

Configuration Parameter

Description

Default Value

hubURL

The URL that contains the host name and the port number of the machine on which the Environment Management hub is running (inside a J2EE container).

http://hostname:port/PSEMHUB/hub.

agentport

A port that the agent uses for internal life cycle management.

5283.

pinginterval

The interval, in milliseconds, between two successive attempts that the peer makes to contact the hub. All peers that access this configuration file have the same ping interval.

10000 (in milliseconds for the heartbeat)

Note: The minimum required pinginterval value is 1000.

windowsdrivestocrawl

On Microsoft Windows, the set of local drives or directory paths where PS_HOME, PS_CFG_HOME and PIA_HOME are located. Separate the drive letters or directory paths with spaces and a pipe symbol ( | ).

c: | d:

Note: Do not leave a trailing '/' or '\' character at the end of the path.

unixdrivestocrawl

On UNIX, the set of local drives or directory paths where PS_HOME, PS_CFG_HOME, and PIA_HOME are located.

$HOME

Note: Do not leave a trailing '/' or '\' character at the end of the path.

chunksize

Only applicable to large files, which may be chunked when sent. The chunksize represents the maximum size in bytes of each chunk.

1048576 (1 MB) (used for large file transfers).

Configuring Agent Logging

The Environment Management agent's logs are located under PS_HOME\PSEMAgent\envmetadata\logs.

Edit PS_HOME\PSEMAgent\envmetadata\config\Logconfig.properties to configure the logging for the agent.

The following parameters determine the maximum size of each log file and the amount of log files rolled over. You can change the values of these parameters.

  • log4j.appender.R.MaxFileSize=1024KB

  • log4j.appender.R.MaxBackupIndex=1"