Home | Previous Page | Next Page   Migration to a Later Version of a Database Server > Migrating to Dynamic Server 10.0 with Enterprise Replication >

Reverting from Dynamic Server 10.0 with Enterprise Replication

You can only use the following procedures to revert from Dynamic Server 10.0 to Dynamic Server 9.40, 9.30, 9.2x, or 7.31.

When you revert from Version 10.0 to an earlier version of Dynamic Server with Enterprise Replication:

The procedure for reverting to Dynamic Server 9.40 or 9.30 is slightly different than the procedure for reverting to Dynamic Server 9.2x or 7.31. To revert to Dynamic Server 7.31, the database server must be an Enterprise Replication root server (the uppermost level in a hierarchically organized set of database servers).

To revert to Dynamic Server 9.40 or 9.30 from Dynamic Server 10.0 with Enterprise Replication
  1. Stop applications doing replicatable transactions.
  2. You cannot revert if Enterprise Replication is in Alter mode, so make sure Enterprise Replication is not in Alter Mode. Use onstat -g cat repls to see if Enterprise Replication is in Alter mode. If it is in Alter mode, change the mode.
  3. Delete shadow replicates.
  4. Make sure that control and TRG send queues are empty:
    • Run onstat -g grp to ensure that grouper does not have any pending transactions.
    • Run onstat -g rqm to check for queued messages.
  5. Shut down Enterprise Replication with the following command:
    cdr stop
  6. Back up the syscdr databases with dbschema or UNLOAD.
  7. Run the reversion script, named revcdr.sh, in the $INFORMIXDIR/etc/conv directory on UNIX, or revcdr.bat, in the %INFORMIXDIR%\etc\conv directory on Windows:
    % sh revcdr.sh 10.0 9.30

    This script does a reversion test followed by the actual Enterprise Replication reversion.

  8. If the reversion test or actual reversion fails, then check the file $INFORMIXDIR/etc/revtestcdr.out or revcdr.out, respectively. Attempt reversion after resolving problems reported.
  9. Perform database server reversion tasks, as described in Reverting from Dynamic Server 10.0 to Versions 9.40, 9.30, 9.2x, 7.3x, or 7.24.
  10. Run onmode -l and onmode -c. If you do not do this after reversion and before starting Enterprise Replication, the database server might fail when you start Enterprise Replication.
  11. Start Enterprise Replication:
    % cdr start
To revert to Dynamic Server 9.2x or 7.31 from Dynamic Server 10.0 with Enterprise Replication
  1. Drop all replicate sets.
  2. Drop any replicate that contains a smart large object or user-defined data type.
  3. Stop applications doing replicatable transactions.
  4. Make sure that control and TRG send queues are empty:
    • Run onstat -g grp to ensure that grouper does not have any pending transactions.
    • Run onstat -g rqm to check for queued messages.
  5. Shut down Enterprise Replication with the following command:
    cdr stop
  6. Back up the syscdr databases with dbschema or UNLOAD.
  7. Run the reversion script, named revcdr.sh, in the $INFORMIXDIR/etc/conv directory on UNIX, or revcdr.bat, in the %INFORMIXDIR%\etc\conv directory on Windows:
    % sh revcdr.sh 10.0 to_version

    Valid to_version values are:

    9.21
    9.20
    7.31

    This script does a reversion test followed by the actual Enterprise Replication reversion.

  8. If the reversion test or actual reversion fails, then check the file $INFORMIXDIR/etc/revtestcdr.out or revcdr.out, respectively. Attempt reversion after resolving problems reported.
  9. Drop the Enterprise Replication sbspaces.
  10. Perform database server reversion tasks, as described in Reverting from Dynamic Server 10.0 to Versions 9.40, 9.30, 9.2x, 7.3x, or 7.24.
  11. Run onmode -l and onmode -c. If you do not do this after reversion and before starting Enterprise Replication, the database server might fail when you start Enterprise Replication.
  12. Start Enterprise Replication:
    % cdr start
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]