Stopping Service Manager on UNIX

Stopping the Service Manager server immediately disconnects all client sessions and ends all currently running Service Manager processes. By default, the Service Manager server runs continuously and has no scheduled shutdown times.

There are two methods for stopping Service Manager:

  • Server shutdown with a warning message — allows the administrator to broadcast a warning message before stopping the server
  • Server stop from outside a client — allows the administrator to stop the server without first connecting to the server through a client

Server shutdown with a warning message

When Service Manager is running on a UNIX server, you can issue a shutdown warning from the following interfaces:

  • From a Service Manager client when you are logged in as a user with system administrator capabilities.
  • From the UNIX command line when you use the smstop script

Either shutdown option allows you to broadcast a warning message to currently connected users letting them know that you are planning to shut the server down. However, only the shutdown option from the client also allows you to specify in advance when you want to shut a server down.

There are three types of shutdown available to administrators from the client:

  • Immediate — stops the server as soon as the administrator confirms the shutdown request. The server issues no warning messages before stopping.
  • Delayed — stops the server after a delay specified by the administrator. The server issues a warning message every minute during the warning interval. The warning interval determines how many minutes before stopping the server that the server starts issuing warning messages.
  • Scheduled — stops the server at a specified date and time. The server issues a warning message every minute during the warning interval. The warning interval determines how many minutes before stopping the server that the server starts issuing warning messages.

The shutdown option from the UNIX command line does not allow you to delay or schedule a server shutdown.

Server stop from outside a client

You must have administrative access to the server operating system to stop the Service Manager server outside of a client. If you want to issue a warning message before stopping the server, you must use the smstop script. Unless you know that there are no active client connections, it is generally preferable to shutdown a server with a warning message rather than stop it.

You can stop a Service Manager server running on UNIX from the following interface without using a client connection:

  • UNIX command line

Related topics

Startup and shutdown
Starting Service Manager on UNIX

Related topics

Start the server from the UNIX command line
Stop the server from the UNIX command line