Problem
Media server deduplication (MSDP) compaction is not running automatically
Error Message
No errors, but one odd observation was that after compaction was started by command line, review of the spood.log file showed it was running, but executing the "crcontrol --compactstat" command showed that "Compaction busy: NO". This was no longer true after the compaction started by hand was complete and the next one ran automatically.
Cause
It is possible the MSDP media server had an issue with one of the thresholds used to determine when it is to start. This may have prevented compaction from getting triggered.
Solution
Review the contentrouter.cfg file.
<msdp install path>\etc\puredisk\contentrouter.cfg
Confirm the CompactWakeUpInterval=20 (the default of 20 seconds)
Verify that the images on MSDP media server are configured to expire at the same interval as the other MSDP media servers.
Check to see that compaction is ON.
<nbu install path>\Veritas\pdde\ crcontrol --compactstate
Start compaction by hand.
<nbu install path>\Veritas\pdde\ crcontrol --compactstart
Review the <msdp path>\log\spoold\spoold.log file. Search for the word COMPACT to confirm it is running properly and to tell you when it has completed.
INFO [00000000055FFD20]: COMPACT: dcOutPlaceUpdate dcid 43695
INFO [00000000055FFD20]: COMPACT: dcid: 43695 release 268317082 active data: 23644
INFO [00000000055FFD20]: COMPACT: dcOutPlaceUpdate dcid 56565
INFO [00000000055FFD20]: COMPACT: dcid: 56565 release 268316951 active data: 0
This may take over 24 hours to complete, but after completion space should be cleared and space needs compaction reduced per the output of "crcontrol --dsstat" command.
Final steps:
1) Look at the spoold.log file on the problem MSDP media server.
2) Confirm that compaction has completed. For example, make sure that there are not any COMPACT statement for several hours.
3) Wait for at least 24 hours and then look at the spoold.log file to see if compaction has run automatically since it was manually run.
Note:
It appears that running compaction by hand will allow compaction to run automatically.
Whenever the spoold process is restarted, it is necessary to start compaction by hand to allow continuous compaction.
Applies To
NetBackup 7.1.0.x master
NetBackup 7.1.0.x windows MSDP media server