This document is intended to guide you through upgrading your existing SQL Server instances to a higher version of SQL Server. Covered within are the two options offered; upgrading of the MedicalDirector instances using the SQL Server Upgrade Utility, or the complete removal of your SQL instances and the fresh install of SQL instances.
Before You Begin
Introduction
When installing SQL Server , ensure you select the correct installer for the Operating System platform you will be using (32bit only, 64bit only or the combination 32/64bit version).
Ensure you have checked the "Recommended System Requirements for MedicalDirector Products " BEFORE you begin.
Prerequisites for SQL Server
Microsoft SQL Server setup requires the following prerequisites to be installed:
Windows Installer 4.5
Microsoft .Net Framework 3.5 SP1
Powershell v2.0 (For XP & 2003 operating systems)
The Windows Installer 4.5 and .Net Framework 3.5 SP1 can be installed independently, or they can be installed by the SQL Server 2008 installer.
It is advisable that you refer to Microsoft SQL user guide for the version of SQL you are installing.
HCN SQL Specific Options for HCN Instances
Instance Name: must match those listed above (i.e. HCNSQL07 and ESP)
Service Account: must use the built-in System Account – Local System
Authentication Mode: must be Mixed Mode
SA Password: must adhere to the strong password rules (e.g. HcnTemp123$)
Collation Settings: leave as the defaults automatically detected by the Microsoft Installer
Upgrade instances using SQL Server
The screen shots shown below may differ to those displayed in your environment, depending on the version of SQL you are installing. Always refer to Microsoft support help if you are unsure. |
Perform a full backup via MedicalDirector Maintenance. If you encounter any errors please contact MedicalDirector Customer Service.
Stop the following services;
Start > Run > Services.msc
Locate and highlight each service (where available, depending on software version), and select ‘Stop’.
HCN Service Manager
HCN Integrated service
HCN Automatic updater
MDXi
SMS Scheduling Agent
Start the SQL Server installer.
Select the Upgrade option.
Step though the wizard to the Select Instance Screen.
Use the drop down box Select HCNSQL07.
Click Next to upgrade the database.
Repeat steps 3 to 5 for the ESP instance.
Once completed close the Installer and open Clinical / Pracsoft to test.
Run Clinical / Pracsoft to ensure all is working correctly and that the most recent patient data is available, including any correspondence recorded.
Upgrade Instances via a Full Uninstall and Reinstall
Perform a full backup via MedicalDirector Maintenance. If you encounter any errors please contact MedicalDirector Customer Service .
Does the site have a default (C: drive) install of the Medical Director Clinical/Pracsoft program? You will need to check and make note of where the following is installed, for the reinstallation.
SQL location. If unsure, check the following:
MedicalDirector Maintenance > Common > Database Properties > Database Tab
32-bit OS: HKey_Local_Machine > Software\Health Communication Network\Server Components\Database\HCN key
64-bit OS (3.12+): HKey_Local_Machine > Software\WOW6432Node\Health Communication Network\Server Components\Database\HCN key
Medical Director Clinical/Pracsoft installed location e.g. C drive, D drive
32-bit OS: HKey_Local_Machine > Software\Health Communication Network\Medical Director\Path
64-bit OS (3.12+): HKey_Local_Machine > Software\WOW6432Node\Health Communication Network\Medical Director\Path
ManageEzy installed location. If unsure check the configuration:
Open MedicalDirector Maintenance > Configuration, Document Server to display the Manage Ezy location
32 Bit OS: HKey_Local_Machine > Software\Health Communication Network\Manage Ezy Server
64 Bit OS (3.12+): HKey_Local_Machine > Software\WOW6432Node\Health Communication Network\Manage Ezy Server
Insert the Medical Director Clinical/Pracsoft DVD. When the Installation Wizard starts, follow the prompts through to the ‘Computer Role’ Screen
Click ‘Enable Advanced Options’ and then click ‘Uninstall Role’.
Start > Control Panel > Add/Remove Programs or Programs & Features
Uninstall any remaining items beginning with HCN, Manage Ezy or Medicare Online.
If you are unable to uninstall via Add/Remove Programs or Programs & Features, due to Install Shield issues, you will need to use the Microsoft Installer Cleanup Utility. This utility needs to be used with extreme caution.
Rename the following folders and Windows Registry Keys, by adding a suffix consisting of the current date. For example, the ‘Health Communication Network’ folder becomes ‘Health Communication Network 25-03-11’.
For 32 Bit Operating Systems:
Folder: C:\Program Files\Health Communication Network\
Registry Key: HKey_Local_Machine > Software\Health Communication Network\
Registry Key for TS sites: HKEY_Current_User > Software\Health Communication Network\
For 64 Bit Operating Systems (3.12+):
Folder: C:\Program Files(x86)\Health Communication Network\
Registry Key: HKey_Local_Machine > Software\WOW6432Node\Health Communication Network\
Registry Key for TS sites: HKEY_Current_User > Software\WOW6432Node\Health Communication Network\
SQL Installation Steps
Ensure you are logged in as a user with Administrator privileges.
Start the SQL Installer.
Planning Menu Screen
Run the System Configuration Checker
This will identify any potential issues that could prevent a successful installation. Any issues discovered must be fixed before continuing with the installation.
Installation Menu Screen
Run the New SQL Server stand-alone installation or add features to an existing installation option.
This will identify any potential problems that might occur when installing SQL Server Setup support files. Any issues discovered must be rectified before continuing with the wizard.
If no issues are discovered, click the OK button to continue with the installation.
Product Key Screen
If you are installing one of the Full variations of SQL Server (i.e. not the Express version) you will be prompted to enter a Product Key.
Alternatively you can install as an evaluation version (subject to Microsoft’s policy on evaluation versions, which can include a trial period), by selecting from the drop down box.
Feature Selection Screen
Select the components of SQL Server which you wish to install. Select a feature to read a brief description about it in the right-hand panel.
Note: The Analysis Server and Reporting Services items can be de-selected, as they are not required for MedicalDirector software.
Instance Configuration Screen
Specify a named instance. MedicalDirector software requires the following instance names be used:
HCNSQL07
ESP
HCNMOB07 (for HCN Mobility role installs)
Disk Space Requirement Screen
You will be notified of the disk space required for the installation of SQL Server. Resolve any disk space issues before continuing.
Service Accounts Tab
SQL Server Browser entry has the Account Name of the built-in System Account – Local System
Startup Type is set to Automatic.
Database Engine Configuration Screen, Account Provision Tab
Select Mixed Mode authentication.
The SA Password must adhere to ‘strong password’ rules (e.g. HcnTemp123$).
SQL Server Administrators, click the Add Current User button.
Optional: Data Directories Tab, to specify a non-default installation directory. If required, you can select to install the Databases in a different folder other than the default location. If you are unsure, leave the folder locations with their default values.
Error and Usage Reporting Window
Read the options provided and select as desired.
Installation Rules Windww
A summary will appear, if there are no issues identified, click Next to continue with the installation
Should any issues be identified, they must be resolved before setup can proceed.
Ready to Install Window
Review the features selected, click the Install button to begin the installation of SQL Server.
Installation Progress screen
Progress can be monitored on this screen, click the Next button to see the installation summary report.
Complete window
The location for the SQL Server Installation Summary log is provided.
Click Close to complete the SQL Server installation.
SQL Server Configuration Manager, via Start > All Programs
Click on Protocols for HCNSQL07SQL Server Network Configuration.
Make sure the following protocols are enabled;
Shared memory
Named Pipes
TCP\IP
Repeat on the ESP instance
Restart the Instance Services
Start > Run > Type Services.msc
Locate, highlight & restart the following services
SQL SERVER (HCNSQL07)
SQL SERVER (ESP)
Reinstall Clinical and/or Pracsoft using the CD for the version of Medical Director Clinical/Pracsoft you originally had installed.
Remember to access ‘Advanced Options’ during the installation, if you do not use a default C: Drive
Install all MedicalDirector updates and MDref updates to match what is installed on the workstation computers.
Note: If the computer is a Terminal Service computer, you will need to ensure that the Terminal Service Manager (Control Panel > Administrator Tools > Terminal Service Manager) lists only the ‘Console’ login. No other login should be displayed (even if it is in a disconnected state).
Install any secondary software required (MedicalDirector GPRN Extractor, NSW HealthELink, etc).
Restore your Medical Director Clinical/Pracsoft Backup.
Run Clinical / Pracsoft to ensure all is working correctly and that the most recent patient data is available, including any correspondence recorded.