Important
For a Kinetica instance with multiple nodes, the head node should be upgraded first.
There are two items of note when upgrading Kinetica from the 6.0 release to version 6.1.
The text search storage configuration changed between versions and will automatically update on starting Kinetica 6.1 for the first time. During initialization, the update will convert the storage for any columns in existing tables marked as being text-searchable. This will increase the initial startup time proportionally to the number of columns being converted. Note that Kinetica will not be available while the conversion takes place. After the update, Kinetica should start quickly, as before.
The versions of Reveal between 6.0 & 6.1 are incompatible with respect to the slice configuration. However, slices can be converted manually with little difficulty. Within Reveal, simply click Slices to navigate to the slices listing, then, for each slice:
Once all slices have been saved, the upgrade to Kinetica 6.1 is complete.
Stop Kinetica from the head node:
service gpudb stop
Verify that Kinetica is stopped:
service gpudb status
Important
For 6.1 to newer 6.1 upgrades only, stop the Host Manager service on every node:
service gpudb_host_manager stop
/opt/gpudb/persist
--
defined in the gpudb.conf
file (backing up these directories is
optional, especially if the disk space is not available)/opt/gpudb/core/etc
directory/opt/gpudb/httpd/conf
directory/opt/gpudb/connectors/reveal/
directory/opt/gpudb/connectors/odbcserver/
directory/opt/gpudb/tomcat/conf/catalina.properties
file/opt/gpudb/tomcat/webapps/gadmin/WEB-INF/classes/gaia.properties
file/opt/gpudb/persist
--
defined in the gpudb.conf
file (backing up these directories is
optional, especially if the disk space is not available)If there are additional nodes in the Kinetica cluster, scripts included with the Kinetica install can be run on the head node to simplify the process after the head node has been upgraded.
On the head node:
Download the new, desired package
Install the latest package
On RHEL:
If upgrading 6.1 to a newer 6.1 with the same hardware & licensetype:
sudo yum upgrade gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.rpm
Otherwise:
sudo yum install gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.rpm
On Debian-based:
sudo dpkg -i /path/to/pkg/gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.deb
After dependencies are installed and additional backups are created,
Kinetica will verify the installation. Reply y
to continue, and
Kinetica will attempt to merge your current configuration files with the
new files. Note that the Modified Value
is the value in your current
configuration file, the Default Value
is the value in the package's
default configuration file, and the Merged Value
is the value used after
reconciling the current and default configuration files. For example:
Merging /opt/gpudb/core/etc/gpudb-upgrade-backup-2017-08-16_07-25-14.conf and /opt/gpudb/core/etc/gpudb.conf.template into /opt/gpudb/core/etc/gpudb.conf
| Option | Modified Value | Default Value | Merged Value |
| | (...ackup-2017-08-16_07-25-14.conf) | (...b/core/etc/gpudb.conf.template) | (...gpudb/core/etc/gpudb.conf) |
+--------------------------------------------+-------------------------------------+-------------------------------------+--------------------------------+
gaia/enable_authorization | true | false | true
gaia/enable_reveal | true | false | true
gaia/enable_httpd_proxy | true | false | true
gaia/enable_odbc_connector | true | false | true
gaia/head_ip_address | <ip_address> | 127.0.0.1 | <ip_address>
...
Important
The ODBC .ini configuration files (found in
/opt/gpudb/connectors/odbcserver/client/etc
and
/opt/gpudb/connectors/odbcserver/bin
are not
automatically merged, so they'll need to be manually
merged with the package's default ODBC configuration files
to utilize any new configuration settings.
On the worker nodes:
Copy the installer from the head node to the worker nodes using the
/opt/gpudb/core/bin/gpudb_hosts_rsync_to.sh
file like so:
/opt/gpudb/core/bin/gpudb_hosts_rsync_to.sh /path/to/pkg/gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.rpm /desired/worker/node/directory
Install the latest package
On RHEL:
If upgrading 6.1 to a newer 6.1 with the same hardware & licensetype*:
/opt/gpudb/core/bin/gpudb_hosts_ssh_execute.sh --skip-head "sudo yum upgrade gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.rpm"
Otherwise:
/opt/gpudb/core/bin/gpudb_hosts_ssh_execute.sh --skip-head "sudo yum install gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.rpm"
On Debian-based:
/opt/gpudb/core/bin/gpudb_hosts_ssh_execute.sh --skip-head "sudo dpkg -i /path/to/pkg/gpudb-<gpuhardware>-<licensetype>-<version>.<architecture>.deb"
After dependencies are installed and additional backups are created,
Kinetica will verify the installation on the worker nodes. Reply y
to
continue, and Kinetica will attempt to merge your current configuration
files with the new files. Note that the Modified Value
is the value in
your current configuration file, the Default Value
is the value in the
package's default configuration file, and the Merged Value
is the value
used after reconciling the current and default configuration files. For
example:
Merging /opt/gpudb/core/etc/gpudb-upgrade-backup-2017-08-16_07-25-14.conf and /opt/gpudb/core/etc/gpudb.conf.template into /opt/gpudb/core/etc/gpudb.conf
| Option | Modified Value | Default Value | Merged Value |
| | (...ackup-2017-08-16_07-25-14.conf) | (...b/core/etc/gpudb.conf.template) | (...gpudb/core/etc/gpudb.conf) |
+--------------------------------------------+-------------------------------------+-------------------------------------+--------------------------------+
gaia/enable_authorization | true | false | true
gaia/enable_reveal | true | false | true
gaia/enable_httpd_proxy | true | false | true
gaia/enable_odbc_connector | true | false | true
gaia/head_ip_address | <ip_address> | 127.0.0.1 | <ip_address>
...
Important
The ODBC .ini configuration files (found in
/opt/gpudb/connectors/odbcserver/client/etc
and
/opt/gpudb/connectors/odbcserver/bin
are not
automatically merged, so they'll need to be manually
merged with the package's default ODBC configuration files
to utilize any new configuration settings.
Start Host Manager on all nodes (if it is not running already):
service gpudb_host_manager start
Verify Host Manager is running on all nodes:
service gpudb_host_manager status
To start Kinetica, from the head node:
service gpudb start