Administrator's Reference

UPDATE MGMTCLASS (Update a Management Class)

Use the UPDATE MGMTCLASS command to modify selected parameters for the specified management class. If you do not explicitly update a parameter, it remains unchanged.

The UPDATE MGMTCLASS command fails if a copy storage pool is specified as the destination for space-managed files.

The following parameters affect only HSM clients that use this management class, and have no effect on backup-archive clients:

SPACEMGTECHNIQUE
AUTOMIGNONUSE
MIGREQUIRESBKUP
MIGDESTINATION

Privilege Class

To issue this command, you must have system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which the policy set belongs.

Syntax

                     (1)
>>-UPDate MGmtclass-------domainname--setname--classname-------->
 
>---+-------------------------------------+--------------------->
    '-SPACEMGTECHnique--=--+-AUTOmatic-+--'
                           +-SELective-+
                           '-NONE------'
 
>---+---------------------------------+------------------------->
    '-AUTOMIGNonuse--=--automigvalue--'
 
>---+------------------------------+---------------------------->
    '-MIGREQUIRESBkup--=--+-Yes-+--'
                          '-No--'
 
>---+------------------------------+---------------------------->
    '-MIGDESTination--=--poolname--'
 
>---+------------------------------+---------------------------><
    '-DESCription--=--description--'
 

1

You must specify at least one optional parameter on this command.

Parameters

domainname

Specifies the name of the policy domain to which the management class belongs. This parameter is required. The maximum length of this name is 30 characters.

setname

Specifies the name of the policy set to which the management class belongs. This parameter is required. The maximum length of this name is 30 characters. You cannot update a management class that belongs to the ACTIVE policy set.

classname

Specifies the name of the management class that you want to update. This parameter is required.

SPACEMGTECHnique=smtvalue

Specifies the space management technique to use for the management class. This parameter is optional. Possible values are:

AUTOmatic

Specifies that the file is eligible for automatic migration or selective migration.

SELective

Specifies that the file is eligible for selective migration only.

NONE

Specifies that the file is not eligible for migration.

The default in the management class named STANDARD is NONE.

This parameter is effective only for HSM clients, not for backup-archive clients.

AUTOMIGNonuse=automigvalue

Specifies the number of days that must elapse since the file was last used before it is eligible for automatic migration. This parameter is optional.

If the SPACEMGTECHNIQUE parameter is not AUTOMATIC, ADSM ignores this attribute. You can specify a value from 0-9999. The default value is 0.

This parameter is effective only for HSM clients, not for backup-archive clients.

MIGREQUIRESBkup=migreqvalue

Specifies whether a backup version of a file must exist before a file can be migrated. This parameter is optional. Possible values are:

Yes

A backup version must exist.

No

A backup version is optional.

This parameter is effective only for HSM clients, not for backup-archive clients.

MIGDESTination=poolname

Specifies the name of a primary storage pool that is the destination for migrated files. This parameter is optional. The default destination is SPACEMGPOOL.

A file must be associated with a management class that specifies an appropriate storage pool for migrated files. The type of storage devices in a storage pool and options specified for the storage pool affects the speed with which a migrated file can be recalled to a local file system.

The command fails if a copy storage pool is specified as the destination.

This parameter is effective only for HSM clients, not for backup-archive clients.

DESCription=description

Specifies a text string that describes the management class. This parameter is optional. The maximum length of the description is 255 characters. The description must be enclosed in quotation marks if it contains any blank characters. To remove a previously defined description, specify a null string ("") for this value.

Examples

Task

Update the management class called ACTIVEFILES, for policy set VACATION in the EMPLOYEE_RECORDS policy domain, with a description of Technical Design Support Mgmt Class.

Command:
update mgmtclass employee_records vacation activefiles description="technical design support mgmt class"

Related Commands

Table 242. Commands Related to UPDATE MGMTCLASS
Command Description
ASSIGN DEFMGMTCLASS Assigns an existing management class as the default for a specified policy set.
COPY MGMTCLASS Creates a copy of an existing management class.
DEFINE COPYGROUP Defines a copy group for backup or archive processing within a specified management class.
DEFINE POLICYSET Defines a policy set within the specified policy domain.
DEFINE MGMTCLASS Defines a management class within the policy domain and policy set specified.
DELETE MGMTCLASS Deletes a management class and its copy groups from a policy domain and policy set.
QUERY COPYGROUP Displays the attributes of an existing copy group.
QUERY MGMTCLASS Displays information about one or more management classes.
QUERY POLICYSET Displays information about one or more policy sets.
UPDATE COPYGROUP Changes one or more attributes of a copy group.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]