Consultor Eletrônico



Kbase P184136: What is dsrutil applyextent?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/03/2011
Status: Unverified

GOAL:

What is dsrutil applyextent?

GOAL:

What are the steps to take when transitioning a target if the source is inoperable?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge Replication

FIX:

In a situation where a source database has been run in asynchronous mode but is inoperable yet access is possible to the AI files of the target database then the target database can be transitioned to a source. However the target database may need notes from one or more of the source database AI files to be manually rolled forward before bringing the target online as the new source / normal database.

Stop the target database and restart it manually, using the normal target database startup parameters.
Do not use the force option when stopping the target.

$ proshut target -by
$ proserve target [+ startup parameters ] -DBService replagent

Once the target database is started, run the following commands from the same directory as the target database:

1.) TriggerTransition so that the target database agent goes into the pre-transition state, which allows AI files to be applied.
$ dsrutil <dbname> -C triggerTransition

2.) Find the next ai file that needs to be rolled forward. For detailed information, please refer to Solution P128467, "How to determine the correct ai extent number to apply to target first?"
$ dsrutil target -C recovery agent

3.) Apply the needed ai files with the fully qualified path to the ai extent from the directory that the database.db file is in.
$ dsrutil <dbname> -C applyextent <path>/<ai_extent.a#>

4.) Transition the target if this is the intent, otherwise restart the target database for communications to resume between the RPLS and RPLA once synchronization has been completed.