RHEL 8.x Spectrum Protect Define Device class for drive
From Notes_Wiki
Revision as of 08:19, 2 May 2023 by Saurabh (talk | contribs) (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 #:...")
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
- chown spinst1:spsrvrs /spdata1
- chown spinst1:spsrvrs /spdata2
- chown spinst1:spsrvrs /spdata3
- 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
- Check the device class
- > q dev
Define Storage pool Domain
Define storage pool, domain, policyset and activate
- On the backup server, open backup console
- dsmadmc
- Define storage pool
- > 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
- Define domain
- > DEFINE DOMAIN <domain-name> DESCRIPTION="policy domain for File System Backup"
- Ex:
- DEFINE DOMAIN RNDDOM DESCRIPTION="policy domain for RND File System Backup"
- Define policy set
- > DEFINE POLICYSET <domain-name> <policy-set-name> desc="Policy Set for the Domain"
- Ex:
- DEFINE POLICYSET RNDDOM RNDPSET desc="Policy Set for RNDDOM Domain"
- Define Management class
- > 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"
- Integrate domain, policy set and management class with storage pool
- > 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
- Configure the backup type
- > 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
- Set as Default management class
- > ASSIGN DEFMGMTCLASS <domain-name> <policy-set-name> <management-class-name>
- Ex:
- ASSIGN DEFMGMTCLASS RNDDOM RNDPSET RNDMGT
- Validate the policyset in domain
- > VALIDATE POLICYSET domain-name> <policy-set-name>
- Ex:
- VALIDATE POLICYSET RNDDOM RNDPSET
- Activate the policyset in domain
- > ACTIVATE POLICYSET domain-name> <policy-set-name>
- Do you wish to proceed? -- Press y and Enter
- Ex:
- ACTIVATE POLICYSET RNDDOM RNDPSET
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Configuration