Determine which of basic mode and HPEL mode is enabled


Use wsadmin to determine the log and trace mode that a running server uses

  1. Start wsadmin, connecting to a running server, for example through the SOAP port.

  2. Determine whether the HPELControlService object is available.
    HPELMBean = AdminControl.queryNames('cell=myCell,node=myNode,type=HPELControlService,process=myServer,*')
    if (HPELMBean == ''):
        print "HPEL is not enabled"
    else:
        print "HPEL is enabled"
    


Use wsadmin to determine the log and trace mode that a servers configuration specifies

  1. Start wsadmin.

    In this case, wsadmin can be connected to a running server or accessing the configuration data for a stopped server.

  2. Determine whether the RASLoggingService configuration object is enabled.

    If the RASLoggingService config object is enabled, the server is configured to run with the basic log and trace framework. If the HighPerformanceExtensibleLogging config object is enabled, the server is configured to run with the HPEL log and trace framework. If both are enabled, the server is configured to run with the basic log and trace framework.

    RASLogging = AdminConfig.getid("/Cell:myCell/Node:myNode/Server:myServer/RASLoggingService:/")
    basicEnabled = AdminConfig.showAttribute(RASLogging, "enable")
    if (basicEnabled == "true"):
        print "Basic mode logging in effect"
    else:
        HPELSvc = AdminConfig.getid("/Cell:myCell/Node:myNode/Server:myServer/HighPerformanceExtensibleLogging:/")
        HpelEnabled = AdminConfig.showAttribute(HPELSvc, "enable")
        if (HpelEnabled == "true"):
            print "HPEL is enabled"
        else:
            print "No logging is enabled" 


Use the dmgr console to determine the log and trace mode that a running server uses

  1. Log into the dmgr console and click...

      Troubleshooting | Logs and Trace | myServer

  2. Find the Switch to HPEL Mode button.

    If this button is available, the server is using the basic log and trace framework. Otherwise, the server is using HPEL.


+

Search Tips   |   Advanced Search