cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1119
Views
0
Helpful
4
Replies

DFM.log grows up to 3 Giga in 3 Weeks

e.peter
Level 1
Level 1

Hello,

im using cisco works on a windows server system  every 3 or 4 Weeks my backup fails because of  "no disk space".

Searching for the reason i found that DFM.log is too big. After removing  this file the backup runs propperly.

Removing this file needs to stop/start crmdmgtd.

Looking into DFM.log shows many lines of discovery output and i suppose it is the output of a debug command.

in DFM>configuration>logging  logging level configuration is not set.

Month ago i had a problem with DFM and got help from Cisco by an opend Case. i remember that during the work for

this case i was instructed to setup few  commands  like :

dmctl -s DFM put  ICF_TopologgyManager::ICF-TopologgyManager::DebugEnebled TRUE

Maybe i have to reverse  this commands, but not able tu use dmctl commands.

2 Accepted Solutions

Accepted Solutions

yjdabear
VIP Alumni
VIP Alumni

Can you elaborate on what you mean by "not able tu use dmctl commands"?

Could you not run the following command to reverse the debugging?

C:\Program Files\CSCOpx\objects\smarts\bin> dmctl -s DFM put ICF_TopologgyManager::ICF-TopologgyManager::DebugEnebled

FALSE

If so, what error messages did you get?

View solution in original post

The good news is I don't think TopologyManager is impacted except needing to "Trigger the rediscovery of the device" for the change to take effect, according to the DFM documentation:

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_device_fault_manager/3.1/user/guide/dfmfaq.html#wp1014252

So, go to NMSROOT/objects/smarts/bin

Execute the following command "dmctl -s DFM".

From the dmctl command line, enter:

1.
ICF_TopologyManager::ICF-TopologyManager::DebugEnabled FALSE
2.
ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress FALSE
3.
ICF_TopologyManager::ICF-TopologyManager::TraceRule FALSE
4.
ICF_TopologyManager::ICF-TopologyManager::DebugEnabled FALSE
5.
ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress FALSE
6.
ICF_TopologyManager::ICF-TopologyManager::TraceRule FALSE

Then trigger the rediscovery of the device to stop the growth of DFM.log

View solution in original post

4 Replies 4

yjdabear
VIP Alumni
VIP Alumni

Can you elaborate on what you mean by "not able tu use dmctl commands"?

Could you not run the following command to reverse the debugging?

C:\Program Files\CSCOpx\objects\smarts\bin> dmctl -s DFM put ICF_TopologgyManager::ICF-TopologgyManager::DebugEnebled

FALSE

If so, what error messages did you get?

sorry, when i  wrote "i am not able" i wanted to say that i am not familiar with the usage of

the command dmctl. In my last posting i gave only an example of a command.

the full listing of the commands i have done is this:

1.      Enable the Discovery Logs.

Go to NMSROOT/objects/smarts/bin then execute the following command.

       dmctl -s DFM put ICF_TopologyManager::ICF-TopologyManager::DebugEnabled TRUE

       dmctl -s DFM put ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress TRUE

       dmctl -s DFM put ICF_TopologyManager::ICF-TopologyManager::TraceRule TRUE

       dmctl -s DFM1 put ICF_TopologyManager::ICF-TopologyManager::DebugEnabled TRUE

       dmctl -s DFM1 put ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress TRUE

       dmctl -s DFM1 put ICF_TopologyManager::ICF-TopologyManager::TraceRule TRUE

is it possible to set  all to  false  without  stopping the normal work of TopologyManager ?

thank you for your Help

Eberhard

The good news is I don't think TopologyManager is impacted except needing to "Trigger the rediscovery of the device" for the change to take effect, according to the DFM documentation:

http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_device_fault_manager/3.1/user/guide/dfmfaq.html#wp1014252

So, go to NMSROOT/objects/smarts/bin

Execute the following command "dmctl -s DFM".

From the dmctl command line, enter:

1.
ICF_TopologyManager::ICF-TopologyManager::DebugEnabled FALSE
2.
ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress FALSE
3.
ICF_TopologyManager::ICF-TopologyManager::TraceRule FALSE
4.
ICF_TopologyManager::ICF-TopologyManager::DebugEnabled FALSE
5.
ICF_TopologyManager::ICF-TopologyManager::LogDiscoveryProgress FALSE
6.
ICF_TopologyManager::ICF-TopologyManager::TraceRule FALSE

Then trigger the rediscovery of the device to stop the growth of DFM.log

Thank you for your Help. I did it as you proposed with a little change :  I had to change to DFM1 after the first three commands.

After deleting DFM.log and restarting dmgtd  the file  does not grow due to the debugging command.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: