You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Doc: https://tfs-retail.egdev.lan/tfs/DefaultCollection/DotNetRetailSolutions/_git/CloudService-Surveillance?path=%2Fdocs

Set up new tenants : https://tfs-retail.egdev.lan/tfs/DefaultCollection/DotNetRetailSolutions/_git/CloudService-Surveillance?path=%2Fdocs%2FNewTenantSetup.md

How to 'restart' SurveillanceService

Requirement: The TenantService has to be up and running before you try to restart!

  1. Open AzureDevOps, and pick "Pipelines" and then "Releases"
  2. In search find "Svc.SurveillanceService", then pick this service.
  3. Pick the latest release with the current build that can be found by checking here for Test: https://surveillanceservice.egretail-test.cloud/.metadata/info.txt and here for Prod: https://surveillanceservice.egretail.cloud/.metadata/info.txt

    Latest release has green highlight (see Release-68 on screenshot bellow)

  4.  Run SWAP Stage (for test or prod)
     
    For swap on Prod you need to get approve.

Restart through Azure Portal 

If for some reason SurveillanceService is completely offline (typically HTTP 503 The service is unavailable error or the site loads forever) we can restart through the Azure Portal. Not that this should only be done if the service is offline for all Tenants. 

  1. Open SurveillanceService and verify that you (and other tenants) cant access the service. Check appInsights live metrics and verify that there are no http 200 requests. 
  2. Check that TenantService is up and running: Tenantservice.egretail.cloud 
  3. Check that there are no known Azure issues that could affect the service: https://status.azure.com/en-us/status
  4. If TenantService is up and running and there are no known Azure issues, we can do a manual restart by stopping and starting the WebApp
    Recommend using stop and start instead of restart. Restart does not always work. 
  5. Open the "LRSDevTestSurveillanceServiceA" (test or corresponding service on prod) WebApp and stop the site
  6. Check https://surveillanceservice.egretail-test.cloud/index.html or https://surveillanceservice.egretail.cloud/index.html and make sure that the app has stopped. 
  7. Once it's stopped, press the "Start" button 
  8. Verify that the site starts (check appInisghts) and that new requests goes through without issues. 
  • No labels