问题故障:
解决方法:
官网答复:
遇到的问题,是VC那台Linux虚拟机分给vsphere client服务内存资源不足的原因,和VC上管理了几台虚拟机关系不大。
您想知道vsphere client服务所需的内存大小,服务不同时刻使用资源都是不固定的,不能确定具体需求多少,我们只能通过下述操作设置分配的最大限制。
您是linux系统下的VC,就按照所发KB的 “Vcenter Server APPliance中:”下面的步骤操作即可。
执行cloudvm-ram-size -l 查看vsphere client后面的的数值大小,是现有数值大小。
再执行cloudvm-ram-size -C XXX vsphere-client XXX的值建议为上述查看值翻倍。
用ssh 登陆命令控制台.执行以下命令。
执行命令:查询当前的vsphere client 值是多少
localhost:~ # cloudvm-ram-size -lvmcad = 224vmafdd = 30vmware-rbd-watchdog = 100applmgmt = 167vmware-vws = 42vmware-vsan-health = 103vmware-vsm = 160vmware-invsvc = 3688vmware-stsd = 438vmware-vpostgres = 1268vmware-syslog-health = 96vmware-sts-idmd = 352vmware-mbcs = 128vmware-netdumper = 20vmware-perfcharts = 568vmware-vdcs = 940vsphere-client = 1112vmware-cm = 240vmware-rhttpproxy = 50vmdird = 10vmware-sca = 128vmware-vpxd = 3440vmware-eam = 160vmware-vapi-endpoint = 160vmware-vpx-workflow = 214vmware-cis-license = 352OS = 938vmware-sps = 947TOTAL(MB) = 16075localhost:~ # cloudvm-ram-size -C 3604 vsphere-clientlocalhost:~ # cloudvm-ram-size -lvmcad = 224vmafdd = 47vmware-rbd-watchdog = 100applmgmt = 284vmware-vws = 42vmware-vsan-health = 109vmware-vsm = 160vmware-invsvc = 8308vmware-stsd = 644vmware-vpostgres = 2579vmware-syslog-health = 96vmware-sts-idmd = 408vmware-mbcs = 128vmware-netdumper = 20vmware-perfcharts = 1053vmware-vdcs = 1239vsphere-client = 3860vmware-cm = 270vmware-rhttpproxy = 94vmdird = 10vmware-sca = 128vmware-vpxd = 8072vmware-eam = 160vmware-vapi-endpoint = 160vmware-vpx-workflow = 214vmware-cis-license = 352OS = 1446vmware-sps = 2028TOTAL(MB) = 32235#重启vsphere-client 服务localhost:~ # service vsphere-client restartLast login: Tue Sep 26 15:20:31 CST 2017 on consoleStopping VMware vSphere Web Client...Stopped VMware vSphere Web Client.Starting VMware vSphere Web Client...Waiting for VMware vSphere Web Client......running: PID:13524