Hi
We have some network inconsistencies at the moment, so our repo can get unmounted from the slaves at random. So i need to make a quick fix while i figure out whats going on. Is there a way to have each slave run a custom script locally right when the job is initialised from deadline, but before the slave starts looking for job plugins etc from the repo? Like a “PreEverything” script Then i could just check if the volume is mounted, and mount it if its not. Any help appreciated.
Hi,
Are you on Windows, then you could use the “Mapped Drives” functionality in Repository Options to mount a number of network drives, one of which could be the repository?
Mike
Hi
No were on osx. The repo mount fine on slave startup but the slaves loose their connection to the repo now and then. So i wanted to just check if the repo is mounted when a new job starts. But if the repo is not there, i cant use a JobPreLoad-script because the thats located on the repo
Hi,
Would it be useful if Deadline Slave could execute a mount command when its running on either OSX or Linux?
Run the mount command before a job gets picked up or just once when the slave is started up?
Also, there are quite a few different methods to mounting, so a solution that allows studios to configure/add optional arguments would be required.
Interesting thread! (my point is that Deadline has something in place for Windows users (mapped drives), but not really anything of OSX/Linux users)
Exactly Mike. The “mapped drives” would solve this perfectly. Sadly it’s only available for windows. But as you say, there are many ways to mount volumes so maybe a more open solution would be better. A setting on the slave where we could enter our own commands/scripts to be executed before jobs are picked would be sufficient.
If Mike hasn’t already put this on the dev’s radar, I will definitely let them know that we might want to do something regarding this in a future build.