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!
- Open AzureDevOps, and pick "Pipelines" and then "Releases"
- In search find "Svc.SurveillanceService", then pick this service.
- 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) - 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.
- 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.
- Check that TenantService is up and running: Tenantservice.egretail.cloud
- Check that there are no known Azure issues that could affect the service: https://status.azure.com/en-us/status
- 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. - Open the "LRSDevTestSurveillanceServiceA" (test or corresponding service on prod) WebApp and stop the site
- Check https://surveillanceservice.egretail-test.cloud/index.html or https://surveillanceservice.egretail.cloud/index.html and make sure that the app has stopped.
- Once it's stopped, press the "Start" button
- Verify that the site starts (check appInisghts) and that new requests goes through without issues.