IBM Support

Video Blog: ITM Nuggets: How to increase the size and number of logs for a Linux / Unix based TEMS

Technical Blog Post


Abstract

Video Blog: ITM Nuggets: How to increase the size and number of logs for a Linux / Unix based TEMS

Body

image

 

As normal, I like to blog about areas of ITM that I cover when working with you, either through PMRs or direct on customer site.

Today's series topics is all related to increase the log file size on a Linux / Unix based TEMS.

 

 

 

Why would I need this?

There has been a few cases where larger log files were needed to capture the data support needed to identify the problem (especially relating to communications), so here are the simple steps to increase the size and number of logs the TEMS uses before it wraps around its log files.

 

 

Video guide (step-by-Step)

Direct Youtube Link: https://www.youtube.com/embed/mRBRYZB23WI

 

 

 

Paramaters needed:

You can change these parameters by adding the following 3 lines in      

$CANDLEHOME/config/[hostname]_ms_[TEMS name].config                     

                                                                       

CTIRA_LOG_PATH='/opt/IBM/ITM/logs'                                      

                                                                       

KBB_VARPREFIX='%'                                                       

                                                                       

KBB_RAS1_LOG='%(CTIRA_LOG_PATH)/[hostname]_ms_%(systask)_%(sysutcstart)-.log INVENTORY=%(CTIRA_LOG_PATH)/[hostname]_ms_%(systask).inv COUNT=15  LIMIT=10 PRESERVE=1 MAXFILES=20'                                        

                                                                       

 

                                                                       

                                                   

Parameter Key

 

INVENTORY is the location of a file that keeps track of all log sections

COUNT is the number of files before wrap around                         

LIMIT is size in megabytes                                              

PRESERVE log segments to preserve, in this case segment 1               

MAXFILES = number of sessions to keep.        

 

NOTE: Remember to replace the [hostname] (as above in bold to the hostname of your system

                                                                       

 

 

 

Let's connect!

To follow my social updates on IBM software, please feel free to connect with me by clicking on the images below:

 

imageimageimage

 

Find all my other blogs here:

LINK ------------>   Full Index of My Blogs   <------------ LINK

 

 

 

Tutorials Point

 

Subscribe and follow us for all the latest information directly on your social feeds:

 

 

image

 

image

 

image

 

 

  

Check out all our other posts and updates:

Academy Blogs:https://goo.gl/U7cYYY
Academy Videos:https://goo.gl/FE7F59
Academy Google+:https://goo.gl/Kj2mvZ
Academy Twitter :https://goo.gl/GsVecH


image

 

 

 

 

 

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11082781