search cancel

MTC-DBM removal of temporary Tomcat ZFS files

book

Article ID: 228680

calendar_today

Updated On:

Products

SYSVIEW Performance Management Option for DB2 for z/OS

Issue/Introduction

The MTC-DBM UI interface has created a multitude of tomcat temporary ZFS files under the LPAR's /SYSTEM/tmp directory. Can these be deleted to free space?

This is just a sample of the many ZFS files that are piling up.

EUID=16025511   /SYSTEM/tmp/                             
  Type  Changed-EST0      Filename                       
_ Dir   2021-01-17 03:45  tomcat.4014943243651345814.7100
_ Dir   2021-09-12 03:16  tomcat.4213106889251417866.7100
_ Dir   2020-02-09 08:16  tomcat.4532373399275328366.7100
_ Dir   2021-03-14 06:23  tomcat.4575604518095111204.7100
_ Dir   2020-02-09 14:05  tomcat.4782532407795819546.4602
_ Dir   2021-11-07 06:01  tomcat.4927255177332567609.7100

.....

Cause

The MTCDBM UI tomcat incorrectly creates these temp files under the /SYSTEM/tmp directory instead of the MTCDBM Home directory.

Environment

Release : 20.0

Component : MTC-DBM

Resolution

These temp tomcat ZFS files can all be deleted except for the most recent one, and then this one can be deleted after the MTCDBM UI stc is stopped.  In the interim of this condition being corrected via a code fix, a new IJO statement can be added to the MTCDBM Config member that will correctly write these temp tomcat ZFS files to the MTCDBM UI Home directory instead of the SYSTEM/tmp directory.

IJO="$IJO -Dserver.tomcat.basedir=tomcat"   

 

Additional Information

NOTE:

The need for the above prescribed IJO addition will not be necessary after the correction is made permanently to the MTCDBM UI started task via a forthcoming code fix.