(→Rollback to 8.5.201.18) |
(→Rollback to 8.5.201.09) |
||
Line 37: | Line 37: | ||
'''Start''' | '''Start''' | ||
− | <ol><li>Stop and disable auto-run on all new GWS nodes that were run during the migration. | + | <ol> |
+ | <li>Perform the steps in [[MigRollbackMigration#Rollback_to_8.5.201.18|Rollback to 8.5.201.18]]. | ||
+ | <li>Stop and disable auto-run on all new GWS nodes that were run during the migration. | ||
<source lang="text">chkconfig gws disable; service gws stop</source></li> | <source lang="text">chkconfig gws disable; service gws stop</source></li> | ||
<li>Restore the Cassandra database from the snapshot you took before the migration. Detailed instruction depends on your Cassandra version and can be obtained here: | <li>Restore the Cassandra database from the snapshot you took before the migration. Detailed instruction depends on your Cassandra version and can be obtained here: |
Revision as of 15:34, December 16, 2016
Contents
Rolling back a migration
Rollback to 8.5.201.29+
Start
- Stop Web Services and Applications on the node with command: service gws stop
- 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
- Perform the steps in Rollback to 8.5.201.29+.
- 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
- Perform the steps in Rollback to 8.5.201.18.
- Stop and disable auto-run on all new GWS nodes that were run during the migration.
chkconfig gws disable; service gws stop
- Restore the Cassandra database from the snapshot you took before the migration. Detailed instruction depends on your Cassandra version and can be obtained here:
- Enable the Jetty service on all nodes:
chkconfig jetty9 enable
- Run GWS service on all nodes
service jetty9 start
- Enforce synchronization with ConfigServer by using the OPS API:
/api/v2/ops/genesys-environments/ON_PREMISE_ENVIRONMENT/synchronization
End
Comments or questions about this documentation? Contact us for support!