Jump to: navigation, search

Upgrading Interaction Recording Web Services

This page describes how to upgrade to the latest version of the Interaction Recording Web Services component in an existing GIR installation using Interaction Recording Web Services. If you are using Web Services and Applications and are trying to migrate to use the Interaction Recording Web Services component, refer to Migrating to Interaction Recording Web Services from Web Services and Applications for migration instructions.

Upgrading the Cassandra Schema for Interaction Recording Web Services

Important
  • If you are running both Web Services and Applications and Interaction Recording Web Services together (for example, if you are using Workspace Web Edition), a common database schema is used. Either follow the schema upgrade instructions below, or follow the schema instructions described in the Web Services and Applications Migration Guide.
  • Schema version 8.5.201.09 is used by all versions of RWS up until 8.5.202.19.
  • Schema version 8.5.201.79 or 8.5.201.84 (these versions are identical) is used by RWS versions from 8.5.202.19 until 8.5.202.70.
  • Schema version 8.5.202.34 is used by RWS versions 8.5.202.97 and later.
.

If you currently have Cassandra 1.2 installed:

Complete the following steps on one node where you have installed cassandra-cli:

  1. Make note of your current Interaction Recording Web Services (RWS) version.
  2. Copy the Interaction Recording Web Services install CD/data directory to the Cassandra node.
  3. In the data directory, notice that there are text files (for example, cf-schema-<version>.txt), for each version of RWS. Run all the Cassandra upgrade scripts after your currently installed version of RWS until the latest file, which is cf-schema-8.5.202.34.txt.
    For example, if your RWS version is 8.5.201.42, you will need the following scripts:
    • cf-schema-8.5.201.84.txt
    • cf-schema-8.5.202.34.txt

    Note: If you previously installed cf-schema-8.5.201.79.txt (delivered with previous releases), do not upgrade to cf-schema-8.5.201.84.txt, as the schema files are identical.

  4. For each appropriate cf-schema-<version>.txt file, run the following command to update the Cassandra schema:
    cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-<version>.txt

    ...where:
    cassandra_install_dir is where Cassandra is installed on the node.

    cassandra_host is the host name (FQDN) or IP address of the Cassandra node.


If you currently have Cassandra 2.2 installed:

Complete the following steps on one node where you have installed cqlsh:

  1. Make note of your current Interaction Recording Web Services (RWS) version.
  2. Copy the Interaction Recording Web Services install CD/data directory to the Cassandra node.
  3. In the data directory, notice that there are cql files (for example, cf-schema-<version>.cql), for each version of RWS that supports Cassandra 2.2. Run all the Cassandra upgrade scripts after your currently installed version of RWS until the latest file, which is cf-schema-8.5.202.34.cql.
    For example, if your RWS version is 8.5.201.75, you will need the following scripts:
    • cf-schema-8.5.201.84.cql
    • cf-schema-8.5.202.34.cql

    Note: If you previously installed cf-schema-8.5.201.79.cql (delivered with previous releases), do not upgrade to cf-schema-8.5.201.84.cql, as the schema files are identical.

  4. For each appropriate cf-schema-<version>.cql file, run the following command to update the Cassandra schema:
    cassandra_install_dir/bin/cqlsh cassandra_host -f cf-schema-<version>.cql

    ...where:
    cassandra_install_dir is where Cassandra is installed on the node.

    cassandra_host is the host name (FQDN) or IP address of the Cassandra node.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 15 May 2018, at 09:10.