Difference between revisions of "RHEL 8.x Spectrum Protect Define Device class for drive"

From Notes_Wiki
(Created page with "Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > [[RHEL 8.x Spectrum Protect Configuration|Spectrum Protect Configuration] == Define device class for drive == This document assumes mount points are available to the OS. #Login to backup server via SSH #Change permissions for drive mount points #:<pre> #::chown spinst1:spsrvrs /spdata1 #::chown spinst1:spsrvrs /spdata2 #:...")
 
m
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 Configuration|Spectrum Protect Configuration]
[[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 Define Device class for drive|Spectrum Protect Define Device class for drive]


== Define device class for drive ==
== Define device class for drive ==
Line 22: Line 22:
#:</pre>
#:</pre>


== Define Storage pool Domain ==


Define storage pool, domain, policyset and activate
[[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 Define Device class for drive|Spectrum Protect Define Device class for drive]]
#On the backup server, open backup console
#:<pre>
#::dsmadmc
#:</pre>
#Define storage pool
#:<pre>
#::> DEFINE STGPOOL <poolname> <deviceclass> pooltype=PRIMARY description="Storage pool for filesystem backup" maxscratch=999 collocate=no
#::Ex:
#::DEFINE STGPOOL RNDPOOL FILECLASS pooltype=PRIMARY description="Storage pool for RND filesystem backup" maxscratch=999 collocate=no
#:</pre>
#Define domain
#:<pre>
#::> DEFINE DOMAIN <domain-name> DESCRIPTION="policy domain for File System Backup"
#::Ex:
#::DEFINE DOMAIN RNDDOM DESCRIPTION="policy domain for RND File System Backup"
#:</pre>
#Define policy set
#:<pre>
#::> DEFINE POLICYSET <domain-name>  <policy-set-name> desc="Policy Set for the Domain"
#::Ex:
#::DEFINE POLICYSET RNDDOM RNDPSET desc="Policy Set for RNDDOM Domain"
#:</pre>
#Define Management class
#:<pre>
#::> DEFINE MGMTCLASS <domain-name>  <policy-set-name> <management-class-name> desc="Management Class for the Domain"
#::Ex:
#::DEFINE MGMTCLASS RNDDOM RNDPSET RNDMGT desc="Management Class for RNDDOM Domain"
#:</pre>
#Integrate domain, policy set and management class with storage pool
#:<pre>
#::> DEFINE COPYGROUP <domain-name>  <policy-set-name> <management-class-name> destination=<storage-pool> vere=nolimit verd=nolimit rete=31 reto=31
#::Ex:
#::DEFINE COPYGROUP RNDDOM RNDPSET RNDMGT destination=RNDPOOL vere=nolimit verd=nolimit rete=31 reto=31
#:</pre>
#Configure the backup type
#:<pre>
#::> DEFINE COPYGROUP <domain-name>  <policy-set-name> <management-class-name> type=archive destination=<storage-pool> retv=365
#::Ex:
#::DEFINE COPYGROUP RNDDOM RNDPSET RNDMGT type=archive destination=RNDPOOL retv=365
#:</pre>
#Set as Default management class
#:<pre>
#::> ASSIGN DEFMGMTCLASS <domain-name>  <policy-set-name> <management-class-name>
#::Ex:
#::ASSIGN DEFMGMTCLASS RNDDOM RNDPSET RNDMGT
#:</pre>
# Validate the policyset in domain
#:<pre>
#::> VALIDATE POLICYSET domain-name>  <policy-set-name>
#::Ex:
#::VALIDATE POLICYSET RNDDOM RNDPSET
#:</pre>
#Activate the policyset in domain
#:<pre>
#::> ACTIVATE POLICYSET domain-name>  <policy-set-name>
#::Do you wish to proceed?  -- Press y and Enter
#::Ex:
#::ACTIVATE POLICYSET RNDDOM RNDPSET
#:</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 Configuration|Spectrum Protect Configuration]]

Revision as of 08:47, 2 May 2023

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > [[RHEL 8.x Spectrum Protect Define Device class for drive|Spectrum Protect Define Device class for drive]

Define device class for drive

This document assumes mount points are available to the OS.

  1. Login to backup server via SSH
  2. Change permissions for drive mount points
    chown spinst1:spsrvrs /spdata1
    chown spinst1:spsrvrs /spdata2
    chown spinst1:spsrvrs /spdata3
  3. Login to backup console and configure device class
    dsmadmc
    > DEFINE DEVCLASS <class-name> DEVT=FILE FORMAT=DRIVE MAXCAP=<size> MOUNTL=<max-mount-limits> DIR=<mountpoint1,mountpoint2,mountpointN> SHARE=no
    Ex:
    > DEFINE DEVCLASS FILECLASS DEVT=FILE FORMAT=DRIVE MAXCAP=5G MOUNTL=2000 DIR=/spdata1,/spdata2,/spdata3 SHARE=no
  4. Check the device class
    > q dev


Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Define Device class for drive