Jump to: navigation, search
(Rollback to 8.5.201.29+)
(Rolling back a migration)
Line 1: Line 1:
 
= Rolling back a migration=
 
= Rolling back a migration=
  
{{#Widget:ExtLink|link=EXTERNAL_LINK|displaytext=DISPLAY_TEXT}}==Rollback to 8.5.201.29+==
+
==Rollback to 8.5.201.29+==
  
 
{{Chgbar_open}}'''Start'''
 
{{Chgbar_open}}'''Start'''
  
# Stop Web Services and Applications.</li>
+
# Stop the Web Services and Applications service.
 
# Uninstall the Web Services and Applications RPM package.
 
# Uninstall the Web Services and Applications RPM package.
 
# Restore the files that you backed up during the upgrade:
 
# Restore the files that you backed up during the upgrade:
Line 19: Line 19:
 
'''Start'''
 
'''Start'''
  
<ol>
+
# Stop the Web Services and Applications service.
<li>Perform the steps in [[MigRollbackMigration#Rollback_to_8.5.201.29.2B|Rollback to 8.5.201.29+]].</li>
+
# Make Oracle Java 7 the default on the host.
<li>To rollback your Java version, do one of the following:
+
# Restore the following files that you backed up during the upgrade:
<ul>
+
#* '''/etc/init.d/gws'''
<li>Downgrade the default Java on the node; or</li>
+
#* '''/etc/default/gws'''  
<li>Update the '''JAVA''' variable in '''/etc/default/gw''' file to specify the Java 7 version.</li></li></ul></ol>
+
# Start Web Services and Applications.
  
 
'''End'''
 
'''End'''
Line 32: Line 32:
 
'''Start'''
 
'''Start'''
  
<ol>
+
# Stop the Web Services and Applications service.
<li>Perform the steps in [[MigRollbackMigration#Rollback_to_8.5.201.18|Rollback to 8.5.201.18]].
+
# Make Oracle Java 7 the default on the host.
<li>Stop and disable auto-run Web Services and Applications on the node.
+
# Restore the files that you backed up during the upgrade:
<source lang="text">chkconfig gws disable; service gws stop</source></li>
+
# Start Web Services and Applications.
<li>If Jetty was installed as a service on the node, re-enable the Jetty service using the following command:
 
<source lang="text">chkconfig jetty9 enable</source></li>
 
<li>Run the previous version of Web Services and Application, do one of the following:
 
<ul><li>If Jetty is installed as a service, use the following command:
 
<source lang="text">service jetty9 start</source></li>
 
<li> If Jetty is not installed as a service, run your Jetty initialization script.</li></ul>
 
</ol>
 
  
 
'''End'''
 
'''End'''

Revision as of 15:46, January 17, 2017

Rolling back a migration

Rollback to 8.5.201.29+

Start
  1. Stop the Web Services and Applications service.
  2. Uninstall the Web Services and Applications RPM package.
  3. Restore the files that you backed up during the upgrade:
    • /etc/init.d/gws
    • /etc/default/gws
  4. Start Web Services and Applications.
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. Stop the Web Services and Applications service.
  2. Make Oracle Java 7 the default on the host.
  3. Restore the following files that you backed up during the upgrade:
    • /etc/init.d/gws
    • /etc/default/gws
  4. Start Web Services and Applications.

End

Rollback to 8.5.201.09

Start

  1. Stop the Web Services and Applications service.
  2. Make Oracle Java 7 the default on the host.
  3. Restore the files that you backed up during the upgrade:
  4. Start Web Services and Applications.

End

Recover Cassandra from a snapshot

If the rollback to previous version is not successful, the cause might be database data corruption. In this case, restore the Cassandra database from the snapshot that you took before the migration. Detailed instruction depends on your Cassandra version and can be obtained here:

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