Update Nodinite from v4 to Nodinite v5
On this page you will learn how to update Nodinite v4 to Nodinite v5.
Looking for a partner to help you update? Please contact any of our certified Partners
This guide assumes you have Nodinite version 4 installed, which also means that all Prerequisites are already in place.
Nodinite 5.0 still only requires .NET Framework 4.5 for most parts. Nodinite 5.1 and later versions require .NET Framework 4.6 or later.
You must have access to old accounts and their passwords since they must be re-entered during the install and update process.
You must be allowed to manage instances, see Install and Update Tool - Access Rights
Review IIS Authentication settings - You MUST use multiple app pools configured with 1 unique for each Web application. The installer stops and restarts the different App Pools automatically during the update.
Make sure that you have at least the highlighted 4 App Pools on your Nodinite IIS Windows Server (change name according to your environment...)
If you change the App Pool configuration you must make sure changes are updated in the
settings.json file for the Update client.
The update process will usually take 1 hour for a test environment, and somewhat longer depending on the number and size of Log Databases to be updated. 1 hour is an estimate including replacing all Monitoring Agents and Log Agents
You must download the following components and install them in the following order:
- New installer (Install and Update tool)
- New Core Services Package
- New Agents
- Make a copy of the
app.im.jsonfile and store it in a safe place where you rename it as
- Install the new Nodinite Install and update tool
- This step is described in the Installing and Configuring - Install and Update Tool user guide
- Replace the
settings.jsonfile in the new folder structure with the file from step 1
the file is now located in the
- Reload the browser and make sure all old environments are now listed in the Update/Configure menu pane:
sample list of environments
Follow the steps detailed in the Packages user guide
- Follow the steps detailed in the updating existing instance of nodinite user guide
Remember you must update ALL Log Databases before you can click on the Update all button. This is the most time-consuming step.
- Download the latest MSI
- Verify the agent to update is really installed on the server you seek to update.
- Make a note of the Service Account being used before you install the new version of the agent. The old service name will be replaced with a new one.
- Install the latest version of agent to new folder structure and re-use the account from previous step.
- From the old location, copy the
*agent*.jsonfile to the new location where it is now called
Some agents provide Metrics, make sure to copy the
Metrics.jsonfile if one exists
- Restart agent
- Change the Service URL from IM to Nodinite
- Verify configuration (make sure all settings still apply)
Some agents have a new Culture property available in the Settings tab, make sure to set a value as appropriate for your time zone
- Remove the old folder for the agent (the old folder should now only contain a few files)
Repeat step 5 for each agent to update
If the account for the agent is not local admin you may need to allow the agent to communicate on the new Endpoint (previous installations had /IM which is now /Nodinite, see Port 8000 user guide for additional information)
netsh http add urlacl url=http://+:8000/Nodinite user=DOMAIN\user
DOS command that grants the service account
DOMAIN\USER allowance to the url access control list
The following TSQL scripts may be useful when you want to change the names of existing Log Databases.
This script creates another TSQL Script that can be used to rename all existing databases in your SQL Instance with a name like the @prefix variable.
Change the @prefix parameter as appropriate and run from the Master database
DECLARE @sql NVARCHAR(max) ='' DECLARE @prefix NVARCHAR(255) = 'IMLog_DEMO_' DECLARE @length INT SET @length = LEN(@prefix) ;WITH imlogdatabases (Name) as (SELECT name From sys.databases Where name Like (@prefix + '%'))--'IM_Log_PROD_%') Select @sql += 'ALTER DATABASE [' + l.Name + '] Modify Name = [NodiniteLog_PROD_' + Substring(l.name, @length +1, 255) +']' + CHAR(13)+CHAR(10) --SELECT * FROM imlogdatabases l ORDER BY name Print @@Rowcount Print @sql
Creates a script to change the names of existing Log Databases
Change the @prefix parameter as appropriate and run from the Configuration Database
DECLARE @sql NVARCHAR(max) ='' DECLARE @prefix NVARCHAR(255) = 'IMLog_PROD_' DECLARE @length INT SET @length = LEN(@prefix) ;WITH imlogdatabases ([Database]) as (SELECT [Database] From LogTables Where [Database] Like (@prefix + '%'))--'IM_Log_PROD_%') Select @sql += 'UPDATE LogTables SET [Database] = ''NodiniteLog_PROD_' + Substring(l.[Database], @length +1, 255) +'''' + ' WHERE [Database] = ''' + l.[Database] + '''' + CHAR(13)+CHAR(10) FROM imlogdatabases l ORDER BY [Database] Print @@Rowcount Print @sql
Creates a script to update the LogTables table in Configuration Database
If you still have any questions, or have trouble updating, please contact if applicable your partner with 1st line support or issue a ticket with us at firstname.lastname@example.org