Instructions for Executing log4j patch script for agents

Following instructions are applicable for any 6.4.1x, or 6.5.1x or 6.6.0x agents.

NOTE: Updated the script and posted on Dec 16, 1:10 PM PST.
NOTE: zip and unzip programs are required for executing the agent script.

Step 1. Download log4j agent script(log4j_agent_patch.sh) from downloads.cohesity.com under the Patches tab.

Step 2. Enable appropriate admin privileges to execute the script.

Step 3. On each agent server, copy log4j agent patch script to appropriate install directory.

For example,

  scp log4j_agent_patch.sh username@agent-server:install-directory
  

Step 4. ssh to each agent server and execute the script.

For example,

  ssh username@agent-server
  
  ./log4j_agent_patch.sh -p path-to-jar-file
  

NOTE-1: It takes approximately 1 minute for each server.

NOTE-2:

For physical agent: use the path to cohesity_agent.jar inside installation directory.

For sap sybase/mysql agents: use the path to agent.jar inside installation directory.

For sap hana/sap oracle/sap maxdb agents: use the path to backint.jar inside installation directory.