Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Set up new tenants : https://tfs-retail.egdev.lan/tfs/DefaultCollection/DotNetRetailSolutions/_git/POS-MonitorAppBackend?path=%2Fdocs%2FNewTenantSetUp.md

How to 'restart' Self Service Monitor Backend

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

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

    Latest release has green highlight (see Release-120 on screenshot bellow)
    Image Modified
  4. Run Staging 
    Test:
    Image Added
    Prod:
    Image Added
  5.  Run SWAP Stage
    Test:
     
  6. Image Removed
  7. Image Added
    Prod:
    Image Modified
    For swap on Prod you need to get approve
  8. from one of these people:
    Image Removed
  9. .

Restart through Azure Portal 

If for some reason Self Service monitor Backend 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 Self Service Monitor Backend 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. 
    Image Added
  5. Open the "LrsTestSelfServiceMonitorBackend" (test or corresponding service on prod) WebApp and stop the site
  6. Check https://selfservicemonitorbackend.egretail-test.cloud/ or https://selfservicemonitorbackend.egretail.cloud/ 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.