Setting up Db2 Mirror using commands

Db2® Mirror can be configured without using the GUI. Perform these steps to set up and clone using SQL procedures and Qshell commands.

SQL procedures are used as well as the Qshell command db2mtool. The commands provided by Db2 Mirror are referred to as the Db2 Mirror tools. See db2mtool command reference for more details on the db2mtool command and Db2 Mirror services for more information on the SQL procedures.

  1. Define node names and host names for Db2 Mirror on the setup source node.
  2. Configure network redundancy groups (NRGs) on the setup source node.
  3. Set the default inclusion state for SYSBAS objects on the setup source node.
  4. Add independent auxiliary storage pools (IASPs) to Db2 Mirror on the setup source node.
  5. Configure the replication criteria list (RCL) on the setup source node.
  6. Configure the cluster on the setup source node.
  7. Configure the Network Time Protocol (NTP) client on the setup source node.
  8. Store setup copy node configuration settings in the meta_data.json configuration file.
  9. Store storage and cloning attributes in the clone_info.json configuration file.
  10. Install hardware management console (HMC) security certificates on the managing node.
  11. Run precheck.
  12. Clone SYSBAS.
  13. Verify SYSBAS clone is complete.
  14. Clone database IASPs.