How to control when the DTOC Scans run
search cancel

How to control when the DTOC Scans run

book

Article ID: 113277

calendar_today

Updated On:

Products

Vantage Storage Resource Manager

Issue/Introduction

The DTOC scan is one of the larger resource users in Vantage so limiting how many
times it runs helps avoid excessive CPU usage.

The Vkgparm DTCINTVL specifies the "sleep time" between DTOC scans.
As a result, the time of each scan creeps - the scan does not occur at the same times each day.
 
Since the DTOC object is used more for research and analysis to help locate and correct problem data sets,
you can schedule when the DTOC scans are to run so they do not interfere with other tasks,
and limit the runs to just when you need them.
 
The following Vkgparms and script help you to resolve these situations.


 

Environment

Vantage

Resolution

To limit the DTOC scans, specify these Vkgparms:
 
DTOCSUPP (Y)    - Activate DTOC component at SAMS startup [default is N].
DTCINTVL (9998) - 9998 causes Vantage to do a DTOC scan at startup and then wait
                  for a command to perform a new scan [default is 9999 - no scans].
 
To control when and how often to run these scans, add this script into the AUTOSCR script lib:
 
<GENERAL>                                          
EVENT_TYPE=GOA                                     
TITLE=Trigger DTOC Scan                            
DESCRIPTION1=Trigger a DTOC scan at specific time  
SIMULATE=N                                         
MONITOR=N                                          
ENABLED=Y                                         
LOAD_SCRIPT=Y                                      
STARTTIME=0000                                     
ENDTIME=2400                                       
PERFORM_EVT_PROC=ON_DAY=ALL,AT_TIME=0600           
<EVENT_PROCEDURE>                                  
CMD=F SAMS,NEWSCAN,DTOCS                           
PERFORM_CMD          
 
On the PERFORM statement, specify the time(s) you want the DTOC SCAN to run.