Enable verbose garbage collection on all servers in cluster using jacl

Today I needed to enable verbose garbage collections on all production servers to troubleshoot a potential memory leak.

As we have 30 application servers in our clusters and using the web interface would require multiple clicks and page load times, I created a little script to do this.

This can of course be altered to change other parameters, and ideally being put in a function so it can be called using the clustername and cellname as parameters.

[codeblock name=’setVerbose’]

 

Leave a Comment

Your email address will not be published. Required fields are marked *