Start of change

Starting partition mirroring

Follow the instructions in this section to start partition mirroring when you are on the Start Partition Mirroring step of the Migrate While Active migration guide for partition mirroring.

Starting partition mirroring

These instructions are reached by clicking View Documentation on the Start Partition Mirroring step in the Migrate While Active migration guide for partition mirroring.

Figure 1. Start Partition Mirroring step in the Db2 Mirror GUI
Start Partition Mirroring step in the Db2 Mirror GUI

Starting the partition mirroring listener on the copy node

The partition mirroring listener task is started by connecting to the 5250 console of the copy node and running an advanced analysis command from Dedicated Services Tools (DST) menus.

  1. Establish a 5250 console connection to the copy node.

  2. Restart the copy node in manual mode by using the following CL commands.

    Note: Skip this step if you already did this when you configured the service tools server LAN adapter.
    Tip: If the copy node is not already powered on, you can perform a manual B-mode IPL from your system management console user interface instead, such as from a Hardware Management Console (HMC) or the IBM Cloud®. Set the keylock position to manual and IPL source to B before starting the partition.
    1. Change the QIPLTYPE system value to 1 (Attended IPL with dedicated service tools).

      QSYS/CHGSYSVAL SYSVAL(QIPLTYPE) VALUE('1')
    2. Restart the copy node from the B side.

      QSYS/PWRDWNSYS OPTION(*IMMED) RESTART(*YES) IPLSRC(B)

      To confirm power down, press F16.

  3. Wait for the IPL or Install the System panel to appear.

  4. On the IPL or Install the System panel, select option 3 (Use Dedicated Service Tools).

    Figure 2. Use Dedicated Services Tools (DST) on the copy node
    Use Dedicated Services Tools (DST) on the copy node
  5. On the Dedicated Service Tools (DST) Sign On panel, type your service tools user and password and then press Enter to log in.

  6. Select option 7 (Start a service tool) from the Use Dedicated Service Tools (DST) menu.

  7. Select option 1 (Display/Alter/Dump) from the Start a Service Tool menu.

  8. Select option 1 (Display/Alter storage) from the Display/Alter/Dump Output Device menu.

  9. Select option 2 (Licensed Internal Code (LIC) data) from the Select Data menu.

  10. Select option 14 (Advanced analysis) from the Select LIC Data menu.

  11. From the Select Advanced Analysis Command panel, page down several pages to find the PARTITIONMIRRORING command and under Option type a 1 next to it. Press Enter.

    Figure 3. Select Advanced Analysis Command panel
    Select Advanced Analysis Command panel
  12. Use the Token generator provided in the Db2® Mirror GUI to generate the parameter string that will be passed to the PARTITIONMIRRORING command.
    1. In the token generator form, enter a passphrase and press Generate.
    2. Click Copy to copy the parameter string to your clipboard.
    Important: The generated passcode is valid for 20 minutes. Complete the next few steps to start partition mirroring before the passcode expires.
  13. From the Specify Advanced Analysis Options panel, next to Options paste the generated parameter string. Press Enter to run the command.

    Figure 4. Specify Advanced Analysis Options panel
    Specify Advanced Analysis Options panel

    The result of running the command is shown on the Display Formatted Data panel.

    Figure 5. Display Formatted Data panel
    Display Formatted Data panel
  14. Press F3 until the Exit Dedicated Service Tools panel appears. Select option 1 (Exit Dedicated Service Tools) and press Enter to exit DST.

    Important: Do not perform an IPL of the copy node. The copy node must be started and remain at DST when using partition mirroring.
    Important: You cannot use the Work with disk units option from the DST menu or the System Service Tools (SST) menu on either node when performing certain partition mirroring actions (such as start, pause, or resume). Exit the Work with disk units function before performing actions that change the state of partition mirroring.
  15. Return to the Db2 Mirror GUI and click Start Replication to begin partition mirroring.

    Before data replication starts, the minimum software level and storage capacity of the copy node is validated.

End of change