vcenter手动增加服务内存

vcenter页面中查看监控数据后,偶尔页面卡死无响应,重启webphere服务恢复
如果是vcenter安装时,配置的内存规格小了,可以酌情增加webphere服务的内存大小。
vCenter Server Appliance:
Use SSH to connect to the VCSA as root and enter the Bash shell by typing shell and pressing Enter
Run the following command to output memory assigned to each of the services:
cloudvm-ram-size -l
在这里插入图片描述

Increase the amount of memory assigned to the services by running the following command, using the vCenter HTML5 web client (or “vsphere-ui”), as an example:
cloudvm-ram-size -C XXXX vsphere-ui

Note: XXXX should be replaced with the desired amount of memory in MB.
For example, this command would increase the memory of the vsphere-ui service from 768 MB to 2048 MB.

cloudvm-ram-size -C 2048 vsphere-ui

There is no “one size fits all” memory value to set in this scenario, however - as a guide, double the size of currently assigned memory of the service that has an issue. This may need to be repeated.

Restart the service that has been altered, in this example - vsphere-ui:
service-control --stop vsphere-ui;service-control --start vsphere-ui;

Confirm that the service has now been allocated the increased memory by using this command:
cloudvm-ram-size -l

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值