Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ ~ ]# cd /etc/vmware/statsmonitor/
- [ /etc/vmware/statsmonitor ]# ls -sla
- total 12
- 4 drwxr-xr-x 2 root root 4096 Oct 18 2018 .
- 4 drwxr-xr-x 16 root root 4096 Mar 16 07:32 ..
- 4 -rw-r--r-- 1 root root 4031 Apr 19 2018 statsMonitor.xml
- [ /etc/vmware/statsmonitor ]# cp -p statsMonitor.xml statsMonitor.xml_20230327
- [ /etc/vmware/statsmonitor ]# vi statsMonitor.xml
- [ /etc/vmware/statsmonitor ]# grep invsvc statsMonitor.xml
- <filesystem id="invsvc">
- <name>invsvc</name>
- <path>/storage/invsvc</path>
- [ /etc/vmware/statsmonitor ]# vi statsMonitor.xml
- [ /etc/vmware/statsmonitor ]# service-control –-list
- Service-control failed. Error Exactly one operation must be specified.
- [ /etc/vmware/statsmonitor ]# service-control --status
- Running:
- applmgmt lwsmd pschealth vmafdd vmcad vmcam vmdird vmdnsd vmonapi vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-perfcharts vmware-psc-client vmware-rbd-watchdog vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui
- Stopped:
- vmware-updatemgr vmware-vcha
- [ /etc/vmware/statsmonitor ]# service-control --stop --all
- Perform stop operation. vmon_profile=ALL, svc_names=None, include_coreossvcs=True, include_leafossvcs=True
- 2023-03-27T12:22:20.460Z Service vmware-vmon does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:22:20.460Z Running command: ['/sbin/service', u'vmware-vmon', 'stop']
- 2023-03-27T12:24:22.814Z Done running command
- 2023-03-27T12:24:22.814Z Successfully stopped service vmware-vmon
- Successfully stopped vmon services. Profile ALL.
- 2023-03-27T12:24:22.821Z Service vmware-psc-client does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:22.821Z Running command: ['/sbin/service', u'vmware-psc-client', 'status']
- 2023-03-27T12:24:22.861Z Done running command
- Successfully stopped service vmware-psc-client
- 2023-03-27T12:24:26.992Z Service vmdnsd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:26.993Z Running command: ['/sbin/service', u'vmdnsd', 'status']
- 2023-03-27T12:24:27.055Z Done running command
- Successfully stopped service vmdnsd
- 2023-03-27T12:24:27.256Z Service vmware-stsd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:27.256Z Running command: ['/sbin/service', u'vmware-stsd', 'status']
- 2023-03-27T12:24:27.313Z Done running command
- Successfully stopped service vmware-stsd
- 2023-03-27T12:24:29.543Z Service vmware-sts-idmd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:29.543Z Running command: ['/sbin/service', u'vmware-sts-idmd', 'status']
- 2023-03-27T12:24:29.582Z Done running command
- Successfully stopped service vmware-sts-idmd
- 2023-03-27T12:24:30.665Z Service vmcad does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:30.665Z Running command: ['/sbin/service', u'vmcad', 'status']
- 2023-03-27T12:24:30.706Z Done running command
- Successfully stopped service vmcad
- 2023-03-27T12:24:30.857Z Service vmdird does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:30.858Z Running command: ['/sbin/service', u'vmdird', 'status']
- 2023-03-27T12:24:30.895Z Done running command
- Successfully stopped service vmdird
- 2023-03-27T12:24:31.073Z Service vmafdd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:31.073Z Running command: ['/sbin/service', u'vmafdd', 'status']
- 2023-03-27T12:24:31.114Z Done running command
- Successfully stopped service vmafdd
- 2023-03-27T12:24:31.277Z Service lwsmd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:24:31.277Z Running command: ['/sbin/service', u'lwsmd', 'status']
- 2023-03-27T12:24:31.320Z Done running command
- Successfully stopped service lwsmd
- [ /etc/vmware/statsmonitor ]# service-control --start --all
- Perform start operation. vmon_profile=ALL, svc_names=None, include_coreossvcs=True, include_leafossvcs=True
- 2023-03-27T12:30:42.491Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'lwsmd']
- 2023-03-27T12:30:42.498Z Done running command
- 2023-03-27T12:30:42.504Z Service lwsmd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:30:42.504Z Running command: ['/sbin/service', u'lwsmd', 'status']
- 2023-03-27T12:30:42.546Z Done running command
- 2023-03-27T12:30:42.551Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:30:42.711Z Done running command
- 2023-03-27T12:30:42.712Z Running command: ['/usr/bin/systemctl', 'set-property', u'lwsmd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:30:42.723Z Done running command
- Successfully started service lwsmd
- 2023-03-27T12:30:43.175Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmafdd']
- 2023-03-27T12:30:43.185Z Done running command
- 2023-03-27T12:30:43.190Z Service vmafdd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:30:43.190Z Running command: ['/sbin/service', u'vmafdd', 'status']
- 2023-03-27T12:30:43.235Z Done running command
- 2023-03-27T12:30:43.243Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:30:43.402Z Done running command
- 2023-03-27T12:30:43.402Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmafdd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:30:43.411Z Done running command
- Successfully started service vmafdd
- 2023-03-27T12:30:44.269Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmdird']
- 2023-03-27T12:30:44.278Z Done running command
- 2023-03-27T12:30:44.283Z Service vmdird does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:30:44.283Z Running command: ['/sbin/service', u'vmdird', 'status']
- 2023-03-27T12:30:44.326Z Done running command
- 2023-03-27T12:30:44.330Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:30:44.470Z Done running command
- 2023-03-27T12:30:44.470Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmdird.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:30:44.477Z Done running command
- Successfully started service vmdird
- 2023-03-27T12:30:46.992Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmcad']
- 2023-03-27T12:30:47.017Z Done running command
- 2023-03-27T12:30:47.024Z Service vmcad does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:30:47.025Z Running command: ['/sbin/service', u'vmcad', 'status']
- 2023-03-27T12:30:47.081Z Done running command
- 2023-03-27T12:30:47.086Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:30:47.203Z Done running command
- 2023-03-27T12:30:47.204Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmcad.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:30:47.210Z Done running command
- Successfully started service vmcad
- 2023-03-27T12:30:48.538Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-sts-idmd']
- 2023-03-27T12:30:48.549Z Done running command
- 2023-03-27T12:30:48.553Z Service vmware-sts-idmd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:30:48.554Z Running command: ['/sbin/service', u'vmware-sts-idmd', 'status']
- 2023-03-27T12:30:48.594Z Done running command
- 2023-03-27T12:30:48.599Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:30:48.749Z Done running command
- 2023-03-27T12:30:48.750Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-sts-idmd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:30:48.757Z Done running command
- Successfully started service vmware-sts-idmd
- 2023-03-27T12:31:01.154Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-stsd']
- 2023-03-27T12:31:01.164Z Done running command
- 2023-03-27T12:31:01.169Z Service vmware-stsd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:31:01.169Z Running command: ['/sbin/service', u'vmware-stsd', 'status']
- 2023-03-27T12:31:01.214Z Done running command
- 2023-03-27T12:31:01.220Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:31:01.353Z Done running command
- 2023-03-27T12:31:01.353Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-stsd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:31:01.359Z Done running command
- Successfully started service vmware-stsd
- 2023-03-27T12:31:38.058Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmdnsd']
- 2023-03-27T12:31:38.067Z Done running command
- 2023-03-27T12:31:38.073Z Service vmdnsd does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:31:38.073Z Running command: ['/sbin/service', u'vmdnsd', 'status']
- 2023-03-27T12:31:38.114Z Done running command
- Successfully started service vmdnsd
- 2023-03-27T12:31:38.120Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-psc-client']
- 2023-03-27T12:31:38.129Z Done running command
- 2023-03-27T12:31:38.133Z Service vmware-psc-client does not seem to be registered with vMon. If this is unexpected please make sure your service config is a valid json. Also check vmon logs for warnings.
- 2023-03-27T12:31:38.133Z Running command: ['/sbin/service', u'vmware-psc-client', 'status']
- 2023-03-27T12:31:38.172Z Done running command
- 2023-03-27T12:31:38.177Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:31:38.293Z Done running command
- 2023-03-27T12:31:38.294Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-psc-client.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:31:38.300Z Done running command
- Successfully started service vmware-psc-client
- 2023-03-27T12:31:40.873Z Running command: ['/usr/bin/systemctl', 'set-environment', 'VMON_PROFILE=NONE']
- 2023-03-27T12:31:40.879Z Done running command
- 2023-03-27T12:31:40.883Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
- 2023-03-27T12:31:41.002Z Done running command
- 2023-03-27T12:31:41.003Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-vmon.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
- 2023-03-27T12:31:41.011Z Done running command
- 2023-03-27T12:31:42.348Z Running command: ['/usr/bin/systemctl', 'unset-environment', 'VMON_PROFILE']
- 2023-03-27T12:31:42.353Z Done running command
- Service-control failed. Error Failed to start vmon services.vmon-cli RC=2, stderr=Failed to start updatemgr services. Error: Service crashed while starting
- [ /etc/vmware/statsmonitor ]# service-control --status
- Running:
- applmgmt lwsmd pschealth vmafdd vmcad vmdird vmdnsd vmonapi vmware-cis-license vmware-cm vmware-content-library vmware-eam vmware-perfcharts vmware-psc-client vmware-rhttpproxy vmware-sca vmware-sps vmware-statsmonitor vmware-sts-idmd vmware-stsd vmware-vapi-endpoint vmware-vmon vmware-vpostgres vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-client vsphere-ui
- Stopped:
- vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-rbd-watchdog vmware-updatemgr vmware-vcha
- [ /etc/vmware/statsmonitor ]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement