Jump to: navigation, search
(Created page with "= Rolling back a migration= Category:V:HTCC:8.5.2DRAFT")
 
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?]].
 +
 +
'''Start'''
 +
 +
<ol><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>
 +
<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:
 +
<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>Enable the Jetty service on old nodes:
 +
<source lang="text">chkconfig jetty9 enable</source></li>
 +
<li>Run GWS service on all old nodes
 +
<source lang="text">service jetty9 start</source></li>
 +
<li>Enforce synchronization with ConfigServer via OPS API:
 +
<source lang="text">/api/v2/ops/genesys-environments/ON_PREMISE_ENVIRONMENT/synchronization</source> </li>
 +
 +
'''End'''
 +
 
[[Category:V:HTCC:8.5.2DRAFT]]
 
[[Category:V:HTCC:8.5.2DRAFT]]

Revision as of 18:39, October 21, 2016

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 How do I preserve my data through the migration?.

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 old nodes:
    chkconfig jetty9 enable
  4. Run GWS service on all old nodes
    service jetty9 start
  5. Enforce synchronization with ConfigServer via OPS API:
    /api/v2/ops/genesys-environments/ON_PREMISE_ENVIRONMENT/synchronization
  6. End

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