WebSphere Application Server & Liberty

 View Only

LinkedIn Share on LinkedIn

Tracing Auto Scaling in Liberty Profile ND

By Adeoye Omoboya posted Mon April 04, 2022 09:03 AM

  

Problem

What information, logs, and traces, should I gather to troubleshoot a problem with the Auto Scaling feature for Liberty Profile ND?

Cause

Liberty Profile ND has a feature called Auto Scaling. If configured, this features provides an autonomic scaling capability for Liberty servers.

If you are having problems with the Auto Scaling feature, please gather this information and send it to IBM support.

Resolving The Problem

1) What is your exact level of IBM Liberty Profile ND? On what platform?

2) What cluster or cluster members are having issues? What is the time frame that the problem occurred?

3) Enable tracing on the scaling controller server. Add the following line to the server.xml of the controller server:


<logging traceSpecification="*=com.ibm.ws.logging.trace.specification=*=info=enabled:
Scaling=all:com.ibm.ws.imf.*=all:
com.ibm.ws.collective.singleton.*=all:
com.ibm.ws.collective.repository.internal.*=all:
com.ibm.ws.collective.security.*=all:com.ibm.ws.ssl.*=all:
com.ibm.websphere.ssl.*=all:
com.ibm.ws.security.*=all"/>


4) Enable tracing on the scaling member. Add the following line to the server.xml of the member server:


<logging traceSpecification="*=com.ibm.ws.logging.trace.specification=*=info=enabled:
Scaling=all:com.ibm.ws.imf.*=all:
com.ibm.ws.collective.singleton.*=all:
com.ibm.ws.collective.member.internal.publisher.*=all:
com.ibm.ws.ssl.*=all:
com.ibm.websphere.ssl.*=all:
com.ibm.ws.security.*=all"/>

5) Recreate the issue with the new traces enabled. While the issue is happening, take a server dump of both the controller server and member server.


Generating a Liberty server dump from the command line
http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_setup_dump_server.html

6) Once recreated, provide to IBM support the configuration and log files of the Liberty scaling controller and scaling member:



-server.xml
-a zip of the entire logs directory and subdirectories
-the zip from the server dump


#Liberty
#trace
#WebSphereApplicationServer(WAS)
#WebSphereLiberty
0 comments
6 views

Permalink