NCS v2.x – Update procedure

NCS v2.x – Update procedure

Introduction
The purpose of this document is to explain how to update the NCS software. 
In the steps below, the assumption is made that the NCS software has been installed on the C drive. If this is not the case, please adapt all commands accordingly.

Backup the existing installation 
1) Download the new release from http://update.nixxis.net/v2.4/ and copied it on the Nixxis Application Server in the folder:
C:\NixxisMaintenance\Update\[CurrentAmericanFormatDate]
2)    Unblock the zip file :
a.     Right click on this one 
b.     “Properties” 
c.     “Unblock”
3)     Open the event diagnostic’s page (http://[app_server_IP]:8088/eventserver) and check that no agent is working.

4)
    
Stop the “ContactRoute Application Server” services (net stop crappserver from an administrator command prompt) 

5)     Backup the old log files from C:\Nixxis\Logs (if necessary). 

6)
    
Backup the Nixxis files
a.     Copy the existing Nixxis installation (C:\Nixxis folder) to the folder “C:\NixxisMaintenance\Backup\[CurrentAmericanFormatDate]\
7)     Backup the Databases: 
a.     Edit the C:\Nixxis\Tools\Sql\NixxisSqlBackup.sql file backup script on the SQL Server with “Sql Server Management Studio”. 

b.     Before running the script, look for the line below and make sure the file PATH is pointing to an existing place and that there is sufficient disk space available

set @cmd ='BACKUP DATABASE [' + @name + '] TO DISK = N''D:\Backup\NixxisSQL.bak'' WITH NOFORMAT… 

8)     Backup the Medias:
a.     Create “C:\NixxisMaintenance\Backup\[CurrentAmericanFormatDate]\MediaServer”
b.     Backup the following folders from the media server:
i        /usr/sbin 
ii       /etc/asterisk
iii      /srv/www
iv     /var/lib/asterisk
        to Backup\[CurrentAmericanFormatDate]\MediaServer
Install the Update 
1)     Install the update software by copying the new files into the existing Nixxis directory, overwriting the old files. 

2)     Start the Nixxis services “ContactRoute Application Server” (net start crappserver from an administrator command prompt). 

3)     When the services are started for the first time after an update it will take notably longer than usual. This is normal, the application service is updating the database layout. The log files will contain multiple errors. 

4)     Stop the Nixxis services “ContactRoute Application Server”. 

  Check the process list and wait until the services have disappeared. Delete the logs. 


5)     Use an FTP client, transfer the files from Windows “C:\NixxisMaintenance\Update\[CurrentAmericanFormatDate]\MediaServer” to their respective folders on the media server

6)     Care: If you have custom configurations on the files under /etc/asterisk (example nixxis.conf) you need to adapt the file files consequently. Same applies for files under /etc/asterisk/nixxis you will need to adapt the files if they are custom configurations that have been made.

7)     Do an Asterisk reload after copying all the files on the media

8)     Restart the Nixxis services “ContactRoute Application Server”. 

9)     The services should start at normal speed and the errors should no longer be present in the log file. 

Test the update
You can now operate tests of the different modules: agent, supervision, reporting etc.


    • Related Articles

    • NCS v3.x - Upgrade and configuration procedure (EN)

      Introduction The purpose of this document is to explain how to update the NCS software from version 2.x to 3.x In the steps below, the assumption is made that the NCS software has been installed on the C: drive. If this is not the case, please adapt ...
    • NCS v3.x - Procédure de mise à niveau et de configuration 3.0 vers 3.1.x (FR)

      Introduction Le but de ce document est d'expliquer comment mettre à jour le logiciel NCS de la version 3.0 à la version 3.1.x Dans les étapes ci-dessous, on suppose que le logiciel NCS a été installé sur le disque C:. Si ce n'est pas le cas, veuillez ...
    • NCS v2.x - Installation and configuration procedure

      Introduction The purpose of this document is to guide you through the installation and the configuration process of Nixxis Contact Suite V2.x Application Server. 1. Prerequisites General prerequisites: The related documentation is available online ...
    • NCS v3.x - Installation and configuration procedure

      Introduction The purpose of this document is to guide you through the installation and the configuration process of Nixxis Contact Suite V3.x Application Server. 1. Prerequisites General prerequisites: Important to make sure prerequisites are ...
    • NCS v3.x - Installation and configuration procedure (EN)

      Introduction The purpose of this document is to guide you through the installation and the configuration process of Nixxis Contact Suite V3.x Application Server. 1. Prerequisites General prerequisites: Important to make sure prerequisites are ...