Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Control groups that have a QCLD prefix will cause BRMS to automatically create and transfer media to the cloud during a backups.

...

After a QCLDBxxxxx control group has been copied to QCLDUuuuuu, QCLDUuuuuu will be associated with the move policy that was created by BRMS for the cloud resource. The move policy associated with the control group can be changed but the move policy that is used must contain a cloud location at sequence 10 otherwise automatic cloud transfers will not work properly.

Example

A demonstration of this example is presented in the following videos:

BRMS_Automatic_cloud_transfers.mp4

...

BRMS_Additional_cloud_transfer_information.mp4

...

This example requires that product IBM Cloud Storage Solutions for i is installed on the system and the following BRMS PTF(s) must be installed on a stand-alone BRMS system or on all the systems in a BRMS network:

...

  1. Create a cloud resource by running one of the following commands:

    • CRTFPRICC

    • CRTSLRICC

NOTE: The following commands can be used to verify that the cloud resource is functioning correctly:

  • CPYTOCLD

  • CPYFRMCLD

  1. Configure BRMS objects required to use the cloud resource:

    • INZBRM OPTION(*DATA)

  2. The pre-defined cloud control groups that BRMS created for the cloud resource should be setup to work as defined.  To simplify this example, copy one of the pre-defined control groups:

    • WRKCTLGBRM TYPE(*BKU)

      • specify 3=Copy next to QCLDBUSR01

        • specify QCLDUUSR01 for the New Name field

  3. Create a library to save to the cloud:

    • CRTLIB LIB(CLDLIB)

  4. Change the entries in the control group to save the library created in the previous step:

    • WRKCTLGBRM TYPE(*BKU)

      • specify 2=Change entries next to QCLDUUSR01

        • clear all entries from the control group by removing all the numbers from the Seq column

        • add and entry for library CLDLIB:

          • Seq - 10

          • Backup Items - CLDLIB

          • Let the remaining fields use default values.

    • WRKCTLGBRM TYPE(*BKU)

      • specify 8=Change attributes next to QCLDUUSR01

        • specify *NONE for the  Automatically backup media information field

  5. Run the control group:

    • STRBKUBRM CTLGRP(QCLDUUSR01) SBMJOB(*NO)

  6. View the media to verify that it is at the cloud location:

    • WRKMEDBRM FILEGRP(QCLDUUSR01)

      • verify the volume is in *ACT status

      • verify the location is the cloud resource created in step 2

  7. Delete the library:

    • DLTLIB LIB(CLDLIB)

  8. Restore the library:

    • WRKMEDIBRM CTLGRP(QCLDUUSR01)

      • specify 7=Restore next to the saved item

        • specify 1=Select next to the saved item

  9. Verify that the library was restored:

    • DSPLIB LIB(CLDLIB)

  10. View the media to verify that it is at the home location:

    • WRKMEDBRM FILEGRP(QCLDUUSR01)

      • verify the volume is in *ACT status

      • verify the location is *HOME

...