RHEL 8.x Spectrum Protect Configure Tape, Define the class and storage pool creation
From Notes_Wiki
(Redirected from RHEL 8.x Spectrum Protect Configure Tape and Define the class)
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Configure Tape, Define the class and storage pool creation
- Tape installation files are
- lin_tape-3.0.59-1.src.rpm
- lin_taped-3.0.59-rhel8.ppc64le.rpm
- Rebuild the src rpm
- rpmbuild --rebuild lin_tape-3.0.59-1.src.rpm
- 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
- Get the below details
- cd /proc/scsi
- cat IBMchanger
- cat IBMtape
Configure the tape device
- 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
- 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
- Set the dbrecovery password
- > set dbrecovery ltoclass password=admin123
Storage pool creation for tape
- 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