RHEL 8.x Spectrum Protect Configure Tape, Define the class and storage pool creation

From Notes_Wiki

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Configure Tape, Define the class and storage pool creation

  1. Tape installation files are
    lin_tape-3.0.59-1.src.rpm
    lin_taped-3.0.59-rhel8.ppc64le.rpm
  2. Rebuild the src rpm
    rpmbuild --rebuild lin_tape-3.0.59-1.src.rpm
  3. Install the rpm files
    rpm -ivh /root/rpmbuild/RPMS/ppc64le/lin_tape-3.0.59-1.ppc64le.rpm
    rpm -ivh lin_taped-3.0.59-rhel8.ppc64le.rpm
  4. Get the below details
    cd /proc/scsi
    cat IBMchanger
    cat IBMtape

Configure the tape device

  1. Configure the device
    dsmadmc
    > DEFINE LIBRARY TS4300 LIBTYPE=SCSI SERIAL=AUTODETECT SHARED=YES AUTOLABEL=NO RESETDRIVE=NO
    > DEFINE PATH GPBKPSRV TS4300 SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=/dev/IBMchanger0 ONLINE=YES
    > DEFINE DRIVE TS4300 TAPE0 ELEMENT=autodetect ONLINE=Yes SERIAL=AUTODETECT
    > DEFINE PATH GPBKPSRV TAPE0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TS4300 DEVICE=/dev/IBMtape0 ONLINE=YES

Define the Device class

  1. Define the Device class
    > DEFINE DEVCLASS LTOCLASS DEVTYPE=LTO FORMAT=DRIVE MOUNTLIMIT=DRIVES MOUNTWAIT=60 MOUNTRETENTION=10 PREFIX=ADSM LIBRARY=TS4300 WORM=NO DRIVEENCRYPTION=ALLOW
  2. Set the dbrecovery password
    > set dbrecovery ltoclass password=admin123

Storage pool creation for tape

  1. Storage pool creation for tape
    DEFINE STGPOOL <pool-name> LTOCLASS pooltype=PRIMARY description="description for the storage pool" maxscratch=999 collocate=no
    EX:
    DEFINE STGPOOL NONPRDWKLYLTOPOOL LTOCLASS pooltype=PRIMARY description="Storage pool for Weekly NON Production filesystem backup" maxscratch=999 collocate=no

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Configure Tape, Define the class and storage pool creation