Smarts SAM: Best practices for shutting down/restarting SAM server system
search cancel

Smarts SAM: Best practices for shutting down/restarting SAM server system

book

Article ID: 332096

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

This article explains the best practices for shutting down and restarting the server where Smarts SAM is installed, including all the services that have to be stopped before restarting the SAM server.



The following are the commands related to Smarts SAM services :

  • Show all services running: sm_service show --cmdline
  • Stop individual services: sm_service remove
  • Check services status: ic-serviced status
  • Stop/start all services at once: ic-serviced stop/start


Procedure
The following is the recommended procedure to stop and restart the Smarts SAM server (with example commands and output):

  1. Check services status:

bash-3.2# /etc/init.d/ic-serviced status
sm_serviced is responding.

  1. Stop all services:

 bash-3.2# /etc/init.d/ic-serviced stop
 Stopping all the managed services by sm_serviced...
 Stopping sm_serviced...

sm_serviced was successfully stopped.

  1. Confirm services are stopped:

bash-3.2# /etc/init.d/ic-serviced status
sm_serviced is not responding.

  1. Stop/restart the Smarts SAM server.
  2. Once the server has restarted, start all services:

bash-3.2# /etc/init.d/ic-serviced start
Starting sm_serviced ...
sm_serviced started