Navigate
Wasp Helpdesk
  • Register

  • or
  • Login
    Need a password reminder?
or
Contact Us
  • Get in touch

    Send us an email

  • Start a chat session

  • Knowledgebase Read help articles
  • News News & updates
  • Contact Us We are here to help
  • Training View our options
  • Portal
  • Knowledgebase
  • Cloud
  • Cloud On-Premise: Stop and restart all services (bounce)
Subscribe Download PDF

Cloud On-Premise: Stop and restart all services (bounce)

Scott Barnett
2022-11-02
in Cloud

Procedure to stop and restart ("bounce") all of the services for Cloud On-Premise, then recycle the IIS app pools:

Stop services in this order:

RabbitMQ
Redis
SQL Server (WASPDATA)
WASP Later Service
World Wide Web Publishing Service

Start services in this order:

SQL Server (WASPDATA)
World Wide Web Publishing Service
RabbitMQ
Redis
WASP Later Service
Wasp Now Service

----------------------------------------

Recycle Cloud OP application pools in Internet Information Services (IIS) Manager:

a. At the upper left, click Application Pools.
b. In the right pane in the Name column, right-click each of the three following names, then click Recycle. Notes: Do not click the similarly-named "Recycling". You will not see any feedback. There may be a slight pause before the system becomes responsive for the next task. The order does not matter. Names:
WaspPAPI
WaspPMVC (for earlier versions)
WaspPAC (For newer AssetCloud installs)
WaspPIC (For newer InventoryCloud installs)
WaspPSTS


==============================================================================

Making a batch file to perform the "Bounce"

If you want to make a batch file that will do this, include the lines below in a file called "Bounce OP Services (Admin).bat". When you need to run the file, right-click it and Run As Administrator. The pause command at the end allows you to review the results before closing the command prompt.

***Note: Because different versions have differently named Sites and Application Pools, there are 3 different potential batch files to accomplish the above.

============================================================================

::AssetCloud or InventoryCloud v1.04.05 or earlier::
net stop RabbitMQ
REM - stopping Rabbit also stops WaspNowService
net stop Redis
net stop MSSQL$WASPDATA
net stop WASPLaterService
net stop W3SVC
net start MSSQL$WASPDATA
net start W3SVC
net start RabbitMQ
net start Redis
net start WASPLaterService
net start WaspNowService
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspMVC"
::Flush Redis
cd C:\Program Files\Redis-3.0.504-64bit
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushdb
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushall
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspMVC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAPI"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPMVC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPSTS"
pause
::end code::

============================================================================

::AssetCloud v2 or Newer::
net stop RabbitMQ
REM - stopping Rabbit also stops WaspNowService
net stop Redis
net stop MSSQL$WASPDATA
net stop WASPLaterService
net stop W3SVC
net start MSSQL$WASPDATA
net start W3SVC
net start RabbitMQ
net start Redis
net start WASPLaterService
net start WaspNowService
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd stop site /site.name:"Wasp_AC"
::Flush Redis
cd C:\Program Files\Redis-3.0.504-64bit
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushdb
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushall
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd start site /site.name:"Wasp_AC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAPI"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPSTS"
pause
::end code::

============================================================================

::InventoryCloud v2 or Newer::
net stop RabbitMQ
REM - stopping Rabbit also stops WaspNowService
net stop Redis
net stop MSSQL$WASPDATA
net stop WASPLaterService
net stop W3SVC
net start MSSQL$WASPDATA
net start W3SVC
net start RabbitMQ
net start Redis
net start WASPLaterService
net start WaspNowService
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd stop site /site.name:"Wasp_IC"
::Flush Redis
cd C:\Program Files\Redis-3.0.504-64bit
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushdb
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushall
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd start site /site.name:"Wasp_IC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAPI"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPIC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPSTS"
pause
::end code::

============================================================================

::Asset&InventoryCloud v2 Installed on the Same Machine::
net stop RabbitMQ
REM - stopping Rabbit also stops WaspNowService
net stop Redis
net stop MSSQL$WASPDATA
net stop WASPLaterService
net stop W3SVC
net start MSSQL$WASPDATA
net start W3SVC
net start RabbitMQ
net start Redis
net start WASPLaterService
net start WaspNowService
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd stop site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd stop site /site.name:"Wasp_AC"
%windir%\system32\inetsrv\appcmd stop site /site.name:"Wasp_IC"
::Flush Redis
cd C:\Program Files\Redis-3.0.504-64bit
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushdb
redis-cli -h 127.0.0.1 -p 6379 -a r3dIkul00zSVmVs flushall
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspSTS"
%windir%\system32\inetsrv\appcmd start site /site.name:"WaspAPI"
%windir%\system32\inetsrv\appcmd start site /site.name:"Wasp_AC"
%windir%\system32\inetsrv\appcmd start site /site.name:"Wasp_IC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAPI"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPAC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPIC"
%windir%\system32\inetsrv\appcmd recycle apppool /apppool.name:"WaspPSTS"
pause
::end code::

Rate the quality of this page

This page was helpful :) :( This page was not helpful

2 of 3 people found this page helpful


Quick Jump
  • Wasp Helpdesk
  • Knowledgebase
  • News
  • Contact Us
Top
Helpdesk software provided by Deskpro