Stopping SMS Services
Sometimes it will be necessary to stop and start services on a particular server.
If the reason for the stop is to immediately restart the services follow these steps:
- Open a CMD window (run as administrator)
- run the command STOPSMS
- check that all BNS Enterprise SMS Services are stopped in services control manager. (Except for the SMS HA Monitor service, which can be left running)
- run the command STARTSMS
- check that all BNS Enterprise SMS Services are started in services control manager
If the reason for the stop is to perform maintenance on the server for an extended period of time follow these steps:
- Go to Services control manager on the server
- Stop the service 'BNS Enterprise SMS Attendant'
- Stop the service 'BNS Enterprise SMS Connector from SMTP High'
- Stop the service 'BNS Enterprise SMS Connector from SMTP Normal'
- Stop the service 'BNS Enterprise SMS SMSC Connector RX'
- Stop the service BNS Enterprise SMS Bulk via SQL'
- If the Exchange online service is enabled, stop the service 'BNS Enterprise SMS From Exchange Online'
- Check the Spoolers folders as shown below to make sure there are no files in there. If there are .TMP files they can be ignored.
- Assuming that there are no files in the Spoolers folders you can proceed further. Wait until there are no files remaining. If the files are not being processed take a screen shot and raise a ticket with BNS Support.
- Open a CMD window (run as administrator)
- Run the command STOPSMS
- Check that all BNS Enterprise SMS Services are stopped in services control manager. (Except for the SMS HA Monitor service, which can be left running).
- If this server which you have stopped is the MASTER for SQL API queues and you 1 other SMS Server in your design then the other server will take over control and the processing of the SQL API queues in 5 minutes.
- From the SMS Console check the following if you have more than 1 SMS server:
- From the Admin menu select SQL API Status
- Press refresh after 5 minutes to check that the other server has now taken over the responsibility for the SQL API control
Note: the SMS Console menu option 'Other queues' will show both servers as MASTER. The reason for this is that the server you have just stopped was the MASTER at the last known check-in time. This is by design. When you restart the services the status will update to show that the server is Secondary.
At the end of system maintenance, perform a STARTSMS from an elevated CMD window and check that all services are running.