What configuration steps are necessary to enable MainView for Java Environments to access and exploit SMF data? |
Currently MainView for Java Environments uses three different SMF records to provide details of specific JVM types: SMF29 - IMS-Message Region IMSBMP - IMS batch region with java
IMSJBP - IMS batch java only region
SMF121 - JZOS - Java started using the JZOS launcherIMSJMP - IMS java only message region IMSMSG - IMS message region with java SMF123 - ZCON - z/OS Connect EE 1. Global Customization z/OS: Make sure the requested SMF-types are collected (i.e. not suppressed by SMFPRMxx-member of SYS1.PARMLIB) MJEINIxx: SMF29=YES SMF121=YES 3. Double check that appropriate exit SMF84 is active: -D PROG,EXIT,EXITNAME=SYSSTC.IEFU84,DIAG The name will be MJESmjess , JCOM will show as parameter 2 in the display. CSV464I 07.16.58 PROG,EXIT DISPLAY 597
EXIT SYSSTC.IEFU84 MODULE STATE EPADDR LOADPT LENGTH JOBNAME PARAM CZAG84X0 A A8650360 00000000 00000000 * STRBGMS3 A B1EF7010 00000000 00000000 * IEFU84 A 87F75798 00000000 00000000 * ERBDSSMF A 876A67A0 00000000 00000000 * SGPERU84 A BA3E3000 00000000 00000000 * MJESSN32 A A6643270 00000000 00000000 * 3 {JCOM Every individual JVM must have SMF recording specified.
JLEOPT=N
SMFINTERVAL=<nnnn> (milliseconds)
JZOS version 7.1 or later
JZOS_JVM_SMF_LOGGING=true
export JZOS_JVM_SMF_LOGGING JZOS version 8.0 SR1 HJV_JZOS_JVM_SMF_LOGGING=true
HJV_JZOS_JVM_SMF_THREADS=true HJV_JZOS_JVM_SMF_LOGGING_INTERVAL=n (seconds) export HJV_JZOS_JVM_SMF_LOGGING export HJV_JZOS_JVM_SMF_THREADS export HJV_JZOS_JVM_SMF_LOGGING_INTERVAL export HJV_JZOS_JVM_SMF_THREADS_NATIVE_ID =true
<!-- Audit interceptor configuration -->
<zosconnect_auditInterceptor id="auditInterceptor" sequence="1"/> <!-- Interceptor list configuration --> <zosconnect_zosConnectInterceptors id="interceptorlist1" interceptorRef="auditInterceptor"/> <!—Add global interceptor list to zosconnect --> <zosconnect_zosConnectManager globalInterceptorsRef="interceptorlist1" setUTF8ResponseEncoding="true"/> PERMIT BPX.SMF CLASS(FACILITY) ACCESS(READ) ID(userid) Lookout for possible error messages like this: ICH408I USER(xxxxxxxx) GROUP(yyyyyyyy) NAME(zzz) BPX.SMF CL(FACILITY) INSUFFICIENT ACCESS AUTHORITY ACCESS INTENT(READ ) ACCESS ALLOWED(NONE ) |