>>-cdr swap shadow--+-------------------------+-----------------> | (1) | '-| Connect Option |------' >-- --primaryname=repl_name-- --primaryid=repl_ID---------------> >-- --shadowname=shadow_name-- --shadowid=shadow_ID------------><
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
repl_name | Name of the primary replicate | The primary replicate participant attributes state, type (P or R), and table owner (O or I) must match the shadow replicate participant attributes. See Participant for information about the P, R, O and I options. | Long Identifiers |
repl_ID | Internal Enterprise Replication identification code for the primary replicate | ||
shadow_name | Name of the shadow replicate | The shadow replicate state must match the primary replicate
state.
Shadow replicate participants must match the primary replicate participants. |
Long Identifiers |
shadow_ID | Internal Enterprise Replication identification code for the shadow replicate |
The following table describes the cdr swap shadow options.
Use the cdr swap shadow command to switch a replicate with its shadow replicate as the last step in manually remastering a replicate that was created with the --name=n option. You create a shadow replicate using the cdr define replicate command with the --mirrors option. For more information on manual remastering, see Remastering a Replicate.
Use the onstat -g cat repls command to obtain the repl_ID and shadow_ID. Alternatively, you can query the syscdrrepl view in the sysmaster database.