Jump to content
  • 0

Execute Programm after Balancer runs?


falc410

Question

Hi,

 

is it possible to execute a programm after the balancer runs? I haven't seen an option for this, but might this be possible with an additional plugin? I know a little bit of C#, but I'm not sure if the plugin is able to tell if another balancer has finished.

 

My idea is to use Drivepool with Snapraid. It's a snapshot Raid that needs to sync after writes to the disk. The problem is that you would need to schedule it (on a timer) or have it run manually. My idea is to use the SSD plugin (much like unraids cache disk) where all incoming data is being placed. Then the balancer plugin will move the data to one of the HDDs and once that is finished it is time to sync the snapraid array.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Well, you can configure DrivePool to create a "runningfile". It creates the file when it's active. Such as balancing or duplicating. And it deletes the file when it's done. You could monitor that, and trigger based off of the presence of the file.

 

DrivePool 1.X: http://wiki.covecube.com/StableBit_DrivePool_Advanced_Settings

And the setting is "RunningFile_FileName"

 

DrivePool 2.X: http://wiki.covecube.com/StableBit_DrivePool_2.x_Advanced_Settings

And the setting is "DrivePool_RunningFile"

 

However, there isn't the option to run a script yet. But consider it officially requested:

https://stablebit.com/Admin/IssueAnalysis/6259

Link to comment
Share on other sites

  • 0

Ah, I'm using Lights-Out too. Haven't thought about that yet. It might be a problem if the Server decides to go to sleep while the balancer is running. It might be safer for me to just disable auto balancing and just do it manually then.

Link to comment
Share on other sites

  • 0

Well, that's why the "Run File" exists. 

 

As I said, it was created for Lights Out integration. So you can configure lights out to NOT go to sleep if the file exists.

Details on it here:

http://www.homeserversoftware.com/lo/whs2011/help/en/settings_monitoring.htm

 

 

So, if you specify the run file in DrivePool, and configure lights out to use the same file, LightsOut will not sleep while DrivePool is balancing or duplicating. Which is exactly what you want. And entirely automatic and transparent to you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...