Upgrading to a later version of SQL Monitor retains your current monitoring data in the Data Repository. SQL Monitor updates the Data Repository database schema to the newer version during installation.
How do I know when an upgrade is available?
When an upgrade is available, SQL Monitor displays a message above the product name banner:
Click the link for information about the upgrade, and a link to download the installer.
Before you upgrade to a later version, we recommend that you back up your current Data Repository. Once the upgrade is completed, you won't be able to roll back to a previous version of your Data Repository database.
Upgrading from SQL Monitor v2 or v3 to SQL Monitor v4
If you upgrade with a support and upgrades package, the v2 or v3 licenses expire and SQL Monitor reactivates them as v4 licenses.
If reactivation fails, or the v2 or v3 license doesn't include support and upgrades, SQL Monitor deletes the serial numbers from the Configuration > Licensing page and starts a 14-day trial of v4. You cannot roll back to the previous version.
If your v2 or v3 license doesn't include support and upgrades, we recommend that you install a trial version of v4 on a separate machine. When you're ready to purchase v4 licenses, you can add the support and upgrades package to make upgrading easier.
- To find your serial numbers, go to http://www.red-gate.com/myserialnumbers and enter your email address and password.
- To find out if your license includes a valid support and upgrade package, go to http://www.red-gate.com/upgrade and enter your serial number.
- To purchase a v4 license with the support and upgrades package, contact email@example.com.
Installing the upgrade
To install the upgrade:
- Download the installer to the machine that hosts the SQL Monitor Web Server.
- Run the installer, and follow the wizard to re-install the Web Server and Base Monitor.
On the Set up Data Repository page, the Data Repository details are entered for you. You don't need to set up the Data Repository again.
- Under Connect to Data Repository database using, enter the credentials for an account with db_owner permissions.
SQL Monitor uses these credentials to upgrade the Data Repository after installation.
- Click Next. The installer prompts you to take a backup of the Data Repository before continuing:
- When you've backed up the Data Repository database, complete the rest of the wizard and click Install.
All the components are installed. SQL Monitor will tryto upgrade the database schema as soon as the web service is running.
- If you open SQL Monitor in your browser before the upgrade is complete, you'll see the schema upgrade progress bar:
If the upgrade is successful, your browser displays the Enter password page or the Global Overview.
If the upgrade is not successful, an error page is displayed.
Updating the physical path in IIS
If you've upgraded SQL Monitor from v2 or v3, you need to change the physical path to the SQL Monitor web server configured in IIS.
Change the path from C:\Program Files\Red Gate\SQL Monitor 2 or C:\Program Files\Red Gate\SQL Monitor 3 to C:\Program Files\Red Gate\SQL Monitor 4 .
For full instructions, see Change the physical path of application content (TechNet).
If you encounter an error when upgrading, refer to the error message highlighted in the box. These error messages are returned by SQL Server, not SQL Monitor.
The most common reason for a failed Data Repository upgrade is that the account entered doesn't have sufficient permissions to modify the database. Enter an account with db_owner permissions and click Retry Upgrade.