Specify the number of trace files saved
If tracing is enabled, seven trace files are saved by default. If you need more trace files saved, you can increase the maximum number of trace files saved by setting the environment variable PEGASUS_TRACE_FILE_NUM
. If you increase the maximum number of trace files saved, you must ensure that the system has enough space on its hard drive to accommodate the trace files.
-
You must already have login credentials as Administrator.
-
You must already have logged in to the host system as Administrator.
If tracing is enabled, tracing information is written to the cimserver.trc
file. The trace files are rotated. When cimserver.trc
reaches the maximum trace file size, its contents are moved to the cimserver.trc.n
file. By default, n
is a value from 0 through 5. If you need more trace files saved, you increase the value of n
.
-
Access NetApp SMI-S Provider.
-
Create a system or user environment variable named
PEGASUS_TRACE_FILE_NUM
with the new number of trace files saved.Windows documentation has more information about creating environment variables.
-
Restart the CIM server:
smis cimserver restart