AUTOVOL function Distributed solutions
The following distributed solutions are provided for the AUTOVOL function:
For locations of the library members that the distributed solutions use, see Libraries for the distributed solutions.
DEFRAG—Defragmenting volumes solution
This solution looks for volumes that have a fragmentation index value of over 500.
When a fragmented volume is found, skeleton JCL is tailored and submitted, which defragments the volume.
Defragmenting volumes solution
Solution component | Description |
---|---|
Name | DEFRAG |
Invocation |
MVSRMAS is your MainView SRM Started Task name. This command starts AUTOVOL processing, causing space records to be created for volumes in the specified pool and checked against the DEFRAG solution in the AUTOVOL RLST. |
FLST member | SMFLSTAV SET MODE=ACT INC AV_VOL=/ |
RLST member | SMRLSTAV SET SOLUTION=DEFRAG X ACT_JOB=SRMJOB04 * ACT_EVENTID=AV092 INC AV_FRAGI>500 This RLST tailors JCL to include each volume record that matches the FLST criteria and has a fragmentation index that is greater than 500. Running a DFDSS DEFRAG solution against a volume can tie up resources that are critical to your data center. Therefore, carefully decide what resources (volumes, pools, and so on) to run this solution against and when to schedule this solution. You should review IBM documentation for DFDSS control statements before implementing this solution. |
Event member | SMEVNT00 SET EVENTID=AV092 SEV=W MODE=ACT TEXT='VOL &AV_VOL FRAG INDEX &AV_FRAGI SUB JOB X SRMJOB04 SOLUTION DEFRAG' The text uses the variable replacement parameters that are available for the AUTOVOL record. (See Using AUTO functions.) The X is a continuation character. The resulting text for this example would be:
xxxxxxxx is the MainView SRM Automation Started Task name, yyyyyy is the volume name, and nnn is the fragmentation index value. Notice that yyyyyy is the sixth word in the event text, SRMJOB04 is the twelfth word, and DEFRAG is the fourteenth word. The position of the words is important because the words are used in the MainView AutoOPERATOR Rule that fires for this event. If the event text is changed, the MainView AutoOPERATOR Rule must also be changed. |
Skeleton JCL member | SRMJOB04 (See SRMJOB04—Defragment a volume.) |
INDXDIS—Volume index disabled solution
This solution issues an event when a volume index is found to be disabled during AUTOVOL processing.
Volume index disabled solution
Solution component | Description |
---|---|
Name | INDXDIS |
Invocation |
MVSRMAS is your MainView SRM Started Task name. This command starts AUTOVOL processing, causing volume space records to be created for all volume in storage groups that begin with SPC or WRK. These records are compared to records in the INDXDIS solution in the AUTOVOL RLST. Volumes that match the solution are acted upon. |
FLST member | SMFLSTAV SET MODE=ACT INC AV_VOL=/ |
RLST member | SMRLSTAV SET SOLUTION=INDXDIS X ACT_EVENTID=AV095 INC AV_VTOCI=INA INC AV_VTOCI=DIS |
Skeleton JCL member | None |
VOLGT85—Work volumes over 85% full solution
This solution issues and event when a work volume is found to be over 85% full.
Work volumes over 85% full solution
Solution component | Description |
---|---|
Name | VOLGT85 |
Invocation |
MVSRMAS is your MainView SRM Started Task name. This command starts AUTOVOL processing, causing volume space records to be created for all volume in storage groups that begin with SPC or WRK. These records are compared to records in the VOLGT85 solution in the AUTOVOL RLST. Volumes that match the solution are acted upon. |
FLST member | SMFLSTAV SET MODE=ACT INC AV_VOL=/ |
RLST member | SMRLSTAV SET SOLUTION=VOLGT85 X ACT_EVENTID=AV094 INC AV_FULL>85 X AV_VOL=WRK/ |
Skeleton JCL member | None |
Comments
Log in or register to comment.