vcenter appliance日志满解决方法

更新时间:2023-06-14 17:52:28 阅读: 评论:0

/storage/log directory is full in vCenter Server Appliance 6.0 (2143565)
Document Idjon snow
2143565
Symptoms
You e 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, e the Additional Information ction.
Purpo
To work around the /storage/log directory full issue in vCenter Server Appliance, decrea the maximum backup size and the maximum backup index in the log4j.properties file.
Cau
This issue occurs due to an decrea in the SSO log files in the /storage/log directory. During the log rotation, the old log file is not compresd 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, decrea the maximum backup size and the maximum backup index in the log4j.properties file.right here
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 ur.
2.Run this command to enable access the Bash shell:

shell.t --enabled true
3.Type shell and press Enter.
4.Navigate to this directory:

cd /usr/lib/vmware-sso/vmware-sts/webapps/sts/WEB-INF/class/
5.Run this command to back up the log4j.properties file:

cp log4j.properties log4j.properties.bak
6.Open the log4j.properties file using a text editor.
7.Locate the gorillalog4j.appender.LOGFILE.MaxFileSize and log4j.appender.LOGFILE.MaxBackupIndex 英国探亲签证材料parameters after this entry:

log4j.appender.LOGFILE.File=${catalina.ba}/logs/vmware-identity-sts.log
8.Change the value of parameters to 50 and 5 respectively:

For example:

log4j.appender.LOGFILE.MaxFileSize=50MB
log4j.appender.LOGFILE.MaxBackupIndex=5

Note我的音乐英文怎么写: The default values are MaxFileSize=100MB and MaxBackupIndex=10.
9.Locate the log4j.appender.PERFLOG.MaxBackupIndex parameter after this entry:

log4j.appender.PERFLOG.File=${catalina.ba}/logs/vmware-identity-sts-perf.log
wolverine
10.tenureChange the value of parameter to 3.

For example:

log4j.appender.PERFLOG.MaxBackupIndex=3

Note: The default value is MaxBackupIndex=10.
rou
11.Run this command to restart the STS rvice:

rvice vmware-stsd restart
12.Navigate to:

cd /storage/log/vmware/sso/
13.Remove the old localhost_access_log,vmware-identity-sts and vmware-identity-sts-pe
rf log files by running the commands:

rm localhost_access_log.*
rm vmware-identity-sts.*
rm vmware-identity-sts-perf.*
steropsNote: Restart the STS rvice again for new log files to be created in the /storage/log directory.

本文发布于:2023-06-14 17:52:28,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/78/954199.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

上一篇:Liner piece
标签:英国   保镖   签证   材料   主题曲   探亲
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图