Going To Production

Entering a ticket in SMGS for a LEIS release

SMGS Service Manager Gestions Service

https://tcmarin.atlassian.net/wiki/spaces/TT/pages/2540929027/Creating+Change+Requests+in+SMGS

Go to: TC SM-GS Production

1. Enter the previous production release ticket number in the top-right search box to view the change request as a reference. EG. C255243. Or go Change Management → Changes → Search Changes → Enter LEIS into Service field. Sort by Planned End.

2. Create a new Change by selecting ‘Open New Change’ from the left side menu and then selecting Software as a category.

3. Fill out the Change Details tab.

4. Enter an Impact Statement and Justification.

5. Explain the Backout Plan.

6. Attach the sign off email from the LEIS Product Owner.

7. Save

8. Once the Change is created, a Plan tab will be visible. Enter a customized plan for this release. Here is an example from the previous production release:

9. Full Text:

BEFORE RELEASE DATE ===================================== Task 1 RSIG team will place staging files to the staging location under \\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256998] ----------------------------------------------------------------------------------------- Task 2 RSIG team will notify APPS_WEB team (webtechnicalsupport-soutientechniqueweb@tc.gc.ca) about new staging files have been staged under \\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256998] ===================================== ON RELEASE DATE Task 3 APPS_WEB / Notify the RSIG team and confirm that LEIS PROD is going to be refreshed on 2023-11-02 (or another day) ----------------------------------------------------------------------------------------- Task 4 APPS_WEB / Stop the LEIS Services and notify the RSIG team ----------------------------------------------------------------------------------------- Task 5 APPS_WEB / Backup existing files for the: - Two LEIS Business Websites ((Internal Business and External Business) and - Two LEIS Security Websites ((Internal Security and External Security) - Four Services (Internal Business, Internal Security, External Business, External Security). ----------------------------------------------------------------------------------------- Task 6 APPS_WEB / Copy the new files from \\ncras22\CSSG Release\WEB Testing\LEIS\PROD [C256998] to the LEIS PROD servers and website physical folders. Install the services. ----------------------------------------------------------------------------------------- Task 7 APPS_WEB / Start the LEIS services APPS_WEB / Notify the RSIG team that LEIS PROD is ready. ----------------------------------------------------------------------------------------- Task 8 RSIG/ Perform a sanity check on the LEIS websites ----------------------------------------------------------------------------------------- Task 9 RSIG/ Email all participants (DL OTT Web Monitor Group) to upon completion of the change. ----------------------------------------------------------------------------------------- Task 10 RSIG/Confirmation of Successful Implementation By closing this task you are providing proof and confirmation of this Change has been completed & test results have met with expected or acceptable results

November2023 Deployment

[assembly: AssemblyVersion("1.4.0.0")]

[assembly: AssemblyFileVersion("1.4.0.0")]

  1. Create and pull branch eg. Production-November-2023

  2. Change versions and make other minor changes, create PR and merge it. Use user story eg.

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_workitems/edit/300745

  1. Pull production build brunch , eg Production-November-2023-Build

  2. Make changes to the config files, build and copy MSIs over to a local folder:

C:\github\DSD-RAIL-LEIS\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Business.Server\App.config C:\github\DSD-RAIL-LEIS\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Business.Server.Internal\App.config C:\github\DSD-RAIL-LEIS\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Security.Server\App.config C:\github\DSD-RAIL-LEIS\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Security.Server.Internal\App.config

 

  1. Make changesto LEIS.Business.Web Extrnal/Internal and publish to a local folder

.\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Business.Web\Web.config

  1. Make changes to EIS.Security.Web Extrnal/Internal publish to a local folder

.\Production-November-2023-Build\DSD-RAIL-LEIS\Development\LEIS.Security.Web\Web.config

  1. Validate the prod package stored in the local folder

  2. List of production folders:

LEIS External Business website - leis-siel (GART) LEIS External Security website - leisa-asiel (GART) LEIS Internal Business website - leis-siel (EIG) LEIS Internal Security website - leisa-asiel (EIG) LEIS.Business.Server.Installer (service) LEIS.Business.Server.Internal.Installer (service) LEIS.Security.Server.Installer (service) LEIS.Security.Server.Internal.Installer (service)

 

TC SM-GS Production

TC SM-GS Production

  1. To Clone: More ---> Copy Record

  2. Update Title and

Title

LEIS Release to Production v1.4

  1. Set Date (about 10 days away): Planned Start: 2023/11/02 09:00:00, Required Field 2023/11/02 10:00:00

4.Click Close (it will Close Current Phase)

5 Check for two emails:

Change C256998 phase Change Review - Title: LEIS Update to 1.4 Production - has been requested and assigned to your team

Change C256998 phase Change Review - Title: LEIS Update to 1.4 Production has been updated by TSIZISM.

  1. Update Plan and Click Close: changing Phase from Change Review to Change Assessment & Planning

 

 

 

 

 

User Story

300745

TC Service Manager (SM-GS) Production Ticket

TC SM-GS Production

C256998

Release Date

2023/11/02 (~10 days)

UNC Folder

\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256998]

Brunches

Production-November-2023, Production-November-2023-Build

Prev

\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256439]\LEIS\LEIS\

MSI ACC

C:\Temp\LEIS_MSI

Prev App.config

<add key="LEISDatabase" value="…" />

Web.config

Latest ACC

Ext: bus \\ncrws548\GACSwwwroot\secureacc\leis-siel, leisa-asiel ← sec

Int: bus \\ncrws548\TPwwwroot\eigacc\leis-siel, leisa-asiel ← sec

Remove Oracle.DataAccess.dll

Dir

Clone dir struct to \\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [CXXXXX]

Backup

Create "\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [CXXXXX]_backup.zip"

Notes

https://dev.azure.com/transport-canada/DSD-RAIL-LEIS/_workitems/edit/304959

"\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256998]\LEIS\LEIS\LEIS External Business website - leis-siel (GART)\Web.config"

"\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256998]\LEIS\LEIS\LEIS Internal Security website - leisa-asiel (EIG)\Web.config"

2023-07-18 Deployment

http://ncras700:30201/sm/index.do?lang=en

C256439

[assembly: AssemblyVersion("1.3.0.0")]

[assembly: AssemblyFileVersion("1.3.0.0")]

 

 

 

 

 

UNC Folder

\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C256439]

Brunch

Production-2023-07-18

Prev

\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [C255243]\LEIS\LEIS\

MSI ACC

C:\Temp\LEIS_MSI

Prev App.config

<add key="LEISDatabase" value="…" />

Web.config

Latest ACC

Ext: bus \\ncrws548\GACSwwwroot\secureacc\leis-siel, leisa-asiel ← sec

Int: bus \\ncrws548\TPwwwroot\eigacc\leis-siel, leisa-asiel ← sec

Remove Oracle.DataAccess.dll

Dir

Clone dir struct to \\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [CXXXXX]

Backup

Create "\\ncras22\CSSG Release\CSSG Staging\LEIS\PROD [CXXXXX]_backup.zip"

2022-11-2 Deployment

http://ncras700:30201/sm/index.do?lang=en

C255243

[assembly: AssemblyVersion("1.2.0.0")]

[assembly: AssemblyFileVersion("1.2.0.0")]