Jump to: navigation, search
(Update with the copy of version: 8.5.2DRAFT)
(Update with the copy of version: 8.5.2DRAFT)
Line 1: Line 1:
=Upgrading from 8.5.201.61 to 8.5.202.23=
+
=Upgrading from 8.5.201.61 to 8.5.202.34=
  
 
Use this procedure to upgrade from 8.5.201.61.
 
Use this procedure to upgrade from 8.5.201.61.
Line 5: Line 5:
 
<ol>
 
<ol>
 
<li> Stop Web Services and Applications on the node.</li>
 
<li> Stop Web Services and Applications on the node.</li>
<li> Copy the '''installation_CD/gws-8.5.202.23.noarch.rpm''' file to a local folder.</li>
+
<li> Copy the '''installation_CD/gws-8.5.202.34.noarch.rpm''' file to a local folder.</li>
 
<li> Perform the upgrade using the RPM package manager:  
 
<li> Perform the upgrade using the RPM package manager:  
 
<source lang="text">
 
<source lang="text">
rpm -Uvh [--prefix installation_location] gws-8.5.202.23.noarch.rpm
+
rpm -Uvh [--prefix installation_location] gws-8.5.202.34.noarch.rpm
 
</source></li>
 
</source></li>
 
<li> Update the Cassandra schema:
 
<li> Update the Cassandra schema:
Line 18: Line 18:
 
<source lang="text">
 
<source lang="text">
 
cqlsh cassandra_host --file cf-schema-8.5.201.84.cql
 
cqlsh cassandra_host --file cf-schema-8.5.201.84.cql
 +
</source></li>
 +
<li> Copy the '''cf-schema-8.5.202.34.cql''' file from <tt>/installation_path/gws/data/updates</tt> to the Cassandra node host.</li>
 +
<li> Run the following command:
 +
<source lang="text">
 +
cqlsh cassandra_host --file cf-schema-8.5.202.34.cql
 
</source></li>
 
</source></li>
 
</ol></li>
 
</ol></li>
Line 27: Line 32:
 
cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-8.5.201.84.txt
 
cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-8.5.201.84.txt
 
</source></li>
 
</source></li>
</ol></li>
+
<li> Copy the '''cf-schema-8.5.202.34.txt''' file from <tt>/installation_path/gws/data/updates</tt> to the Cassandra node host.</li>
 +
<li> Run the following command:
 +
<source lang="text">
 +
cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-8.5.202.34.txt
 +
</source></li>
 +
</ol>
 +
</li>
 
</ul></li>
 
</ul></li>
 +
 
<li> Start Web Services and Applications according to [[Documentation:HTCC:Dep:StartHTCC|Starting and testing]].</li>
 
<li> Start Web Services and Applications according to [[Documentation:HTCC:Dep:StartHTCC|Starting and testing]].</li>
 
<li> After all Web Services and Applications nodes are upgraded and started, update ElasticSearch:
 
<li> After all Web Services and Applications nodes are upgraded and started, update ElasticSearch:

Revision as of 05:29, May 4, 2018

Upgrading from 8.5.201.61 to 8.5.202.34

Use this procedure to upgrade from 8.5.201.61.

  1. Stop Web Services and Applications on the node.
  2. Copy the installation_CD/gws-8.5.202.34.noarch.rpm file to a local folder.
  3. Perform the upgrade using the RPM package manager:
    rpm -Uvh [--prefix installation_location] gws-8.5.202.34.noarch.rpm
  4. Update the Cassandra schema:
    • If you are using Cassandra 2.x:
      1. Copy the cf-schema-8.5.201.84.cql file from /installation_path/gws/data/updates to the Cassandra node host.
      2. Run the following command:
        cqlsh cassandra_host --file cf-schema-8.5.201.84.cql
      3. Copy the cf-schema-8.5.202.34.cql file from /installation_path/gws/data/updates to the Cassandra node host.
      4. Run the following command:
        cqlsh cassandra_host --file cf-schema-8.5.202.34.cql
    • If you are using Cassandra 1.2:
      1. Copy the cf-schema-8.5.201.84.txt file from /installation_path/gws/data/updates to the Cassandra node host.
      2. Run the following command:
        cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-8.5.201.84.txt
      3. Copy the cf-schema-8.5.202.34.txt file from /installation_path/gws/data/updates to the Cassandra node host.
      4. Run the following command:
        cassandra_install_dir/bin/cassandra-cli -h cassandra_host --file cf-schema-8.5.202.34.txt
  5. Start Web Services and Applications according to Starting and testing.
  6. After all Web Services and Applications nodes are upgraded and started, update ElasticSearch:
    • If you use embedded Elasticsearch, run the following script on one Web Services and Applications node:
      /installation_path/gws/tools/rebuild-es-index.sh
    • If you use standalone Elasticsearch:
      1. Copy files from the /installation_path/gws/elasticsearch/templates folder to the templates folder on each Elasticsearch node.
      2. Run the following script on one Web Services and Applications node:
        /installation_path/gws/tools/rebuild-es-index.sh
Comments or questions about this documentation? Contact us for support!