IBM ACE Dotnet GC Statistics Test

This test monitors the memory allocation activity of each ASP.Net server integrated with the IBM App Connect Enterprise, in terms of heaps when objects are created and managed.

Target of the test : An IBM App Connect Enterprise

Agent deploying the test : An internal/remote agent.

Outputs of the test : One set of results for each Execution group:decision service that is to be monitored

Configurable parameters for the test
Parameters Description

Test period

How often should the test be executed.

Host

The host for which the test is to be configured.

Port

The port on which the specified host listens. The default is 2414.

QM Host

By default, the eG agent collects the performance metrics from the target IBM App Connect Enterprise and stores the metrics in the queue manager of the IBM WebSphere MQ server that is loosely coupled with the target IBM App Connect Enterprise. To store the performance metrics, the eG agent should be aware of the host name or IP address of the queue manager. For this, specify the host name or the IP address of the queue manager in the QM Host text box.

QM Port

Specify the port number on which the queue manager is listening for client connections. The default is 2414.

QM User

If you want to login as a specific MQ user to execute this test, then specify a valid user name in the User text box. The test will fail if an invalid user name is specified here. If no such authentication is required, then this parameter can be set to 'none'. If the user belongs to an Active Directory group, then, specify the user name in the following format: <username>@<domain name>. For example, if the user belongs to eginnovations/john, then, your specification should be: john@eginnovations.com.

QM Password

If a specific User is entered, then the password of that user has to be specified in the Password text box.

Confirm Password

Confirm the password by retyping it in the Confirm Password text box.

SERVERCONNCHANNEL

The name of the server connection channel for the WebSphere MQ server. The default value is "SYSTEM.DEF.SVRCONN". If you prefer not to use this default server connection channel for monitoring purposes, then you can create a custom channel in the WebSphere MQ server and use it for monitoring. The steps for achieving this have been detailed in Creating a Custom Channel topic.

SSL Cipher Spec

This parameter is applicable only if SSL-enabled channel is used for communication to the target IBM App Connect Enterprise, if not, set this parameter to none.

A cipher suite is a set of cryptographic algorithms that are used before a client application and server exchange information over an SSL/TLS connection. It consist of sets of instructions on how to secure a network through SSL (Secure Sockets Layer) or TLS (Transport Layer Security). In this text box, provide the cipher suite that is allowed for SSL/TLS connection to the target server. By default, this parameter is set to none. To know if SSL-enabled channel is used for communication, refer to Enabling One-Way SSL Communication on the Channel topic.

Two Way SSL

This parameter is applicable only if SSL-enabled channel is used for communication to the target IBM App Connect Enterprise, if not, set this flag to No.

If two-way SSL authentication is used then set this flag to Yes. Set this flag to No if one-way SSL communication is used.

Truststore

This parameter is applicable only if SSL-enabled channel is used for communication to the target IBM App Connect Enterprise, if not, set this parameter to none.

Truststore is used to store certificates from Certified Authorities (CA) that verify and authenticate the certificate presented by the server in an SSL connection. Therefore, the eG agent should have access to the truststore where the certificates are stored to authenticate and connect with the target server and collect metrics. For this, first extract the certificates from the server into the following default location /opt/egurkha/jre/lib/security/egmqsslstore.jks. To know how to create and extract the certificate into the truststore, refer to Configuring the eG Agent to Monitor the Queue Manager. Then, provide the truststore file name in this text box. For example: egmqsslstore.jks. However, if you are using a different location to store the certificate then, provide the full path to this file in this text box. By default, none is specified against this text box.

Truststore Password

This parameter is applicable only if SSL-enabled channel is used for communication to the target IBM App Connect Enterprise, if not, set this parameter to none.

If a Truststore File name or file path is provided, then, in this text box, provide the password that is used to obtain the associated certificate details from the Truststore File.

Confirm Password

This parameter is applicable only if SSL-enabled channel is used for communication to the target IBM App Connect Enterprise, if not, set this parameter to none.

Confirm the password by retyping it in this text box.

Keystore

This parameter is applicable only if two-way SSL authentication is used, if not, set this parameter to none.

