copy groups and backup copy groups

Some AIX's LPARS are getting these errors on client's TSM logs:

10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.40' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.41' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.42' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.43' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.44' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.45' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.46' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.47' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.48' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.49' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.5' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.50' failed. There is no backup copy group.
10/07/13   21:09:07 ANS1007E Sending of object '/usr/lpp/rsct.core/rsct.core.utils/3.1.2.1.save/update.51' failed. There is no backup copy group.

Open in new window


I have read from IBM that this copy group has not a backup group. Questions:

0- Why do we need a backup copy group?
1- How can I create a backup copy group to solve this issue?
2- What happen when the files in this MGM class has the MGM class which has not a backup copy group?

Thanks.
sminfoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
Hi again!

0. The copygroup is a vital part of the TSM hierarchy "Policy Domain - Policy Set - Management Class - Copygroup".
It defines the retention policy as well as the destination for backed up or archived data (Storage Pool).

1. The command to create a copygroup is "DEFINE COPYGROUP ...". Since there is a distinction between backup and archive there are also two kinds of copygroups.
Create a backup copygroup with "DEF COPYG domain set class T=B ..." and an archive copygroup with "DEF COPYG domain set class T=A ..."

Among the many parameters which can or must be specified with the above commands are

DEST=poolname # destination pool, mandatory parameter

- For backup groups:

VEREXISTS=number # number of versions to keep as long as the file exists
VERDELETED=number # number of versions to keep  after file deletion
RETEXTRA=days # number of days to keep inactive versions
RETONLY=days # number of days to keep the last version after file deletion
MODE=MOD or ABS # backup only modified (default) or all files
SERIALIZATION=SHRST or ST or SHRDYN or DYN # how to behave when a file is in use

- For archive groups:

RETVER=days # retain an archive as many days
MODE and SERIALIZATION as above

2. Since the copygroup defines the destination pool files cannot be backed up or archived if there is no appropriate copygroup. If you deleted a copygroup after files have been backed up or archived there is a default retention contained in the policy domain definition.

Q DOMAIN domainname F=D

wmp
0
sminfoAuthor Commented:
very nice explanation wmp ...

in this case, the inclexcl file shows only one line
include /.../*          PRUEBAP

Open in new window


dsmc QUERY MGMTCLASS -DETAIL shows:
dsmc QUERY MGMTCLASS -DETAIL|grep -p PRUEBAP
MgmtClass Name                  : PRUEBAP
Description                     : clase modificable para hacer pruebas
Space Management Technique      : None
Auto Migrate on Non-Usage       : 0
Backup Required Before Migration: YES
Destination for Migrated Files  : SPACEMGPOOL
Copy Group
        Copy Group Name........: STANDARD
        Copy Type..............: Backup
        Copy Frequency.........: 0 day(s)
        Versions Data Exists...: 1 version(s)
        Versions Data Deleted..: 1 version(s)
        Retain Extra Versions..: 30 day(s)
        Retain Only Version....: 30 day(s)
        Copy Serialization.....: Shared Static
        Copy Mode..............: Modified
        Copy Destination.......: STG040DD
        Lan Free Destination...: NO
        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.......: STG040DD
        Lan Free Destination...: NO

Open in new window


So, I suppose in this case EXISTS a backup copy group.. so don't understand why it's giving this error..
0
woolmilkporcCommented:
Could it be that you added the non-default class PRUEBAP to the inclexcl after files have been saved to whatever other class which is now deleted?

Or are the objects showing the failures directories, and is there a "DIRMC" option in dsm.sys pointing to a class lacking a group?

Or is there no group for the default class?
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

sminfoAuthor Commented:
I think is "Or is there no group for the default class? " 

How can I check which is the default class and if it  has a copy group or not?
0
woolmilkporcCommented:
dsmc q mgmt

Search for "Default  Mgmt Class Name" (4th line in first block), then use the name you found to check with

dsmc q mgmt -det
0
sminfoAuthor Commented:
well...

Node Name: NODE
Session established with server TSM: AIX-RS/6000
  Server Version 5, Release 5, Level 4.3
  Server date/time: 10/09/13   13:23:08  Last access: 10/09/13   13:22:09

Domain Name               : DOMAINP
Activated Policy Set Name : MIRAP
Activation date/time      : 08/29/13   16:57:17
Default Mgmt Class Name   : DEFECTE
Grace Period Backup Retn. : 0 day(s)
Grace Period Archive Retn.: 0 day(s)

Open in new window


MgmtClass Name                  : DEFECTE
Description                     :
Space Management Technique      : None
Auto Migrate on Non-Usage       : 0
Backup Required Before Migration: YES
Destination for Migrated Files  : DSK_FS_POOL
Copy Group

Open in new window


You're right... there's no copy group for this class.. I suppose it's only to add a copy group from dsmadmc... isn't it?
0
woolmilkporcCommented:
Yes, use dsmadmc to add it.

If you want to keep the defaults you just have to specify the storage pool.
You don't have to specify a group name, since it's always "STANDARD".

def copyg  DOMAINP MIRAP DEFECTE T=B DEST=STG040DD

or whatever pool you want to use.

Best add an archive group as well, "VAL POL" will complain otherwise.

def copyg  DOMAINP MIRAP DEFECTE T=A DEST=STG040DD

Don't forget to validate and activate the policy set afterwards:

VAL POL DOMAINP MIRAP

ACT POL DOMAINP MIRAP

wmp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sminfoAuthor Commented:
U R the best!!

Thanks..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.