2024年6月11日发(作者:)

/storage/log directory is full in vCenter Server Appliance 6.0 (2143565)

Document Id

2143565

Symptoms

You see that the /storage/log directory is highly utilized in an Embedded

vCenter Server Appliance or Platform Controller Server Appliance 6.0.

Note: For additional symptoms and log entries, see the Additional Information

section.

Purpose

To work around the /storage/log directory full issue in vCenter Server

Appliance, decrease the maximum backup size and the maximum backup index in

the ties file.

Cause

This issue occurs due to an decrease in the SSO log files in the /storage/log

directory. During the log rotation, the old log file is not compressed resulting in

multiple large files in the /storage/log directory.

Resolution

This issue is resolved in VMware vCenter Server 6.0 Update 3, available at

VMware Downloads

To work around this issue, decrease the maximum backup size and the

maximum backup index in the ties file.

Note: In external Platform Service Controller (PSC) environments, log in to the

Platform Service Controller instead.

1. Log in to the vCenter Server Appliance or PSC console as root user.

2. Run this command to enable access the Bash shell:

3. --enabled true

4. Type shell and press Enter.

5. Navigate to this directory:

6. cd /usr/lib/vmware-sso/vmware-sts/webapps/sts/WEB-INF/classes/

7. Run this command to back up the ties file:

8. cp ties

9. Open the ties file using a text editor.

10. Locate the eSize and

kupIndex parameters after this entry:

11. =${}/logs/vmware-identity-sts.l

og

12. Change the value of parameters to 50 and 5 respectively:

13. For example:

14. eSize=50MB

15. kupIndex=5

16. Note: The default values are MaxFileSize=100MB and

MaxBackupIndex=10.

17. Locate the kupIndex parameter after

this entry:

18. =${}/logs/vmware-identity-sts

-

19. Change the value of parameter to 3.

20. For example:

21. kupIndex=3

22. Note: The default value is MaxBackupIndex=10.

23. Run this command to restart the STS service:

24. service vmware-stsd restart

25. Navigate to:

26. cd /storage/log/vmware/sso/

27. Remove the old localhost_access_log,vmware-identity-sts and

vmware-identity-sts-perf log files by running these commands:

28. rm localhost_access_log.*

29. rm vmware-identity-sts.*

30. rm vmware-identity-sts-perf.*

31. Note: Restart the STS service again for new log files to be created in the

/storage/log directory.