Patch Script for Audit Log Paging in Telco Cloud Automation version 2.3.0.1 for Java heap space error
search cancel

Patch Script for Audit Log Paging in Telco Cloud Automation version 2.3.0.1 for Java heap space error

book

Article ID: 314180

calendar_today

Updated On:

Products

VMware VMware Telco Cloud Automation

Issue/Introduction

This KB contains the procedure for applying a patch for Telco Cloud Automation (TCA) 2.3.0.1 to support the paging.

Symptoms:
Java heap space or out of memory errors when polling Audit Logs
java-out-of-memory

Environment

VMware Telco Cloud Automation 2.3

Resolution

This is because paging is not supported in TCA 2.3. Either apply this patch or update TCA to 3.0 resolves this issue.

Workaround:

Pre-Requisites

  • The script should be run from TCA Manager
  • The script can only be applied on a TCA Manager running on TCA version 2.3.0.1. Executing this against other versions is not supported.
  • The script expects the TCA Manager portal credentials (System Administrator)
    • Active Directory credentials are allowed
  • Please take a Snapshot and a Backup of the TCA Manager appliance before running the patch.
  • The script does not require any specific down-time, but do not perform any CaaS operations during the execution of the script.
  • The script executes within a few seconds.

Steps to run the Patch

1. Download the attached patch script file.
2. Copy the 
audit_log_patch_latest.tar.gz to /home/admin on the TCA-Manager appliance
     ssh <TCA_Manager>
    cd /home/admin 
    cp audit_log_patch_latest.tar.gz

3.  unzip the tarball to get the scripts and files under "audit_log_patch" folder
     
 tar -xvf audit_log_patch_latest.tar.gz
4.  Move to the audit_log_patch folder       
         
cd audit_log_patch
5.  Execute the below command to run the patch       
 
   sh update_and_restart.sh




Additional Information

Impact/Risks:
Issue is observed in Impacts Telco Cloud Automation 2.3 version

Attachments

audit_log_patch.tar get_app
audit_log_patch_latest.tar get_app