Jump to: navigation, search
(Rollback to 8.5.201.09)
(Rollback to 8.5.201.18)
Line 26: Line 26:
 
'''Start'''
 
'''Start'''
  
# Perform the steps in [[MigRollbackMigration#Rollback_to_8.5.201.29.2B|Rollback to 8.5.201.29+]].
+
<ol>
# To rollback your Java version, do one of the following:
+
<li>Perform the steps in [[MigRollbackMigration#Rollback_to_8.5.201.29.2B|Rollback to 8.5.201.29+]].</li>
## Downgrade the default Java on the node; or
+
<li>To rollback your Java version, do one of the following:
## Update the '''JAVA''' variable in '''/etc/default/gw''' file to specify the Java 7 version.
+
<ul>
 +
<li>Downgrade the default Java on the node; or</li>
 +
<li>Update the '''JAVA''' variable in '''/etc/default/gw''' file to specify the Java 7 version.</li></li></ul></ol>
  
 
'''End'''
 
'''End'''

Revision as of 15:35, December 16, 2016

Rolling back a migration

Rollback to 8.5.201.29+

Start

  1. Stop Web Services and Applications on the node with command: service gws stop
  2. Depending on how the new version was installed, do one the following:
    • If the new version was installed in the same folder where previous version was located, repeat the installation procedure for previous version.
    • If the new version was installed in a separate folder, update the GWS_HOME variable in the /etc/default/gws file to point on folder where the previous version is located, for example:
      # GWS_HOME
      #   defines the home folder of Genesys Web Service and Applications that is used for looking the JAR-file and configuration files.
      GWS_HOME="/usr/share/gws/8.5.201.29"

End

Rollback to 8.5.201.18

Since this version uses Java 7, you need to rollback your Web Services and Applications version and specify Java 7. The method by which you rollback your Java version depends on the method by which you upgraded the version.

Start

  1. Perform the steps in Rollback to 8.5.201.29+.
  2. To rollback your Java version, do one of the following:
    • Downgrade the default Java on the node; or
    • Update the JAVA variable in /etc/default/gw file to specify the Java 7 version.

End

Rollback to 8.5.201.09

Start

  1. Perform the steps in Rollback to 8.5.201.18.
  2. Stop and disable auto-run on all new GWS nodes that were run during the migration.
    chkconfig gws disable; service gws stop
  3. Restore the Cassandra database from the snapshot you took before the migration. Detailed instruction depends on your Cassandra version and can be obtained here:
  4. Enable the Jetty service on all nodes:
    chkconfig jetty9 enable
  5. Run GWS service on all nodes
    service jetty9 start
  6. Enforce synchronization with ConfigServer by using the OPS API:
    /api/v2/ops/genesys-environments/ON_PREMISE_ENVIRONMENT/synchronization
  7. End

Comments or questions about this documentation? Contact us for support!