Help with setting up archive mgmt class for a single node

tsm-learner

Newcomer
Joined
Jun 12, 2018
Messages
4
Reaction score
0
Points
0
PREDATAR Control23

Hey Guys,

I am having some trouble in getting an archive mgmt. class defined for a directory for a single node. It’s been a while since I have done it but can’t seem to get the syntax right. We have an AIX system and we intend to archive this directory /sapbackup/LC1 and everything under it including the subdirectories and retain it for 90 days. Our archive copy group under the default mgmt class has 30 day retention so I have created another mgmt. class (AIX_MC_CUSTOM) with 90 day retention and specified the following in the inclexcl list.

root@nrnax355:/usr/tivoli/tsm/client/ba/bin64> cat /usr/tivoli/tsm/client/ba/bin64/inclexcl.txt
exclude.dir /sapdb/LC1/sapdata*
include.archive "/sapbackup/LC1/ -subdir=yes" AIX_MC_CUSTOM

However when I run the archive, I see they do not get bound to the new mgmt. class. Not sure if the syntax is incorrect. During my research I have not been able to find much that specifically defines include.archive option to include subdirectories. Do you see anything missing here? Thanks for taking the time!

Here’s some more info from the client..

tsm> q mgmt -detail
Domain Name : AIX
Activated Policy Set Name : AIX
Activation date/time : 07/12/18 15:07:04
Default Mgmt Class Name : AIX_MC
Grace Period Backup Retn. : 30 day(s)
Grace Period Archive Retn.: 30 day(s)


MgmtClass Name : AIX_MC
Description : AIX Management Class
Space Management Technique : None
Auto Migrate on Non-Usage : 0
Backup Required Before Migration: NO
Destination for Migrated Files : DEDUPPOOL
Copy Group
Copy Group Name........: STANDARD
Copy Type..............: Backup
Copy Frequency.........: 0 day(s)
Versions Data Exists...: No Limit
Versions Data Deleted..: No Limit
Retain Extra Versions..: 30 day(s)
Retain Only Version....: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Modified
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

Copy Group Name........: STANDARD
Copy Type..............: Archive
Copy Frequency.........: Cmd
Retain Version.........: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Absolute
Retain Initiation......: Create
Retain Minimum.........: 65534 day(s)
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES



MgmtClass Name : AIX_MC_CUSTOM
Description : AIX Management Class
Space Management Technique : None
Auto Migrate on Non-Usage : 0
Backup Required Before Migration: NO
Destination for Migrated Files : DEDUPPOOL
Copy Group
Copy Group Name........: STANDARD
Copy Type..............: Backup
Copy Frequency.........: 0 day(s)
Versions Data Exists...: No Limit
Versions Data Deleted..: No Limit
Retain Extra Versions..: 30 day(s)
Retain Only Version....: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Modified
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

Copy Group Name........: STANDARD
Copy Type..............: Archive
Copy Frequency.........: Cmd
Retain Version.........: 90 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Absolute
Retain Initiation......: Create
Retain Minimum.........: 65534 day(s)
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

tsm> q inclexcl -detail
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /db2/.../saptemp* Server
Excl Directory /db2/.../log_retrieve Server
Excl Directory /db2/.../log_archive Server
Excl Directory /db2/.../db2dump Server
Excl Directory /db2/.../log_dir Server
Excl Directory /db2/.../sapdata* Server
Excl Directory /tsm-edge/diskpool* Server
Excl Directory /.../.TsmCacheDir TSM
Excl Directory /sapdb/LC1/sapdata* "/usr/tivoli/tsm/client/ba/bin64/inclexcl.txt"
Exclude All /.../dsmerror.log Server
Exclude All /.../dsmsched.log Server
Include Archive /sapbackup/LC1/ -subdir=yes "/usr/tivoli/tsm/client/ba/bin64/inclexcl.txt"
MC NAME: AIX_MC_CUSTOM
No DFS include/exclude statements defined.
tsm>
 
PREDATAR Control23

Hi,

I think it is with the exclude.dir option you specified .. it overrides the include you placed.
 
PREDATAR Control23

Must admit, I've never used the '-subdir=yes' parm before when using this kind of syntax..

Try..

include.archive "/sapbackup/LC1/.../*" AIX_MC_CUSTOM

Also, on the TSM/ISP Server, make sure that the policy has been activated for the new management class (non-default) otherwise the archive criteria won't be able to bind to it.
 
PREDATAR Control23

Must admit, I've never used the '-subdir=yes' parm before when using this kind of syntax..
That's because you are doing it right. It's not a valid sub-option of include/exclude.
 
PREDATAR Control23

Thanks Cattivo. We dont have a need for that anymore but I'll test it out.

Must admit, I've never used the '-subdir=yes' parm before when using this kind of syntax..

Try..

include.archive "/sapbackup/LC1/.../*" AIX_MC_CUSTOM

Also, on the TSM/ISP Server, make sure that the policy has been activated for the new management class (non-default) otherwise the archive criteria won't be able to bind to it.[/QUOT
 
Top