Keystore contains the private keys for the certificates that the client can provide to the server upon request. eG agent requires access to the keystore where client certificate is stored to send that to the server so that the server validates the certificate against the one contained in its trustore. For this purpose, first create the client certificate in the following default location /opt/egurkha/jre/lib/security/egmqsslstore.jks. To know how to create the certificate, refer to Configuring the eG Agent to Monitor the Queue Manager. Then, provide the keystore file name in this text box. For example:egmqsslstore.jks. However, if you are using a different location to store the certificate then, provide the full path to this file in this text box. By default, none is specified against this text box. If you are using one-way SSL authentication, this parameter is set to none.

Keystore Password

This parameter is applicable only if two-way SSL authentication is used, if not, set this parameter to none.

If a Keystore File name or file path is provided, then, in this text box, provide the password that is used to obtain the associated certificate details from the Keystore File.

Confirm Password

This parameter is applicable only if two-way SSL authentication is used, if not, set this parameter to none.

Confirm the password by retyping it in this text box.

Queue Resource Stats

Specify the name of the local queue that you have created for storing the Resource statistics. To know more about how to create a local queue, refer to Creating a Local Queue.

Queue Flow Stats

Specify the name of the local queue that you have created for storing the Message flow statistics. To know more about how to create a local queue, refer to Creating a Local Queue.

Timeout

Specify the duration (in seconds) within which the query executed by this test should Timeout in this text box. The default is 120 seconds.

Measurements made by the test

Measurement

Description Measurement Unit Interpretation

Explicit GC count

Indicates the number of garbage collections that were forced by an external request for this server during the last measurement period.

Number

 

Generation 0 collections taken

Indicates the number of generation 0 objects (youngest; most recently allocated) that were garbage collected (Gen 0 GC) since the start of the application.

Number

 

Generation 1 collections taken

Indicates the number of generation 1 objects that have been garbage collected since the start of the application.

Number

Objects that survive are promoted to generation 2.

Generation 2 collections taken

Indicates the number of generation 2 objects that have been garbage collected since the start of the application.

Number

Generation 2 is the highest, thus objects that survive collection remain in generation 2. Generation 2 collections can be very expensive, especially if the size of the Generation 2 heap is huge.

Reserved in all heaps

Indicates the amount of memory in bytes that are reserved in all heaps.

MB

 

Generation zero heap size

Indicates the maximum amount of bytes that can be allocated in generation 0.

MB

A generation 0 garbage collection occurs when the allocations since the last collection exceed this size. The generation 0 size is tuned by the garbage collector and can change during the execution of the application. At the end of a generation 0 collection the size of the generation 0 heap is 0 bytes. This measure displays the size, in bytes, of allocations that invokes the next generation 0 garbage collection.

This measure is updated at the end of a garbage collection, not at each allocation.

Generation one heap size

Indicates the amount of bytes in generation 1.

MB

Objects are not directly allocated in this generation; they are promoted from previous generation 0 garbage collections. This measure is updated at the end of a garbage collection, not at each allocation.

Generation two heap size

Indicates the amount of bytes in generation 2.

MB

Objects are not directly allocated in this generation; they are promoted from generation 1 during previous generation 1 garbage collections. This measure is updated at the end of a garbage collection, not at each allocation.

Largest object heap size

Indicates the current size of the largest object heap.

MB

Objects that are greater than approximately 85,000 bytes are treated as large objects by the garbage collector and are directly allocated in a special heap; they are not promoted through the generations. This counter is updated at the end of a garbage collection, not at each allocation.

Promoted from generation 0 to 1

Indicates the amount of memory that survived garbage collection and are promoted from generation 0 to generation 1.

MB

Objects that are promoted only because they are waiting to be finalized are not included in this measure. This measure displays the value observed at the end of the last garbage collection.

Promoted from generation 1 to 2

Indicates the amount of memory that survived garbage collection and are promoted from generation 1 to generation 2.

MB

Objects that are promoted only because they are waiting to be finalized are not included in this measure. This measure displays the value observed at the end of the last garbage collection. This measure is reset to 0 if the last garbage collection was a generation 0 collection only.