Upgrading Component Agent
Stop, back up, and reinstall the Component Agent to upgrade it.
Follow the below steps to upgrade the Component Agent:
1. Stop the component agent.
ComponentAgent/<physical-agent-id>/selfheal/stop.sh
2. Take a backup of the Component Agent.
3. Refer to Steps for Installation. Follow the steps mentioned.
4. Refer to f) Component Agent supports auto-sizing of the thread pool. As per the requirement of the number of threads, pool size increases to a maximum (2 * number of cores) by default. Once all the jobs are processed, the thread pool size is reset to the number of cores in the box.
Edit the advanced.properties file as follows.
| Property | Description |
|---|---|
| component.agent.producers.minute.threadpool.max.factor.multiplier | This defines the auto size of the thread pool. Auto size of thread pool = maximum of (value of this attribute * number of cores). Auto sizing is disabled if the value of this attribute is 0. |
5. For Windows OS, provide the IBM MQ name in the environment variable manager.
For example:
set Manager="myquemanager1"
6. Add the following in the "hostDetails" section in the agent_details.json file for remote forensics collection.
{
"file_path":"",
"Description":"",
"Threshold_Percentage":"",
"HostPassword":"*******",
"HostUsername":"root",
"SshPort":"22",
"HostAddress":"19x.xyz.xy.xyz",
"status":1.0
}
a. Do not modify values of the file_path, Description, and Threshold_Percentage attributes.
b. Provide an encrypted password in the HostPassword attribute to connect to the DB server.
c. Provide the name of the user in the HostUsername attribute to connect to the DB server.
d. Provide SSH port number in the SshPort attribute.
e. Provide the IP address of the DB server in the HostAddress attribute.
f. Provide either a 1 or 0 value for the status attribute. If the value of the status attribute is 1, CA collects KPI data from the DB server. If the value of the status attribute is 0, then CA doesn't receive data from the DB server. Managing Services. Follow the steps mentioned.