• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Basic directory bind (DIRMC) question

ldmwndletsm

ADSM.ORG Senior Member
Joined
Oct 30, 2019
Messages
191
Reaction score
4
Points
0
I've used "DIRMC management_class_name" in dsm.sys (Linux) to force directories to be bound to the named management class. Running `/bin/dsmc q backup` confirms this.

After recently reading the IBM document (second paragraph from the bottom):

https://www.ibm.com/docs/en/spectrum-protect/8.1.9?topic=size-effects-management-classes

where it says: "If multiple management classes in the active policy set have the same value for RETONLY, then the management class that is last, when sorted alphabetically, is used"

I have a very basic (pretty obvious answer, I guess) question. When they say active policy set, they mean only for the same policy set, not all active policy sets, right? In other words, if I have this:

query copygroup

Policy_Domain_Name Policy_Set_Name Mgmt_Class_Name Copy_Group_Name Vers_Exists Vers_Deleted Retain_Extra Retain_Only
----------------------------------------------------------------------------------------------------------------------------------------
BACKUP_PD ACTIVE BACKUP_MC STANDARD 60 60 60 365
BACKUP_PD ACTIVE BACKUP_MC_ALT STANDARD 3 3 60 365
BACKUP_PD BACKUP_PS BACKUP_MC STANDARD 60 60 60 365
BACKUP_PD BACKUP_PS BACKUP_MC_ALT STANDARD 3 3 60 365
BACKUP2_PD ACTIVE BACKUP2_MC STANDARD No Limit No Limit No Limit No Limit
BACKUP2_PD BACKUP2_PS BACKUP2_MC STANDARD No Limit No Limit No Limit No Limit

If "DIRMC" is not specified in dsm.sys, and BACKUP_MC is a default management class (yes) with policy set name BACKUP_PS and policy domain name BACKUP_PD. And BACKUP_MC_ALT is not a default management class (no) but also has the same policy set and domain name as BACKUP_MC then since there are two of them that are both in the active policy set BACKUP_PS, and both have a RETONLY value of 365 then when a node with Policy Domain BACKUP_PD runs its backups then BACKUP_MC_ALT will be used for directories since this sorts last, after BACKUP_MC. So only 3 versions of each backed up directory will be retained, not 60, unless "DIRMC BACKUP_MC" is specified in which case it will be 60. That correct?

And even though BACKUP2_MC is also a default management class (yes) and has the longest Retonly value of No Limit, since it's for policy set name BACKUP2_PS and policy domain name BACKUP2_PD and *NOT* BACKUP_PS then it will not factor in for that choice. In other words, when a node with Policy Domain BACKUP_PD runs its backups, and DIRMC is not specified, then it will not use No Limit for the directories. Instead, it will still use 3. But if the node instead specified Policy Domain BACKUP_PD2 then 'No Limit' would be used for its directories. That right?
 

marclant

ADSM.ORG Moderator
Joined
Jun 16, 2006
Messages
3,743
Reaction score
620
Points
0
Location
Canada
Website
www.ibm.com
I have a very basic (pretty obvious answer, I guess) question. When they say active policy set, they mean only for the same policy set, not all active policy sets, right? I
Correct.

So only 3 versions of each backed up directory will be retained, not 60, unless "DIRMC BACKUP_MC" is specified in which case it will be 60. That correct?
Only partially correct. Using DIRMC is not the only way. You could update BACKUP_MC to RETONLY=366 or BACKUP_MC_ALT to RETONLY=364. You could even create a new MC with the retention you want for directories and use RETONLY=366.
 

ldmwndletsm

ADSM.ORG Senior Member
Joined
Oct 30, 2019
Messages
191
Reaction score
4
Points
0
Okay, thank you very much. That answers that. I was pretty sure that I understood that it would use the BACKUP_MC_ALT management class for directories given the sort order but wanted to make sure I hadn't somehow misinferred. Your note about DIRMC not being the only way definitely clarifies things. I was able to confirm by running `dsmc q backup`, and could see that management class (using 3 3 60 365) reported for directories but the other one (using 60 60 60 365) reported for files.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

DigitalOcean $100 Credit

Support ADSM.ORG and get DigitalOcean FREE credit. DigitalOcean currently offer a $100, 60-day Free Credit for new accounts. Sign-up here:

DigitalOcean Referral Badge

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 20 18.7%
  • Keep using TSM for Spectrum Protect.

    Votes: 65 60.7%
  • Let's be formal and just say Spectrum Protect

    Votes: 13 12.1%
  • Other (please comement)

    Votes: 9 8.4%

Forum statistics

Threads
31,902
Messages
136,004
Members
21,783
Latest member
london
Top