Large support bundles due to vpxd-svcs-access logs in vCenter Server
search cancel

Large support bundles due to vpxd-svcs-access logs in vCenter Server

book

Article ID: 449211

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

The time required for the process of creating, downloading, and uploading a vCenter support bundle for review.  Can be extended if the support bundle is very large. 

  • Support bundles are unusually large.
  • Large vpxd-svcs-access.####.log or .gz files exist in /storage/log/vmware/vpxd-svcs/.

Environment

vCenter 8.x

Cause

The dataservice.properties file which controls the log sizing and rotation of the vpxd-svcs access logs is set to up to 10GB by default.

dataservice.access.logging.maxFiles=10 
dataservice.access.logging.maxSize=1048576 

 

Resolution

Use the following steps to adjust the number of rotations and/or logs file size to reduce the size of the vpxd-svcs directory.

  1. Ensure a snapshot and a backup are in place before making any modifications to the vCenter.

  2. SSH to the vCenter Server Appliance as root
  3. Backup /var/lib/vmware/vpxd-svcs/config/dataservice.properties before making any modifications.

  4.  Modify /var/lib/vmware/vpxd-svcs/config/dataservice.properties

    #TcServer Access Logging properties
    
    dataservice.access.logging.enabled=true <--- Set to false if you want to disable the logs
    
    dataservice.access.logging.prefix=vpxd-svcs-access
    
    dataservice.access.logging.suffix=.log
    
    dataservice.access.logging.pattern=% (yyyy-MM-dd'T'HH:mm:ss.SSSZ)t %(remote)p %b %I %s "%(User-Agent)i" %r %D
    
    dataservice.access.logging.rotatable=true
    
    dataservice.access.logging.maxFiles=10 <--- Set the number of log rotations
    
    dataservice.access.logging.maxSize=1048576 <--- Set size of logs (this is in KB)

     

  5. Restart vpxd-svcs 

    # service-control --stop vpxd-svcs
    # service-control --start vpxd-svcs

 

Additional Information

For further assistance Contact Support