Virtual media from an image catalog is transferred to the cloud when the media is moved to a cloud location. Media can be moved to a cloud location by using one of these methods:
WRKMEDBRM
option 2=ChangeWRKMEDBRM
option 8=MoveMOVMEDBRM
MOVMEDBRM
with a subsequent VFYMOVBRM
STRMNTBRM MOVMED(*YES)
A demonstration of this example is presented in the following videos:
BRMS_Manual_Cloud_Transfer.mp4 (~12MB)
BRMS_Additional_cloud_transfer_information.mp4 (~3MB)
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:
NOTE: If a BRMS network contains a 6.1 system please contact a service representative before applying the PTF(s) to any of the systems in the BRMS network.
This example assumes Media and Storage Extensions (product 5770SS1 option 18) is installed on the system so it uses virtual tape media. If Media and Storage Extensions is not installed on the system, virtual optical media can be substituted in the example.
This scenario will save a single empty library to virtual tape media, manually transfer the media to the cloud and then automatically transfer media back to the system during a restore.
CRTFPRICC
CRTSLRICC
Note: The following commands can be used to verify that the cloud resource is functioning correctly:
CPYTOCLD
CPYFRMCLD
INZBRM OPTION(*DATA)
CRTDEVTAP DEVD(BRMSCLDTAP) RSRCNAME(*VRT)
VRYCFG CFGOBJ(BRMSCLDTAP) CFGTYPE(*DEV) STATUS(*ON)
CRTIMGCLG IMGCLG(BRMSCLDTAP) TYPE(*TAP) DIR('/tmp/BRMSCLDTAP') CRTDIR(*YES)
ADDIMGCLGE IMGCLG(BRMSCLDTAP) FROMFILE(*NEW) TOFILE(*GEN) VOLNAM(BRMCLD)
LODIMGCLG IMGCLG(BRMSCLDTAP) DEV(BRMSCLDTAP)
WRKDEVBRM
WRKCLSBRM TYPE(*MED)
ADDMEDBRM VOL(BRMCLD) MEDCLS(BRMSCLDTAP) IMGCLG(BRMSCLDTAP)
WRKPCYBRM TYPE(*MED)
CRTLIB LIB(CLDLIB)
SAVLIBBRM LIB(CLDLIB) DEV(BRMSCLDTAP) MEDPCY(BRMSCLDTAP)
WRKMEDBRM VOL(BRMCLD)
DLTLIB LIB(CLDLIB)
RSTLIBBRM SAVLIB(CLDLIB) DEV(BRMSCLDTAP)
DSPLIB LIB(CLDLIB)