Creating a DB2 snapshot database

If you created a snapshot using the Database FlashSnap feature, you can create a DB2 snapshot database from the secondary host. This is the equivalent of cloning the database from the primary host. You must know the password of the instance owner and there must be an existing snapshot.

See Database FlashSnap in the GUI.

Prerequisites

  • Make sure you have enough space to create a clone database on your system.

  • You must have an existing snapshot.

To create a DB2 snapshot database

  1. Access the DB2 Create Snapshot wizard.

    See “To access DB2 database wizards in the Java GUI”.

    See Accessing database management tasks in the Web GUI.

  2. In the Authentication section, enter the password for the UNIX user name. The user name is a read-only field.

  3. For the "Primary database information" section, enter the DB2 Instance and DB2 Database information.

  4. Create or restart the database by clicking the appropriate radio button:

    • Select Startup database to start a new snapshot database based on a snapshot.

    • Select Restart databaseto restart an existing snapshot database.

  5. Enter the snapshot database information in the appropriate fields:

    • The New DB2 Database.

    • Snapplan file.

    • The volume name field is required to start an off-host snapshot database.

    • Snapshot disk group name

    • The Relocate path is required to start an on-host snapshot database.

    • You can obtain this information by viewing the details after you create a snapshot. If you did not retain the information from the snapshot creation, you can use the db2ed_vmchecksnap command or use View Log via the GUI to retrieve the information.

  6. Click Start Database.

  7. At the confirmation prompt, click Yes to confirm that you want to start the database.

    If the snapshot database was successfully started, you will receive a confirmation message. Click OK to continue.

More Information

Creating a snapplan