Macrium Support Forum

Site Manager and disk spin down on NAS

https://forum.macrium.com/Topic55164.aspx

By Morris - 8 December 2021 5:08 PM

My repositories are SMB shares on a TrueNAS system.  As the repositories are stored on 8 disks which represents about 40W of electric power, I have them set to spin down.  I have been looking into seems to keep them spinning for some time and suspect it is Site Manager.  When I stop the 3 Macrium services on the Site Manager Windows system, the power level I'm seeing on my UPS drops the appropriate amount after 5 minutes.

Dose Site Manager frequently pole the SMP shares of the repositories?
If yes, can the frequency be controlled, reduced or stopped?

Thank you,

Morris
By Alex - 8 December 2021 5:19 PM

Morris - 8 December 2021 5:08 PM
My repositories are SMB shares on a TrueNAS system.  As the repositories are stored on 8 disks which represents about 40W of electric power, I have them set to spin down.  I have been looking into seems to keep them spinning for some time and suspect it is Site Manager.  When I stop the 3 Macrium services on the Site Manager Windows system, the power level I'm seeing on my UPS drops the appropriate amount after 5 minutes.

Dose Site Manager frequently pole the SMP shares of the repositories?
If yes, can the frequency be controlled, reduced or stopped?

Thank you,

Morris

Hi Morris,
You are correct that Site Manager polls any repository shares to maintain connectivity and free space information - this defaults to every 2 minutes. You can set a registry key on the Site Manager server to reduce this - 

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\CMCAgent
Value: "RepositoryOnlineStatusMonitorFrequency"
   Type: DWORD
Default: 120
Base frequency to check repository status/disk space in seconds.

Please excuse the key naming, this registry key was introduced a long time ago, when Site Manager was still called "Central Management Console"

The other services (Macrium Service and the Macrium Agent Service) should not contact the repository shares at all outside of backup times. 
By Morris - 8 December 2021 5:30 PM

Alex - 8 December 2021 5:19 PM
Morris - 8 December 2021 5:08 PM
My repositories are SMB shares on a TrueNAS system.  As the repositories are stored on 8 disks which represents about 40W of electric power, I have them set to spin down.  I have been looking into seems to keep them spinning for some time and suspect it is Site Manager.  When I stop the 3 Macrium services on the Site Manager Windows system, the power level I'm seeing on my UPS drops the appropriate amount after 5 minutes.

Dose Site Manager frequently pole the SMP shares of the repositories?
If yes, can the frequency be controlled, reduced or stopped?

Thank you,

Morris

Hi Morris,
You are correct that Site Manager polls any repository shares to maintain connectivity and free space information - this defaults to every 2 minutes. You can set a registry key on the Site Manager server to reduce this - 

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\CMCAgent
Value: "RepositoryOnlineStatusMonitorFrequency"
   Type: DWORD
Default: 120
Base frequency to check repository status/disk space in seconds.

Please excuse the key naming, this registry key was introduced a long time ago, when Site Manager was still called "Central Management Console"

The other services (Macrium Service and the Macrium Agent Service) should not contact the repository shares at all outside of backup times. 

Thank you Alex,

Is the purpose of maintaining connectivity and free space information for alerting?  I have other monitoring tools that do the same so I chose 7200 seconds (2 hours) to fit in a Dword.  I had to add the had to add the Dword Value as it was not in the registry.  Are there any undesirable side effects of the time I chose?

Morris
By Alex - 13 December 2021 9:19 AM

Morris - 8 December 2021 5:30 PM
Alex - 8 December 2021 5:19 PM
Morris - 8 December 2021 5:08 PM
My repositories are SMB shares on a TrueNAS system.  As the repositories are stored on 8 disks which represents about 40W of electric power, I have them set to spin down.  I have been looking into seems to keep them spinning for some time and suspect it is Site Manager.  When I stop the 3 Macrium services on the Site Manager Windows system, the power level I'm seeing on my UPS drops the appropriate amount after 5 minutes.

Dose Site Manager frequently pole the SMP shares of the repositories?
If yes, can the frequency be controlled, reduced or stopped?

Thank you,

Morris

Hi Morris,
You are correct that Site Manager polls any repository shares to maintain connectivity and free space information - this defaults to every 2 minutes. You can set a registry key on the Site Manager server to reduce this - 

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\CMCAgent
Value: "RepositoryOnlineStatusMonitorFrequency"
   Type: DWORD
Default: 120
Base frequency to check repository status/disk space in seconds.

Please excuse the key naming, this registry key was introduced a long time ago, when Site Manager was still called "Central Management Console"

The other services (Macrium Service and the Macrium Agent Service) should not contact the repository shares at all outside of backup times. 

Thank you Alex,

Is the purpose of maintaining connectivity and free space information for alerting?  I have other monitoring tools that do the same so I chose 7200 seconds (2 hours) to fit in a Dword.  I had to add the had to add the Dword Value as it was not in the registry.  Are there any undesirable side effects of the time I chose?

Morris

Hi Morris,

You are correct that this is for monitoring of connectivity and free space - this might delay Site Manager recognising that a repository is back online, but even if a repository is marked as offline, we still schedule backups to it (as the Agent computer may be able to contact it when the server cannot). 
A DWORD is a 32-bit unsigned value, so you should be able to set the timeout much higher (up to 4294967295 seconds or 0xffffffff hex) if needed. 
By Morris - 13 December 2021 1:23 PM

Alex - 13 December 2021 9:19 AM
Morris - 8 December 2021 5:30 PM
Alex - 8 December 2021 5:19 PM
Morris - 8 December 2021 5:08 PM
My repositories are SMB shares on a TrueNAS system.  As the repositories are stored on 8 disks which represents about 40W of electric power, I have them set to spin down.  I have been looking into seems to keep them spinning for some time and suspect it is Site Manager.  When I stop the 3 Macrium services on the Site Manager Windows system, the power level I'm seeing on my UPS drops the appropriate amount after 5 minutes.

Dose Site Manager frequently pole the SMP shares of the repositories?
If yes, can the frequency be controlled, reduced or stopped?

Thank you,

Morris

Hi Morris,
You are correct that Site Manager polls any repository shares to maintain connectivity and free space information - this defaults to every 2 minutes. You can set a registry key on the Site Manager server to reduce this - 

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Macrium\CMCAgent
Value: "RepositoryOnlineStatusMonitorFrequency"
   Type: DWORD
Default: 120
Base frequency to check repository status/disk space in seconds.

Please excuse the key naming, this registry key was introduced a long time ago, when Site Manager was still called "Central Management Console"

The other services (Macrium Service and the Macrium Agent Service) should not contact the repository shares at all outside of backup times. 

Thank you Alex,

Is the purpose of maintaining connectivity and free space information for alerting?  I have other monitoring tools that do the same so I chose 7200 seconds (2 hours) to fit in a Dword.  I had to add the had to add the Dword Value as it was not in the registry.  Are there any undesirable side effects of the time I chose?

Morris

Hi Morris,

You are correct that this is for monitoring of connectivity and free space - this might delay Site Manager recognising that a repository is back online, but even if a repository is marked as offline, we still schedule backups to it (as the Agent computer may be able to contact it when the server cannot). 
A DWORD is a 32-bit unsigned value, so you should be able to set the timeout much higher (up to 4294967295 seconds or 0xffffffff hex) if needed. 

Thank you Alex,

Two hours is working very well.  I expected 24 hours to work for the reason you stated yet regedit called the value 86,400 too large.  I scratched my head and used two hours.

Happy holidays!

Morris