ASAP 3.2 Server Manual
HP NonStop ASAP Server Manual    Page 258 of 381 
This option works in conjunction with the SET RETAIN ROLLOVER option allowing 
database record sets on a per entity basis to be automatically rolled-over and 
saved on a daily basis. 
The SET DBMaxDays option is only meaningful if SET RETAIN ROLLOVER is 
enabled. Note that setting DBMaxDays to a nonzero value also sets the RETAIN 
option to ROLLOVER. See HELP SET RETAIN for details.  
SET DBMAXDAYS days without an entity name asserts the maximum number of 
default days retained for entities, and enables the option when the days value is 
nonzero. For example, SET DBMAXDAYS 7 retains 1 week of data for all entities, 
unless further qualified. 
SET DBMAXDAYS without specifying entity or days causes the DBMaxDays 
settings for each entity to be displayed. 
SET DBMAXDAYS 0 disables the option and resets all ROLLOVER settings. 
When SET DBMaxDays is greater than zero, rollover files are saved in the SET 
DBRolloverSubvolPrefix subvolume with rollover YEAR appended to the rollover 
subvol prefix; for example, $DATA.ASAPyyyy.* or $DATA.ASAP2004. When 
DBMaxDays is enabled, the ASAP Collector limits the number of daily filesets for 
each entity up to days. Since rollover occurs daily, this option allows ASAP to 
automatically maintain a most recent number of days history without the need for 
manual intervention. 
Examples 
SET RETAIN ROLLOVER -- enable SET DBMAXDAYS 
SET DBMAXDAYS 1 -- retain 1 day of ASAP data as default 
SET DBMAXDAYS Cpu 14 -- retain 14 days of ASAP CPU data 
SET DBMAXDAYS Disk 7 -- retain 7 days of ASAP DISK data 
SET DBMAXDAYS App 0 -- retain 0 days of ASAP APP data 
SET DB $DATA.ASAPDB.DB 
The set options above will retain 1 day of ASAP data for all entities except CPU, DISK, 
and APP which will have 14, 7, and 0 days of history retained respectively. For the 
settings given above, on January 3, 2004, the DISK data base files will be named as 
follows when the DB rollover occurs: 
$DATA.ASAP2004.Z0102DSK -- 2004/01/02 
$DATA.ASAP2004.Z0101DSK -- 2004/01/01 
$DATA.ASAP2003.Z1231DSK -- 2003/12/31 
$DATA.ASAP2003.Z1230DSK -- 2003/12/30 
$DATA.ASAP2003.Z1229DSK -- 2003/12/29 
$DATA.ASAP2003.Z1228DSK -- 2003/12/28 
$DATA.ASAP2003.Z1227DSK -- 2003/12/27 










