When and Why would you want to restart the ShoreTel services?

Posted by Ken Zrobok on Dec 13, 2012
Ken Zrobok
Find me on:

There are times when you may get a disconnect between a ShoreGear appliance and the HQ server. There may be times when you have brought up a ShoreGear appliance before the server that manages the appliance.

There is often a disconnect involved somewhere in the process. Constant network disconnects and reconnects will sometimes cause a ShoreGear appliance to disconnect from the server managing that appliance.

Or maybe you are rebuilding a new instance of the HQ on a new server and you are in the process of importing the existing database into a new HQ installation.

There are a couple of ways to stop and start all the services on a HQ server.

The first but least informational is to go into Quick Look --> Headquarters (or any other DVS) then you will see just the ShoreTel services.

At the bottom of the page you will see two buttons, Stop All and Start All. By clicking these buttons you can stop and restart the ShoreTel services. Why I am not a fan of this way or just rebooting the server is that the Stop All will take 3-4x longer to stop than start a service and you will be staring at a frozen Shoreware Director for a couple of minutes.

Once they all have stopped you can click the Start All and have the services restart.

ShoreTel also has some scripts that will stop and start the services.

If you navigate to the Program Files [x86]Shoreline CommuncationsShoreware ServerScripts and execute dir you will see the following:

hq_shoretel_stop-svcs.bat -- this will stop all services on the HQ
hq_shoretel_start-svcs.bat -- this will start all services on the HQ

also they have batch files that will stop the services on any Remote Servers and they are:

rs_shoretel_start-svcs.bat
rs_shoretel_stop-svcs.bat

These files should be run on the actual Remote Server. They can be found at
Program Files [x86]Shoreline CommunicationsShoreware Remote Server directory.

What is nice about these batch files if you run them from a command window is that they will output to the screen what is actually happening as wells as let you see when the batch file has completed.

Another way of accomplishing the same task is the
Program Files [x86]Shoreline CommunicationsShoreware Server
you can run the following batch files:

quickinstall -stopall
quickinstall -startall

Similarly with these batch files you can see what is going on at all times. Normally since it is easier to navigate to the directory to run the quickinstall.bat file, this is usually the batch file of choice.

Tags: Mitel, How-to