Based on how you configure it, the resourcemanager can check the trace files every minute after NetVault SmartDisk starts. The resourcemanager reads the configured values at the start of every repeat cycle, for example, every minute, which ensures that it reads configuration changes that are made while the process is running.
Using the Modules section in the /foundation/etc/resourcemanager.cfg file and the ResourceManagement:TraceDelete section in each module’s /etc/trace.cfg file, you can specify which modules you want the resourcemanager to monitor and manage.
In the following example, the resourcemanager is set to manage the diskmanager, dedupe, and foundation modules.
<processName>.<processID>.<threadID>.<sequenceNumber>.trc | |
<processName>.<processID>.<threadID>.buffer | |
monitorrecent.<processID>.<sequenceNumber>.txt monitorrecent.<sequenceNumber>.txt | |
monitortrace.<processID>.<sequenceNumber>.txt monitortrace.<sequenceNumber>.txt |
The resourcemanager only considers trace files as contributing to the totals it compares against the start and stop thresholds if it identifies them as inactive; if the files are inactive, it indicates that they are not associated with a process that is running. It determines this state by comparing the process ID in the trace filename with the list of IDs for processes that are running on the system at the start of each repeat cycle. Because the process ID is not used in the filename on all operating systems, the resourcemanager can delete *.trc, *.buffer, monitorrecent*, and monitortrace* files on Linux, UNIX, and Mac OS X, but it can only delete *.trc and *.buffer files on Windows, as shown in the preceding table.
2 |
Using a text editor, open the resourcemanager.cfg file: |
3 |
Locate the [Trace:Delete] section. |
4 |
In the Modules = line, enter the applicable modules. |
To limit the overall number or size, or both, of trace files in an installed module's trace directory, you can configure the resourcemanager to delete them between start and stop number and size thresholds. You can set these thresholds through the ResourceManagement:TraceDelete section of a module's etc/trace.cfg file. If that section is not present or is invalid, hard-coded defaults are used.
The ResourceManagement:TraceDelete section in the <moduleName>/etc/trace.cfg file lets the resourcemanager determine which trace-delete parameters to apply in the specified module. The defaults are:
In the preceding example, which shows the defaults, the Trace-Delete functionality is enabled, and the resourcemanager starts deleting the trace files, oldest first, that exist in the specified module’s /trace directory when their combined number becomes equal to or greater than 100 or their combined size becomes equal to or greater than 1 GB. The files continue to be deleted until their combined number is reduced to 10 or their combined size reaches or exceeds 1 MB.
To modify the values, perform the following steps.
2 |
Using a text editor, open the trace.cfg file for the applicable module: |
3 |
Locate the [ResourceManagement:TraceDelete] section. |
4 |
Change the values for the Number Start Threshold, Number Stop Threshold, Size Start Threshold, and Size Stop Threshold values as appropriate. |
You can disable trace deletion for all modules or on an individual basis.
2 |
Using a text editor, open the resourcemanager.cfg file. |
3 |
In the [Trace:Delete] section, delete the value for the Modules = segment; that is, verify that it is blank: |
2 |
Using a text editor, open the trace.cfg file for the applicable module: |
3 |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center