Difference between revisions of "Server Migrations"

From TMS Support Wiki
Jump to navigation Jump to search
Line 4: Line 4:
=Summary of a server migration=
=Summary of a server migration=
In reality a TMSi technician will take the lead on many of these steps but they are included here for the sake of completeness.
In reality a TMSi technician will take the lead on many of these steps but they are included here for the sake of completeness.
==Application server move==
<ol>
<ol>
<li>Review the [[High Level Design Document]] for the recommended server specs and required server software components for the latest version of PTS.</li>
<li>Review the [[High Level Design Document]] for the recommended server specs and required server software components for the latest version of PTS.</li>
<li>Remote in to the existing application server.</li>
<li>Make a copy of the PTSWeb directory (usually C:\inetpub\wwwroot\PTSWeb\).</li>
<li>Copy the directory to the new server. Mount it in IIS as a .NET 4.6 application.</li>
<li>Test the application.</li>
<li>Take a backup of the existing PTS database. This backup is for rolling back the update if the need arises.</li>
<li>Take a backup of the existing PTS database. This backup is for rolling back the update if the need arises.</li>
<li>Update PTS on the existing server to the latest release.</li>
<li>Update PTS on the existing server to the latest release.</li>
<li>Test that the update was successful.</li>
<li>Test that the update was successful.</li>
<li>Take another backup of the existing PTS database from the old database server. This backup will be used for the migration.</li>
<li>Install PTS on the new application and database server/s. This will manifest a vanilla instance of the latest version of the software on the new server/s.</li>
<li>Replace the newly installed vanilla database with the latest backup from the old server.</li>
<li>On each PC hosting PTS barcode scanners, uninstall the PTS Comms Client software, and then [[PTS Comms Client Download Page|download]] and [[PTS Comms Client Installation|re-install]] the appropriate PTS Comms version, being sure to enter the new URL when prompted.</li>
<li>On each PC hosting PTS barcode scanners, uninstall the PTS Comms Client software, and then [[PTS Comms Client Download Page|download]] and [[PTS Comms Client Installation|re-install]] the appropriate PTS Comms version, being sure to enter the new URL when prompted.</li>
<li>[[Label Printer Installation|Re-map any networked label printers onto the new server]].</li>
<li>[[Label Printer Installation|Re-map any networked label printers onto the new server]].</li>
<li>Recreate any [[Patient Record (PAS) Lookup|patient record lookup data sources]].</li>
<li>Update desktop and intranet shortcuts with the new PTS URL.</li>
<li>Update desktop and intranet shortcuts with the new PTS URL.</li>
</ol>
</ol>
==Database server move==
<ol>
<li>Review the [[High Level Design Document]] for the recommended server specs and required server software components for the latest version of PTS.</li>
<li>Take a backup of the existing PTS database. This backup will be used for the migration.</li>
<li>Create a new "PharmacyDB" database on the new database server, and then replace it using the backup from the old server.</li>
<li>Verify that the PTS SQL user carried over properly and has dbo permission over the new database. If not, create it anew.</li>
<li>Modify the connection string used by PTS in its web.config file so that it points to the new database location.</li>
<li>Test the application is connecting to the database.</li>
</ol>
==Patient record (PAS) application move==
See the [[Patient Record (PAS) Lookup]] page.
==SSRS server move==
Only TMSi can configure SSRS for use with PTS. Contact us to arrange this.

Revision as of 11:25, 12 July 2022

PTS server migrations are not that different to fresh installations of the PTS server software. The crucial difference, of course, is the use of a database backup from your existing PTS database server so your data carries over.

This document aims to briefly summarise the steps involved in a PTS server migration.

Summary of a server migration

In reality a TMSi technician will take the lead on many of these steps but they are included here for the sake of completeness.

Application server move

  1. Review the High Level Design Document for the recommended server specs and required server software components for the latest version of PTS.
  2. Remote in to the existing application server.
  3. Make a copy of the PTSWeb directory (usually C:\inetpub\wwwroot\PTSWeb\).
  4. Copy the directory to the new server. Mount it in IIS as a .NET 4.6 application.
  5. Test the application.
  6. Take a backup of the existing PTS database. This backup is for rolling back the update if the need arises.
  7. Update PTS on the existing server to the latest release.
  8. Test that the update was successful.
  9. On each PC hosting PTS barcode scanners, uninstall the PTS Comms Client software, and then download and re-install the appropriate PTS Comms version, being sure to enter the new URL when prompted.
  10. Re-map any networked label printers onto the new server.
  11. Recreate any patient record lookup data sources.
  12. Update desktop and intranet shortcuts with the new PTS URL.

Database server move

  1. Review the High Level Design Document for the recommended server specs and required server software components for the latest version of PTS.
  2. Take a backup of the existing PTS database. This backup will be used for the migration.
  3. Create a new "PharmacyDB" database on the new database server, and then replace it using the backup from the old server.
  4. Verify that the PTS SQL user carried over properly and has dbo permission over the new database. If not, create it anew.
  5. Modify the connection string used by PTS in its web.config file so that it points to the new database location.
  6. Test the application is connecting to the database.

Patient record (PAS) application move

See the Patient Record (PAS) Lookup page.

SSRS server move

Only TMSi can configure SSRS for use with PTS. Contact us to arrange this.