Initial settings for Agent by editing a default settings file (defaultsettings.ini)
[Revised contents from the ninth edition]
Date of Issue |
Description |
---|---|
April 05, 2022 |
|
If Agent has never been activated, Agent loads a default settings file (defaultsettings.ini) only once when Agent starts. By editing the default settings file, you can do the following:
-
Setting up an Agent operation by setting initial values for each item on the Agent Operation Settings screen
-
Allocating a Unit and a Profile to Agent when Agent activates
If you replace the default settings file with the file that was edited in advance, you can set the same initial values for the multiple Agent instances.
If you prescribed the settings values for the Agent Operation Settings screen by using a lockdown.conf file, you cannot change these values by using the defaultsettings.ini file. The settings in the lockdown.conf file are valid.
For details about the lockdown.conf file, see the "User's Guide".
(1) When you edit the default settings file
There are two times when you can edit the default settings file.
When you create the default settings file at the working directory for installation of Agent by deploying the compressed installation modules file
If you edit the default settings file at this time, the edited file is deployed to the installation directory after Agent installation.
When you deploy the default settings file to the installation directory of Agent by installing Agent
If it is before the first activation of Agent, you can change the settings by editing the contents of the default settings file in the installation directory.
(2) Format of the default settings file
The description format of the default settings file is as follows:
Format of defaultsettings.ini file
The-parameter-name = [Setting-value]
- Delete a number sign (#) from the line to be specified, set the value.
- If you specified the value that cannot be specified, Agent will be activated, however, the settings value is not applied as an initial value for the Agent Operation Settings screen.
- If the item name is incorrect, the line is ignored.
(3) Setting up an Agent operation by setting initial values for the Agent Operation Settings screen
Items to set initial values for the Agent Operation Settings screen are as follows:
*1
:
Specify Polling Interval and Receive Queue Polling Interval as follows:
Interval that you can set Specifiable values
(in seconds)
Description 1 second to 59 seconds (in seconds)
1 to 59 Specify from 1 to 59. 1 minute to 59 minutes (in minutes)
60 to 3540 Specify a multiple of 60.
Example) 3 minutes: 180, 15 minutes: 900
1 hour to 23 hours (in hours)
3600 to 82800 Specify a multiple of 3600.
Example) 3 hours: 10800, 15 hours: 54000
1 day to 59 days (in days)
86400 to 5097600 Specify a multiple of 86400.
Example) 3 days: 259200, 15 days: 1296000
*2
:
Size of Receive Task Queue is not specifiable.
*3
:
Specify Send Log Pool Size and Trace Log Pool Size as follows:
Size that you can set Specifiable values
(in bytes)
Description 1 MB to 1024 MB (in megabytes)
1048576 to 1073741824 Specify a multiple of 1048576.
Example) 100 MB: 104857600, 500 MB: 524288000
Example description for the defaultsettings.ini file The following example shows the defaultsettings.ini file when you set 2 minutes as the initial value for Polling Interval.
If the line top is a number sign (#), the line is to be seemed as a comment line.
polling_interval = 120
# rcvque_polling_interval =
# communication_time_enabled =
# start_communication_time =
# end_communication_time =
# connection_retry_count =
# connection_retry_interval =
# socket_timeout =
# request_timeout =
# socket_buffer_size =
# auto_retry_count =
# auto_retry_interval =
# send_multiplex_level =
# job_timeout =
# log_output_mode =
# send_log_pool_size =
# trace_log_pool_size =
# profile_id =
(4) Allocating a Unit and a Profile to Agent when Agent activates
An item for allocating a Unit and a Profile to Agent is as follows:
Table 3.3 Item for allocating a Unit and a Profile to Agent
Item Parameter Description Profile profile_id Specify a profile ID that is registered in Manager.
The specified profile and the unit to which the profile belongs are allocated to the Agent instance when Agent activates.
Example description for defaultsettings.ini file
profile_id = 1234567c-1abc-1ab2-a1bc-1a23bc4d5e675