vCenter

 View Only
  • 1.  disk Log vcenter is full

    Posted Dec 14, 2023 02:08 AM

    Hello everyone, I have the problem that my vCenter, on the Log disk, is at 98%, could someone help me how to solve and lower this percentage please.

     

    JosePerez99_0-1702519646570.png

     



  • 2.  RE: disk Log vcenter is full

    Posted Dec 14, 2023 08:45 AM


  • 3.  RE: disk Log vcenter is full

    Posted Dec 15, 2023 07:49 AM

    Yes agree with JOsePerez99. Go to these directories
    /storage/log/vmware/sso/tomcat/
    /storage/log/vmware/eam/web/
    /storage/log/vmware/lookupsvc/tomcat/

    Then delete the catalina log files.

    If you still are low on space the delete also these files

    cd /var/log/vmware/vmware-sps
    ls -lha sps-access*log
    rm sps-access*log



  • 4.  RE: disk Log vcenter is full

    Posted Dec 15, 2023 03:22 PM

    Here are commands to do this in one shot.

    find /storage/log/vmware/ -mtime +1 -type f -name "localhost_access*" | while read file; do rm "$file" ; done
    find /storage/log/vmware/ -mtime +1 -type f -name "catalina*log" | while read file; do rm "$file" ; done



  • 5.  RE: disk Log vcenter is full

    Posted Dec 15, 2023 04:19 PM

    I actually ran into this while trying to upgrade my home lab last night. I used this article to clear the logs:

    https://www.jeffreykusters.nl/2021/10/14/vcenter-server-update-failed/

    root@vcenter [ /var/log/vmware/applmgmt ]# cd /storage/log/vmware/sso/tomcat/
    root@vcenter [ /storage/log/vmware/sso/tomcat ]# ls -lha catalina*log
    root@vcenter [ /storage/log/vmware/sso/tomcat ]# rm catalina*log
    root@vcenter [ /storage/log/vmware/sso/tomcat ]# ls -lha localhost_access*
    root@vcenter [ /storage/log/vmware/sso/tomcat ]# rm localhost_access*
    root@vcenter [ /storage/log/vmware/sso/tomcat ]# cd /storage/log/vmware/eam/web/
    root@vcenter [ /storage/log/vmware/eam/web ]# ls -lha catalina*log
    root@vcenter [ /storage/log/vmware/eam/web ]# rm catalina*log
    root@vcenter [ /storage/log/vmware/sso/web ]# ls -lha localhost_access*
    root@vcenter [ /storage/log/vmware/eam/web ]# rm localhost_access*
    root@vcenter [ /storage/log/vmware/eam/web ]# cd /storage/log/vmware/lookupsvc/tomcat/
    root@vcenter [ /storage/log/vmware/lookupsvc/tomcat ]# ls -lha catalina*log
    root@vcenter [ /storage/log/vmware/lookupsvc/tomcat ]# rm catalina*log
    root@vcenter [ /storage/log/vmware/lookupsvc/tomcat ]# ls -lha localhost_access*
    root@vcenter [ /storage/log/vmware/lookupsvc/tomcat ]# rm localhost_access*
    root@vcenter [ /storage/log/vmware/lookupsvc/tomcat ]# cd /var/log/vmware/vmware-sps
    root@vcenter [ /var/log/vmware/vmware-sps ]# ls -lha sps-access*log
    root@vcenter [ /var/log/vmware/vmware-sps ]# rm sps-access*log