关于Vcenter6.5 平台打开时告警解决方案
Posted rhca
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于Vcenter6.5 平台打开时告警解决方案相关的知识,希望对你有一定的参考价值。
故障显示:在通过浏览器登录云平台时发现有‘ 出现内部错误,建议重新加载客户端’告警,经过询问Vmware原厂,怀疑出现在web client的Java堆栈大小设置上,通过以下命令来解决。
原厂答复:
如果某个时间点vsphere web client负载较高时,加载的java memory值超过了默认范围,则会出现vsphere web client crash的情况。
我们可以适当增加Web Client 的heap memory来优化这个问题。
增加vsphere web client的Java堆栈大小:
Use SSH to connect to the VCSA
1、Run the following command to output memory assigned to each of the services:
cloudvm-ram-size -l
2、Increase the amount of memory assigned to the services by running the following command:
cloudvm-ram-size -C XXXX vsphere-client
3、请使用如下命令重启服务:(和KB有些差别)
service-control --stop vsphere-client
service-control --stop vsphere-ui
service-control --start vsphere-client
service-control --start vsphere-ui
解决步骤:
1.通过SSH 连接xx.xx.xx.xx的VCSA即Vcenter平台的CLI端 root passwd
2.输入shell --------------------- cloudvm-ram-size -l 在显示的列中找到vsphere-client 可看到默认值是853.-------------------cloudvm-ram-size -C 1792 vsphere-client -------------cloudvm-ram-size -l (通过增加堆栈值得大小,当下vsphere-client值为2048),然后重启服务。------------service-control --stop vsphere-client ----------- service-control --start vsphere-client --------------------- service-control --stop vsphere-ui ------------service-control --start vsphere-ui
![Attachment 技术图片](https://app.yinxiang.com/shard/s57/res/b17f24a7-7dfe-4153-8041-5ca390b8efd9.png)
![Attachment 技术图片](https://app.yinxiang.com/shard/s57/res/a713c39e-94e9-4973-b50c-2efe27e4757d.png)
![Attachment 技术图片](https://app.yinxiang.com/shard/s57/res/470cb89e-f96d-46c1-a7f3-dad28700cc60.png)
注意:在相关服务重启后,第一次Web登录会比较缓慢。
以上是关于关于Vcenter6.5 平台打开时告警解决方案的主要内容,如果未能解决你的问题,请参考以下文章
Vmware Vsphere6.5 + Vcenter6.5安装简介
Android Soft Keyboard在重新打开时隐藏EditText
IDEA 告警:Library source does not match the bytecode for class