IBM Support

How to disable the internal datatrimmer in the Managing Server to preserve data.

Technical Blog Post


Abstract

How to disable the internal datatrimmer in the Managing Server to preserve data.

Body

The ITCAM for Application Diagnostics Managing Server comes built-in with an internal datatrimmer.   If you are pulling some Application or Capacity Reports and not seeing data past a certain time, it may be due to the internal datatrimmer that's running.   If you want to see the data in your Reports, you should first disable the internal datatrimming process.  To do that, please follow these steps:

1) Open up your $MS_HOME/etc/aa1.properties file.

Scroll down towards the bottom and look for ENABLE_DATATRIMMER.  If this parameter is set to true, then go ahead and change it to false.  Save your file.

2) Do the same for $MS_HOME/etc/aa2.properties also.

3) Now you will simply restart your Archive Agents (both AA1 and AA2).  If this is a production system, you may want to reschedule this

$MS_HOME/bin/amctl.sh aa1 stop

$MS_HOME/bin/amctl.sh aa2 stop

Wait for about 30 seconds for all processes to stop, then start them one by one.

$MS_HOME/bin/amctl.sh aa1 start

$MS_HOME/bin/amctl.sh aa2 start

Wait for about 2 to 3 minutes for all your DC's to reconnect again, then check status.

$MS_HOME/bin/amctl.sh aa1 status

$MS_HOME/bin/amctl.sh aa2 status

The internal datatrimmer is now disabled.  You will need to wait 24 to 48 hours for some data to get generated back into the database.  Then run your Report and see if you are getting data now.

(Note: Since you have now disabled internal triming, your octigate database could fill up.  So, you should set up your external datatrimmer script (datatrim.sh) to trim data periodically, say, every 7 to 10 days for database optimization.)

Good luck. Smile

Noel Lewis

ITCAM / APM / ICAM L2 Support team

 

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

ibm11082559