Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

Relocating MCTB (7mode) log files to avoid OnCommand/DFM backup contention

abrian

On Windows platforms DFM backup may fail to complete because it cannot compress the active log file (typically mctb.log).  This file is opened frequently for logging, especially at the default DEBUG log level and when the polling interval is low, making the likelihood of collision with the DFM backup process high.   The easiest way to resolve this is to relocate the MCTB log file(s) to a directory outside of the DFM installation area.  This can be done by changing daemon appender File value in the log4j.properties file under the MCTB config directory (typically C:\Program Files\NetApp\DataFabric Manager\DFM\script-plugins\MetroCluster-TieBreaker\conf\log4j.properties).   For example:

log4j.appender.DAEMON.File=C:/MCTB/logs/mctb.log

There are other appenders for VALIDATE and TRACER logs, but these are not used during normal operation.  The VALIDATE log is only used when the validate command is issued by the user (and not when validation is done during normal start up).   The TRACER log would only be used if the log level were set to TRACE, which doesn't provide any useful information and should not be used.   However, the File attributes can be changed for these appenders as well, if desired.  For example:

log4j.appender.VALIDATE.File=C:/MCTB/logs/validate.log
log4j.appender.TRACER.File=C:/MCTB/logs/trace.log

The Windows Service launcher (Apache procrun) will produce logs on start up, but these logs are not written to after start up under normal operation, and shouldn't cause any problems with DFM backup.   The location of these logs is determined by a value in the Windows Registry.  The following PowerShell command can be used to change the location of these start up logs, if desired:

Set-ItemProperty -path 'HKLM:SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\MCTB\Parameters\Log' -Name Path -Value 'c:\MCTB\logs'

 Note that quotes are necessary due to the spaces in the key path.

 

Of course, you are free to set these value to any path; the path provided is for just an example.

 

 

0 REPLIES 0
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public