Detach mirror copy

If you are using geographic mirroring and want to access the mirror copy to perform save operations or data mining, or to create reports, you must detach the mirror copy from the production copy. You detach the mirror copy by accessing the production copy of the disk pool.

Note: When you reattach the detached mirror copy, a complete synchronization is required between the production and the mirror copies. Synchronization can be a lengthy process.
To detach the mirror copy, follow these steps:
  1. It is recommended that you make the independent disk pool unavailable to ensure the production copy is not altered while the detach is being performed. See Make the independent disk pool unavailable.
  2. In iSeries™ Navigator, expand My Connections (or your active environment).
  3. Expand the server that owns the production copy of the disk pool from which you want to detach the mirror copy.
  4. Expand Configuration and Service > Hardware > Disk Units > Disk Pools.
  5. Right-click the production copy of the Disk Pool you want to detach and select Geographic Mirroring > Detach Mirror Copy.
  6. If Geographic Mirroring > Detach Mirror Copy cannot be clicked, because it is disabled. The mirror copy is not in sync with the production copy, so geographic mirroring must be resumed, the disk pool varied on, and production and mirror copies synchronized before the mirror copy can be detached.

Before you make the detached mirror copy available, you should create a second, unique device description for the independent disk pool that differentiates it from the production copy. A separate device description for the mirror copy prevents two instances of the same database in the network. It will also simplify work done outside of iSeries Navigator. Use the detached mirror copy device description to make the detached mirror copy available.