Difference between revisions of "RHEL 8.x Spectrum Protect Configure Tape, Define the class and storage pool creation"

From Notes_Wiki
(Created page with "Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Configure Tape and Define the class #Tape installation files are #::lin_tape-3.0.59-1.src.rpm #::lin_taped-3.0.59-rhel8.ppc64le.rpm #Rebuild the src rpm #:<pre> #::rpmbuild --rebuild lin_tape-3.0.59-1.src.rpm #:</pre> #Install the rpm files...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Configure Tape and Define the class|Spectrum Protect Configure Tape and Define the class]]
[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Configure Tape, Define the class and storage pool creation|Spectrum Protect Configure Tape, Define the class and storage pool creation]]


#Tape installation files are
#Tape installation files are
Line 19: Line 19:
#::cat IBMtape
#::cat IBMtape
#:</pre>
#:</pre>
== Configure the tape device ==
#Configure the device
#Configure the device
#:<pre>
#:<pre>
Line 27: Line 29:
#::> DEFINE PATH GPBKPSRV TAPE0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TS4300 DEVICE=/dev/IBMtape0 ONLINE=YES
#::> DEFINE PATH GPBKPSRV TAPE0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=TS4300 DEVICE=/dev/IBMtape0 ONLINE=YES
#:</pre>
#:</pre>
== Define the Device class ==
#Define the Device class
#Define the Device class
#:<pre>
#:<pre>
Line 36: Line 40:
#:</pre>
#:</pre>


[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Configure Tape and Define the class|Spectrum Protect Configure Tape and Define the class]]
== Storage pool creation for tape ==
# Storage pool creation for tape
#:<pre>
#::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
#:</pre>
 
[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Configure Tape, Define the class and storage pool creation|Spectrum Protect Configure Tape, Define the class and storage pool creation]]

Latest revision as of 07:31, 12 May 2023

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