Jump to: navigation, search
(Rolling back a migration)
(Rolling back a migration)
Line 1: Line 1:
 
= Rolling back a migration=
 
= Rolling back a migration=
  
When you roll back a migration, you need to restore your data that you backed up before you started the migration. See [[MigPreparation#How_do_I_preserve_my_data_through_the_migration.3F|How do I preserve my data through the migration?]].
+
When rolling back a migration, restore the data backup that was created before the migration. See [[MigPreparation#How_do_I_preserve_my_data_through_the_migration.3F|How do I preserve my data through the migration?]].
 +
 
 +
{{Editgrn_open}}From Irina - needs steps to restore a backup{{Editgrn_close}}
  
 
'''Start'''
 
'''Start'''
Line 10: Line 12:
 
<ul><li>http://docs.datastax.com/en/cassandra/1.2/cassandra/operations/ops_backup_snapshot_restore_t.html
 
<ul><li>http://docs.datastax.com/en/cassandra/1.2/cassandra/operations/ops_backup_snapshot_restore_t.html
 
<li>https://docs.datastax.com/en/cassandra_win/2.2/cassandra/operations/opsBackupSnapshotRestore.html</li></li></ul>
 
<li>https://docs.datastax.com/en/cassandra_win/2.2/cassandra/operations/opsBackupSnapshotRestore.html</li></li></ul>
<li>Enable the Jetty service on old nodes:
+
<li>Enable the Jetty service on all nodes:
 
<source lang="text">chkconfig jetty9 enable</source></li>
 
<source lang="text">chkconfig jetty9 enable</source></li>
<li>Run GWS service on all old nodes
+
<li>Run GWS service on all nodes
 
<source lang="text">service jetty9 start</source></li>
 
<source lang="text">service jetty9 start</source></li>
 
<li>Enforce synchronization with ConfigServer  by using the OPS API:
 
<li>Enforce synchronization with ConfigServer  by using the OPS API:

Revision as of 17:30, October 31, 2016

Rolling back a migration

When rolling back a migration, restore the data backup that was created before the migration. See How do I preserve my data through the migration?.

From Irina - needs steps to restore a backup

Start

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

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