Subject: | Restore Database Script to Disable alerts and set the system to TEST Mode |
Summary: | When a database is restored for the purpose of testing, we have found that alerts are sent out before we get a chance to set the MODE to "Test" To prevent this, here are the suggestions: - By default, schedules should be OFF. Users restoring databases should set the MODE to TEST before enabling the scheduler
- Create a script named: LT_SYS_RestoreDatabase_TestMode that will set the mode to TEST and disable all processes except important processes. To run the script, use: EXEC LT_SYS_RestoreDatabase_TestMode
|
Audit Notes: | Edited by sanjay on 27/08/21 13:10. |
27 Aug 2021 | 10:03AM Comment 1 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 01-09-2021 09:10 AM Time Taken: 1.00 |
| PART A - Development work for this case has been completed. 1. The change will be available in version:13.00.0827 2. The following changes were made(Include Database object names, Program classes, and any other relevant information): - Created procedure to change the system to test mode. The following tasks will be performed:
1. Admin user is reset 2. Processes for API, Alerts, Database Backup & Health Check is disabled 3. Process Maintenance Schedulers is disabled 4. Email notifications are marked as deleted 5. All integration is disabled 6. VMS is disabled
3. Affected Areas: - Utility script to apply after restoring database on test environment
5. Next Step (Review and System Test (Developer) -> UAT (Quality) -> Documentation):UAT
|
|
27 Aug 2021 | 03:09PM Comment 2 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 01-09-2021 02:55 PM Time Taken: 1.00 |
|
The following tests were performed: Table 1 - Test Results
# | Test Case Details | Pass/Fail | Comments | 1 | - Set the admin password to 12.
- Enable below processes
- Health Check
- FMISSQLAPI
- backup
- Enable "Email, Integration and Maintenance" schedulers
- Create emails in the email log with status as "Ready
- Enable VMS
- Set the mode to Live
Execute procedure "LT_SYS_RestoreDatabase_TestMode" - Validate that the mode is changed to "Test
- Admin password should be updated to "admin
- Validate items enabled in 2,3,5 in above are disabled
- Validate that the qued emails are deleted
| Pass | | Environment Details - OS version:
- Application version:13.00.086GA
- Setup on:
- Server:LinkQA4
- Database: UAT-LINKSOFT
- LinkSOFT URL: HTTP://10.0.0.13/LINKSOFT
- Login Details: Standard username and password for user "admin"
Next Step: Closure
|
|
30 Aug 2021 | 09:26AM Comment 3 by Sanjay (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 01-09-2021 09:26 AM Time Taken: 1.00 |
| Thanks Rashna |
|