Specify the number of trace files saved

Contributors

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.

Before you begin
  • You must already have login credentials as Administrator.

  • You must already have logged in to the host system as Administrator.

About this task

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.

Steps
  1. Access NetApp SMI-S Provider.

  2. 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.

  3. Restart the CIM server:

    smis cimserver restart