Versions Compared

Key

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

...

Below is the procedure to use the resource group TC-DevTest-EGIS-PLT-DR-RG in the subscription TC-DevTest-UC to deploy the DR system. Unfortunately a sandbox resource group e.g., TC-Sandbox-BXUeGIS-RGfor the DR systemdoes not work in the Traffic Manager as it belongs to different subscription from Pilot.

Step 1: create DR VMs. This is done on your local desktop with Powershell window.

  • Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

  • cd C:\Work\EGIS\ARM\templates

  • .\deploy.ps1 -Subscription 0921cb70fde9cf97-a9687bf0-48604373-a0dc9fbd-7f77ba3a35c4 eba18c6e0dfc -ResourceGroupName TC-Sandbox-BXUeGISDevTest-EGIS-PLT-DR-RG
    -TemplateFilePath .\tccloud-prod-template.json `
    -ParametersFilePath .\parameters.json

...

  1. If after restore the contents from PLT procedure GIS server does not restart successfully, restart all the VMs helped to resolve the issues.

  2. All the VMs are currently shutdown.

How to

...

use the DR system?

DR system should be used only when the PILOT system is not functioning well and needs time to resolve the problems.

Restart all the VMs in TC-DevTest-EGIS-SandboxPLT-BXUeGISDR-RG with the following order:

  1. Restart egis-bxu-por0

  2. Restart egis-bxu-gis0

  3. Restart egis-bxu-ds0

  4. Restart egis-bxu-evt0

  5. Restart egis-bxu-web0Restore the latest backup

...

Watch plt-dr, the “Degraded“ will change to “Online“ once the DR system is running. Depending on the status of PILOT, bringing down PILOT may be required by “disable” plt in the above figure if plt still shows “Online“. This will make sure that https://egis-sige.tcgis.ca/portal is indeed from the DR system.

7. In order to make sure DR has the latest info on PILOT, restore the latest PLT backup on DR, using the following command from egis-bxu-por0 Powershell:

  • cd 'D:\DSC\PowerShell DSC'

  • PS C:\scripts\Site Backup\portal> ./RestoreSite –BackupPropertiesFile egis_backup_full.properties

8. If PLT is disabled manually from Traffic Manager in order to fix the errors on plt while having DR of PLT running, re-enable plt once problem gets resolved.