Topics
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 #
- Install Open iT Core Server v6.5.0.22
- Refer to openit.cfg for the configuration
- Target directory = ROOT_DIR
- Software run as [openit] = SERVER_UID_NAME openit & SERVER_GID_NAME openit
- Database Path = ROOT_DATA_DIR
- Reports Path = ROOT_HTML_DIR
- ABSOLUTE PATH for temporary data area [/var/opt/openit] = ROOT_TEMP_DIR
- Server Hostname = SERVER
- Domain = DOMAIN
Update files and configurations #
- Update license > cat /tmp/backup/etc/license >> /var/opt/openit/etc/license
- Restart openit service > /opt/openit/bin/openit-all stop & start
- Update system.s3db and map.dbl
- Copy old system.s3b to new > cp /tmp/backup/db/system.s3db /opt/openit/db/general
- 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
- Copy old map.dbl to new > cp /tmp/backup/db/map/map.dbl /opt/openit/db/map
- Go to /opt/openit/db/map/ and execute the following commands.
- sqlite3 map.dbl < ./sql/6.sql
- If there is virtual mapping, copy the acc_types of the old server to the new one or modify the new
- restart openit service > /opt/openit/bin/openit-all stop & start
- install patch bundle
- Check filtrator for the existing mapping configured > less /tmp/backup/etc/filtrator/olap-license-total-usage.conf
- run contrib bin files > /opt/openit/contrib/bin/
Check Web Interface #
- Login > will prompt to change password
- All tabs if working
- Check users, group, mapping
- Update automatic data regeneration