(→Rolling back a migration) |
(→Rolling back a migration) |
||
Line 1: | Line 1: | ||
= Rolling back a migration= | = Rolling back a migration= | ||
− | When | + | 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 | + | <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 | + | <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
- 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!