Advertisement
Guest User

Untitled

a guest
Mar 27th, 2023
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.90 KB | None | 0 0
  1. [ ~ ]# cd /etc/vmware/statsmonitor/
  2. [ /etc/vmware/statsmonitor ]# ls -sla
  3. total 12
  4. 4 drwxr-xr-x 2 root root 4096 Oct 18 2018 .
  5. 4 drwxr-xr-x 16 root root 4096 Mar 16 07:32 ..
  6. 4 -rw-r--r-- 1 root root 4031 Apr 19 2018 statsMonitor.xml
  7. [ /etc/vmware/statsmonitor ]# cp -p statsMonitor.xml statsMonitor.xml_20230327
  8. [ /etc/vmware/statsmonitor ]# vi statsMonitor.xml
  9. [ /etc/vmware/statsmonitor ]# grep invsvc statsMonitor.xml
  10. <filesystem id="invsvc">
  11. <name>invsvc</name>
  12. <path>/storage/invsvc</path>
  13. [ /etc/vmware/statsmonitor ]# vi statsMonitor.xml
  14. [ /etc/vmware/statsmonitor ]# service-control –-list
  15. Service-control failed. Error Exactly one operation must be specified.
  16. [ /etc/vmware/statsmonitor ]# service-control --status
  17. Running:
  18. 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
  19. Stopped:
  20. vmware-updatemgr vmware-vcha
  21. [ /etc/vmware/statsmonitor ]# service-control --stop --all
  22. Perform stop operation. vmon_profile=ALL, svc_names=None, include_coreossvcs=True, include_leafossvcs=True
  23. 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.
  24. 2023-03-27T12:22:20.460Z Running command: ['/sbin/service', u'vmware-vmon', 'stop']
  25. 2023-03-27T12:24:22.814Z Done running command
  26. 2023-03-27T12:24:22.814Z Successfully stopped service vmware-vmon
  27. Successfully stopped vmon services. Profile ALL.
  28. 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.
  29. 2023-03-27T12:24:22.821Z Running command: ['/sbin/service', u'vmware-psc-client', 'status']
  30. 2023-03-27T12:24:22.861Z Done running command
  31. Successfully stopped service vmware-psc-client
  32. 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.
  33. 2023-03-27T12:24:26.993Z Running command: ['/sbin/service', u'vmdnsd', 'status']
  34. 2023-03-27T12:24:27.055Z Done running command
  35. Successfully stopped service vmdnsd
  36. 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.
  37. 2023-03-27T12:24:27.256Z Running command: ['/sbin/service', u'vmware-stsd', 'status']
  38. 2023-03-27T12:24:27.313Z Done running command
  39. Successfully stopped service vmware-stsd
  40. 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.
  41. 2023-03-27T12:24:29.543Z Running command: ['/sbin/service', u'vmware-sts-idmd', 'status']
  42. 2023-03-27T12:24:29.582Z Done running command
  43. Successfully stopped service vmware-sts-idmd
  44. 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.
  45. 2023-03-27T12:24:30.665Z Running command: ['/sbin/service', u'vmcad', 'status']
  46. 2023-03-27T12:24:30.706Z Done running command
  47. Successfully stopped service vmcad
  48. 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.
  49. 2023-03-27T12:24:30.858Z Running command: ['/sbin/service', u'vmdird', 'status']
  50. 2023-03-27T12:24:30.895Z Done running command
  51. Successfully stopped service vmdird
  52. 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.
  53. 2023-03-27T12:24:31.073Z Running command: ['/sbin/service', u'vmafdd', 'status']
  54. 2023-03-27T12:24:31.114Z Done running command
  55. Successfully stopped service vmafdd
  56. 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.
  57. 2023-03-27T12:24:31.277Z Running command: ['/sbin/service', u'lwsmd', 'status']
  58. 2023-03-27T12:24:31.320Z Done running command
  59. Successfully stopped service lwsmd
  60. [ /etc/vmware/statsmonitor ]# service-control --start --all
  61. Perform start operation. vmon_profile=ALL, svc_names=None, include_coreossvcs=True, include_leafossvcs=True
  62. 2023-03-27T12:30:42.491Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'lwsmd']
  63. 2023-03-27T12:30:42.498Z Done running command
  64. 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.
  65. 2023-03-27T12:30:42.504Z Running command: ['/sbin/service', u'lwsmd', 'status']
  66. 2023-03-27T12:30:42.546Z Done running command
  67. 2023-03-27T12:30:42.551Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  68. 2023-03-27T12:30:42.711Z Done running command
  69. 2023-03-27T12:30:42.712Z Running command: ['/usr/bin/systemctl', 'set-property', u'lwsmd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  70. 2023-03-27T12:30:42.723Z Done running command
  71. Successfully started service lwsmd
  72. 2023-03-27T12:30:43.175Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmafdd']
  73. 2023-03-27T12:30:43.185Z Done running command
  74. 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.
  75. 2023-03-27T12:30:43.190Z Running command: ['/sbin/service', u'vmafdd', 'status']
  76. 2023-03-27T12:30:43.235Z Done running command
  77. 2023-03-27T12:30:43.243Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  78. 2023-03-27T12:30:43.402Z Done running command
  79. 2023-03-27T12:30:43.402Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmafdd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  80. 2023-03-27T12:30:43.411Z Done running command
  81. Successfully started service vmafdd
  82. 2023-03-27T12:30:44.269Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmdird']
  83. 2023-03-27T12:30:44.278Z Done running command
  84. 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.
  85. 2023-03-27T12:30:44.283Z Running command: ['/sbin/service', u'vmdird', 'status']
  86. 2023-03-27T12:30:44.326Z Done running command
  87. 2023-03-27T12:30:44.330Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  88. 2023-03-27T12:30:44.470Z Done running command
  89. 2023-03-27T12:30:44.470Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmdird.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  90. 2023-03-27T12:30:44.477Z Done running command
  91. Successfully started service vmdird
  92. 2023-03-27T12:30:46.992Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmcad']
  93. 2023-03-27T12:30:47.017Z Done running command
  94. 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.
  95. 2023-03-27T12:30:47.025Z Running command: ['/sbin/service', u'vmcad', 'status']
  96. 2023-03-27T12:30:47.081Z Done running command
  97. 2023-03-27T12:30:47.086Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  98. 2023-03-27T12:30:47.203Z Done running command
  99. 2023-03-27T12:30:47.204Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmcad.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  100. 2023-03-27T12:30:47.210Z Done running command
  101. Successfully started service vmcad
  102. 2023-03-27T12:30:48.538Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-sts-idmd']
  103. 2023-03-27T12:30:48.549Z Done running command
  104. 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.
  105. 2023-03-27T12:30:48.554Z Running command: ['/sbin/service', u'vmware-sts-idmd', 'status']
  106. 2023-03-27T12:30:48.594Z Done running command
  107. 2023-03-27T12:30:48.599Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  108. 2023-03-27T12:30:48.749Z Done running command
  109. 2023-03-27T12:30:48.750Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-sts-idmd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  110. 2023-03-27T12:30:48.757Z Done running command
  111. Successfully started service vmware-sts-idmd
  112. 2023-03-27T12:31:01.154Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-stsd']
  113. 2023-03-27T12:31:01.164Z Done running command
  114. 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.
  115. 2023-03-27T12:31:01.169Z Running command: ['/sbin/service', u'vmware-stsd', 'status']
  116. 2023-03-27T12:31:01.214Z Done running command
  117. 2023-03-27T12:31:01.220Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  118. 2023-03-27T12:31:01.353Z Done running command
  119. 2023-03-27T12:31:01.353Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-stsd.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  120. 2023-03-27T12:31:01.359Z Done running command
  121. Successfully started service vmware-stsd
  122. 2023-03-27T12:31:38.058Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmdnsd']
  123. 2023-03-27T12:31:38.067Z Done running command
  124. 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.
  125. 2023-03-27T12:31:38.073Z Running command: ['/sbin/service', u'vmdnsd', 'status']
  126. 2023-03-27T12:31:38.114Z Done running command
  127. Successfully started service vmdnsd
  128. 2023-03-27T12:31:38.120Z Running command: ['/usr/bin/systemctl', 'is-enabled', u'vmware-psc-client']
  129. 2023-03-27T12:31:38.129Z Done running command
  130. 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.
  131. 2023-03-27T12:31:38.133Z Running command: ['/sbin/service', u'vmware-psc-client', 'status']
  132. 2023-03-27T12:31:38.172Z Done running command
  133. 2023-03-27T12:31:38.177Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  134. 2023-03-27T12:31:38.293Z Done running command
  135. 2023-03-27T12:31:38.294Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-psc-client.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  136. 2023-03-27T12:31:38.300Z Done running command
  137. Successfully started service vmware-psc-client
  138. 2023-03-27T12:31:40.873Z Running command: ['/usr/bin/systemctl', 'set-environment', 'VMON_PROFILE=NONE']
  139. 2023-03-27T12:31:40.879Z Done running command
  140. 2023-03-27T12:31:40.883Z Running command: ['/usr/bin/systemctl', 'daemon-reload']
  141. 2023-03-27T12:31:41.002Z Done running command
  142. 2023-03-27T12:31:41.003Z Running command: ['/usr/bin/systemctl', 'set-property', u'vmware-vmon.service', 'MemoryAccounting=true', 'CPUAccounting=true', 'BlockIOAccounting=true']
  143. 2023-03-27T12:31:41.011Z Done running command
  144. 2023-03-27T12:31:42.348Z Running command: ['/usr/bin/systemctl', 'unset-environment', 'VMON_PROFILE']
  145. 2023-03-27T12:31:42.353Z Done running command
  146. Service-control failed. Error Failed to start vmon services.vmon-cli RC=2, stderr=Failed to start updatemgr services. Error: Service crashed while starting
  147.  
  148. [ /etc/vmware/statsmonitor ]# service-control --status
  149. Running:
  150. 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
  151. Stopped:
  152. vmcam vmware-imagebuilder vmware-mbcs vmware-netdumper vmware-rbd-watchdog vmware-updatemgr vmware-vcha
  153. [ /etc/vmware/statsmonitor ]#
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement