Greetings all. We are evaluating Open OnDemand at the moment, thank you for developing a great product.
My question deals with using a shared home directory on the OnDemand server.
We have shared home directories across our clusters. What I want to achieve is greater ease of use for users, I want them to land in the shared /home directory when logging in or at least using Job Composer.
Playing around with this I have symlinked /home on the ondemand server to the shared home directory. I don’t know if this is a great best practice and after doing this I run into issues launching the job composer:
A problem occurred while initializing your data for this app.
At your own risk you can still open the app or you can just go back to the dashboard
Share this with the developer of your app: The setup production script is supposed to be idempotent and is run each time the user opens the app through the dashboard.
Per user setup failed for script at /var/www/ood/apps/sys/myjobs/./bin/setup-production for user my.username with output: Exception occurred: database is locked
Another consideration is that each time a new user logs in to the login node of our cluster(s) a public/private key pair is created. Since the filesystem is shared across the cluster each node including the log in node shares the same /home/user/.ssh folder, we can achieve passwordless ssh between the nodes after the very first time the user logs in.
That’s another reason why I’d like to potentially share the home directory, so that users can take advantage of this setup to achieve passwordless ssh to the cluster nodes from the ondemand server.
What’s the recommended way, if any, to do this? Is this achievable? Curious as to how other sites are doing this and if I am on the right track. Thank you for your time.