|
Diagnostic Archives: Configuration
Configuration Options Advanced Configuration Options Related Tasks Related Topics
Use this page to configure how and where the current server archives its monitoring and diagnostics data.
Configuration Options
Name Description Server The name of the server.
MBean Attribute:
WLDFServerDiagnosticMBean.NameChanges take effect after you redeploy the module or restart the server.
Type Determines whether the current server persists its harvested metrics and event data in a diagnostic store (file-based store) or a JDBC based archive. The default store is file-based.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticDataArchiveTypeChanges take effect after you redeploy the module or restart the server.
Directory The directory in which the current server maintains its diagnostic store.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreDirChanges take effect after you redeploy the module or restart the server.
Diagnostics Store File Locking Enabled Determines whether OS file locking is used.
When file locking protection is enabled, a store boot fails if another store instance already has opened the store files. Do not disable this setting unless you have procedures in place to prevent multiple store instances from opening the same file. File locking is not required but helps prevent corruption in the event that two same-named file store instances attempt to operate in the same directories. This setting applies to both primary and cache files.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreFileLockingEnabledChanges take effect after you redeploy the module or restart the server.
Data Source The JDBC data source that the server uses to archive its harvested metrics and event data.
Schema Name The schema name to use for accessing JDBC-based archive tables.
If multiple WLDF JDBC archive schemas exist in the same database, this value specifies the correct schema to use for accessing JDBC-based archive tables in that database.
There is no default value. If a schema name is not specified, no schema name is applied when WLDF validates the run-time table or is used for the SQL statements.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticJDBCSchemaNameChanges take effect after you redeploy the module or restart the server.
Preferred Store Size Return the preferred limit on the size of diagnostic store file in MB.
MBean Attribute:
WLDFServerDiagnosticMBean.PreferredStoreSizeLimitMinimum value:
10Store Size Check Period Return the period in hours at which diagnostic store file size check will be performed
MBean Attribute:
WLDFServerDiagnosticMBean.StoreSizeCheckPeriodMinimum value:
1Store Size Check Period Return the period in hours at which diagnostic store file size check will be performed
MBean Attribute:
WLDFServerDiagnosticMBean.StoreSizeCheckPeriodMinimum value:
1Data Retirement Enabled This attribute controls if configuration based data retirement functionality is enabled on the server. If disabled, all retirement policies will be disabled.
MBean Attribute:
WLDFServerDiagnosticMBean.DataRetirementEnabledName The user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectName:
Name=user-specified-nameMBean Attribute:
WLDFDataRetirementMBean.NameChanges take effect after you redeploy the module or restart the server.
Type Returns the type of the MBean.
MBean Attribute:
WLDFDataRetirementMBean.TypeChanges take effect after you redeploy the module or restart the server.
Archive Name Name of the archive for which data retirement is configured
MBean Attribute:
WLDFDataRetirementMBean.ArchiveNameEnabled Enable data retirement
MBean Attribute:
WLDFDataRetirementMBean.EnabledRetirement Age Retirement age for records in hours. Older records will be eligible for deletion.
MBean Attribute:
WLDFDataRetirementByAgeMBean.RetirementAgeMinimum value:
1Retirement Time This attribute specifies the hour of day at which the data retirement task will first run during the day.
MBean Attribute:
WLDFDataRetirementMBean.RetirementTimeRetirement Period This attribute specifies the period in hours at which the data retirement task will be periodically performed for the archive during the day after it is first executed. The value of this attribute must be positive
MBean Attribute:
WLDFDataRetirementMBean.RetirementPeriodMinimum value:
1Advanced Configuration Options
Name Description Diagnostics Store Min Window Buffer Size The minimum amount of data, in bytes and rounded down to the nearest power of 2, mapped into the JVM's address space per diagnostic store file. Applies only when a native
wlfileiolibrary is loaded. See Diagnostic Store Maximum Window Buffer Size.MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreMinWindowBufferSizeMinimum value:
-1Maximum value:
1073741824Changes take effect after you redeploy the module or restart the server.
Diagnostics Store Max Window Buffer Size The maximum amount of data, in bytes and rounded down to the nearest power of 2, mapped into the JVM's address space per diagnostic store file. Applies only when a native
wlfileiolibrary is loaded.A window buffer does not consume Java heap memory, but does consume off-heap (native) memory. If the store is unable to allocate the requested buffer size, it allocates smaller and smaller buffers until it reaches
DiagnosticStoreMinWindowBufferSize, and then fails if it cannot honorDiagnosticStoreMinWindowBufferSize.Oracle recommends setting the max window buffer size to more than double the size of the largest write (multiple concurrently updated records may be combined into a single write), and greater than or equal to the file size, unless there are other constraints. 32-bit JVMs may impose a total limit of between 2 and 4GB for combined Java heap plus off-heap (native) memory usage.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreMaxWindowBufferSizeMinimum value:
-1Maximum value:
1073741824Changes take effect after you redeploy the module or restart the server.
Diagnostics Store IO Buffer Size The I/O buffer size, in bytes, automatically rounded down to the nearest power of 2, controls the largest write size.
When a native
wlfileiodriver is available, the setting applies to off-heap (native) memory.When a native
wlfileiodriver is not available, the setting applies to JAVA heap memory.For the best runtime performance, Oracle recommends setting
DiagnosticStoreIOBufferSizeso that it is larger than the largest write (multiple concurrent store requests may be combined into a single write).See
AllocatedIOBufferBytesto find out the actual allocated off-heap (native) memory amount. It is a multiple ofIOBufferSizeMBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreIoBufferSizeMinimum value:
-1Maximum value:
67108864Changes take effect after you redeploy the module or restart the server.
Diagnostics Store Max File Size The maximum file size, in bytes.
The
DiagnosticStoreMaxFileSizevalue affects the number of files needed to accommodate a diagnostic store of a particular size (number of files = diagnostic store size/MaxFileSize rounded up).A diagnostic store automatically reuses space freed by deleted records and automatically expands individual files up to
DiagnosticStoreMaxFileSizeif there is not enough space for a new record. If there is no space left in exiting files for a new record, a diagnostic store creates an additional file.A small number of larger files is normally preferred over a large number of smaller files as each file allocates Window Buffer and file handles.
If
DiagnosticStoreMaxFileSizeis larger than 2^24 *DiagnosticStoreBlockSize, thenDiagnosticStoreMaxFileSizeis ignored, and the value becomes 2^24 *DiagnosticStoreBlockSize. The defaultDiagnosticStoreBlockSizeis 512, and 2^24 * 512 is 8 GB.Oracle recommends not setting the Diagnostic Store Max File Size above the default value of 1,342,177,280.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreMaxFileSizeMinimum value:
10485760Changes take effect after you redeploy the module or restart the server.
Diagnostics Store Block Size The smallest addressable block, in bytes, of a file. When a native
wlfileiodriver is available and the block size has not been configured by the user, the store selects the minimum OS specific value for unbuffered (direct) I/O, if it is within the range [512, 8192].A file store's block size does not change once the file store creates its files. Changes to block size only take effect for new file stores or after the current files have been deleted. See "Tuning the Persistent Store" in Performance and Tuning for Oracle WebLogic Server.
MBean Attribute:
WLDFServerDiagnosticMBean.DiagnosticStoreBlockSizeMinimum value:
-1Maximum value:
8192Changes take effect after you redeploy the module or restart the server.
| |