Search the VMware Knowledge Base (KB)
View by Article ID

Configuring log rotation for Health Service in vRealize Automation 7.3 (2151693)

  • 3 Ratings

Purpose

This article provides steps to configure the log rotation and move the logs off of the root partition making the virtual appliance more resilient in the VMware vRealize Automation appliance for Health Service.

Resolution

To configure the log rotation for health service:
  1. Download the 2151693_vrhb_v2.zip file attached to this article.

  2. Unzip and extract 2151693_vrhb_v2.zip file to get the vrhb-service and vrhb.lrfiles.

  3. Upload the vrhb.lr file to vRealize Automation Appliance to /etc/logrotate.d directory.

  4. Upload the vrhb-service.txt file to /var/lib/vrhb/vrhb-service.

  5. Ensure that the permissions on /var/lib/vrhb/vrhb-service are 755.

  6. Restart the vrhb-service by running /etc/init.d./vrhb-service stop followed by /etc/init.d./vrhb-service start
Linux:
Run these commands:
  1. scp LOCAL_FILE_LOCATION USERNAME@VRA_VA:/tmp

  2. unzip /tmp/2151693_vrhb_v2.zip

  3. cp /tmp/vrhb-service.txt /var/lib/vrhb/vrhb-service

  4. chmod 755 /var/lib/vrhb/vrhb-service

  5. cp /tmp/vrhb.lr /etc/logrotate.d

  6. /etc/init.d./vrhb-service stop

  7. /etc/init.d./vrhb-service start

Additional Information

To receive an be alerted when this article is updated, click Subscribe to Document in the Actions box.

Attachments

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 3 Ratings
Actions
KB: