无法连接到一个或多个 vCenter Server 系统: https://vcenter:443/sdk

root@vcenter [ /etc/init.d ]# service-control --start vmware-vpxd
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vpxd...
Successfully started service vpxd

root@vcenter [ /etc/init.d ]# service-control --status
Stopped:
 vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-rbd-watchdog vmware-vcha vsan-dps
Running:
 applmgmt lwsmd pschealth vmafdd vmcad vmdird vmdnsd vmonapi vmware-analytics vmware-certificatemanagement vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-perfcharts vmware-pod vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui


root@vcenter [ /etc/init.d ]# service-control --stop --all
Operation not cancellable. Please wait for it to finish...
Performing stop operation on service vmware-pod...
Successfully stopped service vmware-pod
Performing stop operation on profile: ALL...
Successfully stopped service vmware-vmon
Successfully stopped profile: ALL.
Performing stop operation on service vmdnsd...
Successfully stopped service vmdnsd
Performing stop operation on service vmware-stsd...
Successfully stopped service vmware-stsd
Performing stop operation on service vmware-sts-idmd...
Successfully stopped service vmware-sts-idmd
Performing stop operation on service vmcad...
Successfully stopped service vmcad
Performing stop operation on service vmdird...
Successfully stopped service vmdird
Performing stop operation on service vmafdd...
Successfully stopped service vmafdd
Performing stop operation on service lwsmd...
Successfully stopped service lwsmd
root@vcenter [ /etc/init.d ]# 
root@vcenter [ /etc/init.d ]# service-control --start --all
Operation not cancellable. Please wait for it to finish...
Performing start operation on service lwsmd...
Successfully started service lwsmd
Performing start operation on service vmafdd...
Successfully started service vmafdd
Performing start operation on service vmdird...
Successfully started service vmdird
Performing start operation on service vmcad...
Successfully started service vmcad
Performing start operation on service vmware-sts-idmd...
Successfully started service vmware-sts-idmd
Performing start operation on service vmware-stsd...
Successfully started service vmware-stsd
Performing start operation on service vmdnsd...
Successfully started service vmdnsd
Performing start operation on profile: ALL...
Successfully started service vmware-vmon
Successfully started profile: ALL.
Performing start operation on service vmware-pod...
Successfully started service vmware-pod


cd /var/log/vmware/vpxd
root@vcenter [ /var/log/vmware/vpxd ]# cat ./vpxd.log | grep -i failed
ROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:30.277Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:30.727Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:30.728Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:31.163Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:31.164Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:31.607Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:31.607Z warning vpxd[63278] [Originator@6876 sub=Default] [NFC ERROR] NfcSendFile: Failed to get sidecar paths: NFC_SUCCESS (The operation completed successfully)
2019-11-19T04:06:33.315Z error vpxd[63736] [Originator@6876 sub=HttpSvc.HTTPService] Failed to read request; stream: <io_obj p:0x00007f6b002a16a8, h:-1, <UNIX '/var/run/vmware/vpxd-webserver-pipe'>, <UNIX ''> FD Closed>, error: N7Vmacore16TimeoutExceptionE(Operation timed out: Stream: <io_obj p:0x00007f6b002a16a8, h:-1, <UNIX '/var/run/vmware/vpxd-webserver-pipe'>, <UNIX ''> FD Closed>, duration: 00:00:45.376875 (hh:mm:ss.us))

[Originator@6876 sub=vpxdVdb] WarningThreshold: 80% ErrorThreshold: 95%.

方法一:清理数据库的表

/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres

SELECT nspname || '.' || relname AS "relation", pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') AND C.relkind <> 'i' AND nspname !~ '^pg_toast' ORDER BY pg_total_relation_size(C.oid) DESC LIMIT 20;

truncate table vc.vpx_event_arg_5;

查询表占用空间:

查询磁盘空间使用情况:

点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注