Details on the available powercli options to disable the service are documented here
There is no requirement to reboot the ESXi host to disable/enable the service
To enable or disable the CIM agent on an ESXi 6.x and ESXi 7.x host using the vSphere Client1. Login the the vSphere Client
2. Select the ESXi Host
3. Click on Configure -- Services
4. Click on "Cim Server" as per the screenshot below
5. Click on Stop and then click on "ok" in the window that pops up - see screen shot below
6. Change the "Startup Policy" to "Start and stop manually" by clicking on the "Edit Startup Policy" button
7. The final state of CIM Server service should be "Stopped" and "Start and stop manually"
8. Reverse the steps above to re-enable the service i.e. Change the settings to "Running" by clicking "Start" and change the Startup policy to "Start and stop with host"
To disable the CIM agent on an ESXi 6.x and ESXi 7.0.x host and earlier versions using the command line
-
-
Run these commands:
# chkconfig sfcbd-watchdog off
# /etc/init.d/sfcbd-watchdog stop confirm that the setting have taken by running
# chkconfig sfcbd-watchdog
# /etc/init.d/sfcbd-watchdog status Final output should be similar to
Note: Changing the
chkconfig disables the
sfcbd service and is persistent across reboots.
To re-enable the CIM agent on the ESXi host, run these commands:
# chkconfig sfcbd-watchdog on
# /etc/init.d/sfcbd-watchdog start Note: To check the status of the agent on ESXi, run this command.
# /etc/init.d/sfcbd-watchdog status Note: The CIM service starts automatically when you install a third-party CIM VIB.