Upgrade Open iT Core Server for Linux from v6.2.1.5 to 6.5.0.22

Issue #

  • Upgrade Open iT Core Server to higher version for Linux installations.

Environment #

  • Linux

Resolution #

Upgrade from 6.2.1.5 to 6.5.0.22

Best Practice #

Rename existing installation (no need to uninstall, and it will also serve as backup)

  • mv /etc/opt/openit /etc/opt/openit.old
  • mv /opt/openit /opt/openit.old
  • mv /var/opt/openit /var/opt/openit.old

Install #

  1. Install Open iT Core Server v6.5.0.22
  2. Refer to openit.cfg for the configuration
  3. Target directory = ROOT_DIR
  4. Software run as [openit] = SERVER_UID_NAME openit & SERVER_GID_NAME openit
  5. Database Path = ROOT_DATA_DIR
  6. Reports Path = ROOT_HTML_DIR
  7. ABSOLUTE PATH for temporary data area [/var/opt/openit] = ROOT_TEMP_DIR
  8. Server Hostname = SERVER
  9. Domain = DOMAIN

Update files and configurations #

  1. Update license > cat /tmp/backup/etc/license >> /var/opt/openit/etc/license
  2. Restart openit service > /opt/openit/bin/openit-all stop & start
  3. Update system.s3db and map.dbl
  4. Copy old system.s3b to new > cp /tmp/backup/db/system.s3db /opt/openit/db/general
  5. Go to /opt/openit/db/general/ and execute the following commands.
    • sqlite3 system.s3db < ./sql/5.sql
    • sqlite3 system.s3db < ./sql/6.sq
    • sqlite3 system.s3db < ./sql/7.sql
    • sqlite3 system.s3db < ./sql/8.sql
  6. Copy old map.dbl to new > cp /tmp/backup/db/map/map.dbl /opt/openit/db/map
  7. Go to /opt/openit/db/map/ and execute the following commands.
    • sqlite3 map.dbl < ./sql/6.sql
  8. If there is virtual mapping, copy the acc_types of the old server to the new one or modify the new
  9. restart openit service > /opt/openit/bin/openit-all stop & start
  10. install patch bundle
  11. Check filtrator for the existing mapping configured > less /tmp/backup/etc/filtrator/olap-license-total-usage.conf
  12. run contrib bin files > /opt/openit/contrib/bin/

Check Web Interface #

  1. Login > will prompt to change password
  2. All tabs if working
  3. Check users, group, mapping
  4. Update automatic data regeneration
